1(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{632:function(e,t,r){var content=r(927);"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(11).default)("8d1df490",content,!0,{sourceMap:!1})},633:function(e,t,r){var content=r(929);"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(11).default)("6383fd1b",content,!0,{sourceMap:!1})},926:function(e,t,r){"use strict";r(632)},927:function(e,t,r){(t=r(10)(!1)).push([e.i,"[data-v-44458620]:export{breakpoint-s:480px;breakpoint-m:768px;breakpoint-l:1024px;breakpoint-xl:1440px;breakpoint-xxl:1920px;breakpoint-1200:1200px;color-blue:#6dcff6;color-blue-light:#77cdf4;color-blue-dark:#00acea;color-blue-darker:#00f;color-green:#72b62b;color-green-dark:green;color-grey-light:#dbdbdb;default-font-color:#231f20;color-white:#fff;color-magenta:#c10a75;z-index-header:120;height-header:113px;height-additional-menu:42px;main-container-size:1600px;mobile-margin:15px}.answer-tile-container[data-v-44458620]{display:flex;justify-content:center;padding:12px;border-radius:8px}.answer-tile-container.active[data-v-44458620]{color:#fff;background-color:#72b62b;cursor:pointer;transition:.3s;transition-timing-function:ease-in-out}.answer-tile-container.active[data-v-44458620]:hover{background-color:#43a047}.answer-tile-container.inactive[data-v-44458620]{color:#231f20;background-color:#f0f0f0}",""]),e.exports=t},928:function(e,t,r){"use strict";r(633)},929:function(e,t,r){(t=r(10)(!1)).push([e.i,"[data-v-087a4406]:export{breakpoint-s:480px;breakpoint-m:768px;breakpoint-l:1024px;breakpoint-xl:1440px;breakpoint-xxl:1920px;breakpoint-1200:1200px;color-blue:#6dcff6;color-blue-light:#77cdf4;color-blue-dark:#00acea;color-blue-darker:#00f;color-green:#72b62b;color-green-dark:green;color-grey-light:#dbdbdb;default-font-color:#231f20;color-white:#fff;color-magenta:#c10a75;z-index-header:120;height-header:113px;height-additional-menu:42px;main-container-size:1600px;mobile-margin:15px}.progress-indicator-container[data-v-087a4406]{margin-bottom:35px;padding-left:20px;padding-right:20px}.answers-container[data-v-087a4406]{margin:0 10px}.fade-enter-active[data-v-087a4406],.fade-leave-active[data-v-087a4406]{transition:opacity .125s}.fade-enter[data-v-087a4406],.fade-leave-to[data-v-087a4406]{opacity:0}
1@media screen and (min-width:1440px){.progress-indicator-container[data-v-087a4406]{margin-top:-10px}.answers-container[data-v-087a4406]{margin-top:-50px}}",""]),e.exports=t},949:function(e,t,r){"use strict";r.r(t);r(46);var n=r(13),o=(r(21),r(25),r(32)),c="answeredSurveys",l=r(165),d=(r(30),{name:"AnswerTile",props:{answer:{type:Object,default:function(){return{}}},percentage:{type:Number,default:0},active:{type:Boolean,default:!0}},computed:{results:function(){return"".concat(this.active?"":this.percentage+"%")}}}),f=(r(926),r(6)),v=Object(f.a)(d,(function(){var e=this.$createElement;return(this._self._c||e)("div",{class:"answer-tile-container "+(this.active?"active":"inactive")},[this._v("\n "+this._s(this.answer.value)+"\n "+this._s(this.results)+"\n")])}),[],!1,null,"44458620",null).exports,h=r(168),x=r(103);function w(e){return JSON.parse(localStorage.getItem(e))}var m={name:"Survey",components:{LinearProgressIndicator:h.a,AnswerTile:v,TeaserHeadline:l.a},props:{survey:{type:Object,default:function(){return{}}}},data:function(){return{loading:!1,question:"",answers:[],surveyId:"",showResults:!1}},computed:{progressColor:function(){return Object(x.d)("color-magenta")}},mounted:function(){this.fetchSurvey()},methods:{calculatePercentage:function(e){if(!this.answers)return 0;var t=this.answers.reduce((function(e,t){return e+t.votes}),0);return Math.round(e/t*100)},isSurveyAnswered:function(){var e=w(c);return e&&e.includes(this.surveyId)},setSurveyAnswered:function(){var e,t,r=w(c);r?r.push(this.surveyId):(r=[]).push(this.surveyId),e=c,t=r,localStorage.setItem(e,JSON.stringify(t)),this.showResults=!0},fetchSurvey:function(){var e=this;return Object(n.a)(regeneratorRuntime.mark((function t(){var r,n,o,content;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=(null===(r=e.survey.urls)||void 0===r?void 0:r[e.$currentLocale()])+".json",t.next=3,e.$suluApi.get(n);case 3:o=t.sent,content=o.data.content,e.question=content.question,e.answers=content.possible_answers,e.surveyId=o.data.id,e.showResults=content.expired||e.isSurveyAnswered();case 9:case"end":return t.stop()}}),t)})))()},vote:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function r(){var data;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(t.isSurveyAnswered()){r.next=9;break}return t.loading=!0,data={surveyId:t.surveyId,answer:e.value,locale:t.$currentLocale()},r.next=5,t.$ssrApi.post(o.a.SURVEY_UPDATE,data);case 5:return r.next=7,t.fetchSurvey();case 7:t.setSurveyAnswered(),t.loading=!1;case 9:case"end":return r.stop()}}),r)})))()}}},y=(r(928),r(18)),k=r.n(y),S=r(475),A=r(476),I=Object(f.a)(m,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"internal-container"},[r("TeaserHeadline",{attrs:{headline:e.$i18n("survey"),description:e.question}}),e._v(" "),r("transition",{attrs:{name:"fade",mode:"out-in"}},[e.loading?r("LinearProgressIndicator",{staticClass:"progress-indicator-container",attrs:{color:e.progressColor}}):r("v-row",{staticClass:"answers-container",attrs:{justify:"center"}},e._l(e.answers,(function(t){return r("v-col",{key:t.value,attrs:{cols:"12",md:"6",lg:"3"}},[r("AnswerTile",{attrs:{answer:t,active:!e.showResults,percentage:e.calculatePercentage(t.votes)},nativeOn:{click:function(r){return e.vote(t)}}})],1)})),1)],1)],1)}),[],!1,null,"087a4406",null);t.default=I.exports;k()(I,{VCol:S.a,VRow:A.a})}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.