{"version":3,"sources":["webpack:///./src/views/auth/ErrorMessage.js","webpack:///./src/components/Notification/NotificationBox.vue","webpack:///src/components/Notification/NotificationBox.vue","webpack:///./src/components/Notification/NotificationBox.vue?cc1f","webpack:///./src/components/Notification/NotificationBox.vue?4f7f","webpack:///./src/views/auth/ForgotPasswordCsr.vue?bbe3","webpack:///./src/components/Notification/NotificationBox.vue?8f94","webpack:///./src/views/auth/ForgotPasswordCsr.vue","webpack:///src/views/auth/ForgotPasswordCsr.vue","webpack:///./src/views/auth/ForgotPasswordCsr.vue?6ceb","webpack:///./src/views/auth/ForgotPasswordCsr.vue?e4ce"],"names":["errorMessages","title","message","getErrorMessage","errorCode","render","_vm","this","_c","_self","staticClass","class","notificationClass","textclass","icon","_t","staticRenderFns","name","props","type","default","data","created","methods","getClass","component","randomiseSpinner","directives","rawName","value","$showSpinnerRequestCount","expression","tag","attrs","_m","isRequestComplete","_e","_v","username","domProps","on","$event","target","composing","$v","$dirty","required","cancel","sendEmail","notificationType","slot","_s","staticStyle","require","components","NotificationBox","Circle9","DoubleBounce","LetterCube","Circle8","Socket","Spinner","mixins","companyLoginId","hasError","computed","window","AuthService","validations"],"mappings":"kHAAA,sCAAMA,EAAgB,CACpB,QAAW,CACTC,MAAO,kBACPC,QAAS,sDAEX,2BAA8B,CAC5BD,MAAO,6BACPC,QAAS,qDAEX,kCAAqC,CACnCD,MAAO,oCACPC,QAAS,iEAEX,oBAAuB,CACrBD,MAAO,sBACPC,QAAS,mGAEX,+BAAkC,CAChCD,MAAO,0BACPC,QAAS,8DAEX,6BAAgC,CAC9BD,MAAO,kCACPC,QAAS,sEAEX,4BAA+B,CAC7BD,MAAO,yCACPC,QAAS,6EAEX,4BAA+B,CAC7BD,MAAO,8BACPC,QAAS,mEAEX,yBAA4B,CAC1BD,MAAO,2BACPC,QAAS,6EAEX,qBAAwB,CACtBD,MAAO,qBACPC,QAAS,4CAIAC,EAAkB,SAACC,GAC9B,OAAOJ,EAAcI,IAAcJ,EAAc,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A,WAKA,uJACA,eACA,YAFA,iEAKA,iBALA,SAMAmB,sDANA,OAOA,qHACA,kCARA,qDAUA,cACA,gCACA,qDAZA,yBAcA,uBACA,iBAfA,iFAoBAC,aACA9B,UAAAQ,0BC1IyW,I,wBCQrWrB,EAAY,eACd,EACApB,EACAW,GACA,EACA,KACA,WACA,MAIa,aAAAS,E","file":"static/js/chunk-994e33a6.6fde9757.js","sourcesContent":["const errorMessages = {\n 'default': {\n title: 'Something wrong',\n message: 'Something wrong. Please get in touch with support.'\n },\n 'password_not_meet_criteria': {\n title: 'Password not meet criteria',\n message: 'The password you provided does not meet criteria.'\n },\n 'forget_password_request_not_found': {\n title: 'Forget Password Request not found',\n message: 'Forget password request not found. Please send a new request.'\n },\n 'no_valid_user_found': {\n title: 'No valid user found',\n message: 'We could not locate a user matching information you provided. Please get in touch with support.'\n },\n 'failed_send_email_with_mailgun': {\n title: 'Failed to send an email',\n message: 'Failed to send an email. Please get in touch with support.'\n },\n 'failed_create_password_entry': {\n title: 'Failed to create password entry',\n message: 'Failed to create password entry. Please get in touch with support.'\n },\n 'failed_insert_emailoutgoing': {\n title: 'Failed to insert email outgoing record',\n message: 'Failed to insert email outgoing record. Please get in touch with support.'\n },\n 'password_reset_link_expired': {\n title: 'Expired password reset link',\n message: 'The password reset link has expired. Please send a new request.'\n },\n 'password_reset_link_used': {\n title: 'Used password reset link',\n message: 'The password reset link has already been used. Please send a new request.'\n },\n 'not_valid_user_token': {\n title: 'Invalid user token',\n message: 'Not valid user. Please contact support.'\n }\n}\n\nexport const getErrorMessage = (errorCode) => {\n return errorMessages[errorCode] || errorMessages['default']\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',[_c('div',{staticClass:\"control is-flex is-align-items-center\",class:[_vm.notificationClass, _vm.textclass]},[_c('div',{staticClass:\"mr-4\"},[_c('span',{staticClass:\"icon\"},[_c('i',{staticClass:\"mdi mdi-36px\",class:_vm.icon})])]),_vm._t(\"text-content\")],2)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotificationBox.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotificationBox.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./NotificationBox.vue?vue&type=template&id=494d59d9\"\nimport script from \"./NotificationBox.vue?vue&type=script&lang=js\"\nexport * from \"./NotificationBox.vue?vue&type=script&lang=js\"\nimport style0 from \"./NotificationBox.vue?vue&type=style&index=0&id=494d59d9&prod&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","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForgotPasswordCsr.vue?vue&type=style&index=0&id=6851fd80&prod&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NotificationBox.vue?vue&type=style&index=0&id=494d59d9&prod&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"forgot-password-container is-flex is-align-items-center is-justify-content-center\"},[_c(_vm.randomiseSpinner,{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.$showSpinnerRequestCount > 0),expression:\"$showSpinnerRequestCount > 0\"}],tag:\"component\",attrs:{\"message\":\"Loading...\"}}),_c('div',{staticClass:\"box\"},[_vm._m(0),_vm._m(1),(!_vm.isRequestComplete)?_c('div',[_c('div',{staticClass:\"control mb-6\"},[_c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"label is-required-label\"},[_vm._v(\"Username\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.username),expression:\"username\"}],staticClass:\"input\",attrs:{\"type\":\"text\",\"placeholder\":\"Username\"},domProps:{\"value\":(_vm.username)},on:{\"input\":function($event){if($event.target.composing)return;_vm.username=$event.target.value}}}),(_vm.$v.username.$dirty && !_vm.$v.username.required)?_c('span',{staticClass:\"help is-danger ml-1\"},[_vm._v(\"Required\")]):_vm._e()]),_vm._m(2)]),_c('div',{staticClass:\"control mb-2 is-flex is-justify-content-space-between\"},[_c('button',{staticClass:\"button\",on:{\"click\":_vm.cancel}},[_vm._m(3),_vm._v(\" Cancel\")]),_c('button',{staticClass:\"button is-primary\",on:{\"click\":_vm.sendEmail}},[_vm._m(4),_vm._v(\" Send Email\")])])]):_vm._e(),(_vm.isRequestComplete)?_c('div',[_c('notification-box',{staticClass:\"mb-6\",attrs:{\"type\":_vm.notificationType}},[_c('p',{staticClass:\"is-size-7\",attrs:{\"slot\":\"text-content\"},slot:\"text-content\"},[_vm._v(_vm._s(_vm.message))])]),_c('div',{staticClass:\"control is-flex is-justify-content-end\"},[_c('button',{staticClass:\"button is-primary\",on:{\"click\":_vm.cancel}},[_vm._m(5),_vm._v(\" Back to login \")])])],1):_vm._e()])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"control mb-5 is-flex is-justify-content-center\"},[_c('img',{staticStyle:{\"max-height\":\"2.25rem\"},attrs:{\"src\":require(\"@/assets/images/flexiquote-logo.svg\"),\"alt\":\"Flexiquote Logo\",\"title\":\"Flexiquote Logo\"}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"control mb-5\"},[_c('h4',{staticClass:\"has-text-weight-medium is-size-5\"},[_vm._v(\"Reset your password\")]),_c('p',{staticClass:\"has-text-grey is-size-7\"},[_vm._v(\"Please enter your username and company ID, and we will email you instructions on how to reset your password. \")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"field\"},[_c('label',{staticClass:\"is-required-label\"}),_c('label',{staticClass:\"is-size-7\"},[_vm._v(\"Required Fields\")])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon mr-1\"},[_c('i',{staticClass:\"mdi mdi-18px mdi-close\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon mr-1\"},[_c('i',{staticClass:\"mdi mdi-18px mdi-send\"})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('span',{staticClass:\"icon mr-1\"},[_c('i',{staticClass:\"mdi mdi-18px mdi-arrow-left\"})])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForgotPasswordCsr.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ForgotPasswordCsr.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ForgotPasswordCsr.vue?vue&type=template&id=6851fd80&scoped=true\"\nimport script from \"./ForgotPasswordCsr.vue?vue&type=script&lang=js\"\nexport * from \"./ForgotPasswordCsr.vue?vue&type=script&lang=js\"\nimport style0 from \"./ForgotPasswordCsr.vue?vue&type=style&index=0&id=6851fd80&prod&lang=scss&scoped=true\"\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 \"6851fd80\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}