{"version":3,"sources":["actions/types.js","components/Layout/Menu.js","components/Layout/Images.js","constants.js","assets/images/logo/teksan-logo-light.png","assets/images/logo/teksan-logo-dark.png","assets/images/teksan/footer_map.png","assets/images/teksan/footer_map2.png","assets/images/teksan/map2.png","assets/images/teksan/google-en.svg","assets/images/teksan/apple-en.svg","assets/images/teksan/teksan-store-qr.svg","assets/images/teksan/icon_facebook.png","assets/images/teksan/icon_youtube.png","assets/images/teksan/icon_linkedin.png","assets/images/teksan/icon_twitter.png","assets/images/teksan/icon_instagram.png","components/Layout/Topbar.js","components/Layout/index.js","reducers/auth.js","reducers/data.js","reducers/index.js","store.js","routes.js","App.js","serviceWorker.js","index.js"],"names":["SIGNUP_SUCCESS","SIGNUP_FAIL","LOGIN_SUCCESS","LOGIN_FAIL","VERIFY_EMAIL_SUCCESS","VERIFY_EMAIL_FAIL","PASSWORD_RESET_REQUEST_SUCCESS","PASSWORD_RESET_REQUEST_FAIL","PASSWORD_RESET_CONFIRM_SUCCESS","PASSWORD_RESET_CONFIRM_FAIL","LOGOUT","QUOTE_UPDATE","USER_LOAD_SUCCESS","USER_LOAD_FAIL","APP_SETTINGS_LOAD_SUCCESS","APP_SETTINGS_LOAD_FAIL","APP_SETTINGS_UPDATE_SUCCESS","APP_SETTINGS_UPDATE_FAIL","navLinksGuest","id","title","link","navLinksAuth","navLinksAuthUser","navLinksAuthAdmin","logoLight","require","default","logoDark","map","storeGoogle","storeApple","teksanQr","iconFacebook","iconYoutube","iconLinkedin","iconTwitter","iconInstagram","quoteInitState","totalPrice","note","generator","enclosure","breaker","primary","primaryAccessories","secondary","secondaryAccessories","fuelTank","accessories","otherProducts","generatorOptionsStationary","key","selected","items","generatorOptionsStationaryVoltageLeads","generatorOptionsMobile","connect","state","isAuthenticated","auth","isAdmin","data","user","withRouter","_ref","isMenuOpen","setIsMenuOpen","useState","navLinks","setNavLinks","useEffect","_jsx","React","Fragment","children","_jsxs","Container","Link","to","navLink","className","Footer","lazy","CustomDot","FeatherIcon","icon","Loader","scrollNavigation","document","documentElement","props","body","classList","isTopbarFloat","window","addEventListener","removeEventListener","Suspense","fallback","Topbar","ScrollUpButton","ContainerClassName","style","height","width","TransitionClassName","initialState","token","localStorage","getItem","userId","auth_reducer","arguments","length","undefined","action","type","payload","setItem","authorization","userid","removeItem","refresh","appSettings","quote","data_reducer","combineReducers","persistedState","loadState","serializedState","JSON","parse","err","middleware","thunk","store","createStore","rootReducer","composeWithDevTools","applyMiddleware","subscribe","stringify","saveState","getState","Home","PageError","Login","Logout","Signup","VerifyEmail","ForgotPassword","ResetPassword","AppSettingsDetail","Quote","QuoteSubmit","QuoteList","QuoteDetails","UserList","UserCategoryList","StockList","DataSync","routes","path","component","isWithoutLayout","exact","App","Component","render","Provider","Router","Switch","route","idx","Route","WrappedComponent","Layout","Boolean","location","hostname","match","app","BrowserRouter","ReactDOM","getElementById"],"mappings":"wHAAA,omBACO,MAAMA,EAAiB,iBACjBC,EAAc,cACdC,EAAgB,gBAChBC,EAAa,aACbC,EAAuB,uBACvBC,EAAoB,oBAGpBC,EAAiC,iCACjCC,EAA8B,8BAC9BC,EAAiC,iCACjCC,EAA8B,8BAC9BC,EAAS,SAGTC,EAAe,eACfC,EAAoB,oBACpBC,EAAiB,iBACjBC,EAA4B,4BAC5BC,EAAyB,yBACzBC,EAA8B,8BAC9BC,EAA2B,0B,yCCtBxC,wIAAO,MAAMC,EAAgB,CAC5B,CAAEC,GAAI,EAAGC,MAAO,QAASC,KAAM,UAC/B,CAAEF,GAAI,EAAGC,MAAO,SAAUC,KAAM,YAEpBC,EAAe,CAC3B,CAAEH,GAAI,EAAGC,MAAO,SAAUC,KAAM,YAEpBE,EAAmB,CAC/B,CAAEJ,GAAI,EAAGC,MAAO,iBAAkBC,KAAM,mBACxC,CAAEF,GAAI,EAAGC,MAAO,cAAeC,KAAM,WACrC,CAAEF,GAAI,EAAGC,MAAO,aAAcC,KAAM,YAExBG,EAAoB,CAChC,CAAEL,GAAI,EAAGC,MAAO,i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,cAAA,OAAKS,UAAU,0BAOpB,MAAMsF,WAAYC,YACjBC,SACC,OACCjG,cAACkG,IAAQ,CAAClC,MAAOA,EAAM7D,SACtBH,cAACC,IAAMC,SAAQ,CAAAC,SACdH,cAACmG,IAAM,CAAAhG,SACNH,cAAC0B,WAAQ,CAACC,SAAU3B,cAACe,GAAM,IAAIZ,SAC9BH,cAACoG,IAAM,CAAAjG,SACLuF,EAAOrI,KAAI,CAACgJ,EAAOC,KACnBD,SAAMR,gBACL7F,cAACuG,IAAK,CACLZ,KAAMU,EAAMV,KACZG,MAAOO,EAAMP,MACbF,UAAWS,EAAMT,WACZU,GAGNtG,cAACuG,IAAK,CACLZ,KAAMU,EAAMV,KACZG,OAAK,EACLF,WA7CSY,EA6CaH,EAAMT,UA7CDtE,EA6CY+E,EAAM/E,cA3ChD,cAAcrB,IAAM+F,UAC1BC,SACC,OACCjG,cAACyG,EAAM,CAACnF,cAAeA,EAAcnB,SACpCH,cAACwG,EAAgB,KAGpB,KAqCcF,GA9ChB,IAAoBE,EAAkBlF,CAiD9B,aAOP,EAGc9B,mBAAWuG,IC7DNW,QACW,cAA7BnF,OAAOoF,SAASC,UAEe,UAA7BrF,OAAOoF,SAASC,UAEhBrF,OAAOoF,SAASC,SAASC,MACvB,2DCZN,MAAMC,GACJ9G,cAAC+G,IAAa,CAAA5G,SACZH,cAAC+F,GAAG,MAIRiB,IAASf,OAAOa,GAAK7F,SAASgG,eAAe,Q","file":"static/js/main.026e41cd.chunk.js","sourcesContent":["// Auth\nexport const SIGNUP_SUCCESS = 'SIGNUP_SUCCESS';\nexport const SIGNUP_FAIL = 'SIGNUP_FAIL';\nexport const LOGIN_SUCCESS = 'LOGIN_SUCCESS';\nexport const LOGIN_FAIL = 'LOGIN_FAIL';\nexport const VERIFY_EMAIL_SUCCESS = 'VERIFY_EMAIL_SUCCESS';\nexport const VERIFY_EMAIL_FAIL = 'VERIFY_EMAIL_FAIL';\nexport const VERIFY_USER_SUCCESS = 'VERIFY_USER_SUCCESS';\nexport const VERIFY_USER_FAIL = 'VERIFY_USER_FAIL';\nexport const PASSWORD_RESET_REQUEST_SUCCESS = 'PASSWORD_RESET_REQUEST_SUCCESS';\nexport const PASSWORD_RESET_REQUEST_FAIL = 'PASSWORD_RESET_REQUEST_FAIL';\nexport const PASSWORD_RESET_CONFIRM_SUCCESS = 'PASSWORD_RESET_CONFIRM_SUCCESS';\nexport const PASSWORD_RESET_CONFIRM_FAIL = 'PASSWORD_RESET_CONFIRM_FAIL';\nexport const LOGOUT = 'LOGOUT';\n\n// Data\nexport const QUOTE_UPDATE = 'QUOTE_UPDATE';\nexport const USER_LOAD_SUCCESS = 'USER_LOAD_SUCCESS';\nexport const USER_LOAD_FAIL = 'USER_LOAD_FAIL';\nexport const APP_SETTINGS_LOAD_SUCCESS = 'APP_SETTINGS_LOAD_SUCCESS';\nexport const APP_SETTINGS_LOAD_FAIL = 'APP_SETTINGS_LOAD_FAIL';\nexport const APP_SETTINGS_UPDATE_SUCCESS = 'APP_SETTINGS_UPDATE_SUCCESS';\nexport const APP_SETTINGS_UPDATE_FAIL = 'APP_SETTINGS_UPDATE_FAIL';\n","export const navLinksGuest = [\n\t{ id: 1, title: \"Login\", link: \"/login\" },\n\t{ id: 2, title: \"Signup\", link: \"/signup\" },\n];\nexport const navLinksAuth = [\n\t{ id: 1, title: \"Logout\", link: \"/logout\" },\n];\nexport const navLinksAuthUser = [\n\t{ id: 2, title: \"Generate Quote\", link: \"/generate-quote\" },\n\t{ id: 3, title: \"View Quotes\", link: \"/quotes\" },\n\t{ id: 4, title: \"Stock List\", link: \"/stocks\" },\n];\nexport const navLinksAuthAdmin = [\n\t{ id: 2, title: \"Generate Quote\", link: \"/generate-quote\" },\n\t{ id: 3, title: \"View Quotes\", link: \"/quotes\" },\n\t{ id: 4, title: \"Stock List\", link: \"/stocks\" },\n\t{ id: 5, title: \"Users\", link: \"/admin/users\" },\n\t{ id: 6, title: \"User Categories\", link: \"/admin/user-categories\" },\n\t{ id: 7, title: \"App Settings\", link: \"/admin/app-settings\" },\n\t{ id: 8, title: \"Data Sync\", link: \"/admin/data-sync\" },\n\t{ id: 9, title: \"Data Management\", link: \"/admin/repair\" },\n];","export const logoLight = require('../../assets/images/logo/teksan-logo-light.png').default;\nexport const logoDark = require('../../assets/images/logo/teksan-logo-dark.png').default;\nexport const mapText = require('../../assets/images/teksan/footer_map.png').default;\nexport const mapImage = require('../../assets/images/teksan/footer_map2.png').default;\nexport const map = require('../../assets/images/teksan/map2.png').default;\n\nexport const storeGoogle = require('../../assets/images/teksan/google-en.svg').default;\nexport const storeApple = require('../../assets/images/teksan/apple-en.svg').default;\nexport const teksanQr = require('../../assets/images/teksan/teksan-store-qr.svg').default;\n\nexport const iconFacebook = require('../../assets/images/teksan/icon_facebook.png').default;\nexport const iconYoutube = require('../../assets/images/teksan/icon_youtube.png').default;\nexport const iconLinkedin = require('../../assets/images/teksan/icon_linkedin.png').default;\nexport const iconTwitter = require('../../assets/images/teksan/icon_twitter.png').default;\nexport const iconInstagram = require('../../assets/images/teksan/icon_instagram.png').default;\n","export const quoteInitState = {\n\ttotalPrice: 0,\n\tnote: \"\",\n\n\tgenerator: {},\n\tenclosure: {},\n\tbreaker: {\n\t\tprimary: {},\n\t\tprimaryAccessories: [],\n\t\tsecondary: {},\n\t\tsecondaryAccessories: [],\n\t},\n\tfuelTank: {\n\t\tfuelTank: {},\n\t\taccessories: [],\n\t},\n\totherProducts: [],\n};\n\nexport const generatorOptionsStationary = [\n\t{\n\t\tkey: \"application\",\n\t\ttitle: \"Applications\",\n\t\tselected: \"Emergency Stationary\",\n\t\titems: [\"Emergency Stationary\", \"Mobile / Rental\"],\n\t},\n\t{\n\t\tkey: \"fuelType\",\n\t\ttitle: \"Fuel Types\",\n\t\tselected: \"Diesel\",\n\t\titems: [\"Diesel\", \"Gaseous\"],\n\t},\n\t{\n\t\tkey: \"voltage\",\n\t\ttitle: \"Voltage\",\n\t\tselected: \"208/120V\",\n\t\titems: [\"208/120V\", \"240/120V\", \"480/277V\", \"600/347V\", \"240/120V, 1Ph\"],\n\t},\n\t{\n\t\tkey: \"leads\",\n\t\ttitle: \"Leads\",\n\t\tselected: \"12\",\n\t\titems: [\"12\"],\n\t},\n\t{\n\t\tkey: \"kwRange\",\n\t\ttitle: \"KW Range\",\n\t\tselected: \"1-49\",\n\t\titems: [\"1-49\", \"50-124\", \"125-249\", \"250-449\", \"450-699\", \"700-1099\", \"1100-above\"],\n\t},\n\t{\n\t\tkey: \"certification\",\n\t\ttitle: \"Certification\",\n\t\tselected: \"EPA Certified, UL2200\",\n\t\titems: [\"EPA Certified, UL2200\"],\n\t},\n];\n\nexport const generatorOptionsStationaryVoltageLeads = {\n\t\"208/127V\": [12], \n\t\"240/120V\": [12], \n\t\"480/277V\": [12], \n\t\"600/347V\": [6], \n\t\"240/120V, 1Ph\": [12, 4],\n}\n\n\nexport const generatorOptionsMobile = [\n\t{\n\t\tkey: \"application\",\n\t\ttitle: \"Applications\",\n\t\tselected: \"Mobile / Rental\",\n\t\titems: [\"Emergency Stationary\", \"Mobile / Rental\"],\n\t},\n\t{\n\t\tkey: \"fuelType\",\n\t\ttitle: \"Fuel Types\",\n\t\tselected: \"Diesel\",\n\t\titems: [\"Diesel\"],\n\t},\n\t{\n\t\tkey: \"voltage\",\n\t\ttitle: \"Voltage\",\n\t\tselected: \"Multi Voltage\",\n\t\titems: [\"Multi Voltage\"],\n\t},\n\t{\n\t\tkey: \"leads\",\n\t\ttitle: \"Leads\",\n\t\tselected: \"12\",\n\t\titems: [\"12\"],\n\t},\n\t{\n\t\tkey: \"kwRange\",\n\t\ttitle: \"KW Range\",\n\t\tselected: \"1-99\",\n\t\titems: [\"1-99\", \"100-300\", \"301-700\"],\n\t},\n\t{\n\t\tkey: \"certification\",\n\t\ttitle: \"Certification\",\n\t\tselected: \"EPA Certified, TIER 4 FINAL\",\n\t\titems: [\"EPA Certified, TIER 4 FINAL\"],\n\t},\n];\n","export default __webpack_public_path__ + \"static/media/teksan-logo-light.6721ccce.png\";","export default __webpack_public_path__ + \"static/media/teksan-logo-dark.8c06ca8a.png\";","export default __webpack_public_path__ + \"static/media/footer_map.89ca1344.png\";","export default __webpack_public_path__ + \"static/media/footer_map2.b214ddb1.png\";","export default __webpack_public_path__ + \"static/media/map2.b257ed5d.png\";","export default __webpack_public_path__ + \"static/media/google-en.a71fb026.svg\";","export default __webpack_public_path__ + \"static/media/apple-en.452d5edd.svg\";","export default __webpack_public_path__ + \"static/media/teksan-store-qr.e7157b9d.svg\";","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAACXBIWXMAAA7DAAAOwwHHb6hkAAABsklEQVRYw+2Z23GDMBBFj5kUQAdRB3YqCOmADuIO7BJcAh2EVBBSQZwOKIF0QCq4+UA4jN/CwvChO6NhxgvisFqtJS2SsC2WtJZUajoqJKUdRmaSABZADhh7LRhfBkiAV+AdWAK0ni1tM92vmUhLJNWSstbDa2BjvVx59tLCeik+YqvtSF7zzhT4AJ6wns08e2UpqboiRjcOfVaSNhEwB7YevZoDb8Cj59EqgCTqDI8PZTSTZAjVANGtvXRkgNVAsDv5BN4MDQvw4LGv5IL9Fyj3fqvGBD43yf4T/43yFRKLC3YvsD6B4zO2b1+wPoHvpgA8tPpkiQWHMXtu0sWcTnkljv+yfYAz4Nnh/jnwdcL2guM6ZuyQcIKdArCzxgTulZ+Dhx207fNQnyyRH3mZ4fTC/cc+MyrwvpIzwBUe18ohhgNwAA7AATgAB+BJKQDfC9iMDXKFDFBHwCeXTx7HVkxT59jOJLUFD+ct916Hp84mag6PWV2V0RwomrbgkdvSUtqjADNki23BSLbQsysstl+xotnSFPire/SVoQkDgDV2p9MFxg5ryjRiuqYJ0ZyO8/4AggSLqFyfmj8AAAAASUVORK5CYII=\"","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAACXBIWXMAAA7DAAAOwwHHb6hkAAAB/UlEQVRYw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fzw9DFoaU5ZGKUdB/3FHjT0odX/NkdvD4JbJgOxBXAN+DvQMwW+MzpxSUPSA4QvlubYfR5KutrLXNMxjON3et5X1ZDbDGI8I52gbCaHIIlHgvX8qqhQN+kczsvYzIRgZwIy/MRLmm1OdXRpxcm6xLcMGLSgdFh4dSf9IbWus7ZE+S08nqntbzDUV/9CPguYT/JXhNNAIeg13yLEmNLu8D4GGwwMqtCgmM+BtYYCcz5KIcvAe0PdPVZEWZ5ZxO2ONe6LgIrifRWBCKQAs0Eo6H81mw8SLAvuM4fHmO/SF6zlOokiT2x0hPzOyB3/HWz1IQW4vyxCMa63jAr25px/3tcAintHmOB7mNcwtC1rVujwVjfCid5/wDfgx0jUqEYawAAAABJRU5ErkJggg==\"","import React, { useState, useEffect } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { withRouter } from \"react-router\";\nimport { connect } from \"react-redux\";\nimport { Container, Button } from \"reactstrap\";\n\nimport {navLinksGuest, navLinksAuth} from './Menu';\n\n//Import images\nimport { logoDark } from \"./Images\";\n\n\n\nconst Topbar = ({isAuthenticated, isAdmin}) => {\n\tconst [isMenuOpen, setIsMenuOpen] = useState(false);\n\tconst [navLinks, setNavLinks] = useState(navLinksGuest);\n\n\tuseEffect(() => {\n\t\tif (isAuthenticated) {\n\t\t\t// if(isAdmin) {\n\t\t\t// \tsetNavLinks(navLinksAuthAdmin);\n\t\t\t// }\n\t\t\t// else {\n\t\t\t// \tsetNavLinks(navLinksAuth);\n\t\t\t// }\n\t\t\tsetNavLinks(navLinksAuth);\n\t\t}\n\t\t\n\t},[isAuthenticated, isAdmin]);\n\n\n\treturn (\n\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t