{"version":3,"sources":["components/layout/Preloader.js","components/layout/CookConsent.js","App.js","serviceWorker.js","index.js","components/lotties/LottieAnim.js"],"names":["Preloader","useEffect","document","body","classList","remove","add","className","LottieAnim","animationData","CookConsent","location","buttonText","expires","disableButtonStyles","buttonClasses","containerClasses","contentClasses","href","HomePage","lazy","NotFound404","QRCodePage","App","smoothscroll","polyfill","fallback","exact","path","component","Boolean","window","hostname","match","ReactDOM","render","getElementById","navigator","serviceWorker","ready","then","registration","unregister","loop","width","height","defaultOptions","autoplay","rendererSettings","preserveAspectRatio","options"],"mappings":"iOA2BeA,EAvBG,WAOhB,OANAC,qBAAU,WAER,OADAC,SAASC,KAAKC,UAAUC,OAAO,wBACxB,WACLH,SAASC,KAAKC,UAAUE,IAAI,2BAE7B,IAED,6BAASC,UAAU,+BACjB,yBAAKA,UAAU,aACb,yBAAKA,UAAU,oBACb,kBAACC,EAAA,EAAD,CAAYC,cAAeA,Q,kCCWtBC,EAvBK,WAClB,OACE,6BACE,kBAAC,IAAD,CACEC,SAAS,SACTC,WAAW,SACXC,QAAS,IACTC,qBAAqB,EACrBC,cAAc,gCACdC,iBAAiB,eACjBC,eAAe,qDAPjB,4DAS4D,IAC1D,8BACE,uBAAGC,KAAK,gCAAgCX,UAAU,oBAAlD,aACa,SCNjBY,EAAWC,gBAAK,kBAAM,uDAEtBC,EAAcD,gBAAK,kBAAM,iCACzBE,EAAaF,gBAAK,kBAAM,uDAsBfG,MApBf,WAGE,OAFAC,IAAaC,WAGX,kBAAC,gBAAD,KACE,kBAAC,WAAD,CAAUC,SAAU,kBAAC,EAAD,OAClB,yBAAKnB,UAAU,OACb,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAOoB,OAAK,EAACC,KAAK,IAAIC,UAAWV,IAEjC,kBAAC,IAAD,CAAOS,KAAK,UAAUC,UAAWP,IACjC,kBAAC,IAAD,CAAOM,KAAK,IAAIC,UAAWR,KAE7B,kBAAC,EAAD,UClBUS,QACW,cAA7BC,OAAOpB,SAASqB,UAEe,UAA7BD,OAAOpB,SAASqB,UAEhBD,OAAOpB,SAASqB,SAASC,MACvB,2DCPNC,IAASC,OAAO,kBAAC,EAAD,MAASjC,SAASkC,eAAe,SDsH3C,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAMC,MAAK,SAAAC,GACjCA,EAAaC,iB,gCEnInB,qCA6BelC,IA1BI,SAAC,GAKb,IAJLC,EAII,EAJJA,cAII,IAHJkC,YAGI,aAFJC,aAEI,MAFI,IAEJ,MADJC,cACI,MADK,IACL,EACEC,EAAiB,CACrBH,KAAMA,EACNI,UAAU,EACVtC,cAAeA,EACfuC,iBAAkB,CAChBC,oBAAqB,mBAIzB,OACE,yBAAK1C,UAAU,IACb,kBAAC,IAAD,CACE2C,QAASJ,EACTF,MAAOA,EAAQ,IACfC,OAAQA,EAAS,S","file":"static/js/main.a58c9c8f.chunk.js","sourcesContent":["import React, { useEffect } from 'react'\nimport animationData from '../lotties/lottiefiles/410-lego-loader'\nimport LottieAnim from '../lotties/LottieAnim'\n\nconst Preloader = () => {\n useEffect(() => {\n document.body.classList.remove('has-navbar-fixed-top')\n return () => {\n document.body.classList.add('has-navbar-fixed-top')\n }\n }, [])\n return (\n
\n
\n
\n \n {/* */}\n
\n
\n
\n )\n}\n\nexport default Preloader\n","import React from 'react'\nimport CookieConsent from 'react-cookie-consent'\n\nconst CookConsent = () => {\n return (\n
\n \n This website uses cookies to enhance the user experience.{' '}\n \n \n Learn more{' '}\n \n \n \n
\n )\n}\n\nexport default CookConsent\n","import React, { lazy, Suspense } from 'react'\nimport { BrowserRouter, Switch, Route } from 'react-router-dom'\nimport './App.css'\nimport Preloader from './components/layout/Preloader'\n\n// import HomePage from './pages/HomePage';\n// import LoginPage from './pages/LoginPage';\n// import NotFound404 from './pages/NotFound404';\n\nimport smoothscroll from 'smoothscroll-polyfill'\nimport CookConsent from './components/layout/CookConsent'\n\nconst HomePage = lazy(() => import('./pages/HomePage'))\n// const LoginPage = lazy(() => import('./pages/LoginPage'));\nconst NotFound404 = lazy(() => import('./pages/NotFound404'))\nconst QRCodePage = lazy(() => import('./pages/QRCodePage'))\n\nfunction App() {\n smoothscroll.polyfill()\n\n return (\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.1/8 is 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 .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.then(registration => {\n registration.unregister()\n })\n }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\n// import './assets/css/bulma.min.css';\n// import './assets/css/bulma.css';\nimport '../src/assets/sass/styles.scss';\n\nimport './index.css';\n\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(, document.getElementById('root'));\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","import React from \"react\";\nimport Lottie from \"react-lottie\";\n\nconst LottieAnim = ({\n animationData,\n loop = true,\n width = 100,\n height = 100\n}) => {\n const defaultOptions = {\n loop: loop,\n autoplay: true,\n animationData: animationData,\n rendererSettings: {\n preserveAspectRatio: \"xMidYMid slice\"\n }\n };\n\n return (\n
\n \n
\n );\n};\n\nexport default LottieAnim;\n"],"sourceRoot":""}