{"version":3,"sources":["webpack:///header_f61149ed4534c2438558.js","webpack:///webpack/bootstrap f61149ed4534c2438558","webpack:///./src/header/header.component.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","42","headerController","$sessionStorage","$location","authService","ctrl","this","app","isHistoryEnabled","logonInfo","security","hasAdminRole","logout","path","login","angular","component","templateUrl","controller","$inject"],"mappings":"CAAS,SAAUA,GCIjB,QAASC,GAAoBC,GAG5B,GAAGC,EAAiBD,GACnB,MAAOC,GAAiBD,GAAUE,OAGnC,IAAIC,GAASF,EAAiBD,IAC7BI,EAAGJ,EACHK,GAAG,EACHH,WAUD,OANAJ,GAAQE,GAAUM,KAAKH,EAAOD,QAASC,EAAQA,EAAOD,QAASH,GAG/DI,EAAOE,GAAI,EAGJF,EAAOD,QAvBf,GAAID,KA4BJF,GAAoBQ,EAAIT,EAGxBC,EAAoBS,EAAIP,EAGxBF,EAAoBU,EAAI,SAASP,EAASQ,EAAMC,GAC3CZ,EAAoBa,EAAEV,EAASQ,IAClCG,OAAOC,eAAeZ,EAASQ,GAC9BK,cAAc,EACdC,YAAY,EACZC,IAAKN,KAMRZ,EAAoBmB,EAAI,SAASf,GAChC,GAAIQ,GAASR,GAAUA,EAAOgB,WAC7B,WAAwB,MAAOhB,GAAgB,SAC/C,WAA8B,MAAOA,GAEtC,OADAJ,GAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASQ,EAAQC,GAAY,MAAOR,QAAOS,UAAUC,eAAejB,KAAKc,EAAQC,IAGzGtB,EAAoByB,EAAI,UAGjBzB,EAAoBA,EAAoB0B,EAAI,MDM/CC,GACA,SAAUvB,EAAQD,EAASH,GAEjC,cEtEA,WAWI,QAAS4B,GAAiBC,EAAiBC,EAAWC,GAClD,GAAIC,GAAOC,IACXD,GAAKE,IAAML,EACXG,EAAKG,iBAAmB,WACpB,MAAON,GAAgBO,WAChBP,EAAgBO,UAAUC,UAC1BR,EAAgBO,UAAUC,SAASC,cAE9CN,EAAKO,OAAS,WACVR,EAAYQ,SACZV,EAAgBO,aAChBN,EAAUU,KAAK,MAEnBR,EAAKS,MAAQ,WACTV,EAAYQ,SACZT,EAAUU,KAAK,WAxBvBE,QACKtC,OAAO,OACPuC,UAAU,mBAEPC,YAAa,sCACbC,WAAYjB,IAGpBA,EAAiBkB,SAAW,kBAAmB,YAAa","file":"header_f61149ed4534c2438558.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"assets/\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 42);\n/******/ })\n/************************************************************************/\n/******/ ({\n\n/***/ 42:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n(function () {\n 'use strict';\n\n angular.module('app').component('headerComponent', {\n templateUrl: 'assets/header/header-component.html',\n controller: headerController\n });\n\n headerController.$inject = ['$sessionStorage', '$location', 'authService'];\n function headerController($sessionStorage, $location, authService) {\n var ctrl = this;\n ctrl.app = $sessionStorage;\n ctrl.isHistoryEnabled = function () {\n return $sessionStorage.logonInfo && $sessionStorage.logonInfo.security && $sessionStorage.logonInfo.security.hasAdminRole;\n };\n ctrl.logout = function () {\n authService.logout();\n $sessionStorage.logonInfo = {};\n $location.path('/');\n };\n ctrl.login = function () {\n authService.logout();\n $location.path('/login');\n };\n }\n})();\n\n/***/ })\n\n/******/ });\n\n\n// WEBPACK FOOTER //\n// header_f61149ed4534c2438558.js"," \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"assets/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 42);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap f61149ed4534c2438558","(function() {\r\n 'use strict';\r\n angular\r\n .module('app')\r\n .component('headerComponent',\r\n {\r\n templateUrl: 'assets/header/header-component.html',\r\n controller: headerController\r\n });\r\n\r\n headerController.$inject = ['$sessionStorage', '$location', 'authService'];\r\n function headerController($sessionStorage, $location, authService) {\r\n var ctrl = this;\r\n ctrl.app = $sessionStorage;\r\n ctrl.isHistoryEnabled = function () {\r\n return $sessionStorage.logonInfo\r\n && $sessionStorage.logonInfo.security\r\n && $sessionStorage.logonInfo.security.hasAdminRole;\r\n };\r\n ctrl.logout = function () {\r\n authService.logout();\r\n $sessionStorage.logonInfo = {};\r\n $location.path('/');\r\n };\r\n ctrl.login = function () {\r\n authService.logout();\r\n $location.path('/login');\r\n }\r\n }\r\n})();\n\n\n// WEBPACK FOOTER //\n// ./src/header/header.component.js"],"sourceRoot":""}