{"version":3,"sources":["components/footer/Footer.js","App.js","serviceWorker.js","index.js"],"names":["Footer","className","href","class","aria-hidden","Home","React","lazy","About","Works","Art","Navbar","App","fallback","style","backgroundColor","height","color","exact","path","isLocalhost","Boolean","window","location","hostname","match","registerValidSW","swUrl","config","navigator","serviceWorker","register","then","registration","onupdatefound","installingWorker","installing","onstatechange","state","controller","console","log","onUpdate","onSuccess","catch","error","ReactDOM","render","StrictMode","document","getElementById","URL","process","origin","addEventListener","fetch","headers","response","contentType","get","status","indexOf","ready","unregister","reload","checkValidServiceWorker"],"mappings":"qHAAA,sDAEe,SAASA,IACtB,OACE,yBAAKC,UAAU,oHACb,yBAAKA,UAAU,IACb,wBAAIA,UAAU,IAAd,wBAEF,yBAAKA,UAAU,oBACb,wBAAIA,UAAU,oBACZ,wBAAIA,UAAU,6BACZ,uBAAGC,KAAK,oDACN,uBACEC,MAAM,iDACNC,cAAY,WAIlB,wBAAIH,UAAU,6BACZ,uBAAGC,KAAK,0CACN,uBACEC,MAAM,kDACNC,cAAY,WAIlB,wBAAIH,UAAU,6BACZ,uBAAGC,KAAK,gCACN,uBACEC,MAAM,+CACNC,cAAY,WAIlB,wBAAIH,UAAU,WACZ,uBAAGC,KAAK,kCACN,uBACEC,MAAM,iDACNC,cAAY,gB,+LC7BtBC,EAAOC,IAAMC,MAAK,kBAAM,gCACxBC,EAAQF,IAAMC,MAAK,kBAAM,sDACzBE,EAAQH,IAAMC,MAAK,kBAAM,gCACzBG,EAAMJ,IAAMC,MAAK,kBAAM,sDACvBI,EAASL,IAAMC,MAAK,kBAAM,sDAwCjBK,MAtCf,WACE,OACE,yBAAKX,UAAU,OACb,kBAAC,WAAD,CACEY,SACE,yBACEC,MAAO,CACLC,gBAAiB,UACjBC,OAAQ,QACRC,MAAO,UAGT,kBAACjB,EAAA,EAAD,QAIJ,kBAAC,IAAD,KACE,kBAACW,EAAD,MACA,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAOO,OAAK,EAACC,KAAK,KACh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,SAAAC,GACjCA,EAAa8B,aAAa/B,MAAK,WAC7BV,OAAOC,SAASyC,eAKpBtC,EAAgBC,EAAOC,MAG1BgB,OAAM,WACLJ,QAAQC,IACN,oEAvFAwB,CAAwBtC,EAAOC,GAI/BC,UAAUC,cAAcgC,MAAM9B,MAAK,WACjCQ,QAAQC,IACN,iHAMJf,EAAgBC,EAAOC,OCjC/BE,K","file":"static/js/main.4a758ba5.chunk.js","sourcesContent":["import React from \"react\";\r\n\r\nexport default function Footer() {\r\n return (\r\n
\r\n
\r\n

Maneesh P © 2020

\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n}\r\n","import React, { Suspense } from \"react\";\nimport { BrowserRouter as Router, Route, Switch } from \"react-router-dom\";\nimport Footer from \"../src/components/footer/Footer\";\n// import Home from \"../src/components/home/Home\";\n// import About from \"../src/components/about/About\";\n// import Works from \"../src/components/works/Works\";\n// import Art from \"../src/components/art/Art\";\n// import Navbar from \"../src/components/navbar/Navbar\";\n\nconst Home = React.lazy(() => import(\"../src/components/home/Home\"));\nconst About = React.lazy(() => import(\"../src/components/about/About\"));\nconst Works = React.lazy(() => import(\"../src/components/works/Works\"));\nconst Art = React.lazy(() => import(\"../src/components/art/Art\"));\nconst Navbar = React.lazy(() => import(\"../src/components/navbar/Navbar\"));\n\nfunction App() {\n return (\n
\n \n
\n }\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n )\n);\n\nexport function register(config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl, config) {\n navigator.serviceWorker\n .register(swUrl)\n .then(registration => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch(error => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then(response => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then(registration => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.'\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then(registration => {\n registration.unregister();\n })\n .catch(error => {\n console.error(error.message);\n });\n }\n}\n","import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./styles/tailwind.output.css\";\nimport \"./index.css\";\nimport App from \"./App\";\nimport * as serviceWorker from \"./serviceWorker\";\n\nReactDOM.render(\n \n \n ,\n document.getElementById(\"root\")\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.register();\n"],"sourceRoot":""}