{"version":3,"sources":["webpack:///static-appopensalud/js/85.3c02a3330f1b05461a92.js","webpack:///./src/components/views/selfEvaluationTests/TestLoader.vue","webpack:///src/components/views/selfEvaluationTests/TestLoader.vue","webpack:///./src/components/views/selfEvaluationTests/TestLoader.vue?f9cf","webpack:///./src/components/views/selfEvaluationTests/TestLoader.vue?8a89","webpack:///./src/components/views/selfEvaluationTests lazy ^\\.\\/.*$","webpack:///./src/components/views/selfEvaluationTests/TestLoader.vue?dade"],"names":["webpackJsonp","2359","module","__webpack_exports__","__webpack_require__","injectStyle","ssrContext","disposed","normalizeComponent","__vue_styles__","Component","options","__file","3320","data","testComponent","tests","created","this","loadTest","metaInfo","$helpers","buildMetaInfo","appName","appTagLine","methods","testObj","only360Users","$store","getters","commit","$t","$router","push","$set","$route","meta","title","3903","exports","content","i","locals","3904","3905","webpackAsyncContext","req","ids","map","Promise","all","slice","e","then","reject","Error","keys","Object","id","3921","render","_vm","_h","$createElement","_self","_c","tag","staticRenderFns","_withStripped","esExports"],"mappings":"AAAAA,cAAc,KAERC,KACA,SAAUC,EAAQC,EAAqBC,GAE7C,YCJA,SAASC,GAAaC,GAChBC,GACJ,EAAQ,MAHV,yEAAIA,GAAW,EAKXC,EAAqB,EAAQ,GAS7BC,EAAiBJ,EAKjBK,EAAYF,EACd,IACA,KATgC,EAWhCC,EAPoB,KAEU,KAShCC,GAAUC,QAAQC,OAAS,0DAkBZ,UAAAF,EAAiB,SDe1BG,KACA,SAAUX,EAAQC,EAAqBC,GAE7C,YE1DA,MACCU,KADD,WAiFE,OACCC,cAAe,KACfC,QA/EA,GAAH,qBACG,cAAH,uBACG,MAAH,+CACG,cAAH,IAGG,GAAH,aACG,cAAH,gBACG,MAAH,uCACG,MAAH,wBACG,cAAH,IAGG,GAAH,WACG,cAAH,eACG,MAAH,uCAGG,GAAH,sBACG,cAAH,yBACG,MAAH,kDAGG,GAAH,qBACG,cAAH,wBACG,MAAH,iDAGG,GAAH,SACG,cAAH,aACG,MAAH,mC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AGH,IAAI5C,EAAoBgD,IAAIC,KAAK,WAChE,MAAOjD,GAAoB2C,EAAI,MAFxBE,QAAQK,OAAO,GAAIC,OAAM,uBAAyBT,EAAM,OA3IjE,GAAIE,IACH,qBACC,KACA,KAED,yBACC,KACA,KAED,4BACC,KACA,KAED,gCACC,KACA,KAED,kBACC,KACA,KAED,sBACC,KACA,KAED,uBACC,KACA,KAED,2BACC,KACA,KAED,oCACC,KACA,KAED,wCACC,KACA,KAED,2BACC,KACA,KAED,+BACC,KACA,KAED,4BACC,KACA,KAED,gCACC,KACA,KAED,wBACC,KACA,GAED,4BACC,KACA,GAED,0BACC,KACA,KAED,8BACC,KACA,KAED,0BACC,KACA,KAED,8BACC,KACA,KAED,mBACC,KACA,KAED,uBACC,KACA,KAED,sBACC,KACA,KAED,0BACC,KACA,KAED,sBACC,KACA,KAED,0BACC,KACA,KAED,gBACC,KACA,KAED,oBACC,KACA,KAED,gBACC,MAED,oBACC,MAED,kBACC,KACA,KAED,sBACC,KACA,KAED,yBACC,KACA,KAED,6BACC,KACA,KAWFH,GAAoBW,KAAO,WAC1B,MAAOC,QAAOD,KAAKR,IAEpBH,EAAoBa,GAAK,KACzBxD,EAAOqC,QAAUM,GL8NXc,KACA,SAAUzD,EAAQC,EAAqBC,GAE7C,YMrXA,IAAIwD,GAAS,WACX,GAAIC,GAAM3C,KACN4C,EAAKD,EAAIE,cAEb,QADSF,EAAIG,MAAMC,IAAMH,GACfD,EAAI9C,eAAiBmD,IAAK,eAElCC,IACJP,GAAOQ,eAAgB,CACvB,IAAIC,IAAcT,OAAQA,EAAQO,gBAAiBA,EACpC","file":"static-appopensalud/js/85.3c02a3330f1b05461a92.js","sourcesContent":["webpackJsonp([85],{\n\n/***/ 2359:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_TestLoader_vue__ = __webpack_require__(3320);\n/* empty harmony namespace reexport */\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7d7729ac_hasScoped_false_transformToRequire_video_src_poster_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_TestLoader_vue__ = __webpack_require__(3921);\nvar disposed = false\nfunction injectStyle (ssrContext) {\n if (disposed) return\n __webpack_require__(3903)\n}\nvar normalizeComponent = __webpack_require__(6)\n/* script */\n\n\n/* template */\n\n/* template functional */\nvar __vue_template_functional__ = false\n/* styles */\nvar __vue_styles__ = injectStyle\n/* scopeId */\nvar __vue_scopeId__ = null\n/* moduleIdentifier (server only) */\nvar __vue_module_identifier__ = null\nvar Component = normalizeComponent(\n __WEBPACK_IMPORTED_MODULE_0__babel_loader_node_modules_vue_loader_lib_selector_type_script_index_0_TestLoader_vue__[\"a\" /* default */],\n __WEBPACK_IMPORTED_MODULE_1__node_modules_vue_loader_lib_template_compiler_index_id_data_v_7d7729ac_hasScoped_false_transformToRequire_video_src_poster_source_src_img_src_image_xlink_href_buble_transforms_node_modules_vue_loader_lib_selector_type_template_index_0_TestLoader_vue__[\"a\" /* default */],\n __vue_template_functional__,\n __vue_styles__,\n __vue_scopeId__,\n __vue_module_identifier__\n)\nComponent.options.__file = \"src/components/views/selfEvaluationTests/TestLoader.vue\"\n\n/* hot reload */\nif (false) {(function () {\n var hotAPI = require(\"vue-hot-reload-api\")\n hotAPI.install(require(\"vue\"), false)\n if (!hotAPI.compatible) return\n module.hot.accept()\n if (!module.hot.data) {\n hotAPI.createRecord(\"data-v-7d7729ac\", Component.options)\n } else {\n hotAPI.reload(\"data-v-7d7729ac\", Component.options)\n }\n module.hot.dispose(function (data) {\n disposed = true\n })\n})()}\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Component.exports);\n\n\n/***/ }),\n\n/***/ 3320:\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n//\n//\n//\n//\n\n/* harmony default export */ __webpack_exports__[\"a\"] = ({\n\tdata: function data() {\n\t\tvar tests = [{\n\t\t\tid: 'psychosocial-risks',\n\t\t\tcomponentName: 'PsicosocialRisksTest',\n\t\t\ttitle: this.$i18n.t('tests.psychosocial-risks.title'),\n\t\t\tonly360Users: true\n\t\t}, {\n\t\t\tid: 'ryff-scale',\n\t\t\tcomponentName: 'RyffScaleTest',\n\t\t\ttitle: this.$i18n.t('tests.ryff-scale.title'),\n\t\t\talias: 'bienestar-psicologico',\n\t\t\tonly360Users: true\n\t\t}, {\n\t\t\tid: 'findrisk',\n\t\t\tcomponentName: 'FindRiskTest',\n\t\t\ttitle: this.$i18n.t('tests.findrisk.title')\n\t\t}, {\n\t\t\tid: 'nicotine-dependency',\n\t\t\tcomponentName: 'NicotineDependencyTest',\n\t\t\ttitle: this.$i18n.t('tests.nicotine-dependency.title')\n\t\t}, {\n\t\t\tid: 'mediterranean-diet',\n\t\t\tcomponentName: 'MediterraneanDietTest',\n\t\t\ttitle: this.$i18n.t('tests.mediterranean-diet.title')\n\t\t}, {\n\t\t\tid: 'stress',\n\t\t\tcomponentName: 'StressTest',\n\t\t\ttitle: this.$i18n.t('tests.stress.title'),\n\t\t\tonly360Users: true\n\t\t}, {\n\t\t\tid: 'sleep-quality',\n\t\t\tcomponentName: 'SleepQualityTest',\n\t\t\ttitle: this.$i18n.t('tests.sleep-quality.title')\n\t\t}, {\n\t\t\tid: 'anxiety-beck',\n\t\t\tcomponentName: 'AnxietyBeckTest',\n\t\t\ttitle: this.$i18n.t('tests.anxiety-beck.title')\n\t\t}, {\n\t\t\tid: 'physical-activity',\n\t\t\tcomponentName: 'PhysicalActivityTest',\n\t\t\ttitle: this.$i18n.t('tests.physical-activity.title'),\n\t\t\tonly360Users: true\n\t\t}, {\n\t\t\tid: 'cardiovascular-risk',\n\t\t\tcomponentName: 'CardiovascularRiskTest',\n\t\t\ttitle: this.$i18n.t('tests.cardiovascular-risk.title')\n\t\t}, {\n\t\t\tid: 'general-health',\n\t\t\tcomponentName: 'GeneralHealthTest',\n\t\t\ttitle: this.$i18n.t('tests.general-health.title')\n\t\t}, {\n\t\t\tid: 'interpersonal-relationships',\n\t\t\tcomponentName: 'InterpersonalRelationshipsTest',\n\t\t\ttitle: this.$i18n.t('tests.interpersonal-relationships.title'),\n\t\t\tonly360Users: true\n\t\t}, {\n\t\t\tid: 'social-skills',\n\t\t\tcomponentName: 'SocialSkillsTest',\n\t\t\ttitle: this.$i18n.t('tests.social-skills.title')\n\t\t}, {\n\t\t\tid: 'work-environment',\n\t\t\tcomponentName: 'WorkEnvironmentTest',\n\t\t\ttitle: this.$i18n.t('tests.work-environment.title'),\n\t\t\tonly360Users: true\n\t\t}];\n\t\treturn {\n\t\t\ttestComponent: null,\n\t\t\ttests: tests\n\t\t};\n\t},\n\tcreated: function created() {\n\t\tthis.loadTest();\n\t},\n\tmetaInfo: function metaInfo() {\n\t\treturn this.$helpers.buildMetaInfo({ appName: 'opensalud', appTagLine: 'opensalud' });\n\t},\n\n\tmethods: {\n\t\tloadTest: function loadTest() {\n\t\t\tvar _this = this;\n\n\t\t\ttry {\n\t\t\t\tvar testObj = this.tests.find(function (test) {\n\t\t\t\t\treturn test.id === _this.$route.params.testId || test.alias === _this.$route.params.testId;\n\t\t\t\t});\n\t\t\t\tif (testObj.only360Users && !this.$store.getters['session/userHasCompanies']) {\n\t\t\t\t\tthis.$store.commit('setErrorPageMessage', this.$t('errorMessages.only-subscribed-users'));\n\t\t\t\t\tthis.$router.push('/error/unauthorized?returnUrl=' + this.$route.fullPath);\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t\tthis.$set(this.$route.meta.title, 'text', testObj.title);\n\t\t\t\tthis.testComponent = function () {\n\t\t\t\t\treturn __webpack_require__(3905)(\"./\" + testObj.componentName);\n\t\t\t\t};\n\t\t\t} catch (error) {\n\t\t\t\tthis.$router.push('/error/not-found');\n\t\t\t}\n\t\t}\n\t}\n});\n\n/***/ }),\n\n/***/ 3903:\n/***/ (function(module, exports, __webpack_require__) {\n\n// style-loader: Adds some css to the DOM by adding a \n\n\n// WEBPACK FOOTER //\n// src/components/views/selfEvaluationTests/TestLoader.vue","// style-loader: Adds some css to the DOM by adding a