[
  {
    "path": ".gitignore",
    "content": "# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.\n\n# dependencies\n/node_modules\n/.pnp\n.pnp.js\n\n# testing\n/coverage\n\n# production\n/build\n\n# misc\n.DS_Store\n.env.local\n.env.development.local\n.env.test.local\n.env.production.local\n\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n\nsrc/firebase-config.js"
  },
  {
    "path": ".idea/modules.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"ProjectModuleManager\">\n    <modules>\n      <module fileurl=\"file://$PROJECT_DIR$/.idea/web-app.iml\" filepath=\"$PROJECT_DIR$/.idea/web-app.iml\" />\n    </modules>\n  </component>\n</project>"
  },
  {
    "path": ".idea/vcs.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"VcsDirectoryMappings\">\n    <mapping directory=\"\" vcs=\"Git\" />\n  </component>\n</project>"
  },
  {
    "path": ".idea/web-app.iml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<module type=\"JAVA_MODULE\" version=\"4\">\n  <component name=\"NewModuleRootManager\" inherit-compiler-output=\"true\">\n    <exclude-output />\n    <content url=\"file://$MODULE_DIR$\" />\n    <orderEntry type=\"inheritedJdk\" />\n    <orderEntry type=\"sourceFolder\" forTests=\"false\" />\n  </component>\n</module>"
  },
  {
    "path": ".idea/workspace.xml",
    "content": "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<project version=\"4\">\n  <component name=\"ChangeListManager\">\n    <list default=\"true\" id=\"6dd439ca-a4c6-4192-b0d3-ceca6e2c96fb\" name=\"Default Changelist\" comment=\"Add portfolio item dialog\">\n      <change afterPath=\"$PROJECT_DIR$/src/assets/bg_2.jpg\" afterDir=\"false\" />\n      <change afterPath=\"$PROJECT_DIR$/src/assets/google_next.png\" afterDir=\"false\" />\n      <change afterPath=\"$PROJECT_DIR$/src/assets/petfinder.png\" afterDir=\"false\" />\n      <change afterPath=\"$PROJECT_DIR$/src/assets/truck_company_2.png\" afterDir=\"false\" />\n      <change afterPath=\"$PROJECT_DIR$/src/components/MyWork/GoogleDialog.js\" afterDir=\"false\" />\n      <change afterPath=\"$PROJECT_DIR$/src/components/MyWork/PetfinderDialog.js\" afterDir=\"false\" />\n      <change beforePath=\"$PROJECT_DIR$/.idea/workspace.xml\" beforeDir=\"false\" afterPath=\"$PROJECT_DIR$/.idea/workspace.xml\" afterDir=\"false\" />\n      <change beforePath=\"$PROJECT_DIR$/package.json\" beforeDir=\"false\" afterPath=\"$PROJECT_DIR$/package.json\" afterDir=\"false\" />\n      <change beforePath=\"$PROJECT_DIR$/public/favicon.ico\" beforeDir=\"false\" afterPath=\"$PROJECT_DIR$/public/favicon.ico\" afterDir=\"false\" />\n      <change beforePath=\"$PROJECT_DIR$/public/logo192.png\" beforeDir=\"false\" afterPath=\"$PROJECT_DIR$/public/logo192.png\" afterDir=\"false\" />\n      <change beforePath=\"$PROJECT_DIR$/public/logo512.png\" beforeDir=\"false\" afterPath=\"$PROJECT_DIR$/public/logo512.png\" afterDir=\"false\" />\n      <change beforePath=\"$PROJECT_DIR$/public/manifest.json\" beforeDir=\"false\" afterPath=\"$PROJECT_DIR$/public/manifest.json\" afterDir=\"false\" />\n      <change beforePath=\"$PROJECT_DIR$/src/components/FeaturedWorkCard/FeaturedWorkCard.js\" beforeDir=\"false\" afterPath=\"$PROJECT_DIR$/src/components/FeaturedWorkCard/FeaturedWorkCard.js\" afterDir=\"false\" />\n      <change beforePath=\"$PROJECT_DIR$/src/components/MyWork/MyWork.js\" beforeDir=\"false\" afterPath=\"$PROJECT_DIR$/src/components/MyWork/MyWork.js\" afterDir=\"false\" />\n      <change beforePath=\"$PROJECT_DIR$/src/components/MyWork/TMTDialog.js\" beforeDir=\"false\" afterPath=\"$PROJECT_DIR$/src/components/MyWork/TMTDialog.js\" afterDir=\"false\" />\n      <change beforePath=\"$PROJECT_DIR$/src/containers/Home/Home.js\" beforeDir=\"false\" afterPath=\"$PROJECT_DIR$/src/containers/Home/Home.js\" afterDir=\"false\" />\n    </list>\n    <option name=\"SHOW_DIALOG\" value=\"false\" />\n    <option name=\"HIGHLIGHT_CONFLICTS\" value=\"true\" />\n    <option name=\"HIGHLIGHT_NON_ACTIVE_CHANGELIST\" value=\"false\" />\n    <option name=\"LAST_RESOLUTION\" value=\"IGNORE\" />\n  </component>\n  <component name=\"Git.Settings\">\n    <option name=\"RECENT_GIT_ROOT_PATH\" value=\"$PROJECT_DIR$\" />\n  </component>\n  <component name=\"MarkdownSettingsMigration\">\n    <option name=\"stateVersion\" value=\"1\" />\n  </component>\n  <component name=\"ProjectConfigurationFiles\">\n    <option name=\"files\">\n      <list>\n        <option value=\"$PROJECT_DIR$/.idea/web-app.iml\" />\n        <option value=\"$PROJECT_DIR$/.idea/modules.xml\" />\n        <option value=\"$PROJECT_DIR$/.idea/vcs.xml\" />\n      </list>\n    </option>\n  </component>\n  <component name=\"ProjectFrameBounds\">\n    <option name=\"x\" value=\"-105\" />\n    <option name=\"y\" value=\"72\" />\n    <option name=\"width\" value=\"1936\" />\n    <option name=\"height\" value=\"1056\" />\n  </component>\n  <component name=\"ProjectId\" id=\"28Nl4CN3PipOJtIpOGiJvqmeI6G\" />\n  <component name=\"ProjectView\">\n    <navigator proportions=\"\" version=\"1\">\n      <foldersAlwaysOnTop value=\"true\" />\n    </navigator>\n    <panes>\n      <pane id=\"ProjectPane\">\n        <subPane>\n          <expand>\n            <path>\n              <item name=\"web-app\" type=\"b2602c69:ProjectViewProjectNode\" />\n              <item name=\"web-app\" type=\"462c0819:PsiDirectoryNode\" />\n            </path>\n            <path>\n              <item name=\"web-app\" type=\"b2602c69:ProjectViewProjectNode\" />\n              <item name=\"web-app\" type=\"462c0819:PsiDirectoryNode\" />\n              <item name=\"public\" type=\"462c0819:PsiDirectoryNode\" />\n            </path>\n            <path>\n              <item name=\"web-app\" type=\"b2602c69:ProjectViewProjectNode\" />\n              <item name=\"web-app\" type=\"462c0819:PsiDirectoryNode\" />\n              <item name=\"src\" type=\"462c0819:PsiDirectoryNode\" />\n            </path>\n            <path>\n              <item name=\"web-app\" type=\"b2602c69:ProjectViewProjectNode\" />\n              <item name=\"web-app\" type=\"462c0819:PsiDirectoryNode\" />\n              <item name=\"src\" type=\"462c0819:PsiDirectoryNode\" />\n              <item name=\"components\" type=\"462c0819:PsiDirectoryNode\" />\n            </path>\n            <path>\n              <item name=\"web-app\" type=\"b2602c69:ProjectViewProjectNode\" />\n              <item name=\"web-app\" type=\"462c0819:PsiDirectoryNode\" />\n              <item name=\"src\" type=\"462c0819:PsiDirectoryNode\" />\n              <item name=\"hoc\" type=\"462c0819:PsiDirectoryNode\" />\n            </path>\n          </expand>\n          <select />\n        </subPane>\n      </pane>\n      <pane id=\"PackagesPane\" />\n      <pane id=\"Scope\" />\n    </panes>\n  </component>\n  <component name=\"ProjectViewState\">\n    <option name=\"hideEmptyMiddlePackages\" value=\"true\" />\n    <option name=\"showLibraryContents\" value=\"true\" />\n  </component>\n  <component name=\"PropertiesComponent\"><![CDATA[{\n  \"keyToString\": {\n    \"WebServerToolWindowFactoryState\": \"false\",\n    \"last_opened_file_path\": \"/Users/kennygunderman/dev/react-blog/src/components/MyWork\",\n    \"nodejs_package_manager_path\": \"yarn\",\n    \"ts.external.directory.path\": \"/Applications/IntelliJ IDEA.app/Contents/plugins/JavaScriptLanguage/jsLanguageServicesImpl/external\"\n  }\n}]]></component>\n  <component name=\"RecentsManager\">\n    <key name=\"CopyFile.RECENT_KEYS\">\n      <recent name=\"$PROJECT_DIR$/src/components/MyWork\" />\n      <recent name=\"$PROJECT_DIR$/src/components\" />\n    </key>\n    <key name=\"MoveFile.RECENT_KEYS\">\n      <recent name=\"$PROJECT_DIR$/src/assets\" />\n      <recent name=\"$PROJECT_DIR$/src\" />\n    </key>\n  </component>\n  <component name=\"SpellCheckerSettings\" RuntimeDictionaries=\"0\" Folders=\"0\" CustomDictionaries=\"0\" DefaultDictionary=\"application-level\" UseSingleDictionary=\"true\" transferred=\"true\" />\n  <component name=\"SvnConfiguration\">\n    <configuration />\n  </component>\n  <component name=\"TaskManager\">\n    <task active=\"true\" id=\"Default\" summary=\"Default task\">\n      <changelist id=\"6dd439ca-a4c6-4192-b0d3-ceca6e2c96fb\" name=\"Default Changelist\" comment=\"\" />\n      <created>1612465185830</created>\n      <option name=\"number\" value=\"Default\" />\n      <option name=\"presentableId\" value=\"Default\" />\n      <updated>1612465185830</updated>\n      <workItem from=\"1651064737133\" duration=\"37770000\" />\n      <workItem from=\"1651115243621\" duration=\"3986000\" />\n      <workItem from=\"1651324953794\" duration=\"8578000\" />\n    </task>\n    <task id=\"LOCAL-00001\" summary=\"Update formatting\">\n      <created>1651066534947</created>\n      <option name=\"number\" value=\"00001\" />\n      <option name=\"presentableId\" value=\"LOCAL-00001\" />\n      <option name=\"project\" value=\"LOCAL\" />\n      <updated>1651066534947</updated>\n    </task>\n    <task id=\"LOCAL-00002\" summary=\"Update homepage\">\n      <created>1651100370283</created>\n      <option name=\"number\" value=\"00002\" />\n      <option name=\"presentableId\" value=\"LOCAL-00002\" />\n      <option name=\"project\" value=\"LOCAL\" />\n      <updated>1651100370284</updated>\n    </task>\n    <task id=\"LOCAL-00003\" summary=\"Add my work component\">\n      <created>1651102237332</created>\n      <option name=\"number\" value=\"00003\" />\n      <option name=\"presentableId\" value=\"LOCAL-00003\" />\n      <option name=\"project\" value=\"LOCAL\" />\n      <updated>1651102237333</updated>\n    </task>\n    <task id=\"LOCAL-00004\" summary=\"Add portfolio item dialog\">\n      <created>1651115525251</created>\n      <option name=\"number\" value=\"00004\" />\n      <option name=\"presentableId\" value=\"LOCAL-00004\" />\n      <option name=\"project\" value=\"LOCAL\" />\n      <updated>1651115525255</updated>\n    </task>\n    <option name=\"localTasksCounter\" value=\"5\" />\n    <servers />\n  </component>\n  <component name=\"ToolWindowManager\">\n    <frame x=\"-105\" y=\"72\" width=\"1936\" height=\"1056\" extended-state=\"0\" />\n    <editor active=\"true\" />\n    <layout>\n      <window_info id=\"Image Layers\" />\n      <window_info id=\"Designer\" />\n      <window_info id=\"UI Designer\" />\n      <window_info id=\"Capture Tool\" />\n      <window_info id=\"Favorites\" side_tool=\"true\" />\n      <window_info active=\"true\" content_ui=\"combo\" id=\"Project\" order=\"0\" visible=\"true\" weight=\"0.25\" />\n      <window_info id=\"Structure\" order=\"1\" side_tool=\"true\" weight=\"0.25\" />\n      <window_info anchor=\"bottom\" id=\"Version Control\" />\n      <window_info anchor=\"bottom\" id=\"Terminal\" />\n      <window_info anchor=\"bottom\" id=\"Event Log\" side_tool=\"true\" />\n      <window_info anchor=\"bottom\" id=\"Message\" order=\"0\" />\n      <window_info anchor=\"bottom\" id=\"Find\" order=\"1\" />\n      <window_info anchor=\"bottom\" id=\"Run\" order=\"2\" />\n      <window_info anchor=\"bottom\" id=\"Debug\" order=\"3\" weight=\"0.4\" />\n      <window_info anchor=\"bottom\" id=\"Cvs\" order=\"4\" weight=\"0.25\" />\n      <window_info anchor=\"bottom\" id=\"Inspection\" order=\"5\" weight=\"0.4\" />\n      <window_info anchor=\"bottom\" id=\"TODO\" order=\"6\" />\n      <window_info anchor=\"right\" id=\"Palette\" />\n      <window_info anchor=\"right\" id=\"Theme Preview\" />\n      <window_info anchor=\"right\" id=\"Maven\" />\n      <window_info anchor=\"right\" id=\"Capture Analysis\" />\n      <window_info anchor=\"right\" id=\"Palette&#9;\" />\n      <window_info anchor=\"right\" id=\"Commander\" internal_type=\"SLIDING\" order=\"0\" type=\"SLIDING\" weight=\"0.4\" />\n      <window_info anchor=\"right\" id=\"Ant Build\" order=\"1\" weight=\"0.25\" />\n      <window_info anchor=\"right\" content_ui=\"combo\" id=\"Hierarchy\" order=\"2\" weight=\"0.25\" />\n    </layout>\n  </component>\n  <component name=\"TypeScriptGeneratedFilesManager\">\n    <option name=\"version\" value=\"3\" />\n  </component>\n  <component name=\"Vcs.Log.Tabs.Properties\">\n    <option name=\"TAB_STATES\">\n      <map>\n        <entry key=\"MAIN\">\n          <value>\n            <State />\n          </value>\n        </entry>\n      </map>\n    </option>\n  </component>\n  <component name=\"VcsManagerConfiguration\">\n    <MESSAGE value=\"Update formatting\" />\n    <MESSAGE value=\"Update homepage\" />\n    <MESSAGE value=\"Add my work component\" />\n    <MESSAGE value=\"Add portfolio item dialog\" />\n    <option name=\"LAST_COMMIT_MESSAGE\" value=\"Add portfolio item dialog\" />\n  </component>\n  <component name=\"editorHistoryManager\">\n    <entry file=\"file://$PROJECT_DIR$/src/hoc/Auxiliary.js\">\n      <provider selected=\"true\" editor-type-id=\"text-editor\">\n        <state relative-caret-position=\"17\">\n          <caret line=\"1\" selection-start-line=\"1\" selection-end-line=\"1\" />\n        </state>\n      </provider>\n    </entry>\n    <entry file=\"file://$PROJECT_DIR$/src/components/Layout.js\">\n      <provider selected=\"true\" editor-type-id=\"text-editor\">\n        <state relative-caret-position=\"136\">\n          <caret line=\"8\" column=\"11\" selection-start-line=\"8\" selection-start-column=\"11\" selection-end-line=\"8\" selection-end-column=\"11\" />\n        </state>\n      </provider>\n    </entry>\n  </component>\n  <component name=\"masterDetails\">\n    <states>\n      <state key=\"ProjectJDKs.UI\">\n        <settings>\n          <last-edited>12</last-edited>\n          <splitter-proportions>\n            <option name=\"proportions\">\n              <list>\n                <option value=\"0.2\" />\n              </list>\n            </option>\n          </splitter-proportions>\n        </settings>\n      </state>\n    </states>\n  </component>\n</project>"
  },
  {
    "path": "README.md",
    "content": "# Blog\n\n### Getting started\n\ncreate a file in the root project directory named\n`firebase-config.js`\nusing the following template:\n\n```\nconst firebaseConfig = {\n    apiKey: FIREBASE_API_KEY_HERE,\n    authDomain: FIREBASE_AUTH_DOMAIN_HERE,\n    projectId: FIREBASE_PROJECT_ID_HERE,\n    storageBucket: FIREBASE_STORAGE_BUCKET_HERE,\n    messagingSenderId: FIREBASE_SENDER_ID_HERE,\n    appId: FIREBASE_APP_ID_HERE,\n    measurementId: FIREBASE_MEASUREMENT_ID_HERE\n};\n\nexport default firebaseConfig;\n```\n\n### Firestore schema:\n\nThis app relies on the following Firestore schema:\n\n###### posts\n    - date\n    - image\n    - summary\n    - thumbnail\n    - title\n\n###### comments\n    - comment\n    - date\n    - displayName\n    - postId\n    - profilePhotorl\n    - uid\n"
  },
  {
    "path": "config/env.js",
    "content": "'use strict';\n\nconst fs = require('fs');\nconst path = require('path');\nconst paths = require('./paths');\n\n// Make sure that including paths.js after env.js will read .env variables.\ndelete require.cache[require.resolve('./paths')];\n\nconst NODE_ENV = process.env.NODE_ENV;\nif (!NODE_ENV) {\n  throw new Error(\n    'The NODE_ENV environment variable is required but was not specified.'\n  );\n}\n\n// https://github.com/bkeepers/dotenv#what-other-env-files-can-i-use\nconst dotenvFiles = [\n  `${paths.dotenv}.${NODE_ENV}.local`,\n  // Don't include `.env.local` for `test` environment\n  // since normally you expect tests to produce the same\n  // results for everyone\n  NODE_ENV !== 'test' && `${paths.dotenv}.local`,\n  `${paths.dotenv}.${NODE_ENV}`,\n  paths.dotenv,\n].filter(Boolean);\n\n// Load environment variables from .env* files. Suppress warnings using silent\n// if this file is missing. dotenv will never modify any environment variables\n// that have already been set.  Variable expansion is supported in .env files.\n// https://github.com/motdotla/dotenv\n// https://github.com/motdotla/dotenv-expand\ndotenvFiles.forEach(dotenvFile => {\n  if (fs.existsSync(dotenvFile)) {\n    require('dotenv-expand')(\n      require('dotenv').config({\n        path: dotenvFile,\n      })\n    );\n  }\n});\n\n// We support resolving modules according to `NODE_PATH`.\n// This lets you use absolute paths in imports inside large monorepos:\n// https://github.com/facebook/create-react-app/issues/253.\n// It works similar to `NODE_PATH` in Node itself:\n// https://nodejs.org/api/modules.html#modules_loading_from_the_global_folders\n// Note that unlike in Node, only *relative* paths from `NODE_PATH` are honored.\n// Otherwise, we risk importing Node.js core modules into an app instead of webpack shims.\n// https://github.com/facebook/create-react-app/issues/1023#issuecomment-265344421\n// We also resolve them to make sure all tools using them work consistently.\nconst appDirectory = fs.realpathSync(process.cwd());\nprocess.env.NODE_PATH = (process.env.NODE_PATH || '')\n  .split(path.delimiter)\n  .filter(folder => folder && !path.isAbsolute(folder))\n  .map(folder => path.resolve(appDirectory, folder))\n  .join(path.delimiter);\n\n// Grab NODE_ENV and REACT_APP_* environment variables and prepare them to be\n// injected into the application via DefinePlugin in webpack configuration.\nconst REACT_APP = /^REACT_APP_/i;\n\nfunction getClientEnvironment(publicUrl) {\n  const raw = Object.keys(process.env)\n    .filter(key => REACT_APP.test(key))\n    .reduce(\n      (env, key) => {\n        env[key] = process.env[key];\n        return env;\n      },\n      {\n        // Useful for determining whether we’re running in production mode.\n        // Most importantly, it switches React into the correct mode.\n        NODE_ENV: process.env.NODE_ENV || 'development',\n        // Useful for resolving the correct path to static assets in `public`.\n        // For example, <img src={process.env.PUBLIC_URL + '/img/logo.png'} />.\n        // This should only be used as an escape hatch. Normally you would put\n        // images into the `src` and `import` them in code to get their paths.\n        PUBLIC_URL: publicUrl,\n        // We support configuring the sockjs pathname during development.\n        // These settings let a developer run multiple simultaneous projects.\n        // They are used as the connection `hostname`, `pathname` and `port`\n        // in webpackHotDevClient. They are used as the `sockHost`, `sockPath`\n        // and `sockPort` options in webpack-dev-server.\n        WDS_SOCKET_HOST: process.env.WDS_SOCKET_HOST,\n        WDS_SOCKET_PATH: process.env.WDS_SOCKET_PATH,\n        WDS_SOCKET_PORT: process.env.WDS_SOCKET_PORT,\n        // Whether or not react-refresh is enabled.\n        // react-refresh is not 100% stable at this time,\n        // which is why it's disabled by default.\n        // It is defined here so it is available in the webpackHotDevClient.\n        FAST_REFRESH: process.env.FAST_REFRESH !== 'false',\n      }\n    );\n  // Stringify all values so we can feed into webpack DefinePlugin\n  const stringified = {\n    'process.env': Object.keys(raw).reduce((env, key) => {\n      env[key] = JSON.stringify(raw[key]);\n      return env;\n    }, {}),\n  };\n\n  return { raw, stringified };\n}\n\nmodule.exports = getClientEnvironment;\n"
  },
  {
    "path": "config/getHttpsConfig.js",
    "content": "'use strict';\n\nconst fs = require('fs');\nconst path = require('path');\nconst crypto = require('crypto');\nconst chalk = require('react-dev-utils/chalk');\nconst paths = require('./paths');\n\n// Ensure the certificate and key provided are valid and if not\n// throw an easy to debug error\nfunction validateKeyAndCerts({ cert, key, keyFile, crtFile }) {\n  let encrypted;\n  try {\n    // publicEncrypt will throw an error with an invalid cert\n    encrypted = crypto.publicEncrypt(cert, Buffer.from('test'));\n  } catch (err) {\n    throw new Error(\n      `The certificate \"${chalk.yellow(crtFile)}\" is invalid.\\n${err.message}`\n    );\n  }\n\n  try {\n    // privateDecrypt will throw an error with an invalid key\n    crypto.privateDecrypt(key, encrypted);\n  } catch (err) {\n    throw new Error(\n      `The certificate key \"${chalk.yellow(keyFile)}\" is invalid.\\n${\n        err.message\n      }`\n    );\n  }\n}\n\n// Read file and throw an error if it doesn't exist\nfunction readEnvFile(file, type) {\n  if (!fs.existsSync(file)) {\n    throw new Error(\n      `You specified ${chalk.cyan(\n        type\n      )} in your env, but the file \"${chalk.yellow(file)}\" can't be found.`\n    );\n  }\n  return fs.readFileSync(file);\n}\n\n// Get the https config\n// Return cert files if provided in env, otherwise just true or false\nfunction getHttpsConfig() {\n  const { SSL_CRT_FILE, SSL_KEY_FILE, HTTPS } = process.env;\n  const isHttps = HTTPS === 'true';\n\n  if (isHttps && SSL_CRT_FILE && SSL_KEY_FILE) {\n    const crtFile = path.resolve(paths.appPath, SSL_CRT_FILE);\n    const keyFile = path.resolve(paths.appPath, SSL_KEY_FILE);\n    const config = {\n      cert: readEnvFile(crtFile, 'SSL_CRT_FILE'),\n      key: readEnvFile(keyFile, 'SSL_KEY_FILE'),\n    };\n\n    validateKeyAndCerts({ ...config, keyFile, crtFile });\n    return config;\n  }\n  return isHttps;\n}\n\nmodule.exports = getHttpsConfig;\n"
  },
  {
    "path": "config/jest/babelTransform.js",
    "content": "'use strict';\n\nconst babelJest = require('babel-jest');\n\nconst hasJsxRuntime = (() => {\n  if (process.env.DISABLE_NEW_JSX_TRANSFORM === 'true') {\n    return false;\n  }\n\n  try {\n    require.resolve('react/jsx-runtime');\n    return true;\n  } catch (e) {\n    return false;\n  }\n})();\n\nmodule.exports = babelJest.createTransformer({\n  presets: [\n    [\n      require.resolve('babel-preset-react-app'),\n      {\n        runtime: hasJsxRuntime ? 'automatic' : 'classic',\n      },\n    ],\n  ],\n  babelrc: false,\n  configFile: false,\n});\n"
  },
  {
    "path": "config/jest/cssTransform.js",
    "content": "'use strict';\n\n// This is a custom Jest transformer turning style imports into empty objects.\n// http://facebook.github.io/jest/docs/en/webpack.html\n\nmodule.exports = {\n  process() {\n    return 'module.exports = {};';\n  },\n  getCacheKey() {\n    // The output is always the same.\n    return 'cssTransform';\n  },\n};\n"
  },
  {
    "path": "config/jest/fileTransform.js",
    "content": "'use strict';\n\nconst path = require('path');\nconst camelcase = require('camelcase');\n\n// This is a custom Jest transformer turning file imports into filenames.\n// http://facebook.github.io/jest/docs/en/webpack.html\n\nmodule.exports = {\n  process(src, filename) {\n    const assetFilename = JSON.stringify(path.basename(filename));\n\n    if (filename.match(/\\.svg$/)) {\n      // Based on how SVGR generates a component name:\n      // https://github.com/smooth-code/svgr/blob/01b194cf967347d43d4cbe6b434404731b87cf27/packages/core/src/state.js#L6\n      const pascalCaseFilename = camelcase(path.parse(filename).name, {\n        pascalCase: true,\n      });\n      const componentName = `Svg${pascalCaseFilename}`;\n      return `const React = require('react');\n      module.exports = {\n        __esModule: true,\n        default: ${assetFilename},\n        ReactComponent: React.forwardRef(function ${componentName}(props, ref) {\n          return {\n            $$typeof: Symbol.for('react.element'),\n            type: 'svg',\n            ref: ref,\n            key: null,\n            props: Object.assign({}, props, {\n              children: ${assetFilename}\n            })\n          };\n        }),\n      };`;\n    }\n\n    return `module.exports = ${assetFilename};`;\n  },\n};\n"
  },
  {
    "path": "config/modules.js",
    "content": "'use strict';\n\nconst fs = require('fs');\nconst path = require('path');\nconst paths = require('./paths');\nconst chalk = require('react-dev-utils/chalk');\nconst resolve = require('resolve');\n\n/**\n * Get additional module paths based on the baseUrl of a compilerOptions object.\n *\n * @param {Object} options\n */\nfunction getAdditionalModulePaths(options = {}) {\n  const baseUrl = options.baseUrl;\n\n  if (!baseUrl) {\n    return '';\n  }\n\n  const baseUrlResolved = path.resolve(paths.appPath, baseUrl);\n\n  // We don't need to do anything if `baseUrl` is set to `node_modules`. This is\n  // the default behavior.\n  if (path.relative(paths.appNodeModules, baseUrlResolved) === '') {\n    return null;\n  }\n\n  // Allow the user set the `baseUrl` to `appSrc`.\n  if (path.relative(paths.appSrc, baseUrlResolved) === '') {\n    return [paths.appSrc];\n  }\n\n  // If the path is equal to the root directory we ignore it here.\n  // We don't want to allow importing from the root directly as source files are\n  // not transpiled outside of `src`. We do allow importing them with the\n  // absolute path (e.g. `src/Components/Button.js`) but we set that up with\n  // an alias.\n  if (path.relative(paths.appPath, baseUrlResolved) === '') {\n    return null;\n  }\n\n  // Otherwise, throw an error.\n  throw new Error(\n    chalk.red.bold(\n      \"Your project's `baseUrl` can only be set to `src` or `node_modules`.\" +\n        ' Create React App does not support other values at this time.'\n    )\n  );\n}\n\n/**\n * Get webpack aliases based on the baseUrl of a compilerOptions object.\n *\n * @param {*} options\n */\nfunction getWebpackAliases(options = {}) {\n  const baseUrl = options.baseUrl;\n\n  if (!baseUrl) {\n    return {};\n  }\n\n  const baseUrlResolved = path.resolve(paths.appPath, baseUrl);\n\n  if (path.relative(paths.appPath, baseUrlResolved) === '') {\n    return {\n      src: paths.appSrc,\n    };\n  }\n}\n\n/**\n * Get jest aliases based on the baseUrl of a compilerOptions object.\n *\n * @param {*} options\n */\nfunction getJestAliases(options = {}) {\n  const baseUrl = options.baseUrl;\n\n  if (!baseUrl) {\n    return {};\n  }\n\n  const baseUrlResolved = path.resolve(paths.appPath, baseUrl);\n\n  if (path.relative(paths.appPath, baseUrlResolved) === '') {\n    return {\n      '^src/(.*)$': '<rootDir>/src/$1',\n    };\n  }\n}\n\nfunction getModules() {\n  // Check if TypeScript is setup\n  const hasTsConfig = fs.existsSync(paths.appTsConfig);\n  const hasJsConfig = fs.existsSync(paths.appJsConfig);\n\n  if (hasTsConfig && hasJsConfig) {\n    throw new Error(\n      'You have both a tsconfig.json and a jsconfig.json. If you are using TypeScript please remove your jsconfig.json file.'\n    );\n  }\n\n  let config;\n\n  // If there's a tsconfig.json we assume it's a\n  // TypeScript project and set up the config\n  // based on tsconfig.json\n  if (hasTsConfig) {\n    const ts = require(resolve.sync('typescript', {\n      basedir: paths.appNodeModules,\n    }));\n    config = ts.readConfigFile(paths.appTsConfig, ts.sys.readFile).config;\n    // Otherwise we'll check if there is jsconfig.json\n    // for non TS projects.\n  } else if (hasJsConfig) {\n    config = require(paths.appJsConfig);\n  }\n\n  config = config || {};\n  const options = config.compilerOptions || {};\n\n  const additionalModulePaths = getAdditionalModulePaths(options);\n\n  return {\n    additionalModulePaths: additionalModulePaths,\n    webpackAliases: getWebpackAliases(options),\n    jestAliases: getJestAliases(options),\n    hasTsConfig,\n  };\n}\n\nmodule.exports = getModules();\n"
  },
  {
    "path": "config/paths.js",
    "content": "'use strict';\n\nconst path = require('path');\nconst fs = require('fs');\nconst getPublicUrlOrPath = require('react-dev-utils/getPublicUrlOrPath');\n\n// Make sure any symlinks in the project folder are resolved:\n// https://github.com/facebook/create-react-app/issues/637\nconst appDirectory = fs.realpathSync(process.cwd());\nconst resolveApp = relativePath => path.resolve(appDirectory, relativePath);\n\n// We use `PUBLIC_URL` environment variable or \"homepage\" field to infer\n// \"public path\" at which the app is served.\n// webpack needs to know it to put the right <script> hrefs into HTML even in\n// single-page apps that may serve index.html for nested URLs like /todos/42.\n// We can't use a relative path in HTML because we don't want to load something\n// like /todos/42/static/js/bundle.7289d.js. We have to know the root.\nconst publicUrlOrPath = getPublicUrlOrPath(\n  process.env.NODE_ENV === 'development',\n  require(resolveApp('package.json')).homepage,\n  process.env.PUBLIC_URL\n);\n\nconst buildPath = process.env.BUILD_PATH || 'build';\n\nconst moduleFileExtensions = [\n  'web.mjs',\n  'mjs',\n  'web.js',\n  'js',\n  'web.ts',\n  'ts',\n  'web.tsx',\n  'tsx',\n  'json',\n  'web.jsx',\n  'jsx',\n];\n\n// Resolve file paths in the same order as webpack\nconst resolveModule = (resolveFn, filePath) => {\n  const extension = moduleFileExtensions.find(extension =>\n    fs.existsSync(resolveFn(`${filePath}.${extension}`))\n  );\n\n  if (extension) {\n    return resolveFn(`${filePath}.${extension}`);\n  }\n\n  return resolveFn(`${filePath}.js`);\n};\n\n// config after eject: we're in ./config/\nmodule.exports = {\n  dotenv: resolveApp('.env'),\n  appPath: resolveApp('.'),\n  appBuild: resolveApp(buildPath),\n  appPublic: resolveApp('public'),\n  appHtml: resolveApp('public/index.html'),\n  appIndexJs: resolveModule(resolveApp, 'src/index'),\n  appPackageJson: resolveApp('package.json'),\n  appSrc: resolveApp('src'),\n  appTsConfig: resolveApp('tsconfig.json'),\n  appJsConfig: resolveApp('jsconfig.json'),\n  yarnLockFile: resolveApp('yarn.lock'),\n  testsSetup: resolveModule(resolveApp, 'src/setupTests'),\n  proxySetup: resolveApp('src/setupProxy.js'),\n  appNodeModules: resolveApp('node_modules'),\n  swSrc: resolveModule(resolveApp, 'src/service-worker'),\n  publicUrlOrPath,\n};\n\n\n\nmodule.exports.moduleFileExtensions = moduleFileExtensions;\n"
  },
  {
    "path": "config/pnpTs.js",
    "content": "'use strict';\n\nconst { resolveModuleName } = require('ts-pnp');\n\nexports.resolveModuleName = (\n  typescript,\n  moduleName,\n  containingFile,\n  compilerOptions,\n  resolutionHost\n) => {\n  return resolveModuleName(\n    moduleName,\n    containingFile,\n    compilerOptions,\n    resolutionHost,\n    typescript.resolveModuleName\n  );\n};\n\nexports.resolveTypeReferenceDirective = (\n  typescript,\n  moduleName,\n  containingFile,\n  compilerOptions,\n  resolutionHost\n) => {\n  return resolveModuleName(\n    moduleName,\n    containingFile,\n    compilerOptions,\n    resolutionHost,\n    typescript.resolveTypeReferenceDirective\n  );\n};\n"
  },
  {
    "path": "config/webpack.config.js",
    "content": "'use strict';\n\nconst fs = require('fs');\nconst path = require('path');\nconst webpack = require('webpack');\nconst resolve = require('resolve');\nconst PnpWebpackPlugin = require('pnp-webpack-plugin');\nconst HtmlWebpackPlugin = require('html-webpack-plugin');\nconst CaseSensitivePathsPlugin = require('case-sensitive-paths-webpack-plugin');\nconst InlineChunkHtmlPlugin = require('react-dev-utils/InlineChunkHtmlPlugin');\nconst TerserPlugin = require('terser-webpack-plugin');\nconst MiniCssExtractPlugin = require('mini-css-extract-plugin');\nconst OptimizeCSSAssetsPlugin = require('optimize-css-assets-webpack-plugin');\nconst safePostCssParser = require('postcss-safe-parser');\nconst ManifestPlugin = require('webpack-manifest-plugin');\nconst InterpolateHtmlPlugin = require('react-dev-utils/InterpolateHtmlPlugin');\nconst WorkboxWebpackPlugin = require('workbox-webpack-plugin');\nconst WatchMissingNodeModulesPlugin = require('react-dev-utils/WatchMissingNodeModulesPlugin');\nconst ModuleScopePlugin = require('react-dev-utils/ModuleScopePlugin');\nconst getCSSModuleLocalIdent = require('react-dev-utils/getCSSModuleLocalIdent');\nconst ESLintPlugin = require('eslint-webpack-plugin');\nconst paths = require('./paths');\nconst modules = require('./modules');\nconst getClientEnvironment = require('./env');\nconst ModuleNotFoundPlugin = require('react-dev-utils/ModuleNotFoundPlugin');\nconst ForkTsCheckerWebpackPlugin = require('react-dev-utils/ForkTsCheckerWebpackPlugin');\nconst typescriptFormatter = require('react-dev-utils/typescriptFormatter');\nconst ReactRefreshWebpackPlugin = require('@pmmmwh/react-refresh-webpack-plugin');\n\nconst postcssNormalize = require('postcss-normalize');\n\nconst appPackageJson = require(paths.appPackageJson);\n\n// Source maps are resource heavy and can cause out of memory issue for large source files.\nconst shouldUseSourceMap = process.env.GENERATE_SOURCEMAP !== 'false';\n\nconst webpackDevClientEntry = require.resolve(\n  'react-dev-utils/webpackHotDevClient'\n);\nconst reactRefreshOverlayEntry = require.resolve(\n  'react-dev-utils/refreshOverlayInterop'\n);\n\n// Some apps do not need the benefits of saving a web request, so not inlining the chunk\n// makes for a smoother build process.\nconst shouldInlineRuntimeChunk = process.env.INLINE_RUNTIME_CHUNK !== 'false';\n\nconst emitErrorsAsWarnings = process.env.ESLINT_NO_DEV_ERRORS === 'true';\nconst disableESLintPlugin = process.env.DISABLE_ESLINT_PLUGIN === 'true';\n\nconst imageInlineSizeLimit = parseInt(\n  process.env.IMAGE_INLINE_SIZE_LIMIT || '10000'\n);\n\n// Check if TypeScript is setup\nconst useTypeScript = fs.existsSync(paths.appTsConfig);\n\n// Get the path to the uncompiled service worker (if it exists).\nconst swSrc = paths.swSrc;\n\n// style files regexes\nconst cssRegex = /\\.css$/;\nconst cssModuleRegex = /\\.module\\.css$/;\nconst sassRegex = /\\.(scss|sass)$/;\nconst sassModuleRegex = /\\.module\\.(scss|sass)$/;\n\nconst hasJsxRuntime = (() => {\n  if (process.env.DISABLE_NEW_JSX_TRANSFORM === 'true') {\n    return false;\n  }\n\n  try {\n    require.resolve('react/jsx-runtime');\n    return true;\n  } catch (e) {\n    return false;\n  }\n})();\n\n// This is the production and development configuration.\n// It is focused on developer experience, fast rebuilds, and a minimal bundle.\nmodule.exports = function (webpackEnv) {\n  const isEnvDevelopment = webpackEnv === 'development';\n  const isEnvProduction = webpackEnv === 'production';\n\n  // Variable used for enabling profiling in Production\n  // passed into alias object. Uses a flag if passed into the build command\n  const isEnvProductionProfile =\n    isEnvProduction && process.argv.includes('--profile');\n\n  // We will provide `paths.publicUrlOrPath` to our app\n  // as %PUBLIC_URL% in `index.html` and `process.env.PUBLIC_URL` in JavaScript.\n  // Omit trailing slash as %PUBLIC_URL%/xyz looks better than %PUBLIC_URL%xyz.\n  // Get environment variables to inject into our app.\n  const env = getClientEnvironment(paths.publicUrlOrPath.slice(0, -1));\n\n  const shouldUseReactRefresh = env.raw.FAST_REFRESH;\n\n  // common function to get style loaders\n  const getStyleLoaders = (cssOptions, preProcessor) => {\n    const loaders = [\n      isEnvDevelopment && require.resolve('style-loader'),\n      isEnvProduction && {\n        loader: MiniCssExtractPlugin.loader,\n        // css is located in `static/css`, use '../../' to locate index.html folder\n        // in production `paths.publicUrlOrPath` can be a relative path\n        options: paths.publicUrlOrPath.startsWith('.')\n          ? { publicPath: '../../' }\n          : {},\n      },\n      {\n        loader: require.resolve('css-loader'),\n        options: {\n          ...cssOptions,\n          modules: true\n        },\n      },\n      {\n        // Options for PostCSS as we reference these options twice\n        // Adds vendor prefixing based on your specified browser support in\n        // package.json\n        loader: require.resolve('postcss-loader'),\n        options: {\n          // Necessary for external CSS imports to work\n          // https://github.com/facebook/create-react-app/issues/2677\n          ident: 'postcss',\n          plugins: () => [\n            require('postcss-flexbugs-fixes'),\n            require('postcss-preset-env')({\n              autoprefixer: {\n                flexbox: 'no-2009',\n              },\n              stage: 3,\n            }),\n            // Adds PostCSS Normalize as the reset css with default options,\n            // so that it honors browserslist config in package.json\n            // which in turn let's users customize the target behavior as per their needs.\n            postcssNormalize(),\n          ],\n          sourceMap: isEnvProduction ? shouldUseSourceMap : isEnvDevelopment,\n        },\n      },\n    ].filter(Boolean);\n    if (preProcessor) {\n      loaders.push(\n        {\n          loader: require.resolve('resolve-url-loader'),\n          options: {\n            sourceMap: isEnvProduction ? shouldUseSourceMap : isEnvDevelopment,\n            root: paths.appSrc,\n          },\n        },\n        {\n          loader: require.resolve(preProcessor),\n          options: {\n            sourceMap: true,\n          },\n        }\n      );\n    }\n    return loaders;\n  };\n\n  return {\n    mode: isEnvProduction ? 'production' : isEnvDevelopment && 'development',\n    // Stop compilation early in production\n    bail: isEnvProduction,\n    devtool: isEnvProduction\n      ? shouldUseSourceMap\n        ? 'source-map'\n        : false\n      : isEnvDevelopment && 'cheap-module-source-map',\n    // These are the \"entry points\" to our application.\n    // This means they will be the \"root\" imports that are included in JS bundle.\n    entry:\n      isEnvDevelopment && !shouldUseReactRefresh\n        ? [\n          // Include an alternative client for WebpackDevServer. A client's job is to\n          // connect to WebpackDevServer by a socket and get notified about changes.\n          // When you save a file, the client will either apply hot updates (in case\n          // of CSS changes), or refresh the page (in case of JS changes). When you\n          // make a syntax error, this client will display a syntax error overlay.\n          // Note: instead of the default WebpackDevServer client, we use a custom one\n          // to bring better experience for Create React App users. You can replace\n          // the line below with these two lines if you prefer the stock client:\n          //\n          // require.resolve('webpack-dev-server/client') + '?/',\n          // require.resolve('webpack/hot/dev-server'),\n          //\n          // When using the experimental react-refresh integration,\n          // the webpack plugin takes care of injecting the dev client for us.\n          webpackDevClientEntry,\n          // Finally, this is your app's code:\n          paths.appIndexJs,\n          // We include the app code last so that if there is a runtime error during\n          // initialization, it doesn't blow up the WebpackDevServer client, and\n          // changing JS code would still trigger a refresh.\n        ]\n        : paths.appIndexJs,\n    output: {\n      // The build folder.\n      path: isEnvProduction ? paths.appBuild : undefined,\n      // Add /* filename */ comments to generated require()s in the output.\n      pathinfo: isEnvDevelopment,\n      // There will be one main bundle, and one file per asynchronous chunk.\n      // In development, it does not produce real files.\n      filename: isEnvProduction\n        ? 'static/js/[name].[contenthash:8].js'\n        : isEnvDevelopment && 'static/js/bundle.js',\n      // TODO: remove this when upgrading to webpack 5\n      futureEmitAssets: true,\n      // There are also additional JS chunk files if you use code splitting.\n      chunkFilename: isEnvProduction\n        ? 'static/js/[name].[contenthash:8].chunk.js'\n        : isEnvDevelopment && 'static/js/[name].chunk.js',\n      // webpack uses `publicPath` to determine where the app is being served from.\n      // It requires a trailing slash, or the file assets will get an incorrect path.\n      // We inferred the \"public path\" (such as / or /my-project) from homepage.\n      publicPath: paths.publicUrlOrPath,\n      // Point sourcemap entries to original disk location (format as URL on Windows)\n      devtoolModuleFilenameTemplate: isEnvProduction\n        ? info =>\n          path\n            .relative(paths.appSrc, info.absoluteResourcePath)\n            .replace(/\\\\/g, '/')\n        : isEnvDevelopment &&\n        (info => path.resolve(info.absoluteResourcePath).replace(/\\\\/g, '/')),\n      // Prevents conflicts when multiple webpack runtimes (from different apps)\n      // are used on the same page.\n      jsonpFunction: `webpackJsonp${appPackageJson.name}`,\n      // this defaults to 'window', but by setting it to 'this' then\n      // module chunks which are built will work in web workers as well.\n      globalObject: 'this',\n    },\n    optimization: {\n      minimize: isEnvProduction,\n      minimizer: [\n        // This is only used in production mode\n        new TerserPlugin({\n          terserOptions: {\n            parse: {\n              // We want terser to parse ecma 8 code. However, we don't want it\n              // to apply any minification steps that turns valid ecma 5 code\n              // into invalid ecma 5 code. This is why the 'compress' and 'output'\n              // sections only apply transformations that are ecma 5 safe\n              // https://github.com/facebook/create-react-app/pull/4234\n              ecma: 8,\n            },\n            compress: {\n              ecma: 5,\n              warnings: false,\n              // Disabled because of an issue with Uglify breaking seemingly valid code:\n              // https://github.com/facebook/create-react-app/issues/2376\n              // Pending further investigation:\n              // https://github.com/mishoo/UglifyJS2/issues/2011\n              comparisons: false,\n              // Disabled because of an issue with Terser breaking valid code:\n              // https://github.com/facebook/create-react-app/issues/5250\n              // Pending further investigation:\n              // https://github.com/terser-js/terser/issues/120\n              inline: 2,\n            },\n            mangle: {\n              safari10: true,\n            },\n            // Added for profiling in devtools\n            keep_classnames: isEnvProductionProfile,\n            keep_fnames: isEnvProductionProfile,\n            output: {\n              ecma: 5,\n              comments: false,\n              // Turned on because emoji and regex is not minified properly using default\n              // https://github.com/facebook/create-react-app/issues/2488\n              ascii_only: true,\n            },\n          },\n          sourceMap: shouldUseSourceMap,\n        }),\n        // This is only used in production mode\n        new OptimizeCSSAssetsPlugin({\n          cssProcessorOptions: {\n            parser: safePostCssParser,\n            map: shouldUseSourceMap\n              ? {\n                // `inline: false` forces the sourcemap to be output into a\n                // separate file\n                inline: false,\n                // `annotation: true` appends the sourceMappingURL to the end of\n                // the css file, helping the browser find the sourcemap\n                annotation: true,\n              }\n              : false,\n          },\n          cssProcessorPluginOptions: {\n            preset: ['default', { minifyFontValues: { removeQuotes: false } }],\n          },\n        }),\n      ],\n      // Automatically split vendor and commons\n      // https://twitter.com/wSokra/status/969633336732905474\n      // https://medium.com/webpack/webpack-4-code-splitting-chunk-graph-and-the-splitchunks-optimization-be739a861366\n      splitChunks: {\n        chunks: 'all',\n        name: isEnvDevelopment,\n      },\n      // Keep the runtime chunk separated to enable long term caching\n      // https://twitter.com/wSokra/status/969679223278505985\n      // https://github.com/facebook/create-react-app/issues/5358\n      runtimeChunk: {\n        name: entrypoint => `runtime-${entrypoint.name}`,\n      },\n    },\n    resolve: {\n      // This allows you to set a fallback for where webpack should look for modules.\n      // We placed these paths second because we want `node_modules` to \"win\"\n      // if there are any conflicts. This matches Node resolution mechanism.\n      // https://github.com/facebook/create-react-app/issues/253\n      modules: ['node_modules', paths.appNodeModules].concat(\n        modules.additionalModulePaths || []\n      ),\n      // These are the reasonable defaults supported by the Node ecosystem.\n      // We also include JSX as a common component filename extension to support\n      // some tools, although we do not recommend using it, see:\n      // https://github.com/facebook/create-react-app/issues/290\n      // `web` extension prefixes have been added for better support\n      // for React Native Web.\n      extensions: paths.moduleFileExtensions\n        .map(ext => `.${ext}`)\n        .filter(ext => useTypeScript || !ext.includes('ts')),\n      alias: {\n        // Support React Native Web\n        // https://www.smashingmagazine.com/2016/08/a-glimpse-into-the-future-with-react-native-for-web/\n        'react-native': 'react-native-web',\n        // Allows for better profiling with ReactDevTools\n        ...(isEnvProductionProfile && {\n          'react-dom$': 'react-dom/profiling',\n          'scheduler/tracing': 'scheduler/tracing-profiling',\n        }),\n        ...(modules.webpackAliases || {}),\n      },\n      plugins: [\n        // Adds support for installing with Plug'n'Play, leading to faster installs and adding\n        // guards against forgotten dependencies and such.\n        PnpWebpackPlugin,\n        // Prevents users from importing files from outside of src/ (or node_modules/).\n        // This often causes confusion because we only process files within src/ with babel.\n        // To fix this, we prevent you from importing files out of src/ -- if you'd like to,\n        // please link the files into your node_modules/ and let module-resolution kick in.\n        // Make sure your source files are compiled, as they will not be processed in any way.\n        new ModuleScopePlugin(paths.appSrc, [\n          paths.appPackageJson,\n          reactRefreshOverlayEntry,\n        ]),\n      ],\n    },\n    resolveLoader: {\n      plugins: [\n        // Also related to Plug'n'Play, but this time it tells webpack to load its loaders\n        // from the current package.\n        PnpWebpackPlugin.moduleLoader(module),\n      ],\n    },\n    module: {\n      strictExportPresence: true,\n      rules: [\n        // Disable require.ensure as it's not a standard language feature.\n        { parser: { requireEnsure: false } },\n        {\n          // \"oneOf\" will traverse all following loaders until one will\n          // match the requirements. When no loader matches it will fall\n          // back to the \"file\" loader at the end of the loader list.\n          oneOf: [\n            // TODO: Merge this config once `image/avif` is in the mime-db\n            // https://github.com/jshttp/mime-db\n            {\n              test: [/\\.avif$/],\n              loader: require.resolve('url-loader'),\n              options: {\n                limit: imageInlineSizeLimit,\n                mimetype: 'image/avif',\n                name: 'static/media/[name].[hash:8].[ext]',\n              },\n            },\n            // \"url\" loader works like \"file\" loader except that it embeds assets\n            // smaller than specified limit in bytes as data URLs to avoid requests.\n            // A missing `test` is equivalent to a match.\n            {\n              test: [/\\.bmp$/, /\\.gif$/, /\\.jpe?g$/, /\\.png$/],\n              loader: require.resolve('url-loader'),\n              options: {\n                limit: imageInlineSizeLimit,\n                name: 'static/media/[name].[hash:8].[ext]',\n              },\n            },\n            // Process application JS with Babel.\n            // The preset includes JSX, Flow, TypeScript, and some ESnext features.\n            {\n              test: /\\.(js|mjs|jsx|ts|tsx)$/,\n              include: paths.appSrc,\n              loader: require.resolve('babel-loader'),\n              options: {\n                customize: require.resolve(\n                  'babel-preset-react-app/webpack-overrides'\n                ),\n                presets: [\n                  [\n                    require.resolve('babel-preset-react-app'),\n                    {\n                      runtime: hasJsxRuntime ? 'automatic' : 'classic',\n                    },\n                  ],\n                ],\n\n                plugins: [\n                  [\n                    require.resolve('babel-plugin-named-asset-import'),\n                    {\n                      loaderMap: {\n                        svg: {\n                          ReactComponent:\n                            '@svgr/webpack?-svgo,+titleProp,+ref![path]',\n                        },\n                      },\n                    },\n                  ],\n                  isEnvDevelopment &&\n                  shouldUseReactRefresh &&\n                  require.resolve('react-refresh/babel'),\n                ].filter(Boolean),\n                // This is a feature of `babel-loader` for webpack (not Babel itself).\n                // It enables caching results in ./node_modules/.cache/babel-loader/\n                // directory for faster rebuilds.\n                cacheDirectory: true,\n                // See #6846 for context on why cacheCompression is disabled\n                cacheCompression: false,\n                compact: isEnvProduction,\n              },\n            },\n            // Process any JS outside of the app with Babel.\n            // Unlike the application JS, we only compile the standard ES features.\n            {\n              test: /\\.(js|mjs)$/,\n              exclude: /@babel(?:\\/|\\\\{1,2})runtime/,\n              loader: require.resolve('babel-loader'),\n              options: {\n                babelrc: false,\n                configFile: false,\n                compact: false,\n                presets: [\n                  [\n                    require.resolve('babel-preset-react-app/dependencies'),\n                    { helpers: true },\n                  ],\n                ],\n                cacheDirectory: true,\n                // See #6846 for context on why cacheCompression is disabled\n                cacheCompression: false,\n\n                // Babel sourcemaps are needed for debugging into node_modules\n                // code.  Without the options below, debuggers like VSCode\n                // show incorrect code and set breakpoints on the wrong lines.\n                sourceMaps: shouldUseSourceMap,\n                inputSourceMap: shouldUseSourceMap,\n              },\n            },\n            // \"postcss\" loader applies autoprefixer to our CSS.\n            // \"css\" loader resolves paths in CSS and adds assets as dependencies.\n            // \"style\" loader turns CSS into JS modules that inject <style> tags.\n            // In production, we use MiniCSSExtractPlugin to extract that CSS\n            // to a file, but in development \"style\" loader enables hot editing\n            // of CSS.\n            // By default we support CSS Modules with the extension .module.css\n            {\n              test: cssRegex,\n              exclude: cssModuleRegex,\n              use: getStyleLoaders({\n                importLoaders: 1,\n                sourceMap: isEnvProduction\n                  ? shouldUseSourceMap\n                  : isEnvDevelopment,\n              }),\n              // Don't consider CSS imports dead code even if the\n              // containing package claims to have no side effects.\n              // Remove this when webpack adds a warning or an error for this.\n              // See https://github.com/webpack/webpack/issues/6571\n              sideEffects: true,\n            },\n            // Adds support for CSS Modules (https://github.com/css-modules/css-modules)\n            // using the extension .module.css\n            {\n              test: cssModuleRegex,\n              use: getStyleLoaders({\n                importLoaders: 1,\n                sourceMap: isEnvProduction\n                  ? shouldUseSourceMap\n                  : isEnvDevelopment,\n                modules: {\n                  getLocalIdent: getCSSModuleLocalIdent,\n                },\n              }),\n            },\n            // Opt-in support for SASS (using .scss or .sass extensions).\n            // By default we support SASS Modules with the\n            // extensions .module.scss or .module.sass\n            {\n              test: sassRegex,\n              exclude: sassModuleRegex,\n              use: getStyleLoaders(\n                {\n                  importLoaders: 3,\n                  sourceMap: isEnvProduction\n                    ? shouldUseSourceMap\n                    : isEnvDevelopment,\n                },\n                'sass-loader'\n              ),\n              // Don't consider CSS imports dead code even if the\n              // containing package claims to have no side effects.\n              // Remove this when webpack adds a warning or an error for this.\n              // See https://github.com/webpack/webpack/issues/6571\n              sideEffects: true,\n            },\n            // Adds support for CSS Modules, but using SASS\n            // using the extension .module.scss or .module.sass\n            {\n              test: sassModuleRegex,\n              use: getStyleLoaders(\n                {\n                  importLoaders: 3,\n                  sourceMap: isEnvProduction\n                    ? shouldUseSourceMap\n                    : isEnvDevelopment,\n                  modules: {\n                    getLocalIdent: getCSSModuleLocalIdent,\n                  },\n                },\n                'sass-loader'\n              ),\n            },\n            // \"file\" loader makes sure those assets get served by WebpackDevServer.\n            // When you `import` an asset, you get its (virtual) filename.\n            // In production, they would get copied to the `build` folder.\n            // This loader doesn't use a \"test\" so it will catch all modules\n            // that fall through the other loaders.\n            {\n              loader: require.resolve('file-loader'),\n              // Exclude `js` files to keep \"css\" loader working as it injects\n              // its runtime that would otherwise be processed through \"file\" loader.\n              // Also exclude `html` and `json` extensions so they get processed\n              // by webpacks internal loaders.\n              exclude: [/\\.(js|mjs|jsx|ts|tsx)$/, /\\.html$/, /\\.json$/],\n              options: {\n                name: 'static/media/[name].[hash:8].[ext]',\n              },\n            },\n            // ** STOP ** Are you adding a new loader?\n            // Make sure to add the new loader(s) before the \"file\" loader.\n          ],\n        },\n      ],\n    },\n    plugins: [\n      // Generates an `index.html` file with the <script> injected.\n      new HtmlWebpackPlugin(\n        Object.assign(\n          {},\n          {\n            inject: true,\n            template: paths.appHtml,\n          },\n          isEnvProduction\n            ? {\n              minify: {\n                removeComments: true,\n                collapseWhitespace: true,\n                removeRedundantAttributes: true,\n                useShortDoctype: true,\n                removeEmptyAttributes: true,\n                removeStyleLinkTypeAttributes: true,\n                keepClosingSlash: true,\n                minifyJS: true,\n                minifyCSS: true,\n                minifyURLs: true,\n              },\n            }\n            : undefined\n        )\n      ),\n      // Inlines the webpack runtime script. This script is too small to warrant\n      // a network request.\n      // https://github.com/facebook/create-react-app/issues/5358\n      isEnvProduction &&\n      shouldInlineRuntimeChunk &&\n      new InlineChunkHtmlPlugin(HtmlWebpackPlugin, [/runtime-.+[.]js/]),\n      // Makes some environment variables available in index.html.\n      // The public URL is available as %PUBLIC_URL% in index.html, e.g.:\n      // <link rel=\"icon\" href=\"%PUBLIC_URL%/favicon.ico\">\n      // It will be an empty string unless you specify \"homepage\"\n      // in `package.json`, in which case it will be the pathname of that URL.\n      new InterpolateHtmlPlugin(HtmlWebpackPlugin, env.raw),\n      // This gives some necessary context to module not found errors, such as\n      // the requesting resource.\n      new ModuleNotFoundPlugin(paths.appPath),\n      // Makes some environment variables available to the JS code, for example:\n      // if (process.env.NODE_ENV === 'production') { ... }. See `./env.js`.\n      // It is absolutely essential that NODE_ENV is set to production\n      // during a production build.\n      // Otherwise React will be compiled in the very slow development mode.\n      new webpack.DefinePlugin(env.stringified),\n      // This is necessary to emit hot updates (CSS and Fast Refresh):\n      isEnvDevelopment && new webpack.HotModuleReplacementPlugin(),\n      // Experimental hot reloading for React .\n      // https://github.com/facebook/react/tree/master/packages/react-refresh\n      isEnvDevelopment &&\n      shouldUseReactRefresh &&\n      new ReactRefreshWebpackPlugin({\n        overlay: {\n          entry: webpackDevClientEntry,\n          // The expected exports are slightly different from what the overlay exports,\n          // so an interop is included here to enable feedback on module-level errors.\n          module: reactRefreshOverlayEntry,\n          // Since we ship a custom dev client and overlay integration,\n          // the bundled socket handling logic can be eliminated.\n          sockIntegration: false,\n        },\n      }),\n      // Watcher doesn't work well if you mistype casing in a path so we use\n      // a plugin that prints an error when you attempt to do this.\n      // See https://github.com/facebook/create-react-app/issues/240\n      isEnvDevelopment && new CaseSensitivePathsPlugin(),\n      // If you require a missing module and then `npm install` it, you still have\n      // to restart the development server for webpack to discover it. This plugin\n      // makes the discovery automatic so you don't have to restart.\n      // See https://github.com/facebook/create-react-app/issues/186\n      isEnvDevelopment &&\n      new WatchMissingNodeModulesPlugin(paths.appNodeModules),\n      isEnvProduction &&\n      new MiniCssExtractPlugin({\n        // Options similar to the same options in webpackOptions.output\n        // both options are optional\n        filename: 'static/css/[name].[contenthash:8].css',\n        chunkFilename: 'static/css/[name].[contenthash:8].chunk.css',\n      }),\n      // Generate an asset manifest file with the following content:\n      // - \"files\" key: Mapping of all asset filenames to their corresponding\n      //   output file so that tools can pick it up without having to parse\n      //   `index.html`\n      // - \"entrypoints\" key: Array of files which are included in `index.html`,\n      //   can be used to reconstruct the HTML if necessary\n      new ManifestPlugin({\n        fileName: 'asset-manifest.json',\n        publicPath: paths.publicUrlOrPath,\n        generate: (seed, files, entrypoints) => {\n          const manifestFiles = files.reduce((manifest, file) => {\n            manifest[file.name] = file.path;\n            return manifest;\n          }, seed);\n          const entrypointFiles = entrypoints.main.filter(\n            fileName => !fileName.endsWith('.map')\n          );\n\n          return {\n            files: manifestFiles,\n            entrypoints: entrypointFiles,\n          };\n        },\n      }),\n      // Moment.js is an extremely popular library that bundles large locale files\n      // by default due to how webpack interprets its code. This is a practical\n      // solution that requires the user to opt into importing specific locales.\n      // https://github.com/jmblog/how-to-optimize-momentjs-with-webpack\n      // You can remove this if you don't use Moment.js:\n      new webpack.IgnorePlugin(/^\\.\\/locale$/, /moment$/),\n      // Generate a service worker script that will precache, and keep up to date,\n      // the HTML & assets that are part of the webpack build.\n      isEnvProduction &&\n      fs.existsSync(swSrc) &&\n      new WorkboxWebpackPlugin.InjectManifest({\n        swSrc,\n        dontCacheBustURLsMatching: /\\.[0-9a-f]{8}\\./,\n        exclude: [/\\.map$/, /asset-manifest\\.json$/, /LICENSE/],\n        // Bump up the default maximum size (2mb) that's precached,\n        // to make lazy-loading failure scenarios less likely.\n        // See https://github.com/cra-template/pwa/issues/13#issuecomment-722667270\n        maximumFileSizeToCacheInBytes: 5 * 1024 * 1024,\n      }),\n      // TypeScript type checking\n      useTypeScript &&\n      new ForkTsCheckerWebpackPlugin({\n        typescript: resolve.sync('typescript', {\n          basedir: paths.appNodeModules,\n        }),\n        async: isEnvDevelopment,\n        checkSyntacticErrors: true,\n        resolveModuleNameModule: process.versions.pnp\n          ? `${__dirname}/pnpTs.js`\n          : undefined,\n        resolveTypeReferenceDirectiveModule: process.versions.pnp\n          ? `${__dirname}/pnpTs.js`\n          : undefined,\n        tsconfig: paths.appTsConfig,\n        reportFiles: [\n          // This one is specifically to match during CI tests,\n          // as micromatch doesn't match\n          // '../cra-template-typescript/template/src/App.tsx'\n          // otherwise.\n          '../**/src/**/*.{ts,tsx}',\n          '**/src/**/*.{ts,tsx}',\n          '!**/src/**/__tests__/**',\n          '!**/src/**/?(*.)(spec|test).*',\n          '!**/src/setupProxy.*',\n          '!**/src/setupTests.*',\n        ],\n        silent: true,\n        // The formatter is invoked directly in WebpackDevServerUtils during development\n        formatter: isEnvProduction ? typescriptFormatter : undefined,\n      }),\n      !disableESLintPlugin &&\n      new ESLintPlugin({\n        // Plugin options\n        extensions: ['js', 'mjs', 'jsx', 'ts', 'tsx'],\n        formatter: require.resolve('react-dev-utils/eslintFormatter'),\n        eslintPath: require.resolve('eslint'),\n        emitWarning: isEnvDevelopment && emitErrorsAsWarnings,\n        context: paths.appSrc,\n        cache: true,\n        cacheLocation: path.resolve(\n          paths.appNodeModules,\n          '.cache/.eslintcache'\n        ),\n        // ESLint class options\n        cwd: paths.appPath,\n        resolvePluginsRelativeTo: __dirname,\n        baseConfig: {\n          extends: [require.resolve('eslint-config-react-app/base')],\n          rules: {\n            ...(!hasJsxRuntime && {\n              'react/react-in-jsx-scope': 'error',\n            }),\n          },\n        },\n      }),\n    ].filter(Boolean),\n    // Some libraries import Node modules but don't use them in the browser.\n    // Tell webpack to provide empty mocks for them so importing them works.\n    node: {\n      module: 'empty',\n      dgram: 'empty',\n      dns: 'mock',\n      fs: 'empty',\n      http2: 'empty',\n      net: 'empty',\n      tls: 'empty',\n      child_process: 'empty',\n    },\n    // Turn off performance processing because we utilize\n    // our own hints via the FileSizeReporter\n    performance: false,\n  };\n};\n"
  },
  {
    "path": "config/webpackDevServer.config.js",
    "content": "'use strict';\n\nconst fs = require('fs');\nconst errorOverlayMiddleware = require('react-dev-utils/errorOverlayMiddleware');\nconst evalSourceMapMiddleware = require('react-dev-utils/evalSourceMapMiddleware');\nconst noopServiceWorkerMiddleware = require('react-dev-utils/noopServiceWorkerMiddleware');\nconst ignoredFiles = require('react-dev-utils/ignoredFiles');\nconst redirectServedPath = require('react-dev-utils/redirectServedPathMiddleware');\nconst paths = require('./paths');\nconst getHttpsConfig = require('./getHttpsConfig');\n\nconst host = process.env.HOST || '0.0.0.0';\nconst sockHost = process.env.WDS_SOCKET_HOST;\nconst sockPath = process.env.WDS_SOCKET_PATH; // default: '/sockjs-node'\nconst sockPort = process.env.WDS_SOCKET_PORT;\n\nmodule.exports = function (proxy, allowedHost) {\n  return {\n    // WebpackDevServer 2.4.3 introduced a security fix that prevents remote\n    // websites from potentially accessing local content through DNS rebinding:\n    // https://github.com/webpack/webpack-dev-server/issues/887\n    // https://medium.com/webpack/webpack-dev-server-middleware-security-issues-1489d950874a\n    // However, it made several existing use cases such as development in cloud\n    // environment or subdomains in development significantly more complicated:\n    // https://github.com/facebook/create-react-app/issues/2271\n    // https://github.com/facebook/create-react-app/issues/2233\n    // While we're investigating better solutions, for now we will take a\n    // compromise. Since our WDS configuration only serves files in the `public`\n    // folder we won't consider accessing them a vulnerability. However, if you\n    // use the `proxy` feature, it gets more dangerous because it can expose\n    // remote code execution vulnerabilities in backends like Django and Rails.\n    // So we will disable the host check normally, but enable it if you have\n    // specified the `proxy` setting. Finally, we let you override it if you\n    // really know what you're doing with a special environment variable.\n    disableHostCheck:\n      !proxy || process.env.DANGEROUSLY_DISABLE_HOST_CHECK === 'true',\n    // Enable gzip compression of generated files.\n    compress: true,\n    // Silence WebpackDevServer's own logs since they're generally not useful.\n    // It will still show compile warnings and errors with this setting.\n    clientLogLevel: 'none',\n    // By default WebpackDevServer serves physical files from current directory\n    // in addition to all the virtual build products that it serves from memory.\n    // This is confusing because those files won’t automatically be available in\n    // production build folder unless we copy them. However, copying the whole\n    // project directory is dangerous because we may expose sensitive files.\n    // Instead, we establish a convention that only files in `public` directory\n    // get served. Our build script will copy `public` into the `build` folder.\n    // In `index.html`, you can get URL of `public` folder with %PUBLIC_URL%:\n    // <link rel=\"icon\" href=\"%PUBLIC_URL%/favicon.ico\">\n    // In JavaScript code, you can access it with `process.env.PUBLIC_URL`.\n    // Note that we only recommend to use `public` folder as an escape hatch\n    // for files like `favicon.ico`, `manifest.json`, and libraries that are\n    // for some reason broken when imported through webpack. If you just want to\n    // use an image, put it in `src` and `import` it from JavaScript instead.\n    contentBase: paths.appPublic,\n    contentBasePublicPath: paths.publicUrlOrPath,\n    // By default files from `contentBase` will not trigger a page reload.\n    watchContentBase: true,\n    // Enable hot reloading server. It will provide WDS_SOCKET_PATH endpoint\n    // for the WebpackDevServer client so it can learn when the files were\n    // updated. The WebpackDevServer client is included as an entry point\n    // in the webpack development configuration. Note that only changes\n    // to CSS are currently hot reloaded. JS changes will refresh the browser.\n    hot: true,\n    // Use 'ws' instead of 'sockjs-node' on server since we're using native\n    // websockets in `webpackHotDevClient`.\n    transportMode: 'ws',\n    // Prevent a WS client from getting injected as we're already including\n    // `webpackHotDevClient`.\n    injectClient: false,\n    // Enable custom sockjs pathname for websocket connection to hot reloading server.\n    // Enable custom sockjs hostname, pathname and port for websocket connection\n    // to hot reloading server.\n    sockHost,\n    sockPath,\n    sockPort,\n    // It is important to tell WebpackDevServer to use the same \"publicPath\" path as\n    // we specified in the webpack config. When homepage is '.', default to serving\n    // from the root.\n    // remove last slash so user can land on `/test` instead of `/test/`\n    publicPath: paths.publicUrlOrPath.slice(0, -1),\n    // WebpackDevServer is noisy by default so we emit custom message instead\n    // by listening to the compiler events with `compiler.hooks[...].tap` calls above.\n    quiet: true,\n    // Reportedly, this avoids CPU overload on some systems.\n    // https://github.com/facebook/create-react-app/issues/293\n    // src/node_modules is not ignored to support absolute imports\n    // https://github.com/facebook/create-react-app/issues/1065\n    watchOptions: {\n      ignored: ignoredFiles(paths.appSrc),\n    },\n    https: getHttpsConfig(),\n    host,\n    overlay: false,\n    historyApiFallback: {\n      // Paths with dots should still use the history fallback.\n      // See https://github.com/facebook/create-react-app/issues/387.\n      disableDotRule: true,\n      index: paths.publicUrlOrPath,\n    },\n    public: allowedHost,\n    // `proxy` is run between `before` and `after` `webpack-dev-server` hooks\n    proxy,\n    before(app, server) {\n      // Keep `evalSourceMapMiddleware` and `errorOverlayMiddleware`\n      // middlewares before `redirectServedPath` otherwise will not have any effect\n      // This lets us fetch source contents from webpack for the error overlay\n      app.use(evalSourceMapMiddleware(server));\n      // This lets us open files from the runtime error overlay.\n      app.use(errorOverlayMiddleware());\n\n      if (fs.existsSync(paths.proxySetup)) {\n        // This registers user provided middleware for proxy reasons\n        require(paths.proxySetup)(app);\n      }\n    },\n    after(app) {\n      // Redirect to `PUBLIC_URL` or `homepage` from `package.json` if url not match\n      app.use(redirectServedPath(paths.publicUrlOrPath));\n\n      // This service worker file is effectively a 'no-op' that will reset any\n      // previous service worker registered for the same host:port combination.\n      // We do this in development to avoid hitting the production cache if\n      // it used the same host and port.\n      // https://github.com/facebook/create-react-app/issues/2272#issuecomment-302832432\n      app.use(noopServiceWorkerMiddleware(paths.publicUrlOrPath));\n    },\n  };\n};\n"
  },
  {
    "path": "package.json",
    "content": "{\n  \"name\": \"kennygunderman-portfolio\",\n  \"homepage\": \"http://www.kennygundermandev.com\",\n  \"version\": \"1.0.0\",\n  \"description\": \"My Portfolio\",\n  \"private\": true,\n  \"dependencies\": {\n    \"@babel/core\": \"7.12.3\",\n    \"@emotion/react\": \"^11.9.0\",\n    \"@emotion/styled\": \"^11.8.1\",\n    \"@material-ui/core\": \"^4.11.3\",\n    \"@mui/icons-material\": \"^5.6.2\",\n    \"@mui/material\": \"^5.6.3\",\n    \"@pmmmwh/react-refresh-webpack-plugin\": \"0.4.3\",\n    \"@svgr/webpack\": \"5.5.0\",\n    \"@testing-library/jest-dom\": \"^5.11.4\",\n    \"@testing-library/react\": \"^11.1.0\",\n    \"@testing-library/user-event\": \"^12.1.10\",\n    \"@typescript-eslint/eslint-plugin\": \"^4.5.0\",\n    \"@typescript-eslint/parser\": \"^4.5.0\",\n    \"babel-eslint\": \"^10.1.0\",\n    \"babel-jest\": \"^26.6.0\",\n    \"babel-loader\": \"8.1.0\",\n    \"babel-plugin-named-asset-import\": \"^0.3.7\",\n    \"babel-preset-react-app\": \"^10.0.0\",\n    \"bfj\": \"^7.0.2\",\n    \"camelcase\": \"^6.1.0\",\n    \"case-sensitive-paths-webpack-plugin\": \"2.3.0\",\n    \"css-loader\": \"4.3.0\",\n    \"dotenv\": \"8.2.0\",\n    \"dotenv-expand\": \"5.1.0\",\n    \"eslint\": \"^7.11.0\",\n    \"eslint-config-react-app\": \"^6.0.0\",\n    \"eslint-plugin-flowtype\": \"^5.2.0\",\n    \"eslint-plugin-import\": \"^2.22.1\",\n    \"eslint-plugin-jest\": \"^24.1.0\",\n    \"eslint-plugin-jsx-a11y\": \"^6.3.1\",\n    \"eslint-plugin-react\": \"^7.21.5\",\n    \"eslint-plugin-react-hooks\": \"^4.2.0\",\n    \"eslint-plugin-testing-library\": \"^3.9.2\",\n    \"eslint-webpack-plugin\": \"^2.1.0\",\n    \"file-loader\": \"6.1.1\",\n    \"firebase\": \"^8.2.6\",\n    \"fs-extra\": \"^9.0.1\",\n    \"html-webpack-plugin\": \"4.5.0\",\n    \"identity-obj-proxy\": \"3.0.0\",\n    \"jest\": \"26.6.0\",\n    \"jest-circus\": \"26.6.0\",\n    \"jest-resolve\": \"26.6.0\",\n    \"jest-watch-typeahead\": \"0.6.1\",\n    \"mini-css-extract-plugin\": \"0.11.3\",\n    \"moment\": \"^2.29.1\",\n    \"optimize-css-assets-webpack-plugin\": \"5.0.4\",\n    \"pnp-webpack-plugin\": \"1.6.4\",\n    \"postcss-flexbugs-fixes\": \"4.2.1\",\n    \"postcss-loader\": \"3.0.0\",\n    \"postcss-normalize\": \"8.0.1\",\n    \"postcss-preset-env\": \"6.7.0\",\n    \"postcss-safe-parser\": \"5.0.2\",\n    \"prompts\": \"2.4.0\",\n    \"react\": \"^17.0.1\",\n    \"react-app-polyfill\": \"^2.0.0\",\n    \"react-dev-utils\": \"^11.0.2\",\n    \"react-dom\": \"^17.0.1\",\n    \"react-html-parser\": \"^2.0.2\",\n    \"react-material-ui-carousel\": \"^3.3.3\",\n    \"react-moment\": \"^1.1.1\",\n    \"react-redux\": \"^7.2.2\",\n    \"react-refresh\": \"^0.8.3\",\n    \"react-router-dom\": \"^5.2.0\",\n    \"redux\": \"^4.0.5\",\n    \"resolve\": \"1.18.1\",\n    \"resolve-url-loader\": \"^3.1.2\",\n    \"sass-loader\": \"^10.0.5\",\n    \"semver\": \"7.3.2\",\n    \"style-loader\": \"1.3.0\",\n    \"terser-webpack-plugin\": \"4.2.3\",\n    \"ts-pnp\": \"1.2.0\",\n    \"url-loader\": \"4.1.1\",\n    \"uuid\": \"^8.3.2\",\n    \"web-vitals\": \"^1.0.1\",\n    \"webpack\": \"4.44.2\",\n    \"webpack-dev-server\": \"3.11.0\",\n    \"webpack-manifest-plugin\": \"2.2.0\",\n    \"workbox-webpack-plugin\": \"5.1.4\"\n  },\n  \"scripts\": {\n    \"start\": \"node scripts/start.js\",\n    \"build\": \"node scripts/build.js\",\n    \"test\": \"node scripts/test.js\"\n  },\n  \"eslintConfig\": {\n    \"extends\": [\n      \"react-app\",\n      \"react-app/jest\"\n    ]\n  },\n  \"browserslist\": {\n    \"production\": [\n      \">0.2%\",\n      \"not dead\",\n      \"not op_mini all\"\n    ],\n    \"development\": [\n      \"last 1 chrome version\",\n      \"last 1 firefox version\",\n      \"last 1 safari version\"\n    ]\n  },\n  \"jest\": {\n    \"roots\": [\n      \"<rootDir>/src\"\n    ],\n    \"collectCoverageFrom\": [\n      \"src/**/*.{js,jsx,ts,tsx}\",\n      \"!src/**/*.d.ts\"\n    ],\n    \"setupFiles\": [\n      \"react-app-polyfill/jsdom\"\n    ],\n    \"setupFilesAfterEnv\": [\n      \"<rootDir>/src/setupTests.js\"\n    ],\n    \"testMatch\": [\n      \"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}\",\n      \"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}\"\n    ],\n    \"testEnvironment\": \"jsdom\",\n    \"testRunner\": \"C:\\\\Users\\\\kenny\\\\Documents\\\\React\\\\web-app\\\\node_modules\\\\jest-circus\\\\runner.js\",\n    \"transform\": {\n      \"^.+\\\\.(js|jsx|mjs|cjs|ts|tsx)$\": \"<rootDir>/config/jest/babelTransform.js\",\n      \"^.+\\\\.css$\": \"<rootDir>/config/jest/cssTransform.js\",\n      \"^(?!.*\\\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)\": \"<rootDir>/config/jest/fileTransform.js\"\n    },\n    \"transformIgnorePatterns\": [\n      \"[/\\\\\\\\]node_modules[/\\\\\\\\].+\\\\.(js|jsx|mjs|cjs|ts|tsx)$\",\n      \"^.+\\\\.module\\\\.(css|sass|scss)$\"\n    ],\n    \"modulePaths\": [],\n    \"moduleNameMapper\": {\n      \"^react-native$\": \"react-native-web\",\n      \"^.+\\\\.module\\\\.(css|sass|scss)$\": \"identity-obj-proxy\"\n    },\n    \"moduleFileExtensions\": [\n      \"web.js\",\n      \"js\",\n      \"web.ts\",\n      \"ts\",\n      \"web.tsx\",\n      \"tsx\",\n      \"json\",\n      \"web.jsx\",\n      \"jsx\",\n      \"node\"\n    ],\n    \"watchPlugins\": [\n      \"jest-watch-typeahead/filename\",\n      \"jest-watch-typeahead/testname\"\n    ],\n    \"resetMocks\": true\n  },\n  \"babel\": {\n    \"presets\": [\n      \"react-app\"\n    ]\n  }\n}\n"
  },
  {
    "path": "public/index.html",
    "content": "<!DOCTYPE html>\n<html lang=\"en\">\n\n<head>\n  <meta charset=\"utf-8\" />\n  <link rel=\"icon\" href=\"%PUBLIC_URL%/favicon.ico\" />\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n  <meta name=\"theme-color\" content=\"#000000\" />\n  <meta name=\"description\" content=\"Web site created using create-react-app\" />\n  <link rel=\"apple-touch-icon\" href=\"%PUBLIC_URL%/logo192.png\" />\n  <!--\n      manifest.json provides metadata used when your web app is installed on a\n      user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/\n    -->\n  <link rel=\"manifest\" href=\"%PUBLIC_URL%/manifest.json\" />\n\n  <link rel=\"stylesheet\" href=\"https://fonts.googleapis.com/css?family=Roboto:300,400,500,700&display=swap\" />\n  <!--\n      Notice the use of %PUBLIC_URL% in the tags above.\n      It will be replaced with the URL of the `public` folder during the build.\n      Only files inside the `public` folder can be referenced from the HTML.\n\n      Unlike \"/favicon.ico\" or \"favicon.ico\", \"%PUBLIC_URL%/favicon.ico\" will\n      work correctly both with client-side routing and a non-root public URL.\n      Learn how to configure a non-root public URL by running `npm run build`.\n    -->\n  <title>Kenny Gunderman</title>\n</head>\n\n<body>\n  <noscript>You need to enable JavaScript to run this app.</noscript>\n  <div id=\"root\"></div>\n  <!--\n      This HTML file is a template.\n      If you open it directly in the browser, you will see an empty page.\n\n      You can add webfonts, meta tags, or analytics to this file.\n      The build step will place the bundled scripts into the <body> tag.\n\n      To begin the development, run `npm start` or `yarn start`.\n      To create a production bundle, use `npm run build` or `yarn build`.\n    -->\n</body>\n\n</html>"
  },
  {
    "path": "public/manifest.json",
    "content": "{\n  \"short_name\": \"Portfolio Website\",\n  \"name\": \"Kenny Gunderman's Personal Website\",\n  \"icons\": [\n    {\n      \"src\": \"favicon.ico\",\n      \"sizes\": \"64x64 32x32 24x24 16x16\",\n      \"type\": \"image/x-icon\"\n    },\n    {\n      \"src\": \"logo192.png\",\n      \"type\": \"image/png\",\n      \"sizes\": \"192x192\"\n    },\n    {\n      \"src\": \"logo512.png\",\n      \"type\": \"image/png\",\n      \"sizes\": \"512x512\"\n    }\n  ],\n  \"start_url\": \".\",\n  \"display\": \"standalone\",\n  \"theme_color\": \"#000000\",\n  \"background_color\": \"#ffffff\"\n}\n"
  },
  {
    "path": "public/robots.txt",
    "content": "# https://www.robotstxt.org/robotstxt.html\nUser-agent: *\nDisallow:\n"
  },
  {
    "path": "scripts/.htaccess",
    "content": "<IfModule mod_rewrite.c>\n\n  RewriteEngine On\n  RewriteBase /\n  RewriteRule ^index\\.html$ - [L]\n  RewriteCond %{REQUEST_FILENAME} !-f\n  RewriteCond %{REQUEST_FILENAME} !-d\n  RewriteCond %{REQUEST_FILENAME} !-l\n  RewriteRule . /index.html [L]\n\n</IfModule>"
  },
  {
    "path": "scripts/build.js",
    "content": "'use strict';\n\n// Do this as the first thing so that any code reading it knows the right env.\nprocess.env.BABEL_ENV = 'production';\nprocess.env.NODE_ENV = 'production';\n\n// Makes the script crash on unhandled rejections instead of silently\n// ignoring them. In the future, promise rejections that are not handled will\n// terminate the Node.js process with a non-zero exit code.\nprocess.on('unhandledRejection', err => {\n  throw err;\n});\n\n// Ensure environment variables are read.\nrequire('../config/env');\n\n\nconst path = require('path');\nconst chalk = require('react-dev-utils/chalk');\nconst fs = require('fs-extra');\nconst bfj = require('bfj');\nconst webpack = require('webpack');\nconst configFactory = require('../config/webpack.config');\nconst paths = require('../config/paths');\nconst checkRequiredFiles = require('react-dev-utils/checkRequiredFiles');\nconst formatWebpackMessages = require('react-dev-utils/formatWebpackMessages');\nconst printHostingInstructions = require('react-dev-utils/printHostingInstructions');\nconst FileSizeReporter = require('react-dev-utils/FileSizeReporter');\nconst printBuildError = require('react-dev-utils/printBuildError');\n\nconst measureFileSizesBeforeBuild =\n  FileSizeReporter.measureFileSizesBeforeBuild;\nconst printFileSizesAfterBuild = FileSizeReporter.printFileSizesAfterBuild;\nconst useYarn = fs.existsSync(paths.yarnLockFile);\n\n// These sizes are pretty large. We'll warn for bundles exceeding them.\nconst WARN_AFTER_BUNDLE_GZIP_SIZE = 512 * 1024;\nconst WARN_AFTER_CHUNK_GZIP_SIZE = 1024 * 1024;\n\nconst isInteractive = process.stdout.isTTY;\n\n// Warn and crash if required files are missing\nif (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {\n  process.exit(1);\n}\n\nconst argv = process.argv.slice(2);\nconst writeStatsJson = argv.indexOf('--stats') !== -1;\n\n// Generate configuration\nconst config = configFactory('production');\n\n// We require that you explicitly set browsers and do not fall back to\n// browserslist defaults.\nconst { checkBrowsers } = require('react-dev-utils/browsersHelper');\ncheckBrowsers(paths.appPath, isInteractive)\n  .then(() => {\n    // First, read the current file sizes in build directory.\n    // This lets us display how much they changed later.\n    return measureFileSizesBeforeBuild(paths.appBuild);\n  })\n  .then(previousFileSizes => {\n    // Remove all content but keep the directory so that\n    // if you're in it, you don't end up in Trash\n    fs.emptyDirSync(paths.appBuild);\n    // Merge with the public folder\n    copyPublicFolder();\n    // Start the webpack build\n    return build(previousFileSizes);\n  })\n  .then(\n    ({ stats, previousFileSizes, warnings }) => {\n      if (warnings.length) {\n        console.log(chalk.yellow('Compiled with warnings.\\n'));\n        console.log(warnings.join('\\n\\n'));\n        console.log(\n          '\\nSearch for the ' +\n            chalk.underline(chalk.yellow('keywords')) +\n            ' to learn more about each warning.'\n        );\n        console.log(\n          'To ignore, add ' +\n            chalk.cyan('// eslint-disable-next-line') +\n            ' to the line before.\\n'\n        );\n      } else {\n        console.log(chalk.green('Compiled successfully.\\n'));\n      }\n\n      console.log('File sizes after gzip:\\n');\n      printFileSizesAfterBuild(\n        stats,\n        previousFileSizes,\n        paths.appBuild,\n        WARN_AFTER_BUNDLE_GZIP_SIZE,\n        WARN_AFTER_CHUNK_GZIP_SIZE\n      );\n      console.log();\n\n      const appPackage = require(paths.appPackageJson);\n      const publicUrl = paths.publicUrlOrPath;\n      const publicPath = config.output.publicPath;\n      const buildFolder = path.relative(process.cwd(), paths.appBuild);\n      printHostingInstructions(\n        appPackage,\n        publicUrl,\n        publicPath,\n        buildFolder,\n        useYarn\n      );\n    },\n    err => {\n      const tscCompileOnError = process.env.TSC_COMPILE_ON_ERROR === 'true';\n      if (tscCompileOnError) {\n        console.log(\n          chalk.yellow(\n            'Compiled with the following type errors (you may want to check these before deploying your app):\\n'\n          )\n        );\n        printBuildError(err);\n      } else {\n        console.log(chalk.red('Failed to compile.\\n'));\n        printBuildError(err);\n        process.exit(1);\n      }\n    }\n  )\n  .catch(err => {\n    if (err && err.message) {\n      console.log(err.message);\n    }\n    process.exit(1);\n  });\n\n// Create the production build and print the deployment instructions.\nfunction build(previousFileSizes) {\n  console.log('Creating an optimized production build...');\n\n  const compiler = webpack(config);\n  return new Promise((resolve, reject) => {\n    compiler.run((err, stats) => {\n      let messages;\n      if (err) {\n        if (!err.message) {\n          return reject(err);\n        }\n\n        let errMessage = err.message;\n\n        // Add additional information for postcss errors\n        if (Object.prototype.hasOwnProperty.call(err, 'postcssNode')) {\n          errMessage +=\n            '\\nCompileError: Begins at CSS selector ' +\n            err['postcssNode'].selector;\n        }\n\n        messages = formatWebpackMessages({\n          errors: [errMessage],\n          warnings: [],\n        });\n      } else {\n        messages = formatWebpackMessages(\n          stats.toJson({ all: false, warnings: true, errors: true })\n        );\n      }\n      if (messages.errors.length) {\n        // Only keep the first error. Others are often indicative\n        // of the same problem, but confuse the reader with noise.\n        if (messages.errors.length > 1) {\n          messages.errors.length = 1;\n        }\n        return reject(new Error(messages.errors.join('\\n\\n')));\n      }\n      if (\n        process.env.CI &&\n        (typeof process.env.CI !== 'string' ||\n          process.env.CI.toLowerCase() !== 'false') &&\n        messages.warnings.length\n      ) {\n        console.log(\n          chalk.yellow(\n            '\\nTreating warnings as errors because process.env.CI = true.\\n' +\n              'Most CI servers set it automatically.\\n'\n          )\n        );\n        return reject(new Error(messages.warnings.join('\\n\\n')));\n      }\n\n      const resolveArgs = {\n        stats,\n        previousFileSizes,\n        warnings: messages.warnings,\n      };\n\n      if (writeStatsJson) {\n        return bfj\n          .write(paths.appBuild + '/bundle-stats.json', stats.toJson())\n          .then(() => resolve(resolveArgs))\n          .catch(error => reject(new Error(error)));\n      }\n\n      return resolve(resolveArgs);\n    });\n  });\n}\n\nfunction copyPublicFolder() {\n  fs.copySync(paths.appPublic, paths.appBuild, {\n    dereference: true,\n    filter: file => file !== paths.appHtml,\n  });\n}\n"
  },
  {
    "path": "scripts/start.js",
    "content": "'use strict';\n\n// Do this as the first thing so that any code reading it knows the right env.\nprocess.env.BABEL_ENV = 'development';\nprocess.env.NODE_ENV = 'development';\n\n// Makes the script crash on unhandled rejections instead of silently\n// ignoring them. In the future, promise rejections that are not handled will\n// terminate the Node.js process with a non-zero exit code.\nprocess.on('unhandledRejection', err => {\n  throw err;\n});\n\n// Ensure environment variables are read.\nrequire('../config/env');\n\n\nconst fs = require('fs');\nconst chalk = require('react-dev-utils/chalk');\nconst webpack = require('webpack');\nconst WebpackDevServer = require('webpack-dev-server');\nconst clearConsole = require('react-dev-utils/clearConsole');\nconst checkRequiredFiles = require('react-dev-utils/checkRequiredFiles');\nconst {\n  choosePort,\n  createCompiler,\n  prepareProxy,\n  prepareUrls,\n} = require('react-dev-utils/WebpackDevServerUtils');\nconst openBrowser = require('react-dev-utils/openBrowser');\nconst semver = require('semver');\nconst paths = require('../config/paths');\nconst configFactory = require('../config/webpack.config');\nconst createDevServerConfig = require('../config/webpackDevServer.config');\nconst getClientEnvironment = require('../config/env');\nconst react = require(require.resolve('react', { paths: [paths.appPath] }));\n\nconst env = getClientEnvironment(paths.publicUrlOrPath.slice(0, -1));\nconst useYarn = fs.existsSync(paths.yarnLockFile);\nconst isInteractive = process.stdout.isTTY;\n\n// Warn and crash if required files are missing\nif (!checkRequiredFiles([paths.appHtml, paths.appIndexJs])) {\n  process.exit(1);\n}\n\n// Tools like Cloud9 rely on this.\nconst DEFAULT_PORT = parseInt(process.env.PORT, 10) || 3000;\nconst HOST = process.env.HOST || '0.0.0.0';\n\nif (process.env.HOST) {\n  console.log(\n    chalk.cyan(\n      `Attempting to bind to HOST environment variable: ${chalk.yellow(\n        chalk.bold(process.env.HOST)\n      )}`\n    )\n  );\n  console.log(\n    `If this was unintentional, check that you haven't mistakenly set it in your shell.`\n  );\n  console.log(\n    `Learn more here: ${chalk.yellow('https://cra.link/advanced-config')}`\n  );\n  console.log();\n}\n\n// We require that you explicitly set browsers and do not fall back to\n// browserslist defaults.\nconst { checkBrowsers } = require('react-dev-utils/browsersHelper');\ncheckBrowsers(paths.appPath, isInteractive)\n  .then(() => {\n    // We attempt to use the default port but if it is busy, we offer the user to\n    // run on a different port. `choosePort()` Promise resolves to the next free port.\n    return choosePort(HOST, DEFAULT_PORT);\n  })\n  .then(port => {\n    if (port == null) {\n      // We have not found a port.\n      return;\n    }\n\n    const config = configFactory('development');\n    const protocol = process.env.HTTPS === 'true' ? 'https' : 'http';\n    const appName = require(paths.appPackageJson).name;\n\n    const useTypeScript = fs.existsSync(paths.appTsConfig);\n    const tscCompileOnError = process.env.TSC_COMPILE_ON_ERROR === 'true';\n    const urls = prepareUrls(\n      protocol,\n      HOST,\n      port,\n      paths.publicUrlOrPath.slice(0, -1)\n    );\n    const devSocket = {\n      warnings: warnings =>\n        devServer.sockWrite(devServer.sockets, 'warnings', warnings),\n      errors: errors =>\n        devServer.sockWrite(devServer.sockets, 'errors', errors),\n    };\n    // Create a webpack compiler that is configured with custom messages.\n    const compiler = createCompiler({\n      appName,\n      config,\n      devSocket,\n      urls,\n      useYarn,\n      useTypeScript,\n      tscCompileOnError,\n      webpack,\n    });\n    // Load proxy config\n    const proxySetting = require(paths.appPackageJson).proxy;\n    const proxyConfig = prepareProxy(\n      proxySetting,\n      paths.appPublic,\n      paths.publicUrlOrPath\n    );\n    // Serve webpack assets generated by the compiler over a web server.\n    const serverConfig = createDevServerConfig(\n      proxyConfig,\n      urls.lanUrlForConfig\n    );\n    const devServer = new WebpackDevServer(compiler, serverConfig);\n    // Launch WebpackDevServer.\n    devServer.listen(port, HOST, err => {\n      if (err) {\n        return console.log(err);\n      }\n      if (isInteractive) {\n        clearConsole();\n      }\n\n      if (env.raw.FAST_REFRESH && semver.lt(react.version, '16.10.0')) {\n        console.log(\n          chalk.yellow(\n            `Fast Refresh requires React 16.10 or higher. You are using React ${react.version}.`\n          )\n        );\n      }\n\n      console.log(chalk.cyan('Starting the development server...\\n'));\n      openBrowser(urls.localUrlForBrowser);\n    });\n\n    ['SIGINT', 'SIGTERM'].forEach(function (sig) {\n      process.on(sig, function () {\n        devServer.close();\n        process.exit();\n      });\n    });\n\n    if (process.env.CI !== 'true') {\n      // Gracefully exit when stdin ends\n      process.stdin.on('end', function () {\n        devServer.close();\n        process.exit();\n      });\n    }\n  })\n  .catch(err => {\n    if (err && err.message) {\n      console.log(err.message);\n    }\n    process.exit(1);\n  });\n"
  },
  {
    "path": "scripts/test.js",
    "content": "'use strict';\n\n// Do this as the first thing so that any code reading it knows the right env.\nprocess.env.BABEL_ENV = 'test';\nprocess.env.NODE_ENV = 'test';\nprocess.env.PUBLIC_URL = '';\n\n// Makes the script crash on unhandled rejections instead of silently\n// ignoring them. In the future, promise rejections that are not handled will\n// terminate the Node.js process with a non-zero exit code.\nprocess.on('unhandledRejection', err => {\n  throw err;\n});\n\n// Ensure environment variables are read.\nrequire('../config/env');\n\n\nconst jest = require('jest');\nconst execSync = require('child_process').execSync;\nlet argv = process.argv.slice(2);\n\nfunction isInGitRepository() {\n  try {\n    execSync('git rev-parse --is-inside-work-tree', { stdio: 'ignore' });\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\n\nfunction isInMercurialRepository() {\n  try {\n    execSync('hg --cwd . root', { stdio: 'ignore' });\n    return true;\n  } catch (e) {\n    return false;\n  }\n}\n\n// Watch unless on CI or explicitly running all tests\nif (\n  !process.env.CI &&\n  argv.indexOf('--watchAll') === -1 &&\n  argv.indexOf('--watchAll=false') === -1\n) {\n  // https://github.com/facebook/create-react-app/issues/5210\n  const hasSourceControl = isInGitRepository() || isInMercurialRepository();\n  argv.push(hasSourceControl ? '--watch' : '--watchAll');\n}\n\n\njest.run(argv);\n"
  },
  {
    "path": "src/App.css",
    "content": ".App {\n  text-align: center;\n}\n\n.App-logo {\n  height: 40vmin;\n  pointer-events: none;\n}\n\n@media (prefers-reduced-motion: no-preference) {\n  .App-logo {\n    animation: App-logo-spin infinite 20s linear;\n  }\n}\n\n.App-header {\n  background-color: #282c34;\n  min-height: 100vh;\n  display: flex;\n  flex-direction: column;\n  align-items: center;\n  justify-content: center;\n  font-size: calc(10px + 2vmin);\n  color: white;\n}\n\n.App-link {\n  color: #61dafb;\n}\n\n@keyframes App-logo-spin {\n  from {\n    transform: rotate(0deg);\n  }\n  to {\n    transform: rotate(360deg);\n  }\n}\n"
  },
  {
    "path": "src/App.js",
    "content": "import './App.css';\nimport React from 'react';\nimport Layout from './components/Layout';\nimport Blog from './containers/Blog/Blog';\nimport Home from './containers/Home/Home'\nimport BlogDetail from './containers/BlogDetail/BlogDetail';\nimport {Route, Switch} from 'react-router-dom';\n\nfunction App() {\n    return (\n        <Layout>\n            <Switch>\n                <Route exact path=\"/\" component={Home}/>\n                <Route exact path=\"/blog\" component={Blog}/>\n                <Route exact path=\"/blog/detail/:blogId\" component={BlogDetail}/>\n            </Switch>\n        </Layout>\n    );\n}\n\nexport default App;\n"
  },
  {
    "path": "src/App.test.js",
    "content": "import { render, screen } from '@testing-library/react';\nimport App from './App';\n\ntest('renders learn react link', () => {\n  render(<App />);\n  const linkElement = screen.getByText(/learn react/i);\n  expect(linkElement).toBeInTheDocument();\n});\n"
  },
  {
    "path": "src/auth/auth.js",
    "content": "import firebase from \"../firebase\";\n\nconst auth = (success, failure) => {\n    const provider = new firebase.auth.GoogleAuthProvider();\n    firebase.auth()\n        .signInWithPopup(provider)\n        .then((result) => {\n            /** @type {firebase.auth.OAuthCredential} */\n            const credential = result.credential;\n            const token = credential.accessToken;\n            const user = result.user;\n            success(token, user)\n        }).catch((error) => {\n        console.log(error);\n        const errorMessage = error.message;\n        failure(errorMessage)\n    });\n}\n\nconst signOut = (success, failure) => {\n    firebase.auth().signOut().then(() => {\n        success();\n    }).catch((error) => {\n        console.log(error);\n        failure(error);\n    });\n}\n\nexport {auth, signOut};"
  },
  {
    "path": "src/components/AboutMe/AboutMeDialog.js",
    "content": "import * as React from 'react';\nimport Dialog from '@mui/material/Dialog';\nimport DialogActions from '@mui/material/DialogActions';\nimport DialogContent from '@mui/material/DialogContent';\nimport Slide from '@mui/material/Slide';\nimport {TransitionProps} from '@mui/material/transitions';\nimport {Button, DialogTitle, Typography} from \"@material-ui/core\";\nimport aboutMeImage from \"../../assets/about_me_image.png\"\n\nconst Transition = React.forwardRef(function Transition(\n    props: TransitionProps & {\n        children: React.ReactElement<any, any>;\n    },\n    ref: React.Ref<any>,\n) {\n    return <Slide direction=\"up\" ref={ref} {...props} />;\n});\n\nexport default function AboutMeDialog() {\n    const [open, setOpen] = React.useState(false);\n\n    const handleClickOpen = () => {\n        setOpen(true);\n    };\n\n    const handleClose = () => {\n        setOpen(false);\n    };\n\n    return (\n        <div>\n            <Button variant=\"outlined\" color=\"secondary\" onClick={handleClickOpen}>\n                About Me\n            </Button>\n            <Dialog\n                open={open}\n                TransitionComponent={Transition}\n                keepMounted\n                onClose={handleClose}\n                aria-describedby=\"alert-dialog-slide-description\"\n            >\n                <DialogTitle>{\"Nice to meet you!\"}</DialogTitle>\n                <DialogContent>\n                    <div style={{\n                        margin: 'auto',\n                        width: 300,\n                        height: 300,\n                        borderRadius: 150,\n                        marginBottom: 16,\n                        backgroundSize: 'cover',\n                        backgroundImage: `url(${aboutMeImage})`\n                    }}/>\n                    <Typography variant=\"body2\"\n                                color=\"primary\">{\"Hey, I'm Kenny. I'm a Software Engineer based out of Chicago, IL.\"}</Typography>\n                    <br/>\n                    <Typography variant=\"body2\"\n                                color=\"primary\">{\"I've been writing code professionally for over 6 years with a focus in native Android development and cross-platform using react-native.\"}</Typography>\n                    <br/>\n                    <Typography variant=\"body2\"\n                                color=\"primary\">{\"In my free time I make content on YouTube related to programming to help guide and inspire future Software Developers.\"}</Typography>\n                    <br/>\n                    <Typography variant=\"body2\"\n                                color=\"primary\"><b>{\"Contact:\"}</b></Typography>\n                    <Typography variant=\"body2\"\n                                color=\"primary\"><i>email - </i>{\"contact@kgunderman.com\"}</Typography>\n                    <Typography variant=\"body2\"\n                                color=\"primary\"><i>phone - </i>{\"1 (543) 328-1217\"}</Typography>\n                </DialogContent>\n                <DialogActions>\n                    <Button onClick={handleClose}>Close</Button>\n                </DialogActions>\n            </Dialog>\n        </div>\n    );\n}"
  },
  {
    "path": "src/components/BlogItem/BlogItem.css",
    "content": ".BlogCardItem {\n    display: flex;\n    padding-bottom: 0;\n}\n\n.Media {\n    width: 160px;\n}\n\n\n.ContinueReadingText {\n    color: #002f6c;\n}"
  },
  {
    "path": "src/components/BlogItem/BlogItem.js",
    "content": "import { Card, CardContent, Typography, Hidden, CardMedia, CardActionArea } from '@material-ui/core';\nimport Moment from 'react-moment';\nimport classes from './BlogItem.css';\nimport PropTypes from 'prop-types';\nimport { createDescription, stripHTML } from '../../util/StringUtils'\n\nconst blogItem = (props) => (\n    <Card onClick={() => props.clickHandler(props.item)} className={classes.BlogCardItem}>\n        {\n            props.hideImg != null && props.hideImg === true ? null :\n                <Hidden xsDown>\n                    <CardMedia className={classes.Media} image={props.item.thumbnail} title='Image Title' />\n                </Hidden>\n        }\n        <CardActionArea>\n            <CardContent>\n                <Typography variant=\"h6\">\n                    {props.item.title}\n                </Typography>\n                <Typography variant=\"subtitle1\" color=\"textSecondary\">\n                    <Moment format=\"MMM. D, YYYY\">{props.item.date}</Moment>\n                </Typography>\n                <Typography variant=\"body1\" paragraph>\n                    {createDescription(stripHTML(props.item.summary), 100)}\n                </Typography>\n                <Typography variant=\"body1\" className={classes.ContinueReadingText}>\n                    Continue reading...\n                </Typography>\n            </CardContent>\n        </CardActionArea>\n    </Card>\n)\n\nblogItem.propTypes = {\n    item: PropTypes.shape({\n        date: PropTypes.any,\n        title: PropTypes.string,\n        summary: PropTypes.string,\n        image: PropTypes.string\n    })\n}\n\nexport default blogItem;"
  },
  {
    "path": "src/components/Comment/Comment.css",
    "content": ".ProfileImg {\n    float: left;\n    object-fit: cover;\n    width: 50px;\n    height: 50px;\n    border-radius: 50%;\n}\n\n.Container {\n    margin-top: 16px;\n    margin-left: 66px;\n}\n\n.Text {\n    overflow-wrap: break-word !important;\n}"
  },
  {
    "path": "src/components/Comment/Comment.js",
    "content": "import { Typography } from '@material-ui/core';\nimport Moment from 'react-moment';\nimport classes from './Comment.css';\nconst comment = (props) => (\n    <div>\n        <img alt=\"\" src={props.comment.profilePhotoUrl} className={classes.ProfileImg} />\n        <div className={classes.Container}>\n            <Typography>\n                <b>{props.comment.displayName}</b>\n            </Typography>\n            <Typography variant='body1' color=\"textSecondary\" className={classes.Date}>\n                <Moment format=\"MMM. D, YYYY\">{props.comment.date}</Moment>\n            </Typography>\n            <Typography variant='body1' className={classes.Text}>\n                {props.comment.comment}\n            </Typography>\n        </div>\n    </div>\n);\n\nexport default comment;"
  },
  {
    "path": "src/components/Comments/Comments.css",
    "content": ".Divider {\n    margin-top: 8px;\n    margin-bottom: 8px;\n    width: 100%;\n    height: 1px;\n    background-color: #7e7e7e;\n}\n\n.Footer {\n    margin-bottom: 16px;\n}"
  },
  {
    "path": "src/components/Comments/Comments.js",
    "content": "import { Typography } from '@material-ui/core';\nimport Aux from '../../hoc/Auxiliary';\nimport Comment from '../Comment/Comment';\nimport LeaveComment from '../../containers/LeaveComment/LeaveComment';\nimport classes from './Comments.css';\n\nconst comments = (props) => {\n    return (\n        <Aux>\n            <div className={classes.Divider} />\n            <Typography variant=\"subtitle1\" className={classes.NumberOfComments}>{props.comments.length} Comments</Typography>\n            <LeaveComment postId={props.postId} />\n            {props.comments.map((comment) => <Comment key={comment.id} comment={comment} />)}\n            <div className={classes.Footer} />\n        </Aux>\n    )\n};\n\nexport default comments;"
  },
  {
    "path": "src/components/DetailContent/DetailContent.css",
    "content": ".Divider {\n    margin-top: 8px;\n    margin-bottom: 8px;\n    width: 100%;\n    height: 1px;\n    background-color: #7e7e7e;\n}\n\n.Text {\n    font-size: 13px;\n}\n\n.Date {\n    margin-bottom: 8px;\n}"
  },
  {
    "path": "src/components/DetailContent/DetailContent.js",
    "content": "import { Typography } from '@material-ui/core';\nimport PropTypes from 'prop-types';\nimport Aux from '../../hoc/Auxiliary';\nimport classes from './DetailContent.css';\nimport Moment from 'react-moment';\n\nconst detailContent = (props) => (\n    <Aux>\n        <Typography variant=\"h6\">\n            {props.title}\n        </Typography>\n        <div className={classes.Divider} />\n        <Typography variant=\"subtitle1\" color=\"textSecondary\" className={classes.Date}>\n            <Moment format=\"MMM. D, YYYY\">{props.date}</Moment>\n        </Typography>\n        <div className={classes.Text}>{props.children}</div>\n    </Aux>\n)\n\ndetailContent.propTypes = {\n    title: PropTypes.string,\n    image: PropTypes.string,\n}\n\nexport default detailContent;"
  },
  {
    "path": "src/components/DetailHeader/DetailHeader.css",
    "content": ".DetailHeader {\n    margin-top: 24px;\n    margin-bottom: 24px;\n}\n\n.Header {\n    width: 50%;\n    color: #f0f0f0 \n}\n\n@media (max-width: 720px) {\n    .Header {\n        width: 100%;\n    }\n    \n    .Desc {\n        padding-top: 24px;\n        width: 100%;\n    }\n}\n\n.Overlay {\n    padding: 80px;\n    background-color: rgba(0, 0, 0, 0.3);\n}"
  },
  {
    "path": "src/components/DetailHeader/DetailHeader.js",
    "content": "import { Card, CardContent, Typography, CardMedia } from '@material-ui/core';\nimport PropTypes from 'prop-types';\nimport classes from './DetailHeader.css';\n\nconst detailHeader = (props) => (\n    <Card className={classes.DetailHeader}>\n        <CardMedia image={props.image} title={'Thumbnail'}>\n            <div className={classes.Overlay}>\n                <CardContent className={classes.CardContent}>\n                    <Typography variant=\"h3\" className={classes.Header}>\n                        {props.title}\n                    </Typography>\n                </CardContent>\n            </div>\n        </CardMedia>\n    </Card>\n)\n\ndetailHeader.propTypes = {\n    title: PropTypes.string,\n    image: PropTypes.string,\n}\n\nexport default detailHeader;"
  },
  {
    "path": "src/components/FeaturedBlogItem/FeaturedBlogItem.css",
    "content": ".FeaturedBlogCardItem {\n    margin-top: 24px;\n}\n\n.CardContent {\n    margin: 80px;\n}\n\n.Header {\n    width: 50%;\n    color: #f0f0f0 \n}\n\n.Desc {\n    padding-top: 24px;\n    width: 50%;\n    color: #f0f0f0;\n}\n\n@media (max-width: 720px) {\n    .Header {\n        width: 100%;\n    }\n    \n    .Desc {\n        padding-top: 24px;\n        width: 100%;\n    }\n}\n\n.Overlay {\n    background-color: rgba(0, 0, 0, 0.3);\n}\n\n.ContinueReadingText {\n    padding-top: 24px;\n    color: #FFFFFF;\n}\n"
  },
  {
    "path": "src/components/FeaturedBlogItem/FeaturedBlogItem.js",
    "content": "import { Card, CardContent, Typography, CardMedia, CardActionArea } from '@material-ui/core';\nimport PropTypes from 'prop-types';\nimport classes from './FeaturedBlogItem.css';\nimport { createDescription, stripHTML } from '../../util/StringUtils'\n\nconst featuredBlogItem = (props) => (\n    <Card onClick={() => props.clickHandler != null ? props.clickHandler(props.item) : null} className={classes.FeaturedBlogCardItem}>\n        <CardMedia image={props.item.image} title={'Thumbnail'}>\n            <div className={classes.Overlay}>\n                <CardActionArea>\n                    <CardContent className={classes.CardContent}>\n                        <Typography variant=\"h3\" className={classes.Header}>\n                            {props.item.title}\n                        </Typography>\n                        <Typography variant=\"h5\" className={classes.Desc}>\n                            {createDescription(stripHTML(props.item.summary), 120)}\n                        </Typography>\n                        <Typography variant=\"subtitle1\" className={classes.ContinueReadingText}>\n                            Continue reading...\n                    </Typography>\n                    </CardContent>\n                </CardActionArea>\n            </div>\n        </CardMedia>\n    </Card>\n)\n\nfeaturedBlogItem.propTypes = {\n    item: PropTypes.shape({\n        date: PropTypes.any,\n        title: PropTypes.string,\n        summary: PropTypes.string,\n        image: PropTypes.string\n    })\n}\n\nexport default featuredBlogItem;"
  },
  {
    "path": "src/components/FeaturedWorkCard/FeaturedWorkCard.js",
    "content": "import {Card, CardContent, Typography, CardActionArea, CardMedia} from '@material-ui/core';\nimport {makeStyles} from \"@material-ui/core/styles\";\nimport PropTypes from \"prop-types\";\n\nconst FeaturedWorkCard = (props) => {\n    const useStyles = makeStyles(theme => ({\n        cardContent: {\n            backgroundImage: `url(${props.image})`,\n            backgroundSize: 'cover',\n            backgroundColor: 'transparent',\n            border: 'none',\n            display: 'flex',\n            textAlign: 'center',\n            height: '200px',\n            '&:hover': {\n                filter: 'grayscale(100%)',\n                transition: '.4s ease-in-out',\n            }\n        },\n        cardText: {\n            color: '#1a1818',\n        }\n    }));\n\n    const classes = useStyles();\n\n    return (\n        <Card variant={\"outlined\"} onClick={() => props.clickHandler()} className={classes.cardContent}>\n            <CardActionArea>\n                <CardContent>\n                    <Typography variant=\"h6\" className={classes.cardText}>\n                        {props.title}\n                    </Typography>\n                </CardContent>\n            </CardActionArea>\n        </Card>\n    );\n}\n\nFeaturedWorkCard.propTypes = {\n    clickHandler: PropTypes.func,\n    title: PropTypes.string,\n    image: PropTypes.string,\n};\n\nexport default FeaturedWorkCard;"
  },
  {
    "path": "src/components/Layout.js",
    "content": "import React from 'react';\nimport Aux from '../hoc/Auxiliary';\nimport Toolbar from './Toolbar/Toolbar';\n\n\nconst layout = (props) => (\n    <Aux>\n        <Toolbar />\n        <main>\n            {props.children}\n        </main>\n    </Aux >\n)\n\nexport default layout;"
  },
  {
    "path": "src/components/MyWork/GoogleDialog.js",
    "content": "import * as React from 'react';\nimport Dialog from '@mui/material/Dialog';\nimport DialogActions from '@mui/material/DialogActions';\nimport Slide from '@mui/material/Slide';\nimport {TransitionProps} from '@mui/material/transitions';\nimport {Button, DialogTitle, Typography} from \"@material-ui/core\";\n\nconst Transition = React.forwardRef(function Transition(\n    props: TransitionProps & {\n        children: React.ReactElement<any, any>;\n    },\n    ref: React.Ref<any>,\n) {\n    return <Slide direction=\"up\" ref={ref} {...props} />;\n});\n\nexport default function GoogleDialog(props) {\n    return (\n        <div>\n            <Dialog\n                maxWidth={'md'}\n                fullWidth={true}\n                open={props.open}\n                TransitionComponent={Transition}\n                keepMounted\n                onClose={props.handleClose}\n                aria-describedby=\"alert-dialog-slide-description\"\n            >\n                <DialogTitle>{\"Google\"}</DialogTitle>\n                <div style={{marginLeft: '10%', width: '80%', marginTop: 16}}>\n                    <Typography variant=\"body2\"\n                                color=\"primary\">{\n                        \"I worked on a native Android mobile app for Google’s Cloud Next 2020 event \" +\n                        \"(before it was cancelled due to Covid) that allowed users to view upcoming talks, \" +\n                        \"create a schedule, book appointments with Google “Experts” and schedule meetings \" +\n                        \"with other conference attendees. Developed with a focus on realtime data, offline support, and Material Design.\"\n                    }</Typography>\n                    <br/>\n                    <Typography variant=\"body2\"\n                                color=\"primary\"><b>{\"Technologies used: \"}</b><i>{\"Kotlin, Firestore, Dagger 2, Retrofit, RxJava, JUnit\"}</i></Typography>\n                </div>\n\n                <DialogActions>\n                    <Button onClick={props.handleClose}>Close</Button>\n                </DialogActions>\n            </Dialog>\n        </div>\n    );\n}"
  },
  {
    "path": "src/components/MyWork/ImageCarousel.js",
    "content": "import Carousel from \"react-material-ui-carousel\";\nimport * as React from \"react\";\n\nexport function ImageCarousel(props) {\n    return (\n        <div style={{marginLeft: '10%', width: '80%', height: 960}}>\n            <Carousel\n                navButtonsAlwaysVisible={true}\n                autoPlay={false}\n            >\n                {\n                    props.images.map((_, i) => (\n                        <img src={props.images[i]} style={{\n                            height: 640,\n                            width: '80%',\n                            maxWidth: '960px',\n                            marginLeft: 'auto',\n                            marginRight: 'auto',\n                            display: 'block',\n                            overflow: 'hidden',\n                            objectFit: 'cover',\n                        }} alt={''}/>\n                    ))\n                }\n            </Carousel>\n        </div>\n    )\n}"
  },
  {
    "path": "src/components/MyWork/MyWork.js",
    "content": "import {Grid, Typography} from \"@material-ui/core\";\nimport FeaturedWorkCard from \"../FeaturedWorkCard/FeaturedWorkCard\";\nimport * as React from \"react\";\nimport TMTDialog from \"./TMTDialog\";\n\nimport truckImage from \"../../assets/truck_company_2.png\";\nimport petfinderImage from \"../../assets/petfinder.png\";\nimport googleImage from \"../../assets/google_next.png\";\nimport GoogleDialog from \"./GoogleDialog\";\nimport PetfinderDialog from \"./PetfinderDialog\";\n\nexport default function MyWork() {\n    const [openTmtDialog, setOpenTmtDialog] = React.useState(false);\n    const [openGoogleDialog, setOpenGoogleDialog] = React.useState(false);\n    const [openPetfinderDialog, setOpenPetfinderDialog] = React.useState(false);\n\n    return (\n        <div>\n            <TMTDialog open={openTmtDialog} handleClose={() => setOpenTmtDialog(false)}/>\n            <GoogleDialog open={openGoogleDialog} handleClose={() => setOpenGoogleDialog(false)}/>\n            <PetfinderDialog open={openPetfinderDialog} handleClose={() => setOpenPetfinderDialog(false)}/>\n            <Typography variant=\"h4\" color=\"secondary\" style={{marginBottom: 24}}>MY WORK</Typography>\n            <Grid container spacing={1}>\n                <Grid item xs={12} md={6}>\n                    <FeaturedWorkCard image={petfinderImage} title={\"Petfinder\"} clickHandler={() => { setOpenPetfinderDialog(true) }} />\n                </Grid>\n                <Grid item xs={12} md={6}>\n                    <FeaturedWorkCard image={googleImage} title={\"Google\"} clickHandler={() => { setOpenGoogleDialog(true) }}  />\n                </Grid>\n                <Grid item xs={12} md={12}>\n                    <FeaturedWorkCard image={truckImage} title={\"TWO MEN AND A TRUCK\"} clickHandler={() => { setOpenTmtDialog(true) }}/>\n                </Grid>\n            </Grid>\n        </div>\n    );\n}"
  },
  {
    "path": "src/components/MyWork/PetfinderDialog.js",
    "content": "import * as React from 'react';\nimport Dialog from '@mui/material/Dialog';\nimport DialogActions from '@mui/material/DialogActions';\nimport Slide from '@mui/material/Slide';\nimport {TransitionProps} from '@mui/material/transitions';\nimport {Button, DialogTitle, Typography} from \"@material-ui/core\";\n\nconst Transition = React.forwardRef(function Transition(\n    props: TransitionProps & {\n        children: React.ReactElement<any, any>;\n    },\n    ref: React.Ref<any>,\n) {\n    return <Slide direction=\"up\" ref={ref} {...props} />;\n});\n\nexport default function PetfinderDialog(props) {\n    return (\n        <div>\n            <Dialog\n                maxWidth={'lg'}\n                fullWidth={true}\n                open={props.open}\n                TransitionComponent={Transition}\n                keepMounted\n                onClose={props.handleClose}\n                aria-describedby=\"alert-dialog-slide-description\"\n            >\n                <DialogTitle>{\"Petfinder\"}</DialogTitle>\n                <div style={{marginLeft: '10%', width: '80%', marginTop: 16}}>\n                    <Typography variant=\"body2\"\n                                color=\"primary\">{\n                        \"Petfinder is a platform home to hundreds of thousands of adoption and foster organizations for pets across the United States. \" +\n                        \"Petfinder allows users to search for pets that are best suited for them. My role on this project has been to maintain and optimize \" +\n                        \"the user experience for key features on both iOS and Android such as pet search, breed search, and user profile.\"\n                    }</Typography>\n                    <Typography>View on <a href={'https://apps.apple.com/us/app/petfinder-adopt-a-pet/id557228073'}>Apple Store</a> & <a href={'https://play.google.com/store/apps/details?id=com.discovery.petfinder'}>Google Play</a></Typography>\n                    <br/>\n                    <Typography variant=\"body2\"\n                                color=\"primary\"><b>{\"Technologies used: \"}</b><i>{\"React-Native, Typescript\"}</i></Typography>\n                </div>\n\n                <DialogActions>\n                    <Button onClick={props.handleClose}>Close</Button>\n                </DialogActions>\n            </Dialog>\n        </div>\n    );\n}"
  },
  {
    "path": "src/components/MyWork/TMTDialog.js",
    "content": "import * as React from 'react';\nimport Dialog from '@mui/material/Dialog';\nimport DialogActions from '@mui/material/DialogActions';\nimport Slide from '@mui/material/Slide';\nimport {TransitionProps} from '@mui/material/transitions';\nimport {Button, DialogTitle, Typography} from \"@material-ui/core\";\nimport signatureScreenImg from '../../assets/tmt_sig_1080.png';\nimport paymentScreenImg from '../../assets/tmt_payment_1080.png';\nimport formScreenImg from '../../assets/tmt_packing_form_1080.png';\nimport {ImageCarousel} from \"./ImageCarousel\";\n\n\nconst Transition = React.forwardRef(function Transition(\n    props: TransitionProps & {\n        children: React.ReactElement<any, any>;\n    },\n    ref: React.Ref<any>,\n) {\n    return <Slide direction=\"up\" ref={ref} {...props} />;\n});\n\nexport default function TMTDialog(props) {\n    return (\n        <div>\n            <Dialog\n                maxWidth={'lg'}\n                fullWidth={true}\n                open={props.open}\n                TransitionComponent={Transition}\n                keepMounted\n                onClose={props.handleClose}\n                aria-describedby=\"alert-dialog-slide-description\"\n            >\n                <DialogTitle>{\"TWO MEN AND A TRUCK\"}</DialogTitle>\n                <ImageCarousel images={[signatureScreenImg, paymentScreenImg, formScreenImg]}/>\n                <div style={{marginLeft: '10%', width: '80%', marginTop: 16}}>\n                    <Typography variant=\"body2\"\n                                color=\"primary\">{\n                        \"During my time at TWO MEN AND A TRUCK, I developed key features \" +\n                        \"for TWO MEN AND A TRUCK's flagship mobile application - Digital Sales Order. Digital Sales Order \" +\n                        \"is a native Android app written in Kotlin with a heavy focus on offline support. \" +\n                        \"Digital Sales Order allows customers to agree to legal forms and make payments related to the services they purchases.\"\n                    }</Typography>\n                    <br/>\n                    <Typography variant=\"body2\"\n                                color=\"primary\"><b>{\"Technologies used: \"}</b><i>{\"Kotlin, Realm Database, Dagger 2, Retrofit, RxJava, JUnit, Espresso\"}</i></Typography>\n                </div>\n\n                <DialogActions>\n                    <Button onClick={props.handleClose}>Close</Button>\n                </DialogActions>\n            </Dialog>\n        </div>\n    );\n}"
  },
  {
    "path": "src/components/Toolbar/Toolbar.js",
    "content": "import { AppBar, Toolbar as MaterialToolbar, Typography, Box, Button, Link } from '@material-ui/core';\nimport { auth, signOut } from '../../auth/auth'\nimport { connect } from 'react-redux';\nimport { AUTH } from '../../store/actions';\nimport firebase from '../../firebase';\nimport { withRouter } from 'react-router-dom';\n\nconst handleAuth = (onAuthUser) => {\n    const success = (token, user) => {\n        console.log(token, user);\n        onAuthUser({ isAuthed: true, user: user, token: token });\n    }\n\n    const failure = (message) => {\n        console.log(\"auth failed: \" + message);\n    }\n\n    auth(success, failure)\n}\n\nconst handleSignOut = (onAuthUser) => {\n    const success = () => {\n        onAuthUser({ isAuthed: false, user: null });\n    }\n\n    const failure = (error) => {\n        alert(\"sign out failed: \" + error);\n    }\n\n    signOut(success, failure);\n}\n\nconst onHomeClicked = (history) => {\n    history.push('/');\n}\n\nconst toolbar = (props) => {\n    firebase.auth().onAuthStateChanged((user) => {\n        if (user) {\n            // User is signed in.\n            props.onAuthUser({ isAuthed: true, user: user });\n        }\n    });\n\n    return (\n        <AppBar position='static'>\n            <MaterialToolbar variant='regular' color='primary'>\n                <Box display='flex' flexGrow={1}>\n                    <Typography variant='h6'><Link href=\"#\" onClick={() => onHomeClicked(props.history)} color=\"secondary\">Kenny Gunderman</Link></Typography>\n                </Box>\n\n                <Button\n                    variant=\"outlined\"\n                    color=\"secondary\"\n                    onClick={props.isAuthed ? () => handleSignOut(props.onAuthUser) : () => handleAuth(props.onAuthUser)}>\n                    {props.isAuthed ? 'Sign out' : 'Sign in'}\n                </Button>\n\n            </MaterialToolbar>\n        </AppBar>\n    )\n}\n\nconst mapStateToProps = state => {\n    return {\n        ...state,\n        isAuthed: state.isAuthed,\n        user: state.user\n    };\n}\n\nconst mapDispatchToProps = dispatch => {\n    return {\n        onAuthUser: (payload) => dispatch({ type: AUTH, payload: payload })\n    };\n};\n\nexport default withRouter(connect(mapStateToProps, mapDispatchToProps)(toolbar));"
  },
  {
    "path": "src/containers/Blog/Blog.css",
    "content": ".Container {\n    max-width: 80%;\n    margin-left: 10%;\n}\n\n.Footer {\n    text-align: center;\n    width: 100%;\n    padding-top: 25px;\n    padding-bottom:25px;\n}\n\n\n@media (max-width: 1080px) {\n    .Container {\n        max-width: 90%;\n        margin-left: 5%;\n    }\n}"
  },
  {
    "path": "src/containers/Blog/Blog.js",
    "content": "import React, { Component } from 'react';\nimport BlogItem from '../../components/BlogItem/BlogItem';\nimport FeaturedBlogItem from '../../components/FeaturedBlogItem/FeaturedBlogItem';\nimport { Grid, Fade } from '@material-ui/core';\nimport firebase from \"../../firebase\";\nimport classes from './Blog.css';\nclass Blog extends Component {\n    state = {\n        isLoading: false,\n        posts: []\n    }\n\n    postsRef = firebase.firestore().collection(\"posts\");\n\n    componentDidMount() {\n        this.setState({ isLoading: true });\n        this.postsRef.onSnapshot((querySnapshot) => {\n            const items = [];\n            querySnapshot.forEach((doc) => {\n                const data = doc.data()\n                const item = {\n                    ...data,\n                    date: new Date(data.date.seconds * 1000), //format data as it comes in from firebase\n                    id: doc.id\n                }\n                items.push(item);\n            });\n            this.setState({ isLoading: false, posts: items });\n        });\n    }\n\n    createBlogFeed() {\n        const sortedPosts = this.state.posts.sort((a, b) => b.date.getTime() - a.date.getTime())\n        const blogItems = sortedPosts.map((post) => {\n            const p = {\n                ...post\n            }\n\n            return (\n                <Grid item xs={12} md={6} key={p.id}>\n                    <BlogItem item={p} clickHandler={this.handleBlogItemClicked} />\n                </Grid>\n            )\n        });\n\n        //set featured post to most recent post\n        if (blogItems.length > 0 && sortedPosts.length > 0) blogItems[0] =\n            <Grid item xs={12} key={sortedPosts[0].id}>\n                <FeaturedBlogItem item={sortedPosts[0]} clickHandler={this.handleBlogItemClicked} />\n            </Grid>\n\n        return blogItems;\n    }\n\n    //Show detail\n    handleBlogItemClicked = (item) => {\n        this.props.history.push({ pathname: `/blog/detail/${item.id}`, state: { item: item } });\n    }\n\n    render() {\n        return (\n            <Fade in timeout={{ enter: 1000 }}>\n                <div className={classes.Container}>\n                    <Grid container spacing={3}>\n                        {this.createBlogFeed()}\n                    </Grid >\n                    <div className={classes.Footer} />\n                </div>\n            </Fade>\n        );\n    }\n}\nexport default Blog;\n"
  },
  {
    "path": "src/containers/BlogDetail/BlogDetail.css",
    "content": ".Container {\n    max-width: 80%;\n    margin-left: 10%;\n}\n\n.Footer {\n    text-align: center;\n    width: 100%;\n    padding-top: 25px;\n    padding-bottom:25px;\n}\n\n\n@media (max-width: 1080px) {\n    .Container {\n        max-width: 90%;\n        margin-left: 5%;\n    }\n}\n\n.Divider {\n    margin-top: 8px;\n    margin-bottom: 8px;\n    width: 100%;\n    height: 1px;\n    background-color: #7e7e7e;\n}\n\n.DetailSpacing {\n    margin-right: 16px;\n}\n\n.BlogCardSpacing {\n    margin-bottom: 16px;\n}"
  },
  {
    "path": "src/containers/BlogDetail/BlogDetail.js",
    "content": "import React, { Component } from 'react';\nimport DetailContent from '../../components/DetailContent/DetailContent';\nimport DetailHeader from '../../components/DetailHeader/DetailHeader';\nimport ReactHtmlParser from 'react-html-parser';\nimport { Grid, Typography } from '@material-ui/core';\nimport Comments from '../../components/Comments/Comments';\nimport BlogItem from '../../components/BlogItem/BlogItem';\nimport classes from './BlogDetail.css';\nimport firebase from \"../../firebase\";\n\nclass BlogDetail extends Component {\n    state = {\n        comments: null,\n        isLoadingComments: false,\n        otherPosts: [],\n        isLoadingPosts: false,\n        item: null //this is the blog item the user is viewing\n    }\n\n    unsubscribeComments = null\n    unsubscribeBlogPosts = null\n\n    componentDidMount() {\n        const item = this.props.history.location.state.item;\n        this.createSubscriptionsForItem(item);\n    }\n\n    createSubscriptionsForItem(item) {\n        this.setState({ isLoadingComments: true, comments: null, isLoadingPosts: true, item: item });\n        this.unsubscribeComments = firebase.firestore().collection(\"comments\").onSnapshot((querySnapshot) => {\n            const comments = [];\n            querySnapshot.forEach((doc) => {\n                const data = doc.data();\n                if (data.postId === item.id) {\n                    const comment = {\n                        ...data,\n                        date: new Date(data.date.seconds * 1000), //format date as it comes in from firebase\n                        id: doc.id\n                    }\n                    comments.push(comment);\n                }\n            });\n\n            comments.sort((a, b) => b.date.getTime() - a.date.getTime());\n            this.setState({\n                isLoadingComments: false,\n                comments: comments\n            });\n        });\n\n        this.unsubscribeBlogPosts = firebase.firestore().collection(\"posts\").onSnapshot((querySnapshot) => {\n            const otherPosts = [];\n            querySnapshot.forEach((doc) => {\n                const data = doc.data();\n                if (doc.id !== item.id) {//don't show the post we are currently on\n                    const post = {\n                        ...data,\n                        date: new Date(data.date.seconds * 1000), //format data as it comes in from firebase\n                        id: doc.id\n                    }\n                    otherPosts.push(post);\n                }\n\n                otherPosts.sort((a, b) => b.date.getTime() - a.date.getTime());\n                this.setState({\n                    isLoadingPosts: false,\n                    otherPosts: otherPosts\n                });\n            });\n        });\n    }\n\n    createOtherPostsFeed() {\n        let blogItems = null;\n        if (this.state.otherPosts != null) {\n            blogItems = this.state.otherPosts.map((post) =>\n                <div key={post.id} className={classes.BlogCardSpacing}>\n                    <BlogItem hideImg={true} item={post} clickHandler={this.handleBlogItemClicked} />\n                </div>\n            );\n        }\n        return blogItems;\n    }\n\n    handleBlogItemClicked = (item) => {\n        window.scrollTo({ top: 0, behavior: 'smooth' });\n        this.props.history.push({ pathname: `/blog/detail/${item.id}`, state: { item: item } });\n\n        this.unsubscribeComments();\n        this.unsubscribeBlogPosts();\n        this.createSubscriptionsForItem(item);\n    }\n\n    render() {\n        return this.state.item != null ? (\n            <div className={classes.Container}>\n                <DetailHeader title={this.state.item.title} image={this.state.item.image} />\n                <Grid container spacing={0}>\n                    <Grid item md={9} xs={12}>\n                        <div className={classes.DetailSpacing}>\n                            <DetailContent\n                                title={this.state.item.title}\n                                date={this.state.item.date}>\n                                {ReactHtmlParser(this.state.item.summary)}\n                            </DetailContent>\n                            {this.state.comments != null ? <Comments comments={this.state.comments} postId={this.state.item.id} /> : null}\n                        </div>\n                    </Grid>\n                    <Grid item md={3} xs={12}>\n                        <Typography variant=\"h6\">Other Posts</Typography>\n                        <div className={classes.Divider} />\n                        {this.createOtherPostsFeed()}\n                    </Grid>\n                </Grid>\n                <div className={classes.Footer} />\n            </div>\n        ) : null;\n    }\n}\n\nexport default BlogDetail;"
  },
  {
    "path": "src/containers/Home/Home.css",
    "content": ".Hello {\n    transition: opacity 2.5s;\n    opacity: 1;\n    width: 100%;\n    height: 400px;\n    background-color: #1a1818;\n}\n\n.HelloContainer {\n    padding-top: 128px;\n    text-align: center;\n    margin: auto;\n}\n\n.AboutButton {\n    margin-top: 16px !important;\n}\n\n.ContentSection {\n    background-size: cover;\n    transition: opacity 2.5s;\n    opacity: 1;\n    width: 100%;\n    height: 100%;\n    background-color: #0e0d0d;\n}\n\n.ContentSectionGradientTop {\n    background: linear-gradient(#1a1818 50%, rgba(255, 255, 255, 0));\n    height: 50px;\n    padding-top: 32px;\n}\n\n.ContentSectionGradientBottom {\n    background: linear-gradient(rgba(255, 255, 255, 0), #1a1818);\n    height: 50px;\n    margin-top: 64px;\n    padding-top: 32px;\n}\n\n.ContentSectionAlpha {\n    background: rgba(0, 0, 0, 0.5);\n    height: 100%;\n}\n\n.ContentSectionContainer {\n    margin: auto;\n    padding-left: 24px;\n    padding-right: 24px;\n    width: 80%;\n    align-content: center;\n}\n\n.Footer {\n    padding-top: 32px;\n    text-align: center;\n    background-color: #1a1818;\n    height: 48px;\n}\n\n.SocialIcon {\n    color: #fff;\n    padding: 8px;\n}\n\n.Socials {\n    padding-top: 16px;\n    text-align: center;\n    align-items: center;\n    align-content: center;\n    margin: auto;\n    width: 50%;\n}"
  },
  {
    "path": "src/containers/Home/Home.js",
    "content": "import classes from './Home.css';\nimport {Typography, Grid} from '@material-ui/core';\nimport GitHubIcon from \"@mui/icons-material/GitHub\";\nimport YouTubeIcon from \"@mui/icons-material/YouTube\";\nimport LinkedInIcon from \"@mui/icons-material/LinkedIn\";\nimport FeaturedBlogItem from \"../../components/FeaturedBlogItem/FeaturedBlogItem\";\nimport AboutMeDialog from \"../../components/AboutMe/AboutMeDialog\";\nimport MyWork from \"../../components/MyWork/MyWork\";\nimport backgroundImage1 from \"../../assets/bg_1.jpg\";\nimport backgroundImage2 from \"../../assets/bg_2.jpg\";\nimport blogArchiveImage from \"../../assets/learning_react.png\";\n\nconst Home = (props) => {\n    return (\n        <div>\n            <div className={classes.Hello}>\n                <div className={classes.HelloContainer}>\n                    <Typography variant=\"h2\" color=\"secondary\"><b>Hey, I'm Kenny.</b></Typography>\n                    <Typography variant=\"body2\" color=\"secondary\" style={{marginTop: 16}}><i>Mobile Developer • Content\n                        Creator</i></Typography>\n                    <div className={classes.AboutButton}><AboutMeDialog/></div>\n                    <div className={classes.Socials}>\n                        <a href=\"https://www.github.com/kennygunderman\"><GitHubIcon fontSize=\"large\"\n                                                                                    className={classes.SocialIcon}/></a>\n                        <a href=\"https://www.youtube.com/kennygunderman\"><YouTubeIcon fontSize=\"large\"\n                                                                                      className={classes.SocialIcon}/></a>\n                        <a href=\"https://www.linkedin.com/in/kenny-gunderman-0406a8119/\"><LinkedInIcon fontSize=\"large\"\n                                                                                                       className={classes.SocialIcon}/></a>\n                    </div>\n                </div>\n            </div>\n            <div>\n                <div className={classes.ContentSection} style={{backgroundImage: `url(${backgroundImage1})`}}>\n                    <div className={classes.ContentSectionAlpha}>\n                        <div className={classes.ContentSectionGradientTop}/>\n                        <div className={classes.ContentSectionContainer}>\n                            <MyWork />\n                        </div>\n                        <div className={classes.ContentSectionGradientBottom}/>\n                    </div>\n                </div>\n                <div className={classes.ContentSection} style={{backgroundImage: `url(${backgroundImage2})`}}>\n                    <div className={classes.ContentSectionAlpha}>\n                        <div className={classes.ContentSectionContainer}>\n                            <Typography variant=\"h4\" color=\"secondary\"\n                                        style={{paddingTop: 48, marginBottom: 24}}>BLOG ARCHIVE</Typography>\n                            <Grid container spacing={1}>\n                                <Grid item xs={12} md={12}>\n                                    <FeaturedBlogItem item={{\n                                        date: new Date(),\n                                        title: \"My experience learning React over 7 days.\",\n                                        summary: \"In this blog archive, I document my day by day experience of learning react over 7 days.\",\n                                        image: blogArchiveImage\n                                    }} clickHandler={() => props.history.push('/Blog')}/>\n                                </Grid>\n                            </Grid>\n                        </div>\n                        <div className={classes.ContentSectionGradientBottom}/>\n                    </div>\n                </div>\n            </div>\n            <div className={classes.Footer}>\n                <Typography variant=\"body1\" color=\"secondary\">© Kenny Gunderman®</Typography>\n            </div>\n        </div>);\n}\n\nexport default Home;"
  },
  {
    "path": "src/containers/LeaveComment/LeaveComment.css",
    "content": ".ProfileImg {\n    float: left;\n    object-fit: cover;\n    width: 50px;\n    height: 50px;\n    border-radius: 50%;\n}\n\n.TextContainer {\n    margin-top: 16px;\n    margin-left: 66px;\n}\n\n.CommentButton {\n    margin-top: 8px !important;\n    float: right;\n}"
  },
  {
    "path": "src/containers/LeaveComment/LeaveComment.js",
    "content": "import React, {Component} from 'react';\nimport {TextField, Button, Typography} from '@material-ui/core';\nimport {v1 as uuidv1} from 'uuid';\nimport classes from './LeaveComment.css';\nimport firebase from \"../../firebase\";\nimport {connect} from 'react-redux';\n\nclass LeaveComment extends Component {\n    state = {\n        comment: \"\"\n    }\n\n    handleCommentChange = (event) => {\n        const comment = event.target.value;\n        this.setState({comment: comment});\n    }\n\n    leaveComment = () => {\n        this.setState({comment: \"\"})\n        firebase\n            .firestore()\n            .collection('comments')\n            .doc(uuidv1())\n            .set({\n                comment: this.state.comment,\n                date: new Date(),\n                displayName: this.props.user.displayName,\n                postId: this.props.postId,\n                uid: this.props.user.uid,\n                profilePhotoUrl: this.props.user.photoURL\n            })\n            .catch(error => console.log(error));\n    }\n\n    render() {\n        return (\n            this.props.isAuthed ?\n                <div>\n                    <img alt=\"\" src={this.props.user.photoURL} className={classes.ProfileImg}/>\n                    <div className={classes.TextContainer}>\n                        <TextField\n                            fullWidth\n                            multiline\n                            rowsMax={4}\n                            inputProps={{maxLength: 500}}\n                            value={this.state.comment}\n                            onChange={this.handleCommentChange}\n                            label=\"Leave a comment...\"/>\n                    </div>\n                    <Button\n                        onClick={this.leaveComment}\n                        disabled={this.state.comment === \"\" && this.props.isAuthed}\n                        variant=\"outlined\"\n                        className={classes.CommentButton}>\n                        comment\n                    </Button>\n                </div> :\n                <Typography variant=\"subtitle1\">Log in to leave a comment!</Typography>\n        )\n    }\n}\n\nconst mapStateToProps = state => {\n    return {\n        isAuthed: state.isAuthed,\n        user: state.user\n    };\n}\n\nexport default connect(mapStateToProps)(LeaveComment);"
  },
  {
    "path": "src/firebase.js",
    "content": "import firebase from 'firebase/app';\nimport 'firebase/firestore';\nimport 'firebase/auth';\nimport { firebaseConfig } from './firebase-config';\n\nfirebase.initializeApp(firebaseConfig);\nexport default firebase;"
  },
  {
    "path": "src/hoc/Auxiliary.js",
    "content": "const aux = (props) => props.children;\n\nexport default aux;"
  },
  {
    "path": "src/index.css",
    "content": "body {\n  margin: 0;\n  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n    sans-serif;\n  -webkit-font-smoothing: antialiased;\n  -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n    monospace;\n}\n"
  },
  {
    "path": "src/index.js",
    "content": "import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\nimport {BrowserRouter} from 'react-router-dom';\nimport {ThemeProvider, createTheme} from '@material-ui/core'; // I am currently using both @material-ui & @mui deps. I need to update to only use one.\nimport {createStore} from 'redux';\nimport reducer from './store/reducer';\nimport {Provider} from 'react-redux';\n\n//Redux store\nconst store = createStore(reducer);\n\n//Application theme\nconst theme = createTheme({\n    typography: {\n        fontFamily: 'Avenir Next, Avenir Next Ultra Light',\n        body1: {\n            fontSize: 12,\n        }\n    },\n    palette: {\n        primary: {\n            main: '#1a1818'\n        },\n        secondary: {\n            main: '#fafafa'\n        }\n    },\n});\n\nconst app = (\n    <Provider store={store}>\n        <BrowserRouter>\n            <ThemeProvider theme={theme}>\n                <App/>\n            </ThemeProvider>\n        </BrowserRouter>\n    </Provider>\n)\n\nReactDOM.render(\n    app,\n    document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"
  },
  {
    "path": "src/reportWebVitals.js",
    "content": "const reportWebVitals = onPerfEntry => {\n  if (onPerfEntry && onPerfEntry instanceof Function) {\n    import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n      getCLS(onPerfEntry);\n      getFID(onPerfEntry);\n      getFCP(onPerfEntry);\n      getLCP(onPerfEntry);\n      getTTFB(onPerfEntry);\n    });\n  }\n};\n\nexport default reportWebVitals;\n"
  },
  {
    "path": "src/setupTests.js",
    "content": "// jest-dom adds custom jest matchers for asserting on DOM nodes.\n// allows you to do things like:\n// expect(element).toHaveTextContent(/react/i)\n// learn more: https://github.com/testing-library/jest-dom\nimport '@testing-library/jest-dom';\n"
  },
  {
    "path": "src/store/actions.js",
    "content": "const auth = 'AUTH';\n\nexport { auth as AUTH }"
  },
  {
    "path": "src/store/reducer.js",
    "content": "import { AUTH } from '../store/actions';\n\nconst initialState = {\n    isAuthed: false,\n    user: null\n}\n\nconst reducer = (state = initialState, action) => {\n    if (action.type === AUTH) {\n        return {\n            isAuthed: action.payload.isAuthed,\n            user: action.payload.user\n        }\n    }\n\n    return state;\n};\n\nexport default reducer;"
  },
  {
    "path": "src/util/StringUtils.js",
    "content": "//Creates a description of a string without cutting off the last word.\nconst createDescription = (str, length) => {\n    if (str.length > length) {\n        while (str[length] !== \" \") length++\n        str = str.substring(0, length) + \"...\";\n    }\n    return str;\n}\n\nconst stripHTML = (htmlStr) => {\n    return htmlStr.replace(/<\\/?[^>]+(>|$)/g, \"\");\n}\n\nexport { createDescription, stripHTML }"
  }
]