{"version":3,"sources":["base_urls.js","scss/style.scss","views/pages/login/Verify.js","polyfill.js","App.js","serviceWorker.js","assets/icons/sygnet.js","assets/icons/index.js","assets/icons/logo.js","assets/icons/logo-negative.js","store.js","index.js","services/auth/auth.service.js","firebase.js"],"names":["selfApi","selfUrl","module","exports","Spinner","require","VerifyAuth","useState","isLoggedin","setIsLoggedIn","useEffect","className","style","backgroundColor","name","color","isUserLoggedIn","console","log","getToken","push","to","firebase","auth","isSignInWithEmailLink","window","location","href","email","localStorage","getItem","replace","signInWithEmailLink","then","result","removeItem","user","getIdToken","token","decoded","jwtDecode","setItem","exp","catch","error","verifyAuthentication","CustomEvent","event","params","bubbles","cancelable","detail","undefined","evt","document","createEvent","initCustomEvent","prototype","Event","loading","TheLayout","React","lazy","Login","Logout","Register","Page404","Page500","App","dispatch","useDispatch","localStoreLang","type","language","Suspense","fallback","exact","path","render","props","Boolean","hostname","match","icons","Object","assign","sygnet","logo","logoNegative","cilAlignCenter","cilAlignLeft","cilAlignRight","cilApplicationsSettings","cilArrowRight","cilArrowTop","cilAsterisk","cilBan","cilBasket","cilBell","cilBold","cilBookmark","cilCalculator","cilCalendar","cilCloudDownload","cilChartPie","cilCheck","cilChevronBottom","cilChevronLeft","cilChevronRight","cilChevronTop","cilCircle","cilCheckCircle","cilCode","cilCommentSquare","cilCreditCard","cilCursor","cilCursorMove","cilDrop","cilDollar","cilEnvelopeClosed","cilEnvelopeLetter","cilEnvelopeOpen","cilEuro","cilGlobeAlt","cilGrid","cilFile","cilFullscreen","cilFullscreenExit","cilGraph","cilHome","cilInbox","cilIndentDecrease","cilIndentIncrease","cilInputPower","cilItalic","cilJustifyCenter","cilJustifyLeft","cilLaptop","cilLayers","cilLightbulb","cilList","cilListNumbered","cilListRich","cilLocationPin","cilLockLocked","cilMagnifyingGlass","cilMap","cilMoon","cilNotes","cilOptions","cilPaperclip","cilPaperPlane","cilPencil","cilPeople","cilPhone","cilPrint","cilPuzzle","cilSave","cilScrubber","cilSettings","cilShare","cilShareAll","cilShareBoxed","cilShieldAlt","cilSpeech","cilSpeedometer","cilSpreadsheet","cilStar","cilSun","cilTags","cilTask","cilTrash","cilUnderline","cilUser","cilUserFemale","cilUserFollow","cilUserUnfollow","cilX","cilXCircle","cilWarning","cifUs","cifBr","cifIn","cifFr","cifEs","cifPl","cibSkype","cibFacebook","cibTwitter","cibLinkedin","cibFlickr","cibTumblr","cibXing","cibGithub","cibStackoverflow","cibYoutube","cibDribbble","cibInstagram","cibPinterest","cibVk","cibYahoo","cibBehance","cibReddit","cibVimeo","cibCcMastercard","cibCcVisa","cibStripe","cibPaypal","cibGooglePay","cibCcAmex","initialState","sidebarShow","store","createStore","state","rest","ReactDOM","getElementById","navigator","serviceWorker","ready","registration","unregister","getUserUid","user_id","initializeApp","apiKey","authDomain","projectId","storageBucket","messagingSenderId","appId","measurementId"],"mappings":"4KAAA,kCAGeA,IAHC,4BAKT,IAAMC,EAAU,oC,0DCJvBC,EAAOC,QAAU,CAAC,YAAc,UAAU,gBAAkB,UAAU,WAAa,UAAU,UAAY,UAAU,eAAiB,OAAO,WAAa,Y,wHCWpJC,EAAUC,EAAQ,KAgGPC,UA5EI,WAAO,IAAD,EACaC,oBAAS,GADtB,mBAChBC,EADgB,KACJC,EADI,KAGvBC,qBAAU,cAEP,CAACF,IAkDJ,OACE,yBAAKG,UAAU,qDAAqDC,MAAO,CAACC,gBAAgB,SAE1F,kBAACT,EAAD,CAASU,KAAK,eAAeC,MAAM,WAE/B,WACE,GAAIC,eAAoBR,EAGtB,OAFAS,QAAQC,IAAI,iBAAkBC,eAG1B,kBAAC,IAAD,CAAUC,MAAI,EAACC,GAAG,mBAzDL,WAG3B,GAAIC,IAASC,OAAOC,sBAAsBC,OAAOC,SAASC,MAAO,CAM/D,IAAIC,EAAQC,aAAaC,QAAQ,kBAC5BF,GAIHH,OAAOC,SAASK,QAAQ9B,IAAQ,YAIlCqB,IAASC,OAAOS,oBAAoBJ,EAAOH,OAAOC,SAASC,MACtDM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ACAC,uBACAC,uBACAC,qBACAC,aACAC,iBACAC,aACAC,aACAC,mBACAC,uBACAC,cACAC,aACAC,cACAC,uBACAC,uBACAC,mBACAC,eACAC,sBACAC,oBACAC,eACAC,eACAC,kBACAC,aACAC,qBACAC,iBACAC,oBACAC,mBACAC,wBACAC,YACAC,aACAC,cACAC,gBACAC,kBACAC,mBACAC,eACAC,eACAC,cACAC,cACAC,eACAC,aACAC,iBACAC,iBACAC,cACAC,iBACAC,mBACAC,kBACAC,eACAC,oBACAC,oBACAC,aACAC,YACAC,aACAC,aACAC,cACAC,kBACAC,aACAC,mBACAC,mBACAC,qBACAC,UACAC,gBACAC,iBACC,CACDC,UACAC,UACAC,UACAC,UACAC,UACAC,WACC,CACDC,aACAC,gBACAC,eACAC,gBACAC,cACAC,cACAC,YACAC,cACAC,qBACAC,eACAC,gBACAC,iBACAC,iBACAC,UACAC,aACAC,eACAC,cACAC,aACAC,oBACAC,cACAC,cACAC,cACAC,iBACAC,gB,8BGjQIC,GAAe,CACnBC,YAAa,aACb1I,SAAU,MAaG2I,GADDC,cATM,WAA8C,IAA7CC,EAA4C,uDAApCJ,GAAoC,yCAApB1I,EAAoB,EAApBA,KAAS+I,EAAW,yBAC/D,OAAQ/I,GACN,IAAK,MACH,OAAO,6BAAI8I,GAAUC,GACvB,QACE,OAAOD,MCCbzJ,IAAMsB,MAAQA,GAEdqI,IAAS1I,OACP,kBAAC,IAAD,CAAUsI,MAAOA,IACf,kBAAC,EAAD,OAEF9J,SAASmK,eAAe,SNsGpB,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAM3L,MAAK,SAAA4L,GACjCA,EAAaC,iB,gCO3HnB,iFAEM3M,EAAW,WACb,OAAOU,aAAaC,QAAQ,UAInBiM,EAAa,WACtB,IAAIzL,EAAQnB,IACZ,OAAa,MAATmB,EACO,OACKE,YAAUF,GACX0L,SAGNhN,EAAiB,WAC1B,IAAIsB,EAAQnB,IACZ,QAAkB,MAATmB,IAAkBA,IAKhBnB,O,gCCtBf,oBAeAG,IAAS2M,cAVqB,CAC1BC,OAAQ,0CACRC,WAAY,uCACZC,UAAW,uBACXC,cAAe,mCACfC,kBAAmB,eACnBC,MAAO,4CACPC,cAAe,iBAKJlN,MAAf,I","file":"static/js/main.d9a4c91f.chunk.js","sourcesContent":["const selfApi = \"http://159.69.86.178:5100\";\n\n//const selfApi = \"http://localhost:5000\";\nexport default selfApi;\n\nexport const selfUrl = \"http://self-test.multinations.eu\";\n// export const selfUrl = \"http://159.69.86.178:3100\";\n// export const selfUrl = \"http://localhost:3000\";\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"agrosYellow\":\"#29b7e3\",\"agrosYellowDark\":\"#29b7e3\",\"agrosGreen\":\"#093559\",\"eocOrange\":\"#ffc72c\",\"agrosBlackGrey\":\"#111\",\"agrosBlack\":\"#093559\"};","import React, {useEffect, useState} from 'react'\nimport {Redirect} from 'react-router-dom'\nimport '../../../firebase'\nimport \"firebase/auth\";\n// import firebase from \"firebase/auth\";\nimport firebase from \"../../../firebase\";\nimport jwtDecode from \"jwt-decode\";\nimport '../../../services/auth/auth.service'\nimport getToken, {isUserLoggedIn} from \"../../../services/auth/auth.service\";\nimport {selfUrl} from \"../../../base_urls\";\n// import firebase from \"firebase\";\n\nvar Spinner = require('react-spinkit');\n\n\nvar actionCodeSettings = {\n // URL you want to redirect back to. The domain (www.example.com) for this\n // URL must be in the authorized domains list in the Firebase Console.\n url: 'http://localhost:3000/#/login',\n // This must be true.\n handleCodeInApp: true,\n /* iOS: {\n bundleId: 'com.example.ios'\n },\n android: {\n packageName: 'com.example.android',\n installApp: true,\n minimumVersion: '12'\n },\n dynamicLinkDomain: 'localhost:3000'*/\n};\n\nconst VerifyAuth = () => {\n const [isLoggedin, setIsLoggedIn] = useState(false);\n\n useEffect(()=> {\n\n }, [isLoggedin])\n\n\n const verifyAuthentication = () => {\n // console.log(\"I am doing \")\n // Confirm the link is a sign-in with email link.\n if (firebase.auth().isSignInWithEmailLink(window.location.href)) {\n // Additional state parameters can also be passed via URL.\n // This can be used to continue the user's intended action before triggering\n // the sign-in operation.\n // Get the email if available. This should be available if the user completes\n // the flow on the same device where they started it.\n var email = localStorage.getItem('emailForSignIn');\n if (!email) {\n // console.log(\"No email found\");\n // User opened the link on a different device. To prevent session fixation\n // attacks, ask the user to provide the associated email again. For example:\n window.location.replace(selfUrl+\"/#/login\");\n // email = window.prompt('Please provide your email for confirmation');\n }\n // The client SDK will parse the code from the link for you.\n firebase.auth().signInWithEmailLink(email, window.location.href)\n .then((result) => {\n // console.log(\"Email \", email);\n // Clear email from storage.\n localStorage.removeItem('emailForSignIn');\n // You can access the new user via result.user\n // Additional user info profile not available via:\n // result.additionalUserInfo.profile == null\n // You can check if the user is new or existing:\n // result.additionalUserInfo.isNewUser\n console.log(\"User: \", result.user.getIdToken().then(token => {\n const decoded = jwtDecode(token);\n console.log(decoded);\n localStorage.setItem('token', token);\n localStorage.setItem('user_email', decoded.email);\n localStorage.setItem('expires', decoded.exp);\n setIsLoggedIn(true);\n window.location.replace(selfUrl+'/#/multinations');\n }));\n // \n })\n .catch((error) => {\n // Some error occurred, you can inspect the code: error.code\n // Common errors could be invalid email and invalid or expired OTPs.\n console.log(error);\n });\n }\n }\n\n return (\n
\n {/*
*/}\n \n {(\n () => {\n if (isUserLoggedIn() || isLoggedin){\n console.log(\"Verify Token: \", getToken())\n // window.location.replace(selfUrl+\"/#/agros\");\n return(\n \n )\n\n }\n verifyAuthentication();\n }\n )()}\n
\n )\n}\n\nexport default VerifyAuth;\n","/*\n* required polyfills\n*/\nimport \"core-js\";\nimport 'core-js/features/set/map';\nimport 'core-js/features/map';\n\n/** IE9, IE10 and IE11 requires all of the following polyfills. **/\n// import 'core-js/es6/symbol'\n// import 'core-js/es6/object'\n// import 'core-js/es6/function'\n// import 'core-js/es6/parse-int'\n// import 'core-js/es6/parse-float'\n// import 'core-js/es6/number'\n// import 'core-js/es6/math'\n// import 'core-js/es6/string'\n// import 'core-js/es6/date'\n// import 'core-js/es6/array'\n// import 'core-js/es6/regexp'\n// import 'core-js/es6/map'\n// import 'core-js/es6/weak-map'\n// import 'core-js/es6/set'\n// import 'core-js/es7/object'\n\n/** IE10 and IE11 requires the following for the Reflect API. */\n// import 'core-js/es6/reflect'\n\n/** Evergreen browsers require these. **/\n// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove.\n// import 'core-js/es7/reflect'\n\n// CustomEvent() constructor functionality in IE9, IE10, IE11\n(function () {\n\n if ( typeof window.CustomEvent === \"function\" ) return false\n\n function CustomEvent ( event, params ) {\n params = params || { bubbles: false, cancelable: false, detail: undefined }\n var evt = document.createEvent( 'CustomEvent' )\n evt.initCustomEvent( event, params.bubbles, params.cancelable, params.detail )\n return evt\n }\n\n CustomEvent.prototype = window.Event.prototype\n\n window.CustomEvent = CustomEvent\n})()\n","import React, {Component, useEffect} from 'react';\nimport {HashRouter, Route, Switch} from 'react-router-dom';\nimport './scss/style.scss';\nimport Verify from \"./views/pages/login/Verify\";\nimport {useDispatch} from \"react-redux\";\n\nconst loading = (\n
\n
\n
\n)\n\n// Containers\nconst TheLayout = React.lazy(() => import('./containers/TheLayout'));\n\n// Pages\nconst Login = React.lazy(() => import('./views/pages/login/Login'));\nconst VerifyAuth = React.lazy(() => import('./views/pages/login/Verify'));\nconst Logout = React.lazy(() => import('./views/pages/login/Logout'));\nconst Register = React.lazy(() => import('./views/pages/register/Register'));\nconst Page404 = React.lazy(() => import('./views/pages/page404/Page404'));\nconst Page500 = React.lazy(() => import('./views/pages/page500/Page500'));\n\n\nconst App = () => {\n const dispatch = useDispatch()\n\n useEffect(() => {\n const localStoreLang = localStorage.getItem(\"language\")\n if (localStoreLang) dispatch({type: 'set', language: localStoreLang})\n }, [dispatch])\n return (\n \n \n \n } />\n } />\n } />\n } />\n } />\n } />\n } />\n \n \n\n \n );\n}\n\n\nexport default App;\n","// In production, we register a service worker to serve assets from local cache.\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 the \"N+1\" visit to a page, since previously\n// cached resources are updated in the background.\n\n// To learn more about the benefits of this model, read https://goo.gl/KwvDNy.\n// This link also includes instructions on opting out of this behavior.\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);\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://goo.gl/SC7cgQ'\n );\n });\n } else {\n // Is not local host. 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 installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the old content will have been purged and\n // the fresh content will have been added to the cache.\n // It's the perfect time to display a \"New content is\n // available; please refresh.\" message in your web app.\n console.log('New content is available; please refresh.');\n\n // Execute callback\n if (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.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 if (\n response.status === 404 ||\n response.headers.get('content-type').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","export const sygnet = ['160 160', `\n coreui logo\n \n \n \n \n \n \n`]\n","import { sygnet } from './sygnet'\nimport { logo } from './logo'\nimport { logoNegative } from './logo-negative'\n\nimport {\n cibSkype,\n cibFacebook,\n cibTwitter,\n cibLinkedin,\n cibFlickr,\n cibTumblr,\n cibXing,\n cibGithub,\n cibStackoverflow,\n cibYoutube,\n cibDribbble,\n cibInstagram,\n cibPinterest,\n cibVk,\n cibYahoo,\n cibBehance,\n cibReddit,\n cibVimeo,\n cibCcMastercard,\n cibCcVisa,\n cibStripe,\n cibPaypal,\n cibGooglePay,\n cibCcAmex\n} from '@coreui/icons'\nimport {\n cifUs,\n cifBr,\n cifIn,\n cifFr,\n cifEs,\n cifPl\n} from '@coreui/icons'\nimport {\n cilAlignCenter,\n cilAlignLeft,\n cilAlignRight,\n cilApplicationsSettings,\n cilArrowRight,\n cilArrowTop,\n cilAsterisk,\n cilBan,\n cilBasket,\n cilBell,\n cilBold,\n cilBookmark,\n cilCalculator,\n cilCalendar,\n cilCloudDownload,\n cilChartPie,\n cilCheck,\n cilChevronBottom,\n cilChevronLeft,\n cilChevronRight,\n cilChevronTop,\n cilCircle,\n cilCheckCircle,\n cilCode,\n cilCommentSquare,\n cilCreditCard,\n cilCursor,\n cilCursorMove,\n cilDrop,\n cilDollar,\n cilEnvelopeClosed,\n cilEnvelopeLetter,\n cilEnvelopeOpen,\n cilEuro,\n cilGlobeAlt,\n cilGrid,\n cilFile,\n cilFullscreen,\n cilFullscreenExit,\n cilGraph,\n cilHome,\n cilInbox,\n cilIndentDecrease,\n cilIndentIncrease,\n cilInputPower,\n cilItalic,\n cilJustifyCenter,\n cilJustifyLeft,\n cilLaptop,\n cilLayers,\n cilLightbulb,\n cilList,\n cilListNumbered,\n cilListRich,\n cilLocationPin,\n cilLockLocked,\n cilMagnifyingGlass,\n cilMap,\n cilMoon,\n cilNotes,\n cilOptions,\n cilPaperclip,\n cilPaperPlane,\n cilPencil,\n cilPeople,\n cilPhone,\n cilPrint,\n cilPuzzle,\n cilSave,\n cilScrubber,\n cilSettings,\n cilShare,\n cilShareAll,\n cilShareBoxed,\n cilShieldAlt,\n cilSpeech,\n cilSpeedometer,\n cilSpreadsheet,\n cilStar,\n cilSun,\n cilTags,\n cilTask,\n cilTrash,\n cilUnderline,\n cilUser,\n cilUserFemale,\n cilUserFollow,\n cilUserUnfollow,\n cilX,\n cilXCircle,\n cilWarning\n} from '@coreui/icons'\n\nexport const icons = Object.assign({}, {\n sygnet,\n logo,\n logoNegative\n}, {\n cilAlignCenter,\n cilAlignLeft,\n cilAlignRight,\n cilApplicationsSettings,\n cilArrowRight,\n cilArrowTop,\n cilAsterisk,\n cilBan,\n cilBasket,\n cilBell,\n cilBold,\n cilBookmark,\n cilCalculator,\n cilCalendar,\n cilCloudDownload,\n cilChartPie,\n cilCheck,\n cilChevronBottom,\n cilChevronLeft,\n cilChevronRight,\n cilChevronTop,\n cilCircle,\n cilCheckCircle,\n cilCode,\n cilCommentSquare,\n cilCreditCard,\n cilCursor,\n cilCursorMove,\n cilDrop,\n cilDollar,\n cilEnvelopeClosed,\n cilEnvelopeLetter,\n cilEnvelopeOpen,\n cilEuro,\n cilGlobeAlt,\n cilGrid,\n cilFile,\n cilFullscreen,\n cilFullscreenExit,\n cilGraph,\n cilHome,\n cilInbox,\n cilIndentDecrease,\n cilIndentIncrease,\n cilInputPower,\n cilItalic,\n cilJustifyCenter,\n cilJustifyLeft,\n cilLaptop,\n cilLayers,\n cilLightbulb,\n cilList,\n cilListNumbered,\n cilListRich,\n cilLocationPin,\n cilLockLocked,\n cilMagnifyingGlass,\n cilMap,\n cilMoon,\n cilNotes,\n cilOptions,\n cilPaperclip,\n cilPaperPlane,\n cilPencil,\n cilPeople,\n cilPhone,\n cilPrint,\n cilPuzzle,\n cilSave,\n cilScrubber,\n cilSettings,\n cilShare,\n cilShareAll,\n cilShareBoxed,\n cilShieldAlt,\n cilSpeech,\n cilSpeedometer,\n cilSpreadsheet,\n cilStar,\n cilSun,\n cilTags,\n cilTask,\n cilTrash,\n cilUnderline,\n cilUser,\n cilUserFemale,\n cilUserFollow,\n cilUserUnfollow,\n cilX,\n cilXCircle,\n cilWarning\n}, {\n cifUs,\n cifBr,\n cifIn,\n cifFr,\n cifEs,\n cifPl\n}, {\n cibSkype,\n cibFacebook,\n cibTwitter,\n cibLinkedin,\n cibFlickr,\n cibTumblr,\n cibXing,\n cibGithub,\n cibStackoverflow,\n cibYoutube,\n cibDribbble,\n cibInstagram,\n cibPinterest,\n cibVk,\n cibYahoo,\n cibBehance,\n cibReddit,\n cibVimeo,\n cibCcMastercard,\n cibCcVisa,\n cibStripe,\n cibPaypal,\n cibGooglePay,\n cibCcAmex\n})\n","export const logo = ['608 134', `\n coreui react pro\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`]\n","export const logoNegative = ['608 134', `\n coreui react pro logo\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 \n`]\n","import { createStore } from 'redux'\n\nconst initialState = {\n sidebarShow: 'responsive',\n language: 'en'\n}\n\nconst changeState = (state = initialState, { type, ...rest }) => {\n switch (type) {\n case 'set':\n return {...state, ...rest }\n default:\n return state\n }\n}\n\nconst store = createStore(changeState)\nexport default store\n","import 'react-app-polyfill/ie11'; // For IE 11 support\nimport 'react-app-polyfill/stable';\nimport './polyfill'\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nimport { icons } from './assets/icons'\n\nimport { Provider } from 'react-redux'\nimport store from './store'\n\nReact.icons = icons\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: http://bit.ly/CRA-PWA\nserviceWorker.unregister();\n","import jwtDecode from \"jwt-decode\";\n\nconst getToken = () => {\n return localStorage.getItem(\"token\");\n\n}\n\nexport const getUserUid = () =>{\n let token = getToken();\n if (token == null)\n return \"null\"\n const decoded = jwtDecode(token);\n return decoded.user_id;\n}\n\nexport const isUserLoggedIn = () => {\n let token = getToken();\n return !(token == null || !token);\n // return true \n\n}\n\nexport default getToken;\n\n\n","// For Firebase JavaScript SDK v7.20.0 and later, `measurementId` is an optional field\nimport firebase from \"firebase/app\";\n\nimport \"firebase/auth\";\n\nexport const firebaseConfig = {\n apiKey: \"AIzaSyBWDiuQtctRLOKs_DNQpfoiS6KOkzgFllg\",\n authDomain: \"multinations-project.firebaseapp.com\",\n projectId: \"multinations-project\",\n storageBucket: \"multinations-project.appspot.com\",\n messagingSenderId: \"729076584488\",\n appId: \"1:729076584488:web:0345c408fe73e95546651d\",\n measurementId: \"G-SGBL49J8FV\"\n};\n\nfirebase.initializeApp(firebaseConfig);\n\nexport default firebase;\n\n\n\n"],"sourceRoot":""}