{"version":3,"sources":["p9libs/utils/misc.js","assets/icons/logo.js","uimisc.js","settings.js","polyfill.js","components/auth.js","App.js","components/portal/store_aux.js","serviceWorker.js","assets/icons/sygnet.js","assets/icons/index.js","assets/icons/logo-negative.js","index.js","components/base/srvcomm.js","store.js","components/base/auth.js"],"names":["getNested","obj","path","defaultValue","i","length","undefined","error","setNested","value","overWriteSubtrees","key","objectsEqual","obj1","obj2","excludePaths","b","obj1Paths","getObjPaths","filter","some","excludePath","isSubpath","obj2Paths","a","Array","isArray","every","val","index","arraysEqual","map","x","join","sort","subpath","d","paths","objects","dictPaths","leavesOnly","arguments","push","Object","keys","forEach","newPath","concat","logo","logoLoginPage","redirect","url","window","location","pathname","href","AJAX_HOST","console","log","CustomEvent","event","params","bubbles","cancelable","detail","evt","document","createEvent","initCustomEvent","prototype","Event","Element","matches","msMatchesSelector","webkitMatchesSelector","closest","s","el","this","call","parentElement","parentNode","nodeType","LoginRequiredRoute","_React$Component","_inherits","_super","_createSuper","_classCallCheck","apply","_createClass","Auth","isAuthenticated","_jsx","Route","props","render","Redirect","to","React","Component","loading","className","children","TheLayout","lazy","Login","Register","Page404","Page500","PasswordRecovery","App","_Component","_this","_onLogin","_loadConfiguration","_onChangePortalService","newService","urlPortalService","_getPortalServiceFromUrl","state","setState","_this2","_Fragment","BrowserRouter","Suspense","fallback","_jsxs","Switch","exact","name","_objectSpread","onLogin","makeLogoutRequest","logout","renderMainContent","renderLoading","renderLoaded","portalService","portalServices","onChangePortalService","_this3","SrvComm","sendCommand","respData","requestId","portalServiceCode","stateUpdate","probablePortalService","store","dispatch","type","ACTION_TYPE_CHANGE_PORTAL_SERVICE","portalFeatures","ACTION_TYPE_UPDATE_PORTAL_FEATURES","portalServicesInfo","item","code","urlParts","split","includes","Boolean","hostname","match","icons","assign","sygnet","logoNegative","cilApplicationsSettings","cilSpeedometer","cilSun","cilMoon","cilChartPie","cilTransfer","cilDataTransferUp","cilDataTransferDown","cilChartLine","cilFile","cilCloud","cilBrowser","cilUser","cilLockLocked","cilUserPlus","cilBank","cilInstitution","cilSpreadsheet","cilLoopCircular","cilLayers","cilDollar","cilEuro","cilCash","cilListNumbered","cilBellExclamation","cilWarning","cilList","cilCode","cilGroup","cilScrubber","cilLibrary","cilLifeRing","cilListFilter","cilInfo","cilSettings","cilCalculator","cilBell","AJAX_URL","FORM_DATA_URL","ReactDOM","Provider","getElementById","navigator","serviceWorker","ready","then","registration","unregister","ERROR_NO_PERMISSION","command","formData","onSuccess","onFail","fetchUrl","fetch","response","json","data","catch","refreshPageOnLoginError","Date","now","req","httpRequest","ajaxRequestDefault","respResult","reqData","onComplete","ajaxRequest","reqUrl","debug","toLocaleTimeString","XMLHttpRequest","onreadystatechange","readyState","DONE","status","JSON","parse","responseText","errCode","startsWith","e","open","send","stringify","ACTION_TYPE_UPDATE_SELECTED_ENTITY","ACTION_TYPE_REFRESH_ISSUES","initialState","sidebarShow","asideShow","darkMode","selectedEntity","selectedEntitySeqId","createStore","_ref","rest","_objectWithoutProperties","_excluded","newState","mode","entity","entityCode","userInfo","localStorage","setItem","removeItem","getItem","getUserInfo","setUserInfo","loginData","onResponse","errors","errs","res","onFinish","getPrototypeOf"],"mappings":"yLAAO,SAASA,EAAUC,EAAKC,EAAMC,GACnC,IACE,IAAK,IAAIC,EAAI,EAAGA,EAAIF,EAAKG,OAAQD,IAAK,CAGpC,QAAYE,KADZL,EAAMA,EADMC,EAAKE,KAEM,OAAOD,CAChC,CACA,YAAYG,IAARL,EAA0BE,EACvBF,CACT,CAAE,MAAOM,GACP,OAAOJ,CACT,CACF,CAGO,SAASK,EAAUP,EAAKC,EAAMO,EAAOC,QAChBJ,IAAtBI,IAAiCA,GAAoB,GAEzD,IAAK,IAAIN,EAAI,EAAGA,EAAIF,EAAKG,OAAQD,IAAK,CACpC,IAAMO,EAAMT,EAAKE,GAEjB,GAAIA,GAAKF,EAAKG,OAAS,EAErB,OADAJ,EAAIU,GAAOF,GACJ,EAGT,QAAiBH,IAAbL,EAA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,GAAU1Q,QAAgBsC,OAAOiP,eAAeb,KAAcpO,OAAO0B,UAKnG,KAACsB,CAAA,CAlIc,E","file":"static/js/main.21897bd1.chunk.js","sourcesContent":["export function getNested(obj, path, defaultValue) {\n try {\n for (let i = 0; i < path.length; i++) {\n const key = path[i];\n obj = obj[key];\n if (obj === undefined) return defaultValue;\n }\n if (obj === undefined) return defaultValue;\n return obj;\n } catch (error) {\n return defaultValue;\n }\n}\n\n\nexport function setNested(obj, path, value, overWriteSubtrees) {\n if (overWriteSubtrees === undefined) overWriteSubtrees = true;\n\n for (let i = 0; i < path.length; i++) {\n const key = path[i];\n\n if (i == path.length - 1) {\n obj[key] = value;\n return true;\n }\n\n if (obj[key] === undefined) {\n obj[key] = {};\n obj = obj[key];\n continue;\n }\n\n if ((typeof(obj[key]) == 'object') && (obj[key] !== null)) {\n obj = obj[key];\n continue;\n }\n\n if (overWriteSubtrees) {\n obj[key] = {};\n obj = obj[key];\n continue;\n }\n\n return false;\n }\n}\n\n\nexport function capitalize(s) {\n if (typeof(s) !== 'string') return s;\n if (s.length === 0) return '';\n return s[0].toUpperCase() + s.slice(1);\n}\n\n\nexport function makeRange(start, end) {\n const arrayLength = end - start + 1;\n if (arrayLength <= 0) {\n return [];\n }\n return (new Array(arrayLength)).fill(undefined).map((_, i) => i + start);\n}\n\n\nexport function objectsEqual(obj1, obj2, excludePaths) {\n if (!excludePaths) excludePaths = [];\n const obj1Paths = getObjPaths(obj1)[0].filter(path => {\n return !excludePaths.some(excludePath => {\n return isSubpath(path, excludePath);\n });\n });\n const obj2Paths = getObjPaths(obj2)[0].filter(path => {\n return !excludePaths.some(excludePath => {\n return isSubpath(path, excludePath);\n });\n });\n\n const pathsEqual = (a, b) => {\n const aStr = a.map(x => x.join('|')).sort();\n const bStr = b.map(x => x.join('|')).sort();\n return arraysEqual(aStr, bStr);\n };\n\n if (!pathsEqual(obj1Paths, obj2Paths)) {\n return false;\n }\n\n return obj1Paths.every(path => {\n return getNested(obj1, path, null) === getNested(obj2, path, null);\n });\n}\n\n\nexport function isSubpath(subpath, path) {\n for (let i = 0; i < path.length; i++) {\n if (subpath[i] !== path[i]) return false;\n }\n return true;\n}\n\n\nexport function arraysEqual(a, b) {\n return Array.isArray(a) && Array.isArray(b) &&\n a.length === b.length &&\n a.every((val, index) => val === b[index]);\n}\n\n\nexport function getObjPaths(d, leavesOnly=true) {\n const paths = [];\n const objects = [];\n\n function dictPaths(d, leavesOnly=true, path=[]) {\n const obj = getNested(d, path, null);\n\n if (leavesOnly) {\n if ((typeof(obj) !== 'object') || (obj === null)) {\n paths.push(path);\n objects.push(obj);\n return;\n }\n } else {\n if (path.length > 0) {\n paths.push(path);\n objects.push(obj);\n }\n if (typeof(obj) !== 'object') return;\n }\n\n Object.keys(obj).forEach(key => {\n const newPath = path.concat([key]);\n dictPaths(d, leavesOnly, newPath);\n });\n }\n\n dictPaths(d, leavesOnly, []);\n\n return [paths, objects];\n}\n\nexport function uniqueArray(arrArg) {\n return arrArg.filter(function(elem, pos,arr) {\n return arr.indexOf(elem) == pos;\n });\n}\n","// export const logo = ['690 134', `\n//