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ery/./src/store/shared-store.js","webpack://wise-gallery/./src/login.js","webpack://wise-gallery/webpack/bootstrap","webpack://wise-gallery/webpack/runtime/chunk loaded","webpack://wise-gallery/webpack/runtime/compat get default export","webpack://wise-gallery/webpack/runtime/define property getters","webpack://wise-gallery/webpack/runtime/global","webpack://wise-gallery/webpack/runtime/hasOwnProperty shorthand","webpack://wise-gallery/webpack/runtime/make namespace object","webpack://wise-gallery/webpack/runtime/node module decorator","webpack://wise-gallery/webpack/runtime/runtimeId","webpack://wise-gallery/webpack/runtime/publicPath","webpack://wise-gallery/webpack/runtime/jsonp chunk loading","webpack://wise-gallery/webpack/startup"],"sourcesContent":["

Kirjaudu sisään

{{ this.$t('login-label-welcome-text', '\"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit...\"') }}

WiseMaster

","import { render } from \"./Login.vue?vue&type=template&id=5c216a1b&lang=pug\"\nimport script from \"./Login.vue?vue&type=script&lang=js\"\nexport * from \"./Login.vue?vue&type=script&lang=js\"\n\nimport \"./Login.vue?vue&type=style&index=0&id=5c216a1b&lang=scss\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import {createStore} from 'vuex'\r\n\r\nexport default createStore({\r\n mutations: {},\r\n actions: {\r\n get(context, config) {\r\n if (!config) {\r\n window.alertify.error(\"get-metodin konfiguraatio puuttuu!\");\r\n return false;\r\n }\r\n\r\n var parameters = config && config.parameters ? window.stringify(config.parameters) : \"\";\r\n var route = window.vm.basePath + config.route + \"?\" + parameters;\r\n\r\n if (!route) {\r\n window.alertify.error(\"Reititys puuttuu!\");\r\n return false;\r\n }\r\n\r\n return window.axios.get(route)\r\n .then(response => {\r\n return response.data;\r\n }).catch(error => {\r\n if(error?.response?.status === 401) {\r\n window.alertify.error(\"Istuntosi on vanhentunut. Ohjataan kirjautumiseen...\", 3);\r\n setTimeout(() => {\r\n window.location = window.vm.basePath;\r\n }, 4000)\r\n }\r\n console.log(error);\r\n throw error;\r\n });\r\n },\r\n post(context, config) {\r\n if (!config) {\r\n window.alertify.error(\"post-metodin konfiguraatio puuttuu!\");\r\n return false;\r\n }\r\n\r\n var route = window.vm.basePath + config.route;\r\n\r\n if (!route) {\r\n window.alertify.error(\"Reititys puuttuu!\");\r\n return false;\r\n }\r\n\r\n return window.axios.post(route, config.parameters)\r\n .then(response => {\r\n return response.data;\r\n }).catch(error => {\r\n if(error?.response?.status === 401) {\r\n window.alertify.error(\"Istuntosi on vanhentunut. Ohjataan kirjautumiseen...\", 3);\r\n setTimeout(() => {\r\n window.location = window.vm.basePath;\r\n }, 4000)\r\n }\r\n console.log(error.response);\r\n if(error?.response?.data?.Message) {\r\n window.alertify.error(\"Tapahtui virhe: \" + error.response.data.Message, 5);\r\n }\r\n console.log(error);\r\n throw error;\r\n });\r\n },\r\n\r\n },\r\n modules: {}\r\n})\r\n","import { createApp } from 'vue'\r\nimport App from './views/Login.vue'\r\nimport store from './store/shared-store'\r\n\r\nimport \"bootstrap/dist/css/bootstrap.min.css\"\r\nimport \"bootstrap\"\r\n\r\nimport dayjs from 'dayjs'\r\nimport 'dayjs/locale/fi';\r\nimport \"alertifyjs/build/css/alertify.min.css\";\r\n\r\nimport qsStringify from 'qs-stringify';\r\nwindow.stringify = qsStringify;\r\n\r\nimport axios from \"axios\";\r\nwindow.axios = axios;\r\n\r\nimport alertify from \"alertifyjs\"\r\nwindow.alertify = alertify;\r\n\r\nimport Lodash from 'lodash'\r\n\r\nimport $t from './plugins/$t';\r\n\r\n\r\nvar customParseFormat = require('dayjs/plugin/customParseFormat')\r\n\r\nvar utc = require('dayjs/plugin/utc')\r\ndayjs.extend(utc)\r\ndayjs.extend(customParseFormat)\r\ndayjs.locale('fi');\r\n\r\nwindow.$dayjs = dayjs;\r\n\r\nimport { library } from '@fortawesome/fontawesome-svg-core'\r\nimport { faUserSecret, faImages, faBars, faClock, faEnvelope, faChartPie, faFileAlt, faCheckCircle, faMap, faWindowClose } from '@fortawesome/free-solid-svg-icons'\r\nimport { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'\r\n\r\nlibrary.add(faUserSecret, faImages, faBars, faClock, faEnvelope, faChartPie, faFileAlt, faCheckCircle, faMap, faWindowClose)\r\n\r\nconst WiseApp = createApp(App).use(store).use($t);\r\n\r\nWiseApp.component('font-awesome-icon', FontAwesomeIcon)\r\nWiseApp.config.globalProperties.$dayjs = dayjs;\r\nWiseApp.config.globalProperties.$_ = Lodash;\r\nWiseApp.config.globalProperties.$vm = window.vm;\r\nWiseApp.config.globalProperties.$alertify = window.alertify;\r\n\r\nWiseApp.mount('#login-app');\r\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = function(result, chunkIds, fn, priority) {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every(function(key) { return __webpack_require__.O[key](chunkIds[j]); })) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = function(module) {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.j = 966;","__webpack_require__.p = \"extranet-app/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t966: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = function(chunkId) { return installedChunks[chunkId] === 0; };\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = function(parentChunkLoadingFunction, data) {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some(function(id) { return installedChunks[id] !== 0; })) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkwise_gallery\"] = self[\"webpackChunkwise_gallery\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504,996], function() { return __webpack_require__(8524); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["key","id","class","_createElementVNode","_ctx","ready","_createElementBlock","_hoisted_1","_hoisted_2","useLabels","_hoisted_3","_createCommentVNode","_hoisted_4","_createTextVNode","_toDisplayString","$t","_hoisted_5","_Fragment","$vm","siteSpecificLogo","src","_hoisted_6","_hoisted_7","display","resetPassword","_createBlock","_component_request_reset_password","resetUserGUID","onClosePasswordReset","_cache","$event","username","onKeypress","_withKeys","$options","focusPassword","placeholder","autofocus","type","password","login","showTwoFactorAuthentication","userInputForTwoFactorAuthentication","onClick","_hoisted_8","href","openResetPassword","_hoisted_9","name","components","RequestResetPassword","data","computed","methods","document","getElementById","focus","$alertify","warning","parameters","initStationId","initContractId","initProductCode","$store","dispatch","route","then","success","redirectAfterLogin","window","location","basePath","redirectAfterLoginMOId","catch","e","msg","response","message","validateErrorMsg","error","console","log","mounted","urlParams","URLSearchParams","search","get","vm","flashMsg","__exports__","render","createStore","mutations","actions","context","config","alertify","stringify","axios","status","setTimeout","post","Message","modules","qsStringify","customParseFormat","require","utc","dayjs","$dayjs","library","add","faUserSecret","faImages","faBars","faClock","faEnvelope","faChartPie","faFileAlt","faCheckCircle","faMap","faWindowClose","WiseApp","createApp","App","use","store","component","FontAwesomeIcon","globalProperties","$_","Lodash","mount","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","loaded","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","i","length","fulfilled","j","Object","keys","every","splice","r","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","g","globalThis","this","Function","obj","prop","prototype","hasOwnProperty","Symbol","toStringTag","value","nmd","paths","children","p","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","forEach","bind","push","__webpack_exports__"],"sourceRoot":""}