{"version":3,"sources":["webpack:///./src/views/riskProfile/RiskProfileQuestion.vue?c164","webpack:///./node_modules/core-js/modules/_inherit-if-required.js","webpack:///./src/components/BackButton.vue?bae8","webpack:///./src/components/BackButton.vue","webpack:///./src/components/BackButton.vue?e008","webpack:///./src/components/BackButton.vue?9d38","webpack:///./src/views/riskProfile/RiskProfiler.vue?919d","webpack:///./src/views/riskProfile/RiskProfileQuestion.vue?bc38","webpack:///./src/views/riskProfile/RiskProfileQuestion.vue","webpack:///./src/views/riskProfile/RiskProfileQuestion.vue?a925","webpack:///./src/views/riskProfile/RiskProfileQuestion.vue?d53c","webpack:///./src/views/riskProfile/RiskProfiler.vue","webpack:///./src/views/riskProfile/RiskProfiler.vue?edc4","webpack:///./src/views/riskProfile/RiskProfiler.vue?47a6","webpack:///./node_modules/core-js/modules/_set-proto.js","webpack:///./node_modules/core-js/modules/_string-trim.js","webpack:///./node_modules/core-js/modules/es6.number.constructor.js","webpack:///./node_modules/core-js/modules/_string-ws.js"],"names":["_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RiskProfileQuestion_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_6_oneOf_1_0_node_modules_css_loader_index_js_ref_6_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_6_oneOf_1_2_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_RiskProfileQuestion_vue_vue_type_style_index_0_lang_css___WEBPACK_IMPORTED_MODULE_0___default","n","isObject","setPrototypeOf","set","module","exports","that","target","C","P","S","constructor","prototype","render","_vm","this","_h","$createElement","_c","_self","on","click","goBack","staticClass","attrs","icon","_t","_v","staticRenderFns","BackButtonvue_type_script_lang_ts_BackButton","_Vue","BackButton","Object","classCallCheck","possibleConstructorReturn","getPrototypeOf","apply","arguments","inherits","createClass","key","value","undefined","params","router","push","name","route","home","contactId","toString","get","routeName","vue_runtime_esm","tslib_es6","vue_property_decorator","vue_class_component_esm","BackButtonvue_type_script_lang_ts_","components_BackButtonvue_type_script_lang_ts_","component","componentNormalizer","__webpack_exports__","route-name","_m","_s","contactName","_l","q","i","id","question","submitted","number","variant","$event","submit","RiskProfileQuestionvue_type_template_id_7216fc67_render","class","uiControlWidth","label","text","label-for","state","isValid","invalid-feedback","stacked","model","callback","$$v","selectedCheckboxes","expression","a","_e","multipleAnswersAllowed","selectedSingle","options","answers","value-field","text-field","type","selectedValue","src","imageUrl","alt","validationMessage","RiskProfileQuestionvue_type_template_id_7216fc67_staticRenderFns","RiskProfileQuestionvue_type_script_lang_ts_RiskProfileQuestion","RiskProfileQuestion","_this","_this2","responses","store","Responses","find","x","questionId","selectedValues","isNumeric","updateState","newResponse","requestId","SelectedRequest","selectedAnswers","SetResponse","_this3","selected","concat","answer","answerRequired","length","uiControlType","ClientPortalApiClient","RadioButtons","DropDownList","Numeric","message","qId","val","ValidationMessages","props","Boolean","Number","watch","RiskProfileQuestionvue_type_script_lang_ts_","riskProfile_RiskProfileQuestionvue_type_script_lang_ts_","riskProfile_RiskProfileQuestion","RiskProfilervue_type_script_lang_ts_RiskProfiler","RiskProfiler","questions","_created","asyncToGenerator","regeneratorRuntime","mark","_callee","success","wrap","_context","prev","next","Show","LoadRequests","ProfileIsComplete","Hide","riskprofilerresults","LoadQuestions","sent","Questions","Failure","stop","created","_submit","_callee2","result","alertService","_context2","AllQuestionsAnswered","CompleteQuestionnaire","alert_service","warn","contactFullName","components","RiskProfilervue_type_script_lang_ts_","riskProfile_RiskProfilervue_type_script_lang_ts_","RiskProfiler_component","anObject","check","O","proto","TypeError","test","buggy","Function","call","f","Array","e","__proto__","$export","defined","fails","spaces","space","non","ltrim","RegExp","rtrim","exporter","KEY","exec","ALIAS","exp","FORCE","fn","trim","F","string","TYPE","String","replace","global","has","cof","inheritIfRequired","toPrimitive","gOPN","gOPD","dP","$trim","NUMBER","$Number","Base","BROKEN_COF","TRIM","toNumber","argument","it","third","radix","maxCode","first","charCodeAt","NaN","code","digits","slice","l","parseInt","valueOf","keys","split","j"],"mappings":"kHAAA,IAAAA,EAAAC,EAAA,QAAAC,EAAAD,EAAAE,EAAAH,GAAyeE,EAAG,mDCA5e,IAAAE,EAAeH,EAAQ,QACvBI,EAAqBJ,EAAQ,QAAcK,IAC3CC,EAAAC,QAAA,SAAAC,EAAAC,EAAAC,GACA,IACAC,EADAC,EAAAH,EAAAI,YAIG,OAFHD,IAAAF,GAAA,mBAAAE,IAAAD,EAAAC,EAAAE,aAAAJ,EAAAI,WAAAX,EAAAQ,IAAAP,GACAA,EAAAI,EAAAG,GACGH,wCCPH,IAAAO,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAE,EAAA,OAAAA,EAAA,UAA8BE,GAAA,CAAIC,MAAAP,EAAAQ,SAAoB,CAAAJ,EAAA,qBAA0BK,YAAA,oBAAAC,MAAA,CAAuCC,KAAA,cAAmBX,EAAAY,GAAA,WAAAZ,EAAAa,GAAA,oCACnOC,EAAA,uICkBqBC,EAArB,SAAAC,GAAA,SAAAC,IAAA,OAAAC,OAAAC,EAAA,KAAAD,CAAAjB,KAAAgB,GAAAC,OAAAE,EAAA,KAAAF,CAAAjB,KAAAiB,OAAAG,EAAA,KAAAH,CAAAD,GAAAK,MAAArB,KAAAsB,YAAA,OAAAL,OAAAM,EAAA,KAAAN,CAAAD,EAAAD,GAAAE,OAAAO,EAAA,KAAAP,CAAAD,EAAA,EAAAS,IAAA,SAAAC,MAAA,gBAUuBC,GAAf3B,K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EAAA,EAA2BF,EAAAvH,OAAAyH,EAAiBA,IAC5C9B,EAAAU,EAAA9L,EAAAgN,EAAAE,MAAA9B,EAAAS,EAAA7L,IACA0L,EAAAG,EAAA7L,EAAAyL,EAAAK,EAAA9L,IAGA6L,EAAAzN,UAAA+K,EACAA,EAAAhL,YAAA0N,EACEvO,EAAQ,OAARA,CAAqB6N,EAAAS,EAAAC,wBCnEvBjO,EAAAC,QAAA","file":"js/chunk-46ca5779.16dd8764.js","sourcesContent":["import mod from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RiskProfileQuestion.vue?vue&type=style&index=0&lang=css&\"; export default mod; export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RiskProfileQuestion.vue?vue&type=style&index=0&lang=css&\"","var isObject = require('./_is-object');\nvar setPrototypeOf = require('./_set-proto').set;\nmodule.exports = function (that, target, C) {\n var S = target.constructor;\n var P;\n if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n setPrototypeOf(that, P);\n } return that;\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('b-link',{on:{\"click\":_vm.goBack}},[_c('font-awesome-icon',{staticClass:\"mr-2 text-primary\",attrs:{\"icon\":\"backward\"}}),_vm._t(\"default\",[_vm._v(\"\\n Go back\\n \")])],2)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { Prop } from \"vue-property-decorator\";\r\nimport router, { ROUTES } from \"../router\";\r\n\r\n@Component\r\nexport default class BackButton extends Vue {\r\n @Prop()\r\n private routeName?: string;\r\n @Prop()\r\n private params?: string | undefined;\r\n\r\n get route(): string {\r\n return this.routeName || ROUTES.home;\r\n }\r\n private goBack() {\r\n if (this.params != undefined) {\r\n router.push({\r\n name: this.route || ROUTES.home,\r\n params: { contactId: this.params.toString() }\r\n });\r\n } else router.push({ name: this.route || ROUTES.home });\r\n }\r\n}\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BackButton.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??ref--14-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BackButton.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./BackButton.vue?vue&type=template&id=79fb562f&\"\nimport script from \"./BackButton.vue?vue&type=script&lang=ts&\"\nexport * from \"./BackButton.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row no-gutters\"},[_c('div',{staticClass:\"col-12\"},[_c('BackButton',{staticClass:\"mb-3\",attrs:{\"route-name\":\"home\"}})],1),_c('div',{staticClass:\"col-sm\"},[_c('div',{staticClass:\"bg-white p-3 rounded mb-4\"},[_c('div',{staticClass:\"row d-flex align-items-center\"},[_vm._m(0),_c('div',{staticClass:\"col-12 col-md-6 text-md-right\"},[_c('p',{staticClass:\"text-subtitle text-secondary m-0\"},[_vm._v(_vm._s(_vm.contactName))])])])]),_c('div',{staticClass:\"row\"},_vm._l((_vm.questions),function(q,i){return _c('risk-profile-question',{key:q.id,attrs:{\"question\":q,\"submitted\":_vm.submitted,\"number\":i + 1}})}),1),_c('div',{staticClass:\"text-right mt-3 mt-md-5 mb-3 mb-md-5\"},[_c('b-button',{attrs:{\"variant\":\"primary\"},on:{\"click\":function($event){return _vm.submit()}}},[_vm._v(\"View Your Risk Score\")])],1)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col-12 col-md-6\"},[_c('p',{staticClass:\"text-title m-0\"},[_vm._v(\"Risk Profile Questionnaire\")])])}]\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'col-' + _vm.question.uiControlWidth},[_c('b-card',{staticClass:\"p-1 p-md-3 mt-3\"},[_c('b-form-group',{staticClass:\"risk-question-group\",attrs:{\"id\":'question-group-' + _vm.question.id,\"label\":_vm.number + '. ' + _vm.question.text,\"label-for\":'input-' + _vm.question.id,\"state\":_vm.submitted ? _vm.isValid : true,\"invalid-feedback\":\"Please select an answer\"}},[(_vm.isRadioButton)?_c('div',[(_vm.question.multipleAnswersAllowed)?_c('div',{staticClass:\"answer-options\"},[_c('b-form-checkbox-group',{attrs:{\"stacked\":\"\"},model:{value:(_vm.selectedCheckboxes),callback:function ($$v) {_vm.selectedCheckboxes=$$v},expression:\"selectedCheckboxes\"}},_vm._l((_vm.question.answers),function(a){return _c('b-form-checkbox',{key:a.id,attrs:{\"id\":'answer-' + a.id,\"value\":a.id}},[_vm._v(\"\\n \"+_vm._s(a.text)+\"\\n \")])}),1)],1):_vm._e(),(!_vm.question.multipleAnswersAllowed)?_c('div',{staticClass:\"answer-options\"},_vm._l((_vm.question.answers),function(a){return _c('b-form-radio',{key:a.id,attrs:{\"id\":'answer-' + a.id,\"name\":'radio-group-' + _vm.question.id,\"value\":a.id},model:{value:(_vm.selectedSingle),callback:function ($$v) {_vm.selectedSingle=$$v},expression:\"selectedSingle\"}},[_vm._v(\"\\n \"+_vm._s(a.text)+\"\\n \")])}),1):_vm._e()]):_vm._e(),(_vm.isDropDown)?_c('div',[_c('div',{staticClass:\"answer-options\"},[_c('b-form-select',{attrs:{\"options\":_vm.question.answers,\"value-field\":\"id\",\"text-field\":\"text\"},model:{value:(_vm.selectedSingle),callback:function ($$v) {_vm.selectedSingle=$$v},expression:\"selectedSingle\"}})],1)]):_vm._e(),(_vm.isNumeric)?_c('div',[_c('div',{staticClass:\"answer-options\"},[_c('b-form-input',{attrs:{\"type\":\"number\"},model:{value:(_vm.selectedValue),callback:function ($$v) {_vm.selectedValue=$$v},expression:\"selectedValue\"}})],1)]):_vm._e(),(_vm.question.includesImage)?_c('div',{staticClass:\"image-container mt-3\"},[_c('img',{attrs:{\"src\":'./img/' + _vm.question.imageUrl,\"alt\":\"Risk profile chart\"}})]):_vm._e(),_c('p',{staticClass:\"text-danger validation-error mt-1 mb-0\"},[_vm._v(\"\\n \"+_vm._s(_vm.validationMessage)+\"\\n \")])])],1)],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport {\r\n RiskProfileQuestionDto,\r\n UIControlType\r\n} from \"@/api/ClientPortalApiClient\";\r\nimport { RiskProfileStore } from \"@/store\";\r\nimport QuestionResponse from \"./QuestionResponse\";\r\n\r\n@Component({\r\n props: {\r\n question: {\r\n type: Object as () => RiskProfileQuestionDto\r\n },\r\n submitted: {\r\n type: Boolean\r\n },\r\n number: {\r\n type: Number\r\n }\r\n },\r\n // Watch the values of the selected items so we can update our state in the Vuex store\r\n watch: {\r\n selectedCheckboxes: function() {\r\n this.updateState();\r\n },\r\n selectedSingle: function() {\r\n this.updateState();\r\n },\r\n selectedValue: function() {\r\n this.updateState();\r\n }\r\n }\r\n})\r\nexport default class RiskProfileQuestion extends Vue {\r\n question?: RiskProfileQuestionDto;\r\n number?: number;\r\n submitted?: boolean;\r\n\r\n selectedCheckboxes: number[] = [];\r\n selectedSingle: number = 0;\r\n selectedValue: string = \"0\";\r\n\r\n created() {\r\n const responses = RiskProfileStore.Responses;\r\n if (responses && this.question) {\r\n const state = responses.find(\r\n x => x.questionId == (this.question ? this.question.id : 0)\r\n );\r\n if (state) {\r\n if (this.question.multipleAnswersAllowed) {\r\n this.selectedCheckboxes = state.selectedValues;\r\n } else if (this.isNumeric) {\r\n this.selectedValue =\r\n this.question.answers!.find(x => x.id === state.selectedValues[0])!\r\n .text || \"18\";\r\n } else {\r\n this.selectedSingle = state.selectedValues[0];\r\n }\r\n this.updateState();\r\n }\r\n }\r\n }\r\n\r\n get selectedAnswers(): number[] {\r\n let selected: number[] = [];\r\n selected = selected.concat(this.selectedCheckboxes);\r\n\r\n if (this.selectedSingle > 0) {\r\n selected.push(this.selectedSingle);\r\n }\r\n\r\n if (this.selectedValue !== \"0\") {\r\n const answer = this.question!.answers!.find(\r\n x => x.text == this.selectedValue\r\n );\r\n if (answer) {\r\n selected.push(answer.id);\r\n }\r\n }\r\n\r\n return selected;\r\n }\r\n\r\n get isValid(): boolean {\r\n return !this.question!.answerRequired || this.selectedAnswers.length > 0;\r\n }\r\n\r\n get isRadioButton(): boolean {\r\n return this.question\r\n ? this.question.uiControlType == UIControlType.RadioButtons\r\n : false;\r\n }\r\n\r\n get isDropDown(): boolean {\r\n return this.question\r\n ? this.question.uiControlType == UIControlType.DropDownList\r\n : false;\r\n }\r\n\r\n get isNumeric(): boolean {\r\n return this.question\r\n ? this.question.uiControlType == UIControlType.Numeric\r\n : false;\r\n }\r\n\r\n get validationMessage(): string {\r\n let message: string | undefined;\r\n const qId = this.question ? this.question.id : 0;\r\n if (qId > 0) {\r\n const val = RiskProfileStore.ValidationMessages.find(\r\n x => x.questionId === qId\r\n );\r\n message = val ? val.message : \"\";\r\n }\r\n\r\n return message || \"\";\r\n }\r\n\r\n updateState() {\r\n if (this.question) {\r\n const newResponse: QuestionResponse = {\r\n requestId: RiskProfileStore.SelectedRequest.id,\r\n questionId: this.question.id,\r\n selectedValues: this.selectedAnswers\r\n };\r\n\r\n RiskProfileStore.SetResponse(newResponse);\r\n }\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RiskProfileQuestion.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RiskProfileQuestion.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RiskProfileQuestion.vue?vue&type=template&id=7216fc67&\"\nimport script from \"./RiskProfileQuestion.vue?vue&type=script&lang=ts&\"\nexport * from \"./RiskProfileQuestion.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./RiskProfileQuestion.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\r\nimport Vue from \"vue\";\r\nimport Component from \"vue-class-component\";\r\nimport { RiskProfileStore, LoadingSpinnerService } from \"@/store\";\r\nimport { RiskProfileQuestionDto } from \"@/api/ClientPortalApiClient\";\r\nimport RiskProfileQuestion from \"./RiskProfileQuestion.vue\";\r\nimport BackButton from \"@/components/BackButton.vue\";\r\nimport AlertService from \"@/services/alert.service\";\r\nimport router, { ROUTES } from \"@/router\";\r\n\r\n@Component({\r\n name: \"risk-profiler\",\r\n components: {\r\n RiskProfileQuestion,\r\n BackButton\r\n }\r\n})\r\nexport default class RiskProfiler extends Vue {\r\n questions: RiskProfileQuestionDto[] = [];\r\n submitted: boolean = false;\r\n\r\n async created() {\r\n LoadingSpinnerService.Show(\"Loading risk profile...\");\r\n await RiskProfileStore.LoadRequests();\r\n\r\n if (RiskProfileStore.ProfileIsComplete) {\r\n LoadingSpinnerService.Hide();\r\n router.push({ name: ROUTES.riskprofilerresults });\r\n } else {\r\n var success = await RiskProfileStore.LoadQuestions();\r\n if (success) {\r\n this.questions = RiskProfileStore.Questions;\r\n LoadingSpinnerService.Hide();\r\n } else {\r\n LoadingSpinnerService.Failure(\r\n \"Unable to load the Risk Profiler. Please try again.\"\r\n );\r\n }\r\n }\r\n }\r\n\r\n async submit() {\r\n this.submitted = true;\r\n if (RiskProfileStore.AllQuestionsAnswered) {\r\n LoadingSpinnerService.Show(\"Calculating your risk score...\");\r\n const result = await RiskProfileStore.CompleteQuestionnaire();\r\n if (result) {\r\n LoadingSpinnerService.Hide();\r\n router.push({ name: ROUTES.riskprofilerresults });\r\n } else {\r\n LoadingSpinnerService.Failure(\"Failed to Save Risk Profile\");\r\n }\r\n } else {\r\n // display validation error\r\n var alertService = new AlertService();\r\n alertService.warn(\r\n \"Unable to Calculate Your Risk Score\",\r\n \"Please provide an answer for all questions.\"\r\n );\r\n }\r\n }\r\n\r\n get contactName(): string {\r\n return RiskProfileStore.SelectedRequest.contactFullName || \"\";\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RiskProfiler.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--14-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--14-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./RiskProfiler.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./RiskProfiler.vue?vue&type=template&id=0096e815&\"\nimport script from \"./RiskProfiler.vue?vue&type=script&lang=ts&\"\nexport * from \"./RiskProfiler.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = require('./_is-object');\nvar anObject = require('./_an-object');\nvar check = function (O, proto) {\n anObject(O);\n if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n function (test, buggy, set) {\n try {\n set = require('./_ctx')(Function.call, require('./_object-gopd').f(Object.prototype, '__proto__').set, 2);\n set(test, []);\n buggy = !(test instanceof Array);\n } catch (e) { buggy = true; }\n return function setPrototypeOf(O, proto) {\n check(O, proto);\n if (buggy) O.__proto__ = proto;\n else set(O, proto);\n return O;\n };\n }({}, false) : undefined),\n check: check\n};\n","var $export = require('./_export');\nvar defined = require('./_defined');\nvar fails = require('./_fails');\nvar spaces = require('./_string-ws');\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n var exp = {};\n var FORCE = fails(function () {\n return !!spaces[KEY]() || non[KEY]() != non;\n });\n var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n if (ALIAS) exp[ALIAS] = fn;\n $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n string = String(defined(string));\n if (TYPE & 1) string = string.replace(ltrim, '');\n if (TYPE & 2) string = string.replace(rtrim, '');\n return string;\n};\n\nmodule.exports = exporter;\n","'use strict';\nvar global = require('./_global');\nvar has = require('./_has');\nvar cof = require('./_cof');\nvar inheritIfRequired = require('./_inherit-if-required');\nvar toPrimitive = require('./_to-primitive');\nvar fails = require('./_fails');\nvar gOPN = require('./_object-gopn').f;\nvar gOPD = require('./_object-gopd').f;\nvar dP = require('./_object-dp').f;\nvar $trim = require('./_string-trim').trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(require('./_object-create')(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n var it = toPrimitive(argument, false);\n if (typeof it == 'string' && it.length > 2) {\n it = TRIM ? it.trim() : $trim(it, 3);\n var first = it.charCodeAt(0);\n var third, radix, maxCode;\n if (first === 43 || first === 45) {\n third = it.charCodeAt(2);\n if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n } else if (first === 48) {\n switch (it.charCodeAt(1)) {\n case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n default: return +it;\n }\n for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n code = digits.charCodeAt(i);\n // parseInt parses a string to a first unavailable symbol\n // but ToNumber should return NaN if a string contains unavailable symbols\n if (code < 48 || code > maxCode) return NaN;\n } return parseInt(digits, radix);\n }\n } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n $Number = function Number(value) {\n var it = arguments.length < 1 ? 0 : value;\n var that = this;\n return that instanceof $Number\n // check on 1..constructor(foo) case\n && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n };\n for (var keys = require('./_descriptors') ? gOPN(Base) : (\n // ES3:\n 'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n // ES6 (in case, if modules with ES6 Number statics required before):\n 'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n 'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n ).split(','), j = 0, key; keys.length > j; j++) {\n if (has(Base, key = keys[j]) && !has($Number, key)) {\n dP($Number, key, gOPD(Base, key));\n }\n }\n $Number.prototype = proto;\n proto.constructor = $Number;\n require('./_redefine')(global, NUMBER, $Number);\n}\n","module.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n"],"sourceRoot":""}