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,E","sources":["webpack://client/./src/App.vue","webpack://client/./src/App.vue?7ccd","webpack://client/./src/views/SurveyView.vue?89c4","webpack://client/./src/components/SurveyHeader.vue?f062","webpack://client/./src/i18n.ts","webpack://client/./src/components/SurveyHeader.vue?5f6d","webpack://client/./src/components/SurveyHeader.vue","webpack://client/./src/components/ComponentsByType/SingleDropdownComponent.vue?7a98","webpack://client/./src/components/ComponentsByType/SingleDropdownComponent.vue?e2a2","webpack://client/./src/components/ComponentsByType/SingleDropdownComponent.vue","webpack://client/./src/components/ComponentsByType/SingleRadioComponent.vue?d14e","webpack://client/./src/components/ComponentsByType/SingleRadioComponent.vue?8c87","webpack://client/./src/components/ComponentsByType/SingleRadioComponent.vue","webpack://client/./src/components/ComponentsByType/SmileyComponent.vue?128c","webpack://client/./src/components/ComponentsByType/SmileyComponent.vue?da8d","webpack://client/./src/components/ComponentsByType/SmileyComponent.vue","webpack://client/./src/components/ComponentsByType/TextMultiComponent.vue?93d0","webpack://client/./src/components/ComponentsByType/TextMultiComponent.vue?4136","webpack://client/./src/components/ComponentsByType/TextMultiComponent.vue","webpack://client/./src/components/ComponentsByType/TextSingleComponent.vue?2145","webpack://client/./src/components/ComponentsByType/TextSingleComponent.vue?1cd8","webpack://client/./src/components/ComponentsByType/TextSingleComponent.vue","webpack://client/./src/components/ComponentsByType/MultiCheckboxComponent.vue?e2ef","webpack://client/./src/components/ComponentsByType/MultiCheckboxComponent.vue?de73","webpack://client/./src/components/ComponentsByType/MultiCheckboxComponent.vue","webpack://client/./src/components/ComponentsByType/MultiLimitedComponent.vue?117d","webpack://client/./src/components/ComponentsByType/MultiLimitedComponent.vue?7242","webpack://client/./src/components/ComponentsByType/MultiLimitedComponent.vue","webpack://client/./src/components/ComponentsByType/NpsComponent.vue?02b2","webpack://client/./src/components/ComponentsByType/NpsComponent.vue?a547","webpack://client/./src/components/ComponentsByType/NpsComponent.vue","webpack://client/./src/components/ComponentsByType/ScoreComponent.vue?d209","webpack://client/./src/components/ComponentsByType/ScoreComponent.vue?3253","webpack://client/./src/components/ComponentsByType/ScoreComponent.vue","webpack://client/./src/store/index.ts","webpack://client/./src/views/SurveyView.vue?6b13","webpack://client/./src/views/SurveyView.vue","webpack://client/./src/views/ThankYouView.vue?02d5","webpack://client/./src/components/SurveyAnswer.vue?b911","webpack://client/./src/components/AnswerForSingleQuestion.vue?a67a","webpack://client/./src/components/AnswerForSingleQuestion.vue?5722","webpack://client/./src/components/AnswerForSingleQuestion.vue","webpack://client/./src/components/SurveyAnswer.vue?8d76","webpack://client/./src/components/SurveyAnswer.vue","webpack://client/./src/views/ThankYouView.vue?0cb2","webpack://client/./src/views/ThankYouView.vue","webpack://client/./src/router/index.ts","webpack://client/./src/main.ts","webpack://client/./src/locales/ lazy ^\\.\\/.*\\.json$ chunkName: lang-[request] namespace object","webpack://client/webpack/bootstrap","webpack://client/webpack/runtime/chunk loaded","webpack://client/webpack/runtime/compat get default export","webpack://client/webpack/runtime/create fake namespace object","webpack://client/webpack/runtime/define property getters","webpack://client/webpack/runtime/ensure chunk","webpack://client/webpack/runtime/get javascript chunk filename","webpack://client/webpack/runtime/get mini-css chunk filename","webpack://client/webpack/runtime/global","webpack://client/webpack/runtime/hasOwnProperty shorthand","webpack://client/webpack/runtime/load script","webpack://client/webpack/runtime/make namespace object","webpack://client/webpack/runtime/node module decorator","webpack://client/webpack/runtime/publicPath","webpack://client/webpack/runtime/jsonp chunk loading","webpack://client/webpack/startup"],"sourcesContent":["\n\t\n\n\n\n","import { render } from \"./App.vue?vue&type=template&id=6fafeab3\"\nconst script = {}\n\nimport \"./App.vue?vue&type=style&index=0&id=6fafeab3&lang=scss\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, resolveComponent as _resolveComponent, vShow as _vShow, createVNode as _createVNode, withDirectives as _withDirectives, createBlock as _createBlock, createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, normalizeStyle as _normalizeStyle, withCtx as _withCtx, resolveDynamicComponent as _resolveDynamicComponent, Transition as _Transition, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-79b5b8ba\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = {\n key: 0,\n class: \"test-answer\"\n}\nconst _hoisted_3 = { key: 2 }\nconst _hoisted_4 = { class: \"invalid-page-title\" }\nconst _hoisted_5 = { class: \"invalid-page-text\" }\nconst _hoisted_6 = { class: \"question-info\" }\nconst _hoisted_7 = [\"id\"]\nconst _hoisted_8 = {\n key: 0,\n class: \"required text-muted\"\n}\nconst _hoisted_9 = {\n key: 0,\n style: {\"white-space\":\"pre-wrap\"}\n}\nconst _hoisted_10 = { key: 1 }\nconst _hoisted_11 = {\n key: 0,\n class: \"question-content mt-3\"\n}\nconst _hoisted_12 = { key: 1 }\nconst _hoisted_13 = [\"for\"]\nconst _hoisted_14 = { class: \"buttons my-4\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_SurveyHeader = _resolveComponent(\"SurveyHeader\")!\n const _component_HakoSpinner = _resolveComponent(\"HakoSpinner\")!\n const _component_HakoConvertHyperlinks = _resolveComponent(\"HakoConvertHyperlinks\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n const _component_HakoContentBlock = _resolveComponent(\"HakoContentBlock\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.cIsTestAnswer)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, _toDisplayString(_ctx.$t(\"thisIsTestAnswer\")), 1))\n : _createCommentVNode(\"\", true),\n _withDirectives(_createVNode(_component_SurveyHeader, {\n title: _ctx.surveyName(_ctx.survey),\n languages: _ctx.survey?.languages,\n langFromUrl: _ctx.langFromUrl,\n pageIndicatorColor: _ctx.cPageIndicatorColor,\n currentPage: _ctx.currentPage,\n pageAmount: _ctx.cPageAmount,\n surveyId: _ctx.survey?.id,\n altText: \n\t\t\t\t_ctx.survey && _ctx.getTextInCurrLang(_ctx.survey.translations, 'logoAlt')\n\t\t\t\t\t? _ctx.getTextInCurrLang(_ctx.survey.translations, 'logoAlt')\n\t\t\t\t\t: 'Logo'\n\t\t\t\n }, null, 8, [\"title\", \"languages\", \"langFromUrl\", \"pageIndicatorColor\", \"currentPage\", \"pageAmount\", \"surveyId\", \"altText\"]), [\n [_vShow, _ctx.survey]\n ]),\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_HakoSpinner, { key: 1 }))\n : (_ctx.invalidCode)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n _createElementVNode(\"div\", _hoisted_4, _toDisplayString(_ctx.$t(\"surveyNotFoundTitle\")), 1),\n _createElementVNode(\"div\", _hoisted_5, _toDisplayString(_ctx.$t(\"surveyNotFoundText\")), 1)\n ]))\n : (_openBlock(true), _createElementBlock(_Fragment, { key: 3 }, _renderList(_ctx.cPages, (page, index) => {\n return (_openBlock(), _createBlock(_Transition, {\n key: page.id,\n name: _ctx.slideDirClass,\n mode: \"out-in\"\n }, {\n default: _withCtx(() => [\n _withDirectives(_createElementVNode(\"div\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(page.questions!, (question) => {\n return (_openBlock(), _createBlock(_Transition, {\n key: question.id,\n name: \"next-page-fade\"\n }, {\n default: _withCtx(() => [\n _withDirectives(_createVNode(_component_HakoContentBlock, {\n noHeader: true,\n class: \"mt-3\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"div\", {\n class: \"question-title\",\n id: 'question' + question.id,\n style: _normalizeStyle(\n\t\t\t\t\t\t\t\t\t\t\t\tquestion.type?.technicalName == 'textBlock'\n\t\t\t\t\t\t\t\t\t\t\t\t\t? 'font-size: x-large'\n\t\t\t\t\t\t\t\t\t\t\t\t\t: 'font-size: larger'\n\t\t\t\t\t\t\t\t\t\t\t)\n }, [\n _createTextVNode(_toDisplayString(_ctx.getTextInCurrLang(question.translations, \"question\")) + \" \", 1),\n (question.isRequired)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_8, _toDisplayString(_ctx.$t(\"required\")), 1))\n : _createCommentVNode(\"\", true)\n ], 12, _hoisted_7),\n (_ctx.getTextInCurrLang(question.translations, 'description'))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode(_component_HakoConvertHyperlinks, null, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", null, _toDisplayString(_ctx.getTextInCurrLang(question.translations, \"description\")), 1)\n ]),\n _: 2\n }, 1024)\n ]))\n : _createCommentVNode(\"\", true),\n (\n\t\t\t\t\t\t\t\t\t\t\t\tquestion.type?.technicalName == 'multiLimited' &&\n\t\t\t\t\t\t\t\t\t\t\t\tquestion.maxOptionPicks\n\t\t\t\t\t\t\t\t\t\t\t)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, _toDisplayString(_ctx.$t(\"maxOptionPicks\") + \": \" + question.maxOptionPicks), 1))\n : _createCommentVNode(\"\", true)\n ]),\n (_ctx.isAnswerType(question.type))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_11, [\n (_openBlock(), _createBlock(_resolveDynamicComponent(_ctx.getComponentName(question.typeId)), {\n questionData: question,\n lang: _ctx.$i18n.locale,\n activations: \n\t\t\t\t\t\t\t\t\t\t\t\t_ctx.activations.filter(\n\t\t\t\t\t\t\t\t\t\t\t\t\t(x) =>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tquestion.options?.some((o) => o.id == x.optionId) ||\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tquestion.id == x.activatingQuestionId\n\t\t\t\t\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t\t\t\t\t\t,\n answerRow: \n\t\t\t\t\t\t\t\t\t\t\t\t_ctx.answerDto?.answerRows?.find((x) => x.questionId == question.id)\n\t\t\t\t\t\t\t\t\t\t\t,\n onActivatedActivations: ($event: any) => (\n\t\t\t\t\t\t\t\t\t\t\t\t_ctx.updateActivatedActivations($event, question.id!)\n\t\t\t\t\t\t\t\t\t\t\t),\n onSave: ($event: any) => (_ctx.saveAnswerRow(question, $event))\n }, null, 40, [\"questionData\", \"lang\", \"activations\", \"answerRow\", \"onActivatedActivations\", \"onSave\"]))\n ]))\n : _createCommentVNode(\"\", true),\n (question.asksComments)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_12, [\n _createElementVNode(\"label\", {\n for: 'comments' + question.id\n }, _toDisplayString(_ctx.$t(\"comments\")) + \":\", 9, _hoisted_13),\n _createVNode(_component_HakoTextArea, {\n id: 'comments' + question.id,\n modelValue: _ctx.answerDto!.answerRows!.find((x) => x.questionId == question.id)!.commentText,\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.answerDto!.answerRows!.find((x) => x.questionId == question.id)!.commentText) = $event),\n onChange: ($event: any) => (_ctx.saveComment(question.id!))\n }, null, 8, [\"id\", \"modelValue\", \"onUpdate:modelValue\", \"onChange\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 2\n }, 1536), [\n [_vShow, _ctx.checkIfQuestionActivated(question.id!)]\n ])\n ]),\n _: 2\n }, 1024))\n }), 128)),\n _createElementVNode(\"div\", _hoisted_14, [\n (index > 0)\n ? (_openBlock(), _createBlock(_component_HakoButton, {\n key: 0,\n class: \"previous-button\",\n theme: \"secondary\",\n onClick: ($event: any) => (_ctx.previousPage(index))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"previousPage\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : _createCommentVNode(\"\", true),\n (index + 1 < _ctx.cPages.length)\n ? (_openBlock(), _createBlock(_component_HakoButton, {\n key: 1,\n class: \"next-button\",\n theme: \"secondary\",\n onClick: ($event: any) => (_ctx.nextPage(index))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"nextPage\")), 1)\n ]),\n _: 2\n }, 1032, [\"onClick\"]))\n : (_openBlock(), _createBlock(_component_HakoButton, {\n key: 2,\n theme: \"success\",\n class: \"next-button\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.finished()))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"send\")), 1)\n ]),\n _: 1\n }))\n ])\n ], 512), [\n [_vShow, _ctx.showPage(page)]\n ])\n ]),\n _: 2\n }, 1032, [\"name\"]))\n }), 128))\n ]))\n}","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createVNode as _createVNode, renderList as _renderList, Fragment as _Fragment, normalizeStyle as _normalizeStyle, withCtx as _withCtx, createBlock as _createBlock, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-0f5c0804\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"row\" }\nconst _hoisted_2 = { class: \"col-xs-12 col-sm-8 col-md-9 col-lg-10\" }\nconst _hoisted_3 = { class: \"d-flex\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"mb-2 logo-container\"\n}\nconst _hoisted_5 = [\"src\", \"alt\"]\nconst _hoisted_6 = { class: \"title\" }\nconst _hoisted_7 = { class: \"col-xs-12 col-sm-4 col-md-3 col-lg-2 order-first order-sm-last\" }\nconst _hoisted_8 = { class: \"lang-select-and-page\" }\nconst _hoisted_9 = {\n key: 0,\n class: \"lang-select mb-3\"\n}\nconst _hoisted_10 = {\n key: 1,\n class: \"page-indicator\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoMultiselect = _resolveComponent(\"HakoMultiselect\")!\n const _component_HakoContentBlock = _resolveComponent(\"HakoContentBlock\")!\n\n return (_openBlock(), _createBlock(_component_HakoContentBlock, {\n \"no-header\": true,\n class: \"mb-3\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, [\n (_ctx.surveyId)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"img\", {\n class: \"survey-logo\",\n src: `${_ctx.cBaseUrl}/Survey/Logo/${_ctx.selectedLanguage!}/${_ctx.surveyId}`,\n alt: _ctx.altText,\n onError: _cache[0] || (_cache[0] = ($event: any) => (_ctx.hideLogo = true))\n }, null, 40, _hoisted_5)\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _createElementVNode(\"div\", _hoisted_6, _toDisplayString(_ctx.title), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_7, [\n _createElementVNode(\"div\", _hoisted_8, [\n (_ctx.cLanguages && _ctx.cLanguages.length > 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_9, [\n _createVNode(_component_HakoMultiselect, {\n options: _ctx.cLanguages,\n \"disallow-remove\": true,\n modelValue: _ctx.selectedLanguage,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.selectedLanguage) = $event)),\n \"use-avatar\": false,\n placeholder: \"\"\n }, null, 8, [\"options\", \"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.pageAmount > 1)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_10, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.pageAmount, (index) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: index }, [\n (index == _ctx.currentPage)\n ? (_openBlock(), _createElementBlock(\"span\", {\n key: 0,\n style: _normalizeStyle(\n\t\t\t\t\t\t\t\t\t'background-color:' +\n\t\t\t\t\t\t\t\t\t_ctx.pageIndicatorColor +\n\t\t\t\t\t\t\t\t\t';' +\n\t\t\t\t\t\t\t\t\t'border-color:' +\n\t\t\t\t\t\t\t\t\t_ctx.pageIndicatorColor +\n\t\t\t\t\t\t\t\t\t';'\n\t\t\t\t\t\t\t\t),\n class: \"dot\"\n }, \"Â \", 4))\n : (_openBlock(), _createElementBlock(\"span\", {\n key: 1,\n style: _normalizeStyle('border-color:' + _ctx.pageIndicatorColor + ';'),\n class: \"dot\"\n }, \" Â \", 4))\n ], 64))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ])\n ]),\n _: 1\n }))\n}","import { createI18n } from \"vue-i18n\";\nimport axios from \"axios\";\nimport { config } from \"@hakosalo/hakolib\";\n\nconst loadedLanguages = [] as string[];\n\nconst i18n = createI18n({\n\tlocale: process.env.VUE_APP_I18N_LOCALE || \"fi\",\n\tfallbackLocale: process.env.VUE_APP_I18N_FALLBACK_LOCALE || \"fi\",\n\tmessages: {},\n});\n\nfunction setI18nLanguage(lang: \"fi\" | \"sv\" | \"en\") {\n\ti18n.global.locale = lang;\n\taxios.defaults.headers.common[\"Accept-Language\"] = lang;\n\tdocument.querySelector(\"html\")?.setAttribute(\"lang\", lang);\n\treturn lang;\n}\n\nconst setLanguageAsync = async (code: \"fi\" | \"sv\" | \"en\") => {\n\treturn import(/* webpackChunkName: \"lang-[request]\" */ `@/locales/${code}.json`).then(\n\t\t(messages) => {\n\t\t\ti18n.global.setLocaleMessage(code, messages.default);\n\t\t\tloadedLanguages.push(code);\n\t\t\tconfig.language = code;\n\t\t\treturn setI18nLanguage(code);\n\t\t}\n\t);\n};\n\nexport { i18n, setLanguageAsync };\n","\nimport { setLanguageAsync } from \"@/i18n\";\nimport { ISelectOption } from \"@hakosalo/hakolib\";\nimport { computed, defineComponent, PropType, ref, watch } from \"vue\";\nimport axios from \"axios\";\nimport { LanguageDto } from \"../../../crm2/CrmApi/TS/language-dto\";\n\nexport default defineComponent({\n\tprops: {\n\t\ttitle: {\n\t\t\ttype: String as PropType,\n\t\t\tdefault: \"\",\n\t\t},\n\n\t\tlanguages: {\n\t\t\ttype: Array as PropType,\n\t\t\tdefault: () => [],\n\t\t\trequired: false,\n\t\t},\n\n\t\tlangFromUrl: {\n\t\t\ttype: String as PropType<\"fi\" | \"sv\" | \"en\">,\n\t\t\trequired: false,\n\t\t},\n\n\t\tcurrentPage: {\n\t\t\ttype: Number as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tpageAmount: {\n\t\t\ttype: Number as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tpageIndicatorColor: {\n\t\t\ttype: String as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\t// firstPageText: {\n\t\t// \ttype: String as PropType,\n\t\t// \trequired: false,\n\t\t// },\n\n\t\t// ingress: {\n\t\t// \ttype: String as PropType,\n\t\t// \trequired: false,\n\t\t// },\n\n\t\tsurveyId: {\n\t\t\ttype: Number as PropType,\n\t\t\trequired: false,\n\t\t},\n\n\t\taltText: {\n\t\t\ttype: String as PropType,\n\t\t\trequired: false,\n\t\t\tdefault: () => \"\",\n\t\t},\n\t},\n\tsetup(props) {\n\t\tconst selectedLanguage = ref<\"fi\" | \"sv\" | \"en\">(\n\t\t\tprops.langFromUrl ? props.langFromUrl : \"fi\"\n\t\t);\n\n\t\tconst hideLogo = ref(false);\n\n\t\tconst cLanguages = computed(() => {\n\t\t\tif (props.languages.length == 0) return [];\n\n\t\t\treturn props.languages.map(\n\t\t\t\t(lang) =>\n\t\t\t\t\t({\n\t\t\t\t\t\tvalue: lang.code,\n\t\t\t\t\t\ttext: lang.native,\n\t\t\t\t\t} as ISelectOption)\n\t\t\t);\n\t\t});\n\n\t\tconst cBaseUrl = computed(() => {\n\t\t\treturn axios.defaults.baseURL;\n\t\t});\n\n\t\tconst setLanguage = async () => {\n\t\t\thideLogo.value = false;\n\t\t\tawait setLanguageAsync(selectedLanguage.value);\n\t\t};\n\n\t\twatch(\n\t\t\t() => selectedLanguage.value,\n\t\t\t(newValue, oldValue) => {\n\t\t\t\tif (newValue != oldValue) setLanguage();\n\t\t\t},\n\t\t\t{ immediate: true }\n\t\t);\n\n\t\twatch(\n\t\t\t() => props.langFromUrl,\n\t\t\t(newVal, oldVal) => {\n\t\t\t\tif (newVal && newVal != oldVal) selectedLanguage.value = newVal;\n\t\t\t}\n\t\t);\n\n\t\treturn {\n\t\t\tselectedLanguage,\n\t\t\tcLanguages,\n\t\t\tsetLanguage,\n\t\t\tcBaseUrl,\n\t\t\thideLogo,\n\t\t};\n\t},\n});\n","import { render } from \"./SurveyHeader.vue?vue&type=template&id=0f5c0804&scoped=true&ts=true\"\nimport script from \"./SurveyHeader.vue?vue&type=script&lang=ts\"\nexport * from \"./SurveyHeader.vue?vue&type=script&lang=ts\"\n\nimport \"./SurveyHeader.vue?vue&type=style&index=0&id=0f5c0804&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0f5c0804\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-49f32698\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = {\n key: 0,\n class: \"single-select\"\n}\nconst _hoisted_2 = {\n key: 1,\n class: \"mt-3\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoSingleSelect2 = _resolveComponent(\"HakoSingleSelect2\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_ctx.questionData.options && _ctx.questionData.options?.filter((x) => x.isActive).length > 0)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_HakoSingleSelect2, {\n modelValue: _ctx.answer,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.answer) = $event)),\n placeholder: _ctx.$t('select'),\n options: _ctx.questionData.options?.filter((x) => x.isActive),\n \"option-generator\": \n\t\t\t\t(o) => ({\n\t\t\t\t\ttext: o.translations?.find((y) => y.languageCode == _ctx.lang)?.text || 'error'\n\t\t\t\t})\n\t\t\t,\n \"option-comparer\": (o) => (o.id ?? 0).toString()\n }, null, 8, [\"modelValue\", \"placeholder\", \"options\", \"option-generator\", \"option-comparer\"])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.cIsOtherOption)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_2, [\n _createVNode(_component_HakoTextArea, {\n modelValue: _ctx.otherText,\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => ((_ctx.otherText) = $event))\n }, null, 8, [\"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}","\nimport {\n\tSurveyActivationDto,\n\tSurveyAnswerRowDto,\n\tSurveyQuestionDto,\n\t// eslint-disable-next-line @typescript-eslint/no-unused-vars\n\tSurveyQuestionOptionDto,\n} from \"@/dto\";\nimport { defineComponent, PropType } from \"vue\";\nimport { debounce } from \"lodash\";\n\nexport default defineComponent({\n\tprops: {\n\t\tquestionData: {\n\t\t\ttype: Object as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tlang: {\n\t\t\ttype: String as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tactivations: {\n\t\t\ttype: Array as PropType,\n\t\t\tdefault: () => [] as SurveyActivationDto[],\n\t\t},\n\n\t\tanswerRow: {\n\t\t\ttype: Object as PropType,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tanswer: null as SurveyQuestionOptionDto | null,\n\t\t\tallowSaving: false,\n\t\t\totherText: null as string | null,\n\t\t};\n\t},\n\n\tcreated() {\n\t\tthis.emitAnswer = debounce(this.emitAnswer, 200);\n\t\tthis.emitAnswerText = debounce(this.emitAnswerText, 200);\n\t},\n\n\tmounted() {\n\t\tthis.answer = this.answerRow?.optionId\n\t\t\t? this.questionData.options?.find((x) => x.id == this.answerRow!.optionId) ?? null\n\t\t\t: null;\n\t\tthis.otherText = this.answerRow?.optionManualAnswer\n\t\t\t? this.answerRow.optionManualAnswer\n\t\t\t: null;\n\t\tsetTimeout(() => (this.allowSaving = true), 1100);\n\n\t\tif (this.answer?.id) this.updateActivations(this.answer.id);\n\t},\n\n\tcomputed: {\n\t\tcIsOtherOption(): boolean {\n\t\t\treturn !!this.answer?.isOtherOption;\n\t\t},\n\t},\n\n\twatch: {\n\t\tanswer: {\n\t\t\thandler(newVal, oldVal) {\n\t\t\t\tif (newVal?.id != oldVal?.id) {\n\t\t\t\t\tthis.updateActivations(newVal?.id);\n\n\t\t\t\t\tthis.emitAnswer(newVal?.id);\n\n\t\t\t\t\tconst opt = this.questionData.options?.find((x) => x.id == newVal?.id);\n\t\t\t\t\tif (opt && !opt.isOtherOption) this.otherText = null;\n\t\t\t\t}\n\t\t\t},\n\t\t\timmediate: false,\n\t\t},\n\n\t\totherText: {\n\t\t\thandler(newVal, oldVal) {\n\t\t\t\tif (newVal != oldVal) {\n\t\t\t\t\tthis.emitAnswerText(newVal);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n\n\tmethods: {\n\t\tupdateActivations(optionId: number) {\n\t\t\tlet activations = this.activations.filter((x) => x.optionId == optionId);\n\n\t\t\tthis.$emit(\"activatedActivations\", activations);\n\t\t},\n\n\t\temitAnswer(answer: number) {\n\t\t\tif (this.allowSaving) this.$emit(\"save\", { optionId: answer });\n\t\t},\n\n\t\temitAnswerText(text: string | null) {\n\t\t\tif (this.allowSaving)\n\t\t\t\tthis.$emit(\"save\", { optionId: this.answer?.id, optionManualAnswer: text });\n\t\t},\n\t},\n});\n","import { render } from \"./SingleDropdownComponent.vue?vue&type=template&id=49f32698&scoped=true&ts=true\"\nimport script from \"./SingleDropdownComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./SingleDropdownComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./SingleDropdownComponent.vue?vue&type=style&index=0&id=49f32698&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-49f32698\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-2611366a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"single-select-radio ms-3\" }\nconst _hoisted_2 = { key: 0 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoRadio = _resolveComponent(\"HakoRadio\")!\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.questionData.options?.filter((x) => x.isActive), (option) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: option.id\n }, [\n _createVNode(_component_HakoRadio, {\n modelValue: _ctx.answer,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.answer) = $event)),\n value: option.id,\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.userHasAnswered = true))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(option.translations!.find((y) => y.languageCode == _ctx.lang)?.text || \"error\"), 1)\n ]),\n _: 2\n }, 1032, [\"modelValue\", \"value\"]),\n (option.isOtherOption && _ctx.answer && _ctx.answerRow?.optionId == option.id)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_2, [\n _createVNode(_component_HakoTextArea, {\n modelValue: _ctx.otherText,\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => ((_ctx.otherText) = $event)),\n onClick: _cache[3] || (_cache[3] = ($event: any) => (_ctx.userHasAnswered = true))\n }, null, 8, [\"modelValue\"])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ]))\n}","\nimport { SurveyActivationDto, SurveyAnswerRowDto, SurveyQuestionDto } from \"@/dto\";\nimport { defineComponent, PropType } from \"vue\";\nimport { debounce } from \"lodash\";\n\nexport default defineComponent({\n\tprops: {\n\t\tquestionData: {\n\t\t\ttype: Object as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tlang: {\n\t\t\ttype: String as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tactivations: {\n\t\t\ttype: Array as PropType,\n\t\t\tdefault: () => [],\n\t\t},\n\n\t\tanswerRow: {\n\t\t\ttype: Object as PropType,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tanswer: null as number | null,\n\t\t\totherText: null as string | null,\n\t\t\tuserHasAnswered: false,\n\t\t};\n\t},\n\n\tcreated() {\n\t\tthis.emitAnswer = debounce(this.emitAnswer, 200);\n\t\tthis.emitAnswerText = debounce(this.emitAnswerText, 200);\n\t},\n\n\tmounted() {\n\t\tthis.answer = this.answerRow?.optionId ? this.answerRow.optionId : null;\n\n\t\tif (this.answer) this.updateActivations(this.answer);\n\t},\n\n\twatch: {\n\t\tanswer: {\n\t\t\thandler(newVal, oldVal) {\n\t\t\t\tif (newVal != oldVal) {\n\t\t\t\t\tthis.updateActivations(newVal);\n\n\t\t\t\t\tthis.emitAnswer(newVal);\n\n\t\t\t\t\tconst opt = this.questionData.options?.find((x) => x.id == newVal);\n\t\t\t\t\tif (opt && !opt.isOtherOption) this.otherText = null;\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\n\t\totherText: {\n\t\t\thandler(newVal, oldVal) {\n\t\t\t\tif (newVal != oldVal) {\n\t\t\t\t\tthis.emitAnswerText(newVal);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n\n\tmethods: {\n\t\tupdateActivations(optionId: number) {\n\t\t\tlet activations = this.activations.filter((x) => x.optionId == optionId);\n\n\t\t\tthis.$emit(\"activatedActivations\", activations);\n\t\t},\n\n\t\temitAnswer(answer: number) {\n\t\t\tif (this.userHasAnswered) this.$emit(\"save\", { optionId: answer });\n\t\t},\n\n\t\temitAnswerText(text: string | null) {\n\t\t\tif (this.userHasAnswered)\n\t\t\t\tthis.$emit(\"save\", { optionId: this.answer, optionManualAnswer: text });\n\t\t},\n\t},\n});\n","import { render } from \"./SingleRadioComponent.vue?vue&type=template&id=2611366a&scoped=true&ts=true\"\nimport script from \"./SingleRadioComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./SingleRadioComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./SingleRadioComponent.vue?vue&type=style&index=0&id=2611366a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-2611366a\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, createElementVNode as _createElementVNode, vShow as _vShow, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-652abe8a\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"active ms-2\" }\nconst _hoisted_2 = [\"src\", \"alt\"]\nconst _hoisted_3 = { class: \"ms-2\" }\nconst _hoisted_4 = [\"src\", \"alt\", \"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.getSmileys(_ctx.questionData.smileyAmount!), (smiley) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: smiley }, [\n _withDirectives(_createElementVNode(\"span\", _hoisted_1, [\n _createElementVNode(\"img\", {\n src: '/assets/survey/' + smiley + '.png',\n alt: smiley + '',\n class: \"smiley\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t_ctx.selected = null;\n\t\t\t\t\t\t\t_ctx.userHasAnswered = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n }, null, 8, _hoisted_2)\n ], 512), [\n [_vShow, _ctx.selected == smiley]\n ]),\n _withDirectives(_createElementVNode(\"span\", _hoisted_3, [\n _createElementVNode(\"img\", {\n src: '/assets/survey/' + smiley + '.png',\n alt: smiley + '',\n class: \"smiley\",\n onClick: ($event: any) => {\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t_ctx.selected = smiley;\n\t\t\t\t\t\t\t_ctx.userHasAnswered = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n }, null, 8, _hoisted_4)\n ], 512), [\n [_vShow, _ctx.selected != smiley]\n ])\n ], 64))\n }), 128))\n ]))\n}","\nimport { SurveyActivationDto, SurveyAnswerRowDto, SurveyQuestionDto } from \"@/dto\";\nimport { defineComponent, PropType } from \"vue\";\nimport { debounce } from \"lodash\";\n\nexport default defineComponent({\n\tprops: {\n\t\tquestionData: {\n\t\t\ttype: Object as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tactivations: {\n\t\t\ttype: Array as PropType,\n\t\t\tdefault: () => [],\n\t\t},\n\n\t\tanswerRow: {\n\t\t\ttype: Object as PropType,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tselected: null as number | null,\n\t\t\tuserHasAnswered: false,\n\t\t};\n\t},\n\n\tcreated() {\n\t\tthis.emitAnswer = debounce(this.emitAnswer, 200);\n\t},\n\n\tmounted() {\n\t\tthis.selected = this.answerRow?.smileyValue ? this.answerRow.smileyValue : null;\n\n\t\tif (this.selected) this.updateActivations(this.selected);\n\t},\n\n\twatch: {\n\t\tselected: {\n\t\t\thandler(newVal, oldVal) {\n\t\t\t\tif (newVal != oldVal) {\n\t\t\t\t\tthis.updateActivations(newVal);\n\n\t\t\t\t\tthis.emitAnswer(newVal);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n\n\tmethods: {\n\t\tgetSmileys(amount: number) {\n\t\t\tif (amount == 2) return [5, 1];\n\t\t\tif (amount == 3) return [5, 3, 1];\n\t\t\tif (amount == 4) return [5, 4, 2, 1];\n\t\t\tif (amount == 5) return [5, 4, 3, 2, 1];\n\t\t\treturn [];\n\t\t},\n\n\t\tupdateActivations(numericValue: number) {\n\t\t\tlet activations = this.activations.filter((x) => x.numericValue == numericValue);\n\n\t\t\tthis.$emit(\"activatedActivations\", activations);\n\t\t},\n\n\t\temitAnswer(answer: number) {\n\t\t\tif (this.userHasAnswered) this.$emit(\"save\", answer);\n\t\t},\n\t},\n});\n","import { render } from \"./SmileyComponent.vue?vue&type=template&id=652abe8a&scoped=true&ts=true\"\nimport script from \"./SmileyComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./SmileyComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./SmileyComponent.vue?vue&type=style&index=0&id=652abe8a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-652abe8a\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_HakoTextArea, {\n modelValue: _ctx.answer,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.answer) = $event))\n }, null, 8, [\"modelValue\"])\n ]))\n}","\nimport { PropType, defineComponent } from \"vue\";\nimport { debounce } from \"lodash\";\nimport { SurveyAnswerRowDto } from \"@/dto\";\n\nexport default defineComponent({\n\tprops: {\n\t\tanswerRow: {\n\t\t\ttype: Object as PropType,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tanswer: this.answerRow?.answerText ? this.answerRow.answerText : \"\",\n\t\t};\n\t},\n\n\tcreated() {\n\t\tthis.emitAnswer = debounce(this.emitAnswer, 200);\n\t},\n\n\twatch: {\n\t\tanswer: {\n\t\t\thandler(newVal, oldVal) {\n\t\t\t\tif (newVal != oldVal) this.emitAnswer(newVal);\n\t\t\t},\n\t\t\timmediate: false,\n\t\t},\n\t},\n\n\tmethods: {\n\t\temitAnswer(answer: string) {\n\t\t\tthis.$emit(\"save\", answer);\n\t\t},\n\t},\n});\n","import { render } from \"./TextMultiComponent.vue?vue&type=template&id=5abce38d&ts=true\"\nimport script from \"./TextMultiComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./TextMultiComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoInput = _resolveComponent(\"HakoInput\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createVNode(_component_HakoInput, {\n modelValue: _ctx.answer,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.answer) = $event))\n }, null, 8, [\"modelValue\"])\n ]))\n}","\nimport { PropType, defineComponent } from \"vue\";\nimport { debounce } from \"lodash\";\nimport { SurveyAnswerRowDto } from \"@/dto\";\n\nexport default defineComponent({\n\tprops: {\n\t\tanswerRow: {\n\t\t\ttype: Object as PropType,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tanswer: this.answerRow?.answerText ? this.answerRow.answerText : \"\",\n\t\t};\n\t},\n\n\tcreated() {\n\t\tthis.emitAnswer = debounce(this.emitAnswer, 200);\n\t},\n\n\twatch: {\n\t\tanswer: {\n\t\t\thandler(newVal, oldVal) {\n\t\t\t\tif (newVal != oldVal) this.emitAnswer(newVal);\n\t\t\t},\n\t\t\timmediate: false,\n\t\t},\n\t},\n\n\tmethods: {\n\t\temitAnswer(answer: string) {\n\t\t\tthis.$emit(\"save\", answer);\n\t\t},\n\t},\n});\n","import { render } from \"./TextSingleComponent.vue?vue&type=template&id=603a5934&ts=true\"\nimport script from \"./TextSingleComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./TextSingleComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, vModelCheckbox as _vModelCheckbox, createElementVNode as _createElementVNode, withDirectives as _withDirectives, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode } from \"vue\"\n\nconst _hoisted_1 = [\"value\", \"id\", \"onChange\"]\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = { key: 0 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.questionData.options?.filter((x) => x.isActive), (option) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: option.id,\n class: \"form-check mb-2\"\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n value: option.id,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.answerNumbers) = $event)),\n id: 'option' + option.id,\n onChange: ($event: any) => (_ctx.checkActivations($event, option.id!))\n }, null, 40, _hoisted_1), [\n [_vModelCheckbox, _ctx.answerNumbers]\n ]),\n _createElementVNode(\"label\", {\n for: 'option' + option.id,\n class: \"ms-2\"\n }, _toDisplayString(option.translations?.find((x) => x.languageCode == _ctx.lang)?.text), 9, _hoisted_2),\n (option.isOtherOption && _ctx.answerNumbers.includes(option.id!))\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, [\n (\n\t\t\t\t\t\t\t_ctx.answerDtos.find((x) => x.optionId == option.id)?.otherOptionText != undefined\n\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(_component_HakoTextArea, {\n key: 0,\n modelValue: _ctx.answerDtos.find((x) => x.optionId == option.id)!.otherOptionText,\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.answerDtos.find((x) => x.optionId == option.id)!.otherOptionText) = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ]))\n}","\nimport {\n\tSurveyActivationDto,\n\tSurveyAnswerRowDto,\n\tSurveyAnswerRowOptionDto,\n\tSurveyQuestionDto,\n} from \"@/dto\";\nimport { defineComponent, PropType } from \"vue\";\nimport { debounce } from \"lodash\";\n\nexport default defineComponent({\n\tprops: {\n\t\tquestionData: {\n\t\t\ttype: Object as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tlang: {\n\t\t\ttype: String as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tactivations: {\n\t\t\ttype: Array as PropType,\n\t\t\tdefault: () => [],\n\t\t},\n\n\t\tanswerRow: {\n\t\t\ttype: Object as PropType,\n\t\t},\n\t},\n\n\tcreated() {\n\t\tthis.emitAnswer = debounce(this.emitAnswer, 200);\n\t},\n\n\tmounted() {\n\t\tthis.answerNumbers = this.answerRow?.multiSelectOptions\n\t\t\t? this.answerRow?.multiSelectOptions.map((x) => x.optionId)\n\t\t\t: ([] as number[]);\n\t\tthis.answerDtos = this.answerRow?.multiSelectOptions\n\t\t\t? this.answerRow?.multiSelectOptions\n\t\t\t: ([] as SurveyAnswerRowOptionDto[]);\n\n\t\tthis.answerNumbers.forEach((num) => {\n\t\t\tif (this.optionHasActivation(num)) this.updateAddedActivations(num);\n\t\t});\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tanswerNumbers: [] as number[],\n\t\t\tanswerDtos: [] as SurveyAnswerRowOptionDto[],\n\t\t\tactivatedActivations: [] as SurveyActivationDto[],\n\t\t\tuserHasEdited: false,\n\t\t};\n\t},\n\n\tmethods: {\n\t\tcheckActivations(event: Event, id: number) {\n\t\t\tthis.userHasEdited = true;\n\t\t\tlet target = event.target as HTMLInputElement;\n\n\t\t\tif (!target.checked) {\n\t\t\t\tlet removedDto = this.questionData.options!.find((x) => x.id == id);\n\t\t\t\tthis.answerDtos = this.answerDtos.filter((x) => x.optionId != removedDto!.id!);\n\n\t\t\t\tif (this.optionHasActivation(id)) this.updateRemovedActivations(id);\n\t\t\t}\n\n\t\t\tif (target.checked) {\n\t\t\t\tlet newDto = this.questionData.options!.find((x) => x.id == id);\n\t\t\t\tthis.answerDtos.push({\n\t\t\t\t\toptionId: newDto!.id!,\n\t\t\t\t\totherOptionText: \"\",\n\t\t\t\t});\n\t\t\t\tif (this.optionHasActivation(id)) {\n\t\t\t\t\tthis.updateAddedActivations(id);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\toptionHasActivation(optionId: number) {\n\t\t\tif (!optionId) return false;\n\n\t\t\tif (this.activations && this.activations.some((x) => x.optionId == optionId)) return true;\n\n\t\t\treturn false;\n\t\t},\n\n\t\tupdateAddedActivations(optionId: number) {\n\t\t\tlet activated = this.activations.filter((x) => x.optionId == optionId);\n\t\t\tthis.activatedActivations = this.activatedActivations.concat(activated);\n\t\t},\n\n\t\tupdateRemovedActivations(optionId: number) {\n\t\t\tthis.activatedActivations = this.activatedActivations.filter(\n\t\t\t\t(x) => x.optionId != optionId\n\t\t\t);\n\t\t},\n\n\t\temitAnswer(answers: SurveyAnswerRowOptionDto[]) {\n\t\t\tif (this.userHasEdited) this.$emit(\"save\", answers);\n\t\t},\n\t},\n\n\twatch: {\n\t\tactivatedActivations(val) {\n\t\t\tthis.$emit(\"activatedActivations\", val);\n\t\t},\n\n\t\tanswerDtos: {\n\t\t\thandler(newVal) {\n\t\t\t\tthis.emitAnswer(newVal);\n\t\t\t},\n\t\t\timmediate: false,\n\t\t\tdeep: true,\n\t\t},\n\t},\n});\n","import { render } from \"./MultiCheckboxComponent.vue?vue&type=template&id=217d97d0&ts=true\"\nimport script from \"./MultiCheckboxComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MultiCheckboxComponent.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, vModelCheckbox as _vModelCheckbox, withModifiers as _withModifiers, createElementVNode as _createElementVNode, withDirectives as _withDirectives, toDisplayString as _toDisplayString, resolveComponent as _resolveComponent, createBlock as _createBlock, createCommentVNode as _createCommentVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-7fab854e\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = [\"value\", \"id\", \"onChange\"]\nconst _hoisted_2 = [\"for\"]\nconst _hoisted_3 = { key: 0 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoTextArea = _resolveComponent(\"HakoTextArea\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.questionData.options?.filter((x) => x.isActive), (option) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: option.id,\n class: \"form-check mb-2\"\n }, [\n _withDirectives(_createElementVNode(\"input\", {\n type: \"checkbox\",\n value: option.id,\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => ((_ctx.answerNumbers) = $event)),\n id: 'option' + option.id,\n onChange: _withModifiers(($event: any) => (_ctx.checkLimit($event, option.id!)), [\"stop\"])\n }, null, 40, _hoisted_1), [\n [_vModelCheckbox, _ctx.answerNumbers]\n ]),\n _createElementVNode(\"label\", {\n for: 'option' + option.id,\n class: \"ms-2\"\n }, _toDisplayString(option.translations?.find((x) => x.languageCode == _ctx.lang)?.text), 9, _hoisted_2),\n (option.isOtherOption && _ctx.answerDtos.map(x => x.optionId).includes(option.id!))\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_3, [\n (\n\t\t\t\t\t\t\t_ctx.answerDtos.find((x) => x.optionId == option.id)?.otherOptionText != undefined\n\t\t\t\t\t\t)\n ? (_openBlock(), _createBlock(_component_HakoTextArea, {\n key: 0,\n modelValue: _ctx.answerDtos.find((x) => x.optionId == option.id)!.otherOptionText,\n \"onUpdate:modelValue\": ($event: any) => ((_ctx.answerDtos.find((x) => x.optionId == option.id)!.otherOptionText) = $event)\n }, null, 8, [\"modelValue\", \"onUpdate:modelValue\"]))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128))\n ]))\n}","\nimport {\n\tSurveyActivationDto,\n\tSurveyAnswerRowDto,\n\tSurveyAnswerRowOptionDto,\n\tSurveyQuestionDto,\n} from \"@/dto\";\nimport { defineComponent, PropType } from \"vue\";\nimport { debounce } from \"lodash\";\n\nexport default defineComponent({\n\tprops: {\n\t\tquestionData: {\n\t\t\ttype: Object as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tlang: {\n\t\t\ttype: String as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tactivations: {\n\t\t\ttype: Array as PropType,\n\t\t\tdefault: () => [],\n\t\t},\n\n\t\tanswerRow: {\n\t\t\ttype: Object as PropType,\n\t\t},\n\t},\n\n\tcreated() {\n\t\tthis.emitAnswer = debounce(this.emitAnswer, 200);\n\t},\n\n\tmounted() {\n\t\tthis.answerNumbers = this.answerRow?.multiSelectOptions\n\t\t\t? this.answerRow?.multiSelectOptions.map((x) => x.optionId)\n\t\t\t: ([] as number[]);\n\t\tthis.answerDtos = this.answerRow?.multiSelectOptions\n\t\t\t? this.answerRow?.multiSelectOptions\n\t\t\t: ([] as SurveyAnswerRowOptionDto[]);\n\n\t\tthis.answerNumbers.forEach((num) => {\n\t\t\tif (this.optionHasActivation(num)) this.updateAddedActivations(num);\n\t\t});\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tanswerNumbers: [] as number[],\n\t\t\tanswerDtos: [] as SurveyAnswerRowOptionDto[],\n\t\t\tactivatedActivations: [] as SurveyActivationDto[],\n\t\t\tuserHasEdited: false,\n\t\t};\n\t},\n\n\tmethods: {\n\t\tcheckLimit(event: Event, id: number) {\n\t\t\tthis.userHasEdited = true;\n\t\t\tlet target = event.target as HTMLInputElement;\n\n\t\t\tif (!target.checked) {\n\t\t\t\tlet removedDto = this.questionData.options!.find((x) => x.id == id);\n\t\t\t\tthis.answerDtos = this.answerDtos.filter((x) => x.optionId != removedDto!.id!);\n\n\t\t\t\tif (this.optionHasActivation(id)) this.updateRemovedActivations(id);\n\t\t\t}\n\n\t\t\tif (target.checked && this.answerNumbers.length <= this.questionData.maxOptionPicks!) {\n\t\t\t\tlet newDto = this.questionData.options!.find((x) => x.id == id);\n\t\t\t\tthis.answerDtos.push({\n\t\t\t\t\toptionId: newDto!.id!,\n\t\t\t\t\totherOptionText: \"\",\n\t\t\t\t});\n\t\t\t\tif (this.optionHasActivation(id)) {\n\t\t\t\t\tthis.updateAddedActivations(id);\n\t\t\t\t}\n\t\t\t} else this.answerNumbers = this.answerNumbers.filter((x) => x != id);\n\t\t},\n\n\t\toptionHasActivation(optionId: number) {\n\t\t\tif (!optionId) return false;\n\n\t\t\tif (this.activations && this.activations.some((x) => x.optionId == optionId)) return true;\n\n\t\t\treturn false;\n\t\t},\n\n\t\tupdateAddedActivations(optionId: number) {\n\t\t\tlet activated = this.activations.filter((x) => x.optionId == optionId);\n\t\t\tthis.activatedActivations = this.activatedActivations.concat(activated);\n\t\t},\n\n\t\tupdateRemovedActivations(optionId: number) {\n\t\t\tthis.activatedActivations = this.activatedActivations.filter(\n\t\t\t\t(x) => x.optionId != optionId\n\t\t\t);\n\t\t},\n\n\t\temitAnswer(answers: SurveyAnswerRowOptionDto[]) {\n\t\t\tif (this.userHasEdited) this.$emit(\"save\", answers);\n\t\t},\n\t},\n\n\twatch: {\n\t\tactivatedActivations(val) {\n\t\t\tthis.$emit(\"activatedActivations\", val);\n\t\t},\n\n\t\tanswerDtos: {\n\t\t\thandler(newVal) {\n\t\t\t\tthis.emitAnswer(newVal);\n\t\t\t},\n\t\t\timmediate: false,\n\t\t\tdeep: true,\n\t\t},\n\t},\n});\n","import { render } from \"./MultiLimitedComponent.vue?vue&type=template&id=7fab854e&scoped=true&ts=true\"\nimport script from \"./MultiLimitedComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./MultiLimitedComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./MultiLimitedComponent.vue?vue&type=style&index=0&id=7fab854e&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7fab854e\"]])\n\nexport default __exports__","import { renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, vShow as _vShow, createElementVNode as _createElementVNode, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-7c1c8868\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"nps\" }\nconst _hoisted_2 = [\"onClick\"]\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"div\", _hoisted_1, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (num) => {\n return (_openBlock(), _createElementBlock(_Fragment, { key: num }, [\n _withDirectives(_createElementVNode(\"div\", {\n class: \"nps-item nps-item-active\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => {\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t_ctx.selected = null;\n\t\t\t\t\t\t\t_ctx.userHasAnswered = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n }, _toDisplayString(num), 513), [\n [_vShow, num == _ctx.selected]\n ]),\n _withDirectives(_createElementVNode(\"div\", {\n class: \"nps-item\",\n onClick: ($event: any) => {\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\t_ctx.selected = num;\n\t\t\t\t\t\t\t_ctx.userHasAnswered = true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n }, _toDisplayString(num), 9, _hoisted_2), [\n [_vShow, num != _ctx.selected]\n ])\n ], 64))\n }), 64))\n ])\n ]))\n}","\nimport { SurveyActivationDto, SurveyAnswerRowDto } from \"@/dto\";\nimport { PropType, defineComponent } from \"vue\";\nimport { debounce } from \"lodash\";\n\nexport default defineComponent({\n\tprops: {\n\t\tactivations: {\n\t\t\ttype: Array as PropType,\n\t\t\tdefault: () => [],\n\t\t},\n\n\t\tanswerRow: {\n\t\t\ttype: Object as PropType,\n\t\t},\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tselected: null as number | null,\n\t\t\tuserHasAnswered: false,\n\t\t};\n\t},\n\n\tcreated() {\n\t\tthis.emitAnswer = debounce(this.emitAnswer, 200);\n\t},\n\n\tmounted() {\n\t\tthis.selected = this.answerRow?.npsValue ? this.answerRow.npsValue : null;\n\n\t\tif (this.selected) this.updateActivations(this.selected);\n\t},\n\n\tmethods: {\n\t\tupdateActivations(numericValue: number) {\n\t\t\tlet activations = this.activations.filter((x) => x.numericValue == numericValue);\n\n\t\t\tthis.$emit(\"activatedActivations\", activations);\n\t\t},\n\n\t\temitAnswer(answer: string) {\n\t\t\tif (this.userHasAnswered) this.$emit(\"save\", answer);\n\t\t},\n\t},\n\n\twatch: {\n\t\tselected: {\n\t\t\thandler(newVal, oldVal) {\n\t\t\t\tif (newVal != oldVal) {\n\t\t\t\t\tthis.updateActivations(newVal);\n\n\t\t\t\t\tthis.emitAnswer(newVal);\n\t\t\t\t}\n\t\t\t},\n\t\t},\n\t},\n});\n","import { render } from \"./NpsComponent.vue?vue&type=template&id=7c1c8868&scoped=true&ts=true\"\nimport script from \"./NpsComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./NpsComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./NpsComponent.vue?vue&type=style&index=0&id=7c1c8868&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-7c1c8868\"]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, renderList as _renderList, Fragment as _Fragment, openBlock as _openBlock, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, vShow as _vShow, withDirectives as _withDirectives, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-519a852d\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"table table-striped scoring-table\" }\nconst _hoisted_2 = [\"colspan\"]\nconst _hoisted_3 = { key: 0 }\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = [\"colspan\"]\nconst _hoisted_6 = [\"onClick\"]\nconst _hoisted_7 = [\"onClick\"]\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = [\"onClick\"]\nconst _hoisted_10 = [\"onClick\"]\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = {\n colspan: \"12\",\n style: {\"text-align\":\"end\"}\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n _createElementVNode(\"table\", _hoisted_1, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", null, [\n _createElementVNode(\"td\", {\n colspan: 12 - _ctx.cPointsScaleSize\n }, null, 8, _hoisted_2),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cPoints, (point) => {\n return (_openBlock(), _createElementBlock(\"td\", { key: point }, _toDisplayString(point), 1))\n }), 128)),\n (_ctx.questionData.showNoAnswerOption)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_3, [\n _createTextVNode(\" -\"),\n (_ctx.cHasNoAnswerText)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_4, \"*\"))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.answers, (row, index) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: 'row' + index\n }, [\n _createElementVNode(\"td\", {\n colspan: 12 - _ctx.cPointsScaleSize,\n class: \"align-left\"\n }, _toDisplayString(row.scorable!.translations!.find((x) => x.languageCode == _ctx.lang)?.text), 9, _hoisted_5),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cPoints, (point) => {\n return (_openBlock(), _createElementBlock(\"td\", { key: point }, [\n _withDirectives(_createElementVNode(\"span\", {\n class: \"item item-active\",\n onClick: ($event: any) => {\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\trow.points = undefined;\n\t\t\t\t\t\t\t\t\trow.pointsNoAnswer = false;\n\t\t\t\t\t\t\t\t\t_ctx.userHasAnswered = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n }, [\n _createVNode(_component_HakoBsIcon, {\n icon: \"check-circle-fill\",\n theme: \"success\"\n })\n ], 8, _hoisted_6), [\n [_vShow, point == row.points]\n ]),\n _withDirectives(_createElementVNode(\"span\", {\n class: \"item\",\n onClick: ($event: any) => {\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\trow.points = point;\n\t\t\t\t\t\t\t\t\trow.pointsNoAnswer = false;\n\t\t\t\t\t\t\t\t\t_ctx.userHasAnswered = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n }, [\n _createVNode(_component_HakoBsIcon, {\n icon: \"circle\",\n theme: \"secondary\"\n })\n ], 8, _hoisted_7), [\n [_vShow, point != row.points]\n ])\n ]))\n }), 128)),\n (_ctx.questionData.showNoAnswerOption)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_8, [\n _withDirectives(_createElementVNode(\"span\", {\n class: \"item item-active\",\n onClick: ($event: any) => {\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\trow.points = undefined;\n\t\t\t\t\t\t\t\t\trow.pointsNoAnswer = false;\n\t\t\t\t\t\t\t\t\t_ctx.userHasAnswered = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n }, [\n _createVNode(_component_HakoBsIcon, {\n icon: \"check-circle-fill\",\n theme: \"success\"\n })\n ], 8, _hoisted_9), [\n [_vShow, row.pointsNoAnswer == true]\n ]),\n _withDirectives(_createElementVNode(\"span\", {\n class: \"item\",\n onClick: ($event: any) => {\n\t\t\t\t\t\t\t\t{\n\t\t\t\t\t\t\t\t\trow.points = undefined;\n\t\t\t\t\t\t\t\t\trow.pointsNoAnswer = true;\n\t\t\t\t\t\t\t\t\t_ctx.userHasAnswered = true;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n }, [\n _createVNode(_component_HakoBsIcon, {\n icon: \"circle\",\n theme: \"secondary\"\n })\n ], 8, _hoisted_10), [\n [_vShow, row.pointsNoAnswer == false]\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128)),\n (_ctx.cHasNoAnswerText)\n ? (_openBlock(), _createElementBlock(\"tr\", _hoisted_11, [\n _createElementVNode(\"td\", _hoisted_12, \" * \" + _toDisplayString(_ctx.questionData.translations.find((x) => x.languageCode == _ctx.lang)?.noAnswerText), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n}","\nimport {\n\tSurveyAnswerRowDto,\n\tSurveyAnswerRowScoreDto,\n\tSurveyQuestionDto,\n\tSurveyQuestionTranslationDto,\n} from \"@/dto\";\nimport { debounce } from \"lodash\";\nimport { defineComponent, PropType } from \"vue\";\n\nexport default defineComponent({\n\tprops: {\n\t\tquestionData: {\n\t\t\ttype: Object as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tlang: {\n\t\t\ttype: String as PropType,\n\t\t\trequired: true,\n\t\t},\n\n\t\tanswerRow: {\n\t\t\ttype: Object as PropType,\n\t\t},\n\t},\n\n\tcreated() {\n\t\tthis.emitAnswer = debounce(this.emitAnswer, 200);\n\t},\n\n\tmounted() {\n\t\tthis.setupThings();\n\t},\n\n\tdata() {\n\t\treturn {\n\t\t\tanswers: [] as SurveyAnswerRowScoreDto[],\n\t\t\tuserHasAnswered: false,\n\t\t};\n\t},\n\n\tcomputed: {\n\t\tcPointsScaleSize(): number {\n\t\t\tif (!this.questionData) return 0;\n\n\t\t\tif (this.questionData.pointsMax && this.questionData.pointsMin) {\n\t\t\t\tlet size = this.questionData.pointsMax! - this.questionData.pointsMin! + 1;\n\t\t\t\tif (this.questionData.showNoAnswerOption) size++;\n\t\t\t\treturn size <= 10 ? size : 10;\n\t\t\t}\n\n\t\t\treturn 0;\n\t\t},\n\n\t\tcPoints(): number[] {\n\t\t\tlet arr = [];\n\t\t\tif (this.questionData.scoringIsReversed) {\n\t\t\t\tfor (let i = this.questionData.pointsMax!; i >= this.questionData.pointsMin!; i--) {\n\t\t\t\t\tarr.push(i);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (let i = this.questionData.pointsMin!; i <= this.questionData.pointsMax!; i++) {\n\t\t\t\t\tarr.push(i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn arr;\n\t\t},\n\n\t\tcHasNoAnswerText(): boolean {\n\t\t\treturn !!this.questionData.translations.find(\n\t\t\t\t(x: SurveyQuestionTranslationDto) => x.languageCode == this.lang\n\t\t\t)?.noAnswerText;\n\t\t},\n\t},\n\n\tmethods: {\n\t\tsetupThings() {\n\t\t\tthis.questionData.scorables\n\t\t\t\t?.filter((x) => x.isActive)\n\t\t\t\t.forEach((x) => {\n\t\t\t\t\tthis.answers.push({\n\t\t\t\t\t\tscorableId: x.id!,\n\t\t\t\t\t\tscorable: x,\n\t\t\t\t\t\tpoints:\n\t\t\t\t\t\t\tthis.answerRow?.scores?.find((y) => y.scorableId == x.id)?.points ?? undefined,\n\t\t\t\t\t\tpointsNoAnswer:\n\t\t\t\t\t\t\tthis.answerRow?.scores?.find((y) => y.scorableId == x.id)?.pointsNoAnswer ??\n\t\t\t\t\t\t\tfalse,\n\t\t\t\t\t});\n\t\t\t\t});\n\t\t},\n\n\t\temitAnswer(answers: SurveyAnswerRowScoreDto[]) {\n\t\t\tlet nonEmptyAnswers = answers.filter((x) => x.points != null || x.pointsNoAnswer);\n\t\t\tif (this.userHasAnswered) this.$emit(\"save\", nonEmptyAnswers);\n\t\t},\n\t},\n\n\twatch: {\n\t\tanswers: {\n\t\t\thandler(newVal) {\n\t\t\t\tthis.emitAnswer(newVal);\n\t\t\t},\n\t\t\timmediate: false,\n\t\t\tdeep: true,\n\t\t},\n\t},\n});\n","import { render } from \"./ScoreComponent.vue?vue&type=template&id=519a852d&scoped=true&ts=true\"\nimport script from \"./ScoreComponent.vue?vue&type=script&lang=ts\"\nexport * from \"./ScoreComponent.vue?vue&type=script&lang=ts\"\n\nimport \"./ScoreComponent.vue?vue&type=style&index=0&id=519a852d&lang=scss&scoped=true\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-519a852d\"]])\n\nexport default __exports__","import { SurveyAnswerDto } from \"@/dto\";\nimport { createStore } from \"vuex\";\n\nexport default createStore({\n\tstate: () => ({\n\t\ttestAnswer: null as SurveyAnswerDto | null,\n\t}),\n\tgetters: {\n\t\tgetTestAnswer(state) {\n\t\t\treturn state.testAnswer;\n\t\t},\n\t},\n\tmutations: {\n\t\tsetTestAnswer(state, answer: SurveyAnswerDto) {\n\t\t\tstate.testAnswer = answer;\n\t\t},\n\t},\n\tactions: {},\n\tmodules: {},\n});\n","\nimport { defineComponent, ref, onBeforeMount, computed } from \"vue\";\nimport {\n\tSurveyActivationDto,\n\tSurveyAnswerDto,\n\tSurveyAnswerRowDto,\n\tSurveyDto,\n\tSurveyPageDto,\n\tSurveyQuestionDto,\n\tSurveyQuestionTypeDto,\n} from \"@/dto\";\nimport axios from \"axios\";\nimport SurveyHeader from \"@/components/SurveyHeader.vue\";\nimport { i18n } from \"@/i18n\";\nimport { useRoute, useRouter } from \"vue-router\";\nimport SingleDropdownComponent from \"@/components/ComponentsByType/SingleDropdownComponent.vue\";\nimport SingleRadioComponent from \"@/components/ComponentsByType/SingleRadioComponent.vue\";\nimport SmileyComponent from \"@/components/ComponentsByType/SmileyComponent.vue\";\nimport TextMultiComponent from \"@/components/ComponentsByType/TextMultiComponent.vue\";\nimport TextSingleComponent from \"@/components/ComponentsByType/TextSingleComponent.vue\";\nimport MultiCheckboxComponent from \"@/components/ComponentsByType/MultiCheckboxComponent.vue\";\nimport MultiLimitedComponent from \"@/components/ComponentsByType/MultiLimitedComponent.vue\";\nimport NpsComponent from \"@/components/ComponentsByType/NpsComponent.vue\";\nimport ScoreComponent from \"@/components/ComponentsByType/ScoreComponent.vue\";\nimport store from \"@/store\";\nimport { sortBy } from \"lodash\";\n\nexport default defineComponent({\n\tsetup() {\n\t\tconst route = useRoute();\n\t\tconst router = useRouter();\n\n\t\tonBeforeMount(async () => {\n\t\t\t// await getFirstPageText();\n\t\t\tawait getSurvey();\n\t\t\tsetLanguage();\n\t\t});\n\n\t\tconst survey = ref(null);\n\t\t// const firstPageTexts = ref([]);\n\t\tconst currentPage = ref(1);\n\t\tconst currentPageId = ref(null);\n\t\tconst activations = ref([]);\n\t\tconst slideDirClass = ref(\"next-page-fade\");\n\t\tconst activatedActivations = ref([]);\n\t\tconst loading = ref(true);\n\t\tconst answerDto = ref(null);\n\t\tconst langFromUrl = ref<\"fi\" | \"sv\" | \"en\" | undefined>(undefined);\n\t\tconst invalidCode = ref(false);\n\n\t\tconst cPageAmount = computed(() => {\n\t\t\tif (cPages.value.length > 1) return cPages.value.length;\n\n\t\t\treturn 1;\n\t\t});\n\n\t\tconst cPageIndicatorColor = computed(() => {\n\t\t\tif (survey.value && survey.value.pageIndicatorColor)\n\t\t\t\treturn survey.value.pageIndicatorColor;\n\n\t\t\treturn \"#000000\";\n\t\t});\n\n\t\tconst cPages = computed((): SurveyPageDto[] => {\n\t\t\tif (!survey.value?.pages) return [];\n\n\t\t\tlet activePages = survey.value.pages.filter((x) => checkIfPageActivated(x.id!));\n\n\t\t\tlet sortedPages = sortBy(activePages, (x) => x.order);\n\n\t\t\treturn sortedPages;\n\t\t});\n\n\t\tconst cIsTestAnswer = computed((): boolean => {\n\t\t\tif (route.params[\"code\"].length == 15) return true;\n\n\t\t\treturn false;\n\t\t});\n\n\t\tconst surveyName = (survey: SurveyDto | null) => {\n\t\t\tif (!survey) return \"\";\n\n\t\t\tlet found = \"\" as string | null | undefined;\n\t\t\t[i18n.global.locale, \"fi\", \"sv\", \"en\"].forEach((lang) => {\n\t\t\t\tif (!found && survey?.translations.some((x) => x.languageCode == lang))\n\t\t\t\t\tfound = survey!.translations.find((x) => x.languageCode == lang)?.name;\n\t\t\t});\n\n\t\t\treturn found ? found : \"\";\n\t\t};\n\n\t\t// const getFirstPageText = async () => {\n\t\t// \tconst code = route.params[\"code\"];\n\n\t\t// \ttry {\n\t\t// \t\tconst response = await axios.get(\n\t\t// \t\t\t`survey/FirstPageText/${code}`,\n\t\t// \t\t\t{\n\t\t// \t\t\t\theaders: {\n\t\t// \t\t\t\t\torganization: route.params[\"org\"],\n\t\t// \t\t\t\t},\n\t\t// \t\t\t}\n\t\t// \t\t);\n\t\t// \t\tfirstPageTexts.value = response.data;\n\t\t// \t} catch (ex: unknown) {\n\t\t// \t\tconsole.log(ex);\n\t\t// \t\tinvalidCode.value = true;\n\t\t// \t\tloading.value = false;\n\t\t// \t}\n\t\t// };\n\n\t\tconst getSurvey = async () => {\n\t\t\tconst code = route.params[\"code\"];\n\n\t\t\ttry {\n\t\t\t\tconst response = await axios.get<{ answer: SurveyAnswerDto; survey: SurveyDto }>(\n\t\t\t\t\t`survey/${code}`,\n\t\t\t\t\t{\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\torganization: route.params[\"org\"],\n\t\t\t\t\t\t},\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tsurvey.value = response.data.survey;\n\t\t\t\tanswerDto.value = response.data.answer;\n\t\t\t\tawait formatAnswerDto();\n\n\t\t\t\tif (survey.value.id) {\n\t\t\t\t\tcurrentPageId.value = survey.value?.pages ? survey.value.pages[0].id : null;\n\t\t\t\t\tawait getActivations(survey.value.id);\n\t\t\t\t}\n\t\t\t} catch (ex: unknown) {\n\t\t\t\tconsole.log(ex);\n\t\t\t\tinvalidCode.value = true;\n\t\t\t\tloading.value = false;\n\t\t\t}\n\t\t};\n\n\t\tconst getActivations = async (surveyId: number) => {\n\t\t\ttry {\n\t\t\t\tconst response = await axios.get(\n\t\t\t\t\t`survey/activations/${surveyId}`,\n\t\t\t\t\t{\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\torganization: route.params[\"org\"],\n\t\t\t\t\t\t},\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tactivations.value = response.data;\n\t\t\t} catch (ex: unknown) {\n\t\t\t\tconsole.log(\"Problem loading activations\");\n\t\t\t} finally {\n\t\t\t\tloading.value = false;\n\t\t\t}\n\t\t};\n\n\t\tconst getTextInCurrLang = (translations: any[], key: string) => {\n\t\t\tif (!translations) return \"\";\n\n\t\t\tlet found = translations.find((x) => x.languageCode == i18n.global.locale);\n\n\t\t\tif (found) return found[key] || \"\";\n\n\t\t\treturn \"\";\n\t\t};\n\n\t\tconst getComponentName = (questionTypeId: number): string => {\n\t\t\tlet componentMap = new Map([\n\t\t\t\t[1, \"SingleRadioComponent\"],\n\t\t\t\t[2, \"MultiCheckboxComponent\"],\n\t\t\t\t[3, \"TextMultiComponent\"],\n\t\t\t\t[4, \"ScoreComponent\"],\n\t\t\t\t[5, \"SingleDropdownComponent\"],\n\t\t\t\t[7, \"TextSingleComponent\"],\n\t\t\t\t[8, \"SmileyComponent\"],\n\t\t\t\t[9, \"NpsComponent\"],\n\t\t\t\t[10, \"MultiLimitedComponent\"],\n\t\t\t]);\n\n\t\t\treturn componentMap.get(questionTypeId) || \"\";\n\t\t};\n\n\t\tconst showPage = (page: SurveyPageDto): boolean => {\n\t\t\tif (page?.id && currentPageId.value == page.id && checkIfPageActivated(page.id))\n\t\t\t\treturn true;\n\t\t\treturn false;\n\t\t};\n\n\t\tconst previousPage = (index: number) => {\n\t\t\tslideDirClass.value = \"prev-page-fade\";\n\t\t\tcurrentPageId.value = cPages.value[index - 1].id;\n\t\t\tcurrentPage.value--;\n\t\t};\n\n\t\tconst nextPage = async (index: number) => {\n\t\t\tif (!validateAnswers()) return;\n\n\t\t\tslideDirClass.value = \"next-page-fade\";\n\t\t\tcurrentPageId.value = cPages.value[index + 1].id;\n\t\t\tcurrentPage.value++;\n\t\t};\n\n\t\tconst finished = async () => {\n\t\t\tif (cIsTestAnswer.value) {\n\t\t\t\tif (!validateAnswers()) return;\n\n\t\t\t\tstore.commit(\"setTestAnswer\", answerDto.value);\n\n\t\t\t\trouter.push({\n\t\t\t\t\tname: \"thankYou\",\n\t\t\t\t\tparams: { lang: i18n.global.locale },\n\t\t\t\t});\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif (!answerDto.value?.id) await createNewAnswer();\n\n\t\t\ttry {\n\t\t\t\tconst response = await axios.post(\n\t\t\t\t\t`survey/FinishAnswer/${answerDto.value!.id}`,\n\t\t\t\t\tnull,\n\t\t\t\t\t{\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\torganization: route.params[\"org\"],\n\t\t\t\t\t\t\tcode: answerDto.value?.uniqueCode,\n\t\t\t\t\t\t},\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif (response?.data) {\n\t\t\t\t\trouter.push({\n\t\t\t\t\t\tname: \"thankYou\",\n\t\t\t\t\t\tparams: {\n\t\t\t\t\t\t\torg: route.params[\"org\"],\n\t\t\t\t\t\t\tcode: route.params[\"code\"],\n\t\t\t\t\t\t\tlang: i18n.global.locale,\n\t\t\t\t\t\t},\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t} catch (ex: unknown) {\n\t\t\t\tconsole.log(ex);\n\t\t\t}\n\t\t};\n\n\t\tconst updateActivatedActivations = (list: SurveyActivationDto[], questionId: number) => {\n\t\t\tactivatedActivations.value = activatedActivations.value.filter(\n\t\t\t\t(x) => !(x.activatingQuestionId == questionId || x.option?.questionId == questionId)\n\t\t\t);\n\t\t\tactivatedActivations.value = activatedActivations.value.concat(list);\n\t\t};\n\n\t\tconst checkIfPageActivated = (pageId: number) => {\n\t\t\t// If requires activation but no activation yet activates it\n\t\t\tif (\n\t\t\t\tactivations.value.some((x) => x.activatesPageId == pageId) &&\n\t\t\t\t!activatedActivations.value.some((x) => x.activatesPageId == pageId)\n\t\t\t)\n\t\t\t\treturn false;\n\n\t\t\treturn true;\n\t\t};\n\n\t\tconst checkIfQuestionActivated = (questionId: number) => {\n\t\t\t// If requires activation but no activation yet activates it\n\t\t\tif (\n\t\t\t\tactivations.value.some((x) => x.activatesQuestionId == questionId) &&\n\t\t\t\t!activatedActivations.value.some((x) => x.activatesQuestionId == questionId)\n\t\t\t)\n\t\t\t\treturn false;\n\n\t\t\treturn true;\n\t\t};\n\n\t\tconst saveAnswerRow = async (question: SurveyQuestionDto, answer: any) => {\n\t\t\tif (!answerDto.value?.id && !cIsTestAnswer.value) await createNewAnswer();\n\n\t\t\tlet deleteAnswerRow = false;\n\n\t\t\tlet answerRow = answerDto.value!.answerRows!.find((x) => x.questionId == question.id)!;\n\t\t\tanswerRow.answerId = answerDto.value!.id;\n\n\t\t\tif (\n\t\t\t\tquestion.type?.technicalName == \"textSingle\" ||\n\t\t\t\tquestion.type?.technicalName == \"textMulti\"\n\t\t\t) {\n\t\t\t\tif (answer.trim() == \"\") deleteAnswerRow = true;\n\n\t\t\t\tanswerRow.answerText = answer;\n\t\t\t} else if (question.type?.technicalName == \"smiley\") {\n\t\t\t\tif (answer == null) deleteAnswerRow = true;\n\n\t\t\t\tanswerRow.smileyValue = answer;\n\t\t\t} else if (question.type?.technicalName == \"nps\") {\n\t\t\t\tif (answer == null) deleteAnswerRow = true;\n\n\t\t\t\tanswerRow.npsValue = answer;\n\t\t\t} else if (\n\t\t\t\tquestion.type?.technicalName == \"singleRadio\" ||\n\t\t\t\tquestion.type?.technicalName == \"singleDropdown\"\n\t\t\t) {\n\t\t\t\tif (answer == null) deleteAnswerRow = true;\n\n\t\t\t\tanswerRow.optionId = answer?.optionId ?? null;\n\t\t\t\tanswerRow.optionManualAnswer = answer?.optionManualAnswer ?? null;\n\t\t\t} else if (\n\t\t\t\tquestion.type?.technicalName == \"multiLimited\" ||\n\t\t\t\tquestion.type?.technicalName == \"multiCheckbox\"\n\t\t\t) {\n\t\t\t\tif (answer.length == 0) deleteAnswerRow = true;\n\n\t\t\t\tanswerRow.multiSelectOptions = answer;\n\t\t\t} else if (question.type?.technicalName == \"score\") {\n\t\t\t\tif (answer.length == 0) deleteAnswerRow = true;\n\n\t\t\t\tanswerRow.scores = answer;\n\t\t\t}\n\n\t\t\tif (deleteAnswerRow && !answerRow.commentText) {\n\t\t\t\tanswerRow = {\n\t\t\t\t\tanswerId: answerDto.value?.id,\n\t\t\t\t\tquestionId: question.id,\n\t\t\t\t} as SurveyAnswerRowDto;\n\t\t\t} else {\n\t\t\t\tdeleteAnswerRow = false;\n\t\t\t}\n\n\t\t\tif (!cIsTestAnswer.value) {\n\t\t\t\ttry {\n\t\t\t\t\tconst response = deleteAnswerRow\n\t\t\t\t\t\t? await axios.post(`survey/DeleteQuestionAnswer`, answerRow, {\n\t\t\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t\t\torganization: route.params[\"org\"],\n\t\t\t\t\t\t\t\t\tcode: answerDto.value?.uniqueCode,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t })\n\t\t\t\t\t\t: await axios.post(`survey/SaveQuestionAnswer`, answerRow, {\n\t\t\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t\t\torganization: route.params[\"org\"],\n\t\t\t\t\t\t\t\t\tcode: answerDto.value?.uniqueCode,\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t });\n\t\t\t\t\tif (response?.data) console.log(\"Question answer saved\");\n\t\t\t\t} catch (ex: unknown) {\n\t\t\t\t\tconsole.log(ex);\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tconst createNewAnswer = async () => {\n\t\t\ttry {\n\t\t\t\tconst response = await axios.post(\n\t\t\t\t\t`survey/NewAnswer/${survey.value!.id}`,\n\t\t\t\t\tnull,\n\t\t\t\t\t{\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\torganization: route.params[\"org\"],\n\t\t\t\t\t\t},\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif (!answerDto.value) answerDto.value = response.data;\n\t\t\t\telse {\n\t\t\t\t\tanswerDto.value.id = response.data.id;\n\t\t\t\t\tanswerDto.value.uniqueCode = response.data.uniqueCode;\n\t\t\t\t}\n\t\t\t\trouter.push({\n\t\t\t\t\tname: \"survey\",\n\t\t\t\t\tparams: {\n\t\t\t\t\t\torg: route.params[\"org\"],\n\t\t\t\t\t\tcode: answerDto.value.uniqueCode,\n\t\t\t\t\t\tlang: i18n.global.locale,\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t\t} catch (ex: unknown) {\n\t\t\t\tconsole.log(ex);\n\t\t\t}\n\t\t};\n\n\t\tconst formatAnswerDto = async () => {\n\t\t\tif (!answerDto.value)\n\t\t\t\tanswerDto.value = {\n\t\t\t\t\tid: 0,\n\t\t\t\t\tsurveyId: survey.value?.id,\n\t\t\t\t\tanswerRows: [] as SurveyAnswerRowDto[],\n\t\t\t\t} as SurveyAnswerDto;\n\n\t\t\tsurvey.value?.pages?.forEach((page) => {\n\t\t\t\tpage.questions?.forEach((question) => {\n\t\t\t\t\tif (!answerDto.value!.answerRows!.some((x) => x.questionId == question.id)) {\n\t\t\t\t\t\tanswerDto.value!.answerRows!.push({\n\t\t\t\t\t\t\tquestionId: question.id,\n\t\t\t\t\t\t} as SurveyAnswerRowDto);\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t});\n\t\t};\n\n\t\tconst saveComment = async (questionId: number) => {\n\t\t\tif (cIsTestAnswer.value) return;\n\n\t\t\tif (!answerDto.value?.id) await createNewAnswer();\n\n\t\t\tlet answerRow = {\n\t\t\t\tanswerId: answerDto.value?.id,\n\t\t\t\tquestionId: questionId,\n\t\t\t\tcommentText: answerDto.value!.answerRows!.find((x) => x.questionId == questionId)!\n\t\t\t\t\t.commentText,\n\t\t\t} as SurveyAnswerRowDto;\n\n\t\t\ttry {\n\t\t\t\tconst response = await axios.post(`survey/SaveQuestionComment`, answerRow, {\n\t\t\t\t\theaders: {\n\t\t\t\t\t\torganization: route.params[\"org\"],\n\t\t\t\t\t\tcode: answerDto.value?.uniqueCode,\n\t\t\t\t\t},\n\t\t\t\t});\n\t\t\t\tif (response?.data) console.log(\"Question comment saved\");\n\t\t\t} catch (ex: unknown) {\n\t\t\t\tconsole.log(ex);\n\t\t\t}\n\t\t};\n\n\t\tconst validateAnswers = () => {\n\t\t\tlet shownQuestions = cPages.value\n\t\t\t\t.find((x) => x.id == currentPageId.value)!\n\t\t\t\t.questions!.filter((y) => checkIfQuestionActivated(y.id!));\n\n\t\t\tlet requiredQuestions = shownQuestions?.filter((x) => x.isRequired);\n\n\t\t\tif (requiredQuestions.length == 0) return true;\n\n\t\t\tlet answerRows = answerDto.value!.answerRows?.filter((x) =>\n\t\t\t\trequiredQuestions.map((y) => y.id!).includes(x.questionId)\n\t\t\t);\n\n\t\t\treturn questionsAreAnswered(answerRows!);\n\t\t};\n\n\t\tconst questionsAreAnswered = (answerRows: SurveyAnswerRowDto[]) => {\n\t\t\tlet valid = true;\n\t\t\tanswerRows.forEach((row) => {\n\t\t\t\tif (valid) {\n\t\t\t\t\tlet rowValid = false;\n\t\t\t\t\tif (row.answerText) rowValid = true;\n\t\t\t\t\tif (row.optionId) rowValid = true;\n\t\t\t\t\tif (row.smileyValue) rowValid = true;\n\t\t\t\t\tif (row.npsValue) rowValid = true;\n\t\t\t\t\tif (row.multiSelectOptions && row.multiSelectOptions?.length > 0) rowValid = true;\n\t\t\t\t\tif (row.scores && row.scores.some((x) => x.points || x.pointsNoAnswer))\n\t\t\t\t\t\trowValid = true;\n\n\t\t\t\t\tvalid = rowValid;\n\n\t\t\t\t\tif (!valid) {\n\t\t\t\t\t\tlet el = document.getElementById(\"question\" + row.questionId)!;\n\n\t\t\t\t\t\tel.scrollIntoView({ block: \"center\", behavior: \"smooth\" });\n\n\t\t\t\t\t\tsetTimeout(() => el.classList.toggle(\"error\"), 500);\n\n\t\t\t\t\t\tsetTimeout(() => el.classList.toggle(\"error\"), 1500);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn valid;\n\t\t};\n\n\t\tconst setLanguage = () => {\n\t\t\tlet lang = route.params[\"lang\"] as \"fi\" | \"sv\" | \"en\" | undefined;\n\t\t\tif (lang && [\"fi\", \"sv\", \"en\"].includes(lang)) langFromUrl.value = lang;\n\t\t\telse {\n\t\t\t\t([\"fi\", \"sv\", \"en\"] as (\"fi\" | \"sv\" | \"en\")[]).forEach((x) => {\n\t\t\t\t\tif (!lang && survey.value?.languages?.map((y) => y.code).includes(x)) lang = x;\n\t\t\t\t});\n\t\t\t\tlangFromUrl.value = lang;\n\t\t\t}\n\t\t};\n\n\t\tconst isAnswerType = (type: SurveyQuestionTypeDto | undefined) => {\n\t\t\tif (!type) return false;\n\n\t\t\treturn type.id > 0;\n\t\t};\n\n\t\treturn {\n\t\t\tloading,\n\t\t\tsurvey,\n\t\t\t// firstPageTexts,\n\t\t\tcurrentPage,\n\t\t\tcurrentPageId,\n\t\t\tslideDirClass,\n\t\t\tactivations,\n\t\t\tactivatedActivations,\n\t\t\tanswerDto,\n\t\t\tlangFromUrl,\n\t\t\tinvalidCode,\n\t\t\tcPageAmount,\n\t\t\tcPageIndicatorColor,\n\t\t\tcPages,\n\t\t\tcIsTestAnswer,\n\t\t\t// cIngress,\n\t\t\tsurveyName,\n\t\t\tgetTextInCurrLang,\n\t\t\tgetComponentName,\n\t\t\tshowPage,\n\t\t\tpreviousPage,\n\t\t\tnextPage,\n\t\t\tfinished,\n\t\t\tupdateActivatedActivations,\n\t\t\tcheckIfQuestionActivated,\n\t\t\tsaveAnswerRow,\n\t\t\tsaveComment,\n\t\t\tsetLanguage,\n\t\t\tisAnswerType,\n\t\t};\n\t},\n\n\tcomponents: {\n\t\tSurveyHeader,\n\t\tSingleRadioComponent,\n\t\tNpsComponent,\n\t\tMultiLimitedComponent,\n\t\tTextSingleComponent,\n\t\tMultiCheckboxComponent,\n\t\tTextMultiComponent,\n\t\tSmileyComponent,\n\t\tSingleDropdownComponent,\n\t\tScoreComponent,\n\t},\n});\n","import { render } from \"./SurveyView.vue?vue&type=template&id=79b5b8ba&scoped=true&ts=true\"\nimport script from \"./SurveyView.vue?vue&type=script&lang=ts\"\nexport * from \"./SurveyView.vue?vue&type=script&lang=ts\"\n\nimport \"./SurveyView.vue?vue&type=style&index=0&id=79b5b8ba&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-79b5b8ba\"]])\n\nexport default __exports__","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock, createTextVNode as _createTextVNode, withCtx as _withCtx, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-4cc85bd0\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"container\" }\nconst _hoisted_2 = {\n key: 1,\n class: \"thank-you\"\n}\nconst _hoisted_3 = { class: \"title\" }\nconst _hoisted_4 = {\n key: 0,\n class: \"mt-3\",\n style: {\"white-space\":\"pre-wrap\"}\n}\nconst _hoisted_5 = {\n key: 1,\n class: \"mt-5\"\n}\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoSpinner = _resolveComponent(\"HakoSpinner\")!\n const _component_HakoButton = _resolveComponent(\"HakoButton\")!\n const _component_HakoContentBlock = _resolveComponent(\"HakoContentBlock\")!\n const _component_SurveyAnswer = _resolveComponent(\"SurveyAnswer\")!\n const _component_HakoModal = _resolveComponent(\"HakoModal\")!\n\n return (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_HakoContentBlock, {\n noHeader: true,\n class: \"mt-5\"\n }, {\n default: _withCtx(() => [\n (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_HakoSpinner, { key: 0 }))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.thankYouTitle ? _ctx.thankYouTitle : _ctx.$t(\"thankYouForAnswering\") + \"!\"), 1),\n (_ctx.thankYouText)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _toDisplayString(_ctx.thankYouText), 1))\n : _createCommentVNode(\"\", true),\n (_ctx.showAnswers)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$t(\"answerSummary\")), 1),\n _createVNode(_component_HakoButton, {\n class: \"mt-3\",\n theme: \"primary\",\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.showAnswersModal = true))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"showAnswers\")), 1)\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n ]),\n _: 1\n }),\n _createVNode(_component_HakoModal, {\n modelValue: _ctx.showAnswersModal,\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => ((_ctx.showAnswersModal) = $event)),\n title: _ctx.$t('answerSummary'),\n noCloseButton: \"\"\n }, {\n \"modal-buttons\": _withCtx(() => [\n _createVNode(_component_HakoButton, {\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.showAnswersModal = false)),\n theme: \"secondary\"\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(_ctx.$t(\"close\")), 1)\n ]),\n _: 1\n })\n ]),\n default: _withCtx(() => [\n _createVNode(_component_SurveyAnswer, {\n onClose: _cache[2] || (_cache[2] = ($event: any) => (_ctx.showAnswersModal = false)),\n code: (_ctx.$route.params['code'] as string),\n org: (_ctx.$route.params['org'] as string)\n }, null, 8, [\"code\", \"org\"])\n ]),\n _: 1\n }, 8, [\"modelValue\", \"title\"])\n ]))\n}","import { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createElementBlock as _createElementBlock, toDisplayString as _toDisplayString, createElementVNode as _createElementVNode, createVNode as _createVNode, withCtx as _withCtx, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-108f4a78\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 1 }\nconst _hoisted_2 = { class: \"question\" }\nconst _hoisted_3 = { class: \"description\" }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoSpinner = _resolveComponent(\"HakoSpinner\")!\n const _component_AnswerForSingleQuestion = _resolveComponent(\"AnswerForSingleQuestion\")!\n const _component_HakoContentBlock = _resolveComponent(\"HakoContentBlock\")!\n\n return (_ctx.loading)\n ? (_openBlock(), _createBlock(_component_HakoSpinner, { key: 0 }))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.answer.survey?.pages, (page) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: page.id\n }, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(page.questions, (question) => {\n return (_openBlock(), _createElementBlock(_Fragment, {\n key: question.id!\n }, [\n (_ctx.questionWasAnswered(question.id!))\n ? (_openBlock(), _createBlock(_component_HakoContentBlock, {\n key: 0,\n \"no-header\": true\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_2, _toDisplayString(_ctx.questionTitle(question.translations)), 1),\n _createElementVNode(\"div\", _hoisted_3, _toDisplayString(_ctx.questionDescription(question.translations)), 1),\n _createVNode(_component_AnswerForSingleQuestion, {\n answerRow: _ctx.answer.answerRows?.find((x) => x.questionId == question.id),\n question: question\n }, null, 8, [\"answerRow\", \"question\"])\n ]),\n _: 2\n }, 1024))\n : _createCommentVNode(\"\", true)\n ], 64))\n }), 128))\n ], 64))\n }), 128))\n ]))\n}","import { toDisplayString as _toDisplayString, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, renderList as _renderList, Fragment as _Fragment, createTextVNode as _createTextVNode, normalizeClass as _normalizeClass, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, createVNode as _createVNode, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = (n: any) => (_pushScopeId(\"data-v-05af7b79\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = {\n key: 0,\n class: \"selectedAnswer p-1\"\n}\nconst _hoisted_3 = { key: 1 }\nconst _hoisted_4 = {\n key: 0,\n style: {\"white-space\":\"pre-wrap\"}\n}\nconst _hoisted_5 = { key: 2 }\nconst _hoisted_6 = { class: \"table table-striped scoring-table\" }\nconst _hoisted_7 = [\"colspan\"]\nconst _hoisted_8 = { key: 0 }\nconst _hoisted_9 = { key: 0 }\nconst _hoisted_10 = [\"colspan\"]\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = { key: 0 }\nconst _hoisted_13 = {\n colspan: \"12\",\n style: {\"text-align\":\"end\"}\n}\nconst _hoisted_14 = { key: 3 }\nconst _hoisted_15 = [\"src\", \"alt\"]\nconst _hoisted_16 = {\n key: 4,\n class: \"nps\"\n}\nconst _hoisted_17 = {\n key: 5,\n class: \"mt-2\"\n}\nconst _hoisted_18 = {\n key: 0,\n class: \"selectedAnswer\"\n}\nconst _hoisted_19 = { key: 1 }\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n const _component_HakoBsIcon = _resolveComponent(\"HakoBsIcon\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (\n\t\t\t\t_ctx.question.type!.technicalName == 'textSingle' ||\n\t\t\t\t_ctx.question.type!.technicalName == 'textMulti'\n\t\t\t)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n (_ctx.answerRow?.answerText)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, _toDisplayString(_ctx.answerRow?.answerText), 1))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.isOptionType(_ctx.question.type!.technicalName))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_3, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.question.options?.filter((x) => x.isActive), (option) => {\n return (_openBlock(), _createElementBlock(\"div\", {\n key: option.id!,\n class: _normalizeClass([\"mb-1 p-1\", { 'selectedAnswer': _ctx.isAnswered(option.id!) }])\n }, [\n _createTextVNode(_toDisplayString(_ctx.optionName(option.translations!)) + \" \", 1),\n (_ctx.textAnswer(option.id))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, _toDisplayString(_ctx.textAnswer(option.id)), 1))\n : _createCommentVNode(\"\", true)\n ], 2))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.question.type!.technicalName == 'score')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_5, [\n _createElementVNode(\"table\", _hoisted_6, [\n _createElementVNode(\"thead\", null, [\n _createElementVNode(\"tr\", null, [\n _createElementVNode(\"td\", {\n colspan: 12 - _ctx.cPointsScaleSize\n }, null, 8, _hoisted_7),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cPoints, (point) => {\n return (_openBlock(), _createElementBlock(\"td\", { key: point }, _toDisplayString(point), 1))\n }), 128)),\n (_ctx.question.showNoAnswerOption)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_8, [\n _createTextVNode(\"-\"),\n (!!_ctx.cNoAnswerText)\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_9, \"*\"))\n : _createCommentVNode(\"\", true)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ]),\n _createElementVNode(\"tbody\", null, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.question.scorables?.filter((x) => x.isActive), (scorable) => {\n return (_openBlock(), _createElementBlock(\"tr\", {\n key: scorable.id!\n }, [\n _createElementVNode(\"td\", {\n colspan: 12 - _ctx.cPointsScaleSize,\n class: \"align-left\"\n }, _toDisplayString(_ctx.scorableText(scorable.translations!)), 9, _hoisted_10),\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.cPoints, (point) => {\n return (_openBlock(), _createElementBlock(\"td\", { key: point }, [\n _createVNode(_component_HakoBsIcon, {\n class: \"item\",\n icon: _ctx.isScoreAnswered(scorable.id!, point, false) ? 'check-circle-fill' : 'circle',\n theme: _ctx.isScoreAnswered(scorable.id!, point, false) ? 'success' : 'secondary'\n }, null, 8, [\"icon\", \"theme\"])\n ]))\n }), 128)),\n (_ctx.question.showNoAnswerOption)\n ? (_openBlock(), _createElementBlock(\"td\", _hoisted_11, [\n _createVNode(_component_HakoBsIcon, {\n class: \"item\",\n icon: _ctx.isScoreAnswered(scorable.id!, 0, true) ? 'check-circle-fill' : 'circle',\n theme: _ctx.isScoreAnswered(scorable.id!, 0, true) ? 'success' : 'secondary'\n }, null, 8, [\"icon\", \"theme\"])\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n }), 128)),\n (!!_ctx.cNoAnswerText)\n ? (_openBlock(), _createElementBlock(\"tr\", _hoisted_12, [\n _createElementVNode(\"td\", _hoisted_13, \" * \" + _toDisplayString(_ctx.cNoAnswerText), 1)\n ]))\n : _createCommentVNode(\"\", true)\n ])\n ])\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.question.type!.technicalName == 'smiley')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_14, [\n (_openBlock(true), _createElementBlock(_Fragment, null, _renderList(_ctx.getSmileys(_ctx.question.smileyAmount!), (smiley) => {\n return (_openBlock(), _createElementBlock(\"span\", {\n key: smiley,\n class: \"ms-2\"\n }, [\n _createElementVNode(\"img\", {\n src: '/assets/survey/' + smiley + '.png',\n alt: smiley + '',\n class: _normalizeClass([\"smiley\", { 'selectedAnswer': _ctx.answerRow?.smileyValue == smiley }])\n }, null, 10, _hoisted_15)\n ]))\n }), 128))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.question.type!.technicalName == 'nps')\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_16, [\n (_openBlock(), _createElementBlock(_Fragment, null, _renderList([0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], (nps) => {\n return _createElementVNode(\"div\", {\n key: nps,\n class: _normalizeClass([\"nps-item\", { 'selectedAnswer': _ctx.answerRow?.npsValue == nps }])\n }, _toDisplayString(nps), 3)\n }), 64))\n ]))\n : _createCommentVNode(\"\", true),\n (_ctx.question.asksComments)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_17, [\n _createElementVNode(\"div\", null, _toDisplayString(_ctx.$t(\"comments\")), 1),\n (_ctx.answerRow?.commentText)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_18, _toDisplayString(_ctx.answerRow.commentText), 1))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_19, _toDisplayString(_ctx.$t(\"noComments\")), 1))\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}","\nimport { i18n } from \"@/i18n\";\nimport {\n\tSurveyAnswerRowDto,\n\tSurveyQuestionDto,\n\tSurveyQuestionOptionTranslationDto,\n\tSurveyQuestionScorableTranslationDto,\n} from \"@/dto\";\nimport { computed, defineComponent, PropType } from \"vue\";\n\nexport default defineComponent({\n\tprops: {\n\t\tanswerRow: {\n\t\t\ttype: Object as PropType,\n\t\t\trequired: false,\n\t\t},\n\n\t\tquestion: {\n\t\t\ttype: Object as PropType,\n\t\t\trequired: true,\n\t\t},\n\t},\n\tsetup(props) {\n\t\tconst cPointsScaleSize = computed(() => {\n\t\t\tif (!props.question) return 0;\n\n\t\t\tif (props.question.pointsMax && props.question.pointsMin) {\n\t\t\t\tlet size = props.question.pointsMax! - props.question.pointsMin! + 1;\n\t\t\t\tif (props.question.showNoAnswerOption) size++;\n\t\t\t\treturn size <= 10 ? size : 10;\n\t\t\t}\n\n\t\t\treturn 0;\n\t\t});\n\n\t\tconst cPoints = computed(() => {\n\t\t\tlet arr = [];\n\t\t\tif (props.question.scoringIsReversed) {\n\t\t\t\tfor (let i = props.question.pointsMax!; i >= props.question.pointsMin!; i--) {\n\t\t\t\t\tarr.push(i);\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor (let i = props.question.pointsMin!; i <= props.question.pointsMax!; i++) {\n\t\t\t\t\tarr.push(i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn arr;\n\t\t});\n\n\t\tconst cNoAnswerText = computed(() => {\n\t\t\treturn props.question.translations.find((x) => x.languageCode == i18n.global.locale)\n\t\t\t\t?.noAnswerText;\n\t\t});\n\n\t\tconst getSmileys = (amount: number) => {\n\t\t\tif (amount == 2) return [5, 1];\n\t\t\tif (amount == 3) return [5, 3, 1];\n\t\t\tif (amount == 4) return [5, 4, 2, 1];\n\t\t\tif (amount == 5) return [5, 4, 3, 2, 1];\n\t\t\treturn [];\n\t\t};\n\n\t\tconst isOptionType = (typeName: string) => {\n\t\t\tif (\n\t\t\t\ttypeName == \"singleRadio\" ||\n\t\t\t\ttypeName == \"singleDropdown\" ||\n\t\t\t\ttypeName == \"multiCheckbox\" ||\n\t\t\t\ttypeName == \"multiLimited\"\n\t\t\t)\n\t\t\t\treturn true;\n\t\t\treturn false;\n\t\t};\n\n\t\tconst optionName = (translations: SurveyQuestionOptionTranslationDto[]) => {\n\t\t\tlet resp = \"\";\n\t\t\t[i18n.global.locale, \"fi\", \"sv\", \"en\"].forEach((lang) => {\n\t\t\t\tif (!resp) {\n\t\t\t\t\tlet translation = translations.find((x) => x.languageCode == lang);\n\t\t\t\t\tif (translation?.text) resp = translation.text;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn resp;\n\t\t};\n\n\t\tconst scorableText = (translations: SurveyQuestionScorableTranslationDto[]) => {\n\t\t\tlet resp = \"\";\n\t\t\t[i18n.global.locale, \"fi\", \"sv\", \"en\"].forEach((lang) => {\n\t\t\t\tif (!resp) {\n\t\t\t\t\tlet translation = translations.find((x) => x.languageCode == lang);\n\t\t\t\t\tif (translation?.text) resp = translation.text;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn resp;\n\t\t};\n\n\t\tconst isAnswered = (optionId: number) => {\n\t\t\tif (props.answerRow?.answerText && props.answerRow.answerText.length > 0) return true;\n\n\t\t\tif (props.answerRow?.optionId == optionId) return true;\n\n\t\t\tif (props.answerRow?.multiSelectOptions?.some((x) => x.optionId == optionId)) return true;\n\n\t\t\treturn false;\n\t\t};\n\n\t\tconst textAnswer = (optionId: number | null | undefined) => {\n\t\t\tif (!optionId) return \"\";\n\t\t\tif (props.answerRow?.optionId == optionId) return props.answerRow.optionManualAnswer;\n\n\t\t\tif (props.answerRow?.multiSelectOptions?.some((x) => x.optionId == optionId)) {\n\t\t\t\tconst opt = props.answerRow?.multiSelectOptions?.find((x) => x.optionId == optionId);\n\t\t\t\treturn opt?.otherOptionText ?? \"\";\n\t\t\t}\n\t\t\treturn \"\";\n\t\t};\n\n\t\tconst isScoreAnswered = (scorableId: number, points: number, noAnswer: boolean) => {\n\t\t\tif (\n\t\t\t\tprops.answerRow?.scores?.some(\n\t\t\t\t\t(x) =>\n\t\t\t\t\t\tx.scorableId == scorableId &&\n\t\t\t\t\t\t(x.points == points || (x.pointsNoAnswer && noAnswer))\n\t\t\t\t)\n\t\t\t)\n\t\t\t\treturn true;\n\n\t\t\treturn false;\n\t\t};\n\n\t\treturn {\n\t\t\tcPointsScaleSize,\n\t\t\tcPoints,\n\t\t\tcNoAnswerText,\n\t\t\tgetSmileys,\n\t\t\tisOptionType,\n\t\t\toptionName,\n\t\t\tscorableText,\n\t\t\tisAnswered,\n\t\t\ttextAnswer,\n\t\t\tisScoreAnswered,\n\t\t};\n\t},\n});\n","import { render } from \"./AnswerForSingleQuestion.vue?vue&type=template&id=05af7b79&scoped=true&ts=true\"\nimport script from \"./AnswerForSingleQuestion.vue?vue&type=script&lang=ts\"\nexport * from \"./AnswerForSingleQuestion.vue?vue&type=script&lang=ts\"\n\nimport \"./AnswerForSingleQuestion.vue?vue&type=style&index=0&id=05af7b79&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-05af7b79\"]])\n\nexport default __exports__","\nimport { i18n } from \"@/i18n\";\nimport AnswerForSingleQuestion from \"@/components/AnswerForSingleQuestion.vue\";\nimport {\n\tSurveyAnswerDto,\n\tSurveyQuestionTranslationDto,\n\tSurveyQuestionTypeTranslationDto,\n\tSurveyDto,\n} from \"@/dto\";\nimport { NotificationManager } from \"@hakosalo/hakolib\";\nimport { computed, defineComponent, onBeforeMount, PropType, ref } from \"vue\";\nimport axios from \"axios\";\nimport store from \"@/store\";\n\nexport default defineComponent({\n\tprops: {\n\t\tcode: {\n\t\t\ttype: String as PropType,\n\t\t},\n\n\t\torg: {\n\t\t\ttype: String as PropType,\n\t\t},\n\t},\n\n\tcomponents: {\n\t\tAnswerForSingleQuestion,\n\t},\n\n\tsetup(props) {\n\t\tconst { t } = i18n.global;\n\n\t\tonBeforeMount(async () => {\n\t\t\tif (cIsTestAnswer.value) {\n\t\t\t\tawait loadTestAnswerFromStore();\n\t\t\t} else {\n\t\t\t\tawait getAnswer();\n\t\t\t}\n\t\t});\n\n\t\tconst loading = ref(true);\n\t\tconst answer = ref({} as SurveyAnswerDto);\n\n\t\tconst getAnswer = async () => {\n\t\t\ttry {\n\t\t\t\tconst resp = await axios.get(`survey/answerSummary/${props.code}`, {\n\t\t\t\t\theaders: {\n\t\t\t\t\t\torganization: props.org,\n\t\t\t\t\t},\n\t\t\t\t});\n\n\t\t\t\tif (resp.data) {\n\t\t\t\t\tanswer.value = resp.data;\n\t\t\t\t\tloading.value = false;\n\t\t\t\t} else {\n\t\t\t\t\tNotificationManager.quickDanger(t(\"error_loading_data\"), t(\"problemGettingSurveys\"));\n\t\t\t\t\tloading.value = false;\n\t\t\t\t}\n\t\t\t} catch (ex) {\n\t\t\t\tconsole.log(ex);\n\t\t\t}\n\t\t};\n\n\t\tconst questionTitle = (translations: SurveyQuestionTranslationDto[]) => {\n\t\t\tlet resp = \"\";\n\t\t\t[i18n.global.locale, \"fi\", \"sv\", \"en\"].forEach((lang) => {\n\t\t\t\tif (!resp) {\n\t\t\t\t\tlet translation = translations.find((x) => x.languageCode == lang);\n\t\t\t\t\tif (translation?.question) resp = translation.question;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn resp;\n\t\t};\n\n\t\tconst questionDescription = (translations: SurveyQuestionTranslationDto[]) => {\n\t\t\tlet resp = \"\";\n\t\t\t[i18n.global.locale, \"fi\", \"sv\", \"en\"].forEach((lang) => {\n\t\t\t\tif (!resp) {\n\t\t\t\t\tlet translation = translations.find((x) => x.languageCode == lang);\n\t\t\t\t\tif (translation?.description) resp = translation.description;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn resp;\n\t\t};\n\n\t\tconst questionType = (translations: SurveyQuestionTypeTranslationDto[]) => {\n\t\t\tlet resp = \"\";\n\t\t\t[i18n.global.locale, \"fi\", \"sv\", \"en\"].forEach((lang) => {\n\t\t\t\tif (!resp) {\n\t\t\t\t\tlet translation = translations.find((x) => x.languageCode == lang);\n\t\t\t\t\tif (translation?.name) resp = translation.name;\n\t\t\t\t}\n\t\t\t});\n\n\t\t\treturn resp;\n\t\t};\n\n\t\tconst surveyName = (survey: SurveyDto) => {\n\t\t\tif (!survey) return \"\";\n\n\t\t\tif (survey.internalName) return survey.internalName;\n\n\t\t\tlet name = survey.translations.find((x) => x.languageCode == i18n.global.locale)?.name;\n\t\t\tif (name) return name;\n\n\t\t\t[\"fi\", \"sv\", \"en\"].forEach((lang) => {\n\t\t\t\tname = survey.translations.find((x) => x.languageCode == lang)?.name;\n\t\t\t\tif (name) return name;\n\t\t\t});\n\n\t\t\treturn t(\"nameNotFound\");\n\t\t};\n\n\t\tconst questionWasAnswered = (questionId: number) => {\n\t\t\tif (cIsTestAnswer.value) {\n\t\t\t\tif (answer.value.answerRows?.some((x) => x.questionId == questionId && x.answerId == 0))\n\t\t\t\t\treturn true;\n\t\t\t} else {\n\t\t\t\tif (answer.value.answerRows?.some((x) => x.questionId == questionId)) return true;\n\t\t\t}\n\n\t\t\treturn false;\n\t\t};\n\n\t\tconst cIsTestAnswer = computed((): boolean => {\n\t\t\tif (props.code && props.code.length == 15) return true;\n\n\t\t\treturn false;\n\t\t});\n\n\t\tconst loadTestAnswerFromStore = async () => {\n\t\t\tconst storeAnswer = store.getters.getTestAnswer as SurveyAnswerDto | null;\n\t\t\tif (storeAnswer?.surveyId) {\n\t\t\t\ttry {\n\t\t\t\t\tconst resp = await axios.get(\n\t\t\t\t\t\t`survey/WithQuestions/${storeAnswer.surveyId}`,\n\t\t\t\t\t\t{\n\t\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\t\torganization: props.org,\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t}\n\t\t\t\t\t);\n\n\t\t\t\t\tif (resp.data) {\n\t\t\t\t\t\tanswer.value = storeAnswer;\n\t\t\t\t\t\tanswer.value.survey = resp.data;\n\t\t\t\t\t\tloading.value = false;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tNotificationManager.quickDanger(\n\t\t\t\t\t\t\tt(\"error_loading_data\"),\n\t\t\t\t\t\t\tt(\"problemGettingSurveys\")\n\t\t\t\t\t\t);\n\t\t\t\t\t\tloading.value = false;\n\t\t\t\t\t}\n\t\t\t\t} catch (ex) {\n\t\t\t\t\tconsole.log(ex);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tloading.value = false;\n\t\t};\n\n\t\treturn {\n\t\t\tloading,\n\t\t\tanswer,\n\t\t\tquestionTitle,\n\t\t\tquestionDescription,\n\t\t\tquestionType,\n\t\t\tsurveyName,\n\t\t\tquestionWasAnswered,\n\t\t};\n\t},\n});\n","import { render } from \"./SurveyAnswer.vue?vue&type=template&id=108f4a78&scoped=true&ts=true\"\nimport script from \"./SurveyAnswer.vue?vue&type=script&lang=ts\"\nexport * from \"./SurveyAnswer.vue?vue&type=script&lang=ts\"\n\nimport \"./SurveyAnswer.vue?vue&type=style&index=0&id=108f4a78&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-108f4a78\"]])\n\nexport default __exports__","\nimport { i18n, setLanguageAsync } from \"@/i18n\";\nimport axios from \"axios\";\nimport { onBeforeMount } from \"vue\";\nimport { ref } from \"vue\";\nimport { defineComponent } from \"vue\";\nimport { useRoute } from \"vue-router\";\nimport SurveyAnswer from \"@/components/SurveyAnswer.vue\";\n\nexport default defineComponent({\n\tcomponents: { SurveyAnswer },\n\tsetup() {\n\t\tconst route = useRoute();\n\n\t\tonBeforeMount(async () => {\n\t\t\tsetLanguage();\n\t\t\tawait getThankYouTitle();\n\t\t\tawait getThankYouText();\n\t\t\tawait getShowSummary();\n\t\t\tloading.value = false;\n\t\t});\n\n\t\tconst thankYouTitle = ref(\"\");\n\t\tconst thankYouText = ref(\"\");\n\t\tconst loading = ref(true);\n\t\tconst showAnswers = ref(false);\n\t\tconst showAnswersModal = ref(false);\n\n\t\tconst getThankYouTitle = async () => {\n\t\t\ttry {\n\t\t\t\tconst response = await axios.get(\n\t\t\t\t\t`survey/thankYouTitle/${route.params[\"code\"]}/${i18n.global.locale}`,\n\t\t\t\t\t{\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\torganization: route.params[\"org\"],\n\t\t\t\t\t\t},\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tif (response?.data) thankYouTitle.value = response.data;\n\t\t\t} catch (ex: unknown) {\n\t\t\t\tconsole.log(\"Problem fetching thank you -title\");\n\t\t\t}\n\t\t};\n\n\t\tconst getThankYouText = async () => {\n\t\t\ttry {\n\t\t\t\tconst response = await axios.get(\n\t\t\t\t\t`survey/thankYouText/${route.params[\"code\"]}/${i18n.global.locale}`,\n\t\t\t\t\t{\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\torganization: route.params[\"org\"],\n\t\t\t\t\t\t},\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tthankYouText.value = response.data;\n\t\t\t} catch (ex: unknown) {\n\t\t\t\tconsole.log(\"Problem fetching thank you -text\");\n\t\t\t}\n\t\t};\n\n\t\tconst getShowSummary = async () => {\n\t\t\ttry {\n\t\t\t\tconst response = await axios.get(\n\t\t\t\t\t`survey/showSummary/${route.params[\"code\"]}`,\n\t\t\t\t\t{\n\t\t\t\t\t\theaders: {\n\t\t\t\t\t\t\torganization: route.params[\"org\"],\n\t\t\t\t\t\t},\n\t\t\t\t\t}\n\t\t\t\t);\n\t\t\t\tshowAnswers.value = response.data;\n\t\t\t} catch (ex: unknown) {\n\t\t\t\tconsole.log(\"Problem fetching show summary -data\");\n\t\t\t}\n\t\t};\n\n\t\tconst setLanguage = () => {\n\t\t\tlet lang = route.params[\"lang\"] as \"fi\" | \"sv\" | \"en\" | undefined;\n\t\t\tif (lang) setLanguageAsync(lang);\n\t\t};\n\n\t\treturn {\n\t\t\tthankYouTitle,\n\t\t\tthankYouText,\n\t\t\tloading,\n\t\t\tshowAnswers,\n\t\t\tshowAnswersModal,\n\t\t};\n\t},\n});\n","import { render } from \"./ThankYouView.vue?vue&type=template&id=4cc85bd0&scoped=true&ts=true\"\nimport script from \"./ThankYouView.vue?vue&type=script&lang=ts\"\nexport * from \"./ThankYouView.vue?vue&type=script&lang=ts\"\n\nimport \"./ThankYouView.vue?vue&type=style&index=0&id=4cc85bd0&scoped=true&lang=scss\"\n\nimport exportComponent from \"/opt/atlassian/pipelines/agent/build/client/node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4cc85bd0\"]])\n\nexport default __exports__","import { createRouter, createWebHistory, RouteRecordRaw } from \"vue-router\";\nimport SurveyView from \"../views/SurveyView.vue\";\nimport ThankYouView from \"@/views/ThankYouView.vue\";\n\nconst routes: Array = [\n\t{\n\t\tpath: \"/:org/:code/:lang?\",\n\t\tname: \"survey\",\n\t\t// route level code-splitting\n\t\t// this generates a separate chunk (about.[hash].js) for this route\n\t\t// which is lazy-loaded when the route is visited.\n\t\t// component: () => import(/* webpackChunkName: \"about\" */ '../views/AboutView.vue')\n\t\tcomponent: SurveyView,\n\t},\n\t{\n\t\tpath: \"/thankYou/:org/:code/:lang?\",\n\t\tname: \"thankYou\",\n\t\tcomponent: ThankYouView,\n\t},\n];\n\nconst router = createRouter({\n\thistory: createWebHistory(process.env.BASE_URL),\n\troutes,\n});\n\nexport default router;\n","import { createApp } from \"vue\";\nimport App from \"./App.vue\";\nimport router from \"./router\";\nimport store from \"./store\";\nimport axios from \"axios\";\nimport { i18n, setLanguageAsync } from \"./i18n\";\nimport { hakoLibVuePlugin } from \"@hakosalo/hakolib\";\n\n// Set default base url\naxios.defaults.baseURL = process.env[\"VUE_APP_CRM2API\"];\n\n// Mount app\ncreateApp(App).use(store).use(router).use(i18n).use(hakoLibVuePlugin).mount(\"#app\");\n\nsetLanguageAsync(\"fi\");\n","var map = {\n\t\"./en.json\": [\n\t\t790,\n\t\t627\n\t],\n\t\"./fi.json\": [\n\t\t2276,\n\t\t403\n\t],\n\t\"./sv.json\": [\n\t\t3244,\n\t\t914\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__.t(id, 3 | 16);\n\t});\n}\nwebpackAsyncContext.keys = function() { return Object.keys(map); };\nwebpackAsyncContext.id = 2695;\nmodule.exports = webpackAsyncContext;","// 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};","var getProto = Object.getPrototypeOf ? function(obj) { return Object.getPrototypeOf(obj); } : function(obj) { return obj.__proto__; };\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach(function(key) { def[key] = function() { return value[key]; }; });\n\t}\n\tdef['default'] = function() { return value; };\n\t__webpack_require__.d(ns, def);\n\treturn ns;\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__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = function(chunkId) {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce(function(promises, key) {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = function(chunkId) {\n\t// return url for filenames based on template\n\treturn \"js/\" + {\"403\":\"lang-fi-json\",\"627\":\"lang-en-json\",\"914\":\"lang-sv-json\"}[chunkId] + \".\" + {\"403\":\"2febaf40\",\"627\":\"93ee8870\",\"914\":\"cc356a23\"}[chunkId] + \".js\";\n};","// This function allow to reference async chunks\n__webpack_require__.miniCssF = function(chunkId) {\n\t// return url for filenames based on template\n\treturn undefined;\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); }","var inProgress = {};\nvar dataWebpackPrefix = \"client:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = function(url, done, key, chunkId) {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = function(prev, event) {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach(function(fn) { return fn(event); });\n\t\tif(prev) return prev(event);\n\t}\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","// 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__.p = \"/\";","// 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\t143: 0\n};\n\n__webpack_require__.f.j = function(chunkId, promises) {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise(function(resolve, reject) { installedChunkData = installedChunks[chunkId] = [resolve, reject]; });\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = function(event) {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n};\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[\"webpackChunkclient\"] = self[\"webpackChunkclient\"] || [];\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, [998], function() { return __webpack_require__(7782); })\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["_createBlock","_component_router_view","script","__exports__","render","_hoisted_1","class","_hoisted_2","key","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","style","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_ctx","_cache","$props","$setup","$data","$options","_component_SurveyHeader","_resolveComponent","_component_HakoSpinner","_component_HakoConvertHyperlinks","_component_HakoTextArea","_component_HakoContentBlock","_component_HakoButton","_openBlock","_createElementBlock","cIsTestAnswer","_toDisplayString","$t","_createCommentVNode","_withDirectives","_createVNode","title","surveyName","survey","languages","langFromUrl","pageIndicatorColor","cPageIndicatorColor","currentPage","pageAmount","cPageAmount","surveyId","id","altText","getTextInCurrLang","translations","_vShow","loading","invalidCode","_createElementVNode","_Fragment","_renderList","cPages","page","index","_Transition","name","slideDirClass","mode","default","_withCtx","questions","question","noHeader","_normalizeStyle","type","technicalName","_createTextVNode","isRequired","_","maxOptionPicks","isAnswerType","_resolveDynamicComponent","getComponentName","typeId","questionData","lang","$i18n","locale","activations","filter","x","options","some","o","optionId","activatingQuestionId","answerRow","answerDto","answerRows","find","questionId","onActivatedActivations","$event","updateActivatedActivations","onSave","saveAnswerRow","asksComments","for","modelValue","commentText","onChange","saveComment","checkIfQuestionActivated","theme","onClick","previousPage","length","nextPage","finished","showPage","_component_HakoMultiselect","src","cBaseUrl","selectedLanguage","alt","onError","hideLogo","cLanguages","placeholder","loadedLanguages","i18n","createI18n","process","VUE_APP_I18N_LOCALE","fallbackLocale","VUE_APP_I18N_FALLBACK_LOCALE","messages","setI18nLanguage","global","axios","document","querySelector","setAttribute","setLanguageAsync","async","code","then","setLocaleMessage","push","config","defineComponent","props","String","Array","required","Number","setup","ref","computed","map","value","text","native","setLanguage","watch","newValue","oldValue","immediate","newVal","oldVal","_component_HakoSingleSelect2","isActive","answer","y","languageCode","toString","cIsOtherOption","otherText","Object","data","allowSaving","created","this","emitAnswer","debounce","emitAnswerText","mounted","optionManualAnswer","setTimeout","updateActivations","isOtherOption","handler","opt","methods","$emit","_component_HakoRadio","option","userHasAnswered","getSmileys","smileyAmount","smiley","selected","smileyValue","amount","numericValue","answerText","_component_HakoInput","answerNumbers","checkActivations","_vModelCheckbox","includes","undefined","answerDtos","otherOptionText","multiSelectOptions","forEach","num","optionHasActivation","updateAddedActivations","activatedActivations","userHasEdited","event","target","checked","removedDto","updateRemovedActivations","newDto","activated","concat","answers","val","deep","_withModifiers","checkLimit","npsValue","colspan","_component_HakoBsIcon","cPointsScaleSize","cPoints","point","showNoAnswerOption","cHasNoAnswerText","row","scorable","points","pointsNoAnswer","icon","noAnswerText","setupThings","pointsMax","pointsMin","size","arr","scoringIsReversed","i","scorables","scorableId","scores","nonEmptyAnswers","createStore","state","testAnswer","getters","getTestAnswer","mutations","setTestAnswer","actions","modules","route","useRoute","router","useRouter","onBeforeMount","getSurvey","currentPageId","pages","activePages","checkIfPageActivated","sortedPages","sortBy","order","params","found","response","headers","organization","formatAnswerDto","getActivations","ex","console","log","questionTypeId","componentMap","Map","get","validateAnswers","store","commit","createNewAnswer","uniqueCode","org","list","pageId","activatesPageId","activatesQuestionId","deleteAnswerRow","answerId","trim","shownQuestions","requiredQuestions","questionsAreAnswered","valid","rowValid","el","getElementById","scrollIntoView","block","behavior","classList","toggle","components","SurveyHeader","SingleRadioComponent","NpsComponent","MultiLimitedComponent","TextSingleComponent","MultiCheckboxComponent","TextMultiComponent","SmileyComponent","SingleDropdownComponent","ScoreComponent","_component_SurveyAnswer","_component_HakoModal","thankYouTitle","thankYouText","showAnswers","showAnswersModal","noCloseButton","onClose","$route","_component_AnswerForSingleQuestion","questionWasAnswered","questionTitle","questionDescription","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","isOptionType","_normalizeClass","isAnswered","optionName","textAnswer","cNoAnswerText","scorableText","isScoreAnswered","nps","typeName","resp","translation","noAnswer","AnswerForSingleQuestion","t","loadTestAnswerFromStore","getAnswer","NotificationManager","description","questionType","internalName","storeAnswer","SurveyAnswer","getThankYouTitle","getThankYouText","getShowSummary","routes","path","component","SurveyView","ThankYouView","createRouter","history","createWebHistory","createApp","App","use","hakoLibVuePlugin","mount","webpackAsyncContext","req","__webpack_require__","Promise","resolve","e","Error","ids","keys","module","exports","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","call","m","deferred","O","result","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","every","splice","r","n","getter","__esModule","d","a","leafPrototypes","getProto","getPrototypeOf","obj","__proto__","ns","create","def","current","indexOf","getOwnPropertyNames","definition","defineProperty","enumerable","f","chunkId","all","reduce","promises","u","miniCssF","g","globalThis","Function","window","prop","prototype","hasOwnProperty","inProgress","dataWebpackPrefix","l","url","done","needAttach","scripts","getElementsByTagName","s","getAttribute","createElement","charset","timeout","nc","onScriptComplete","prev","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","bind","head","appendChild","Symbol","toStringTag","nmd","paths","children","p","installedChunks","installedChunkData","promise","reject","error","loadingEnded","errorType","realSrc","message","request","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"sourceRoot":""}