{"version":3,"sources":["webpack:///./src/components/AccountControls/SetPassword.vue","webpack:///src/components/AccountControls/SetPassword.vue","webpack:///./src/components/AccountControls/SetPassword.vue?5af7","webpack:///./src/components/AccountControls/SetPassword.vue?3df5","webpack:///./src/components/UI/Components/SuccessAnimation.vue","webpack:///src/components/UI/Components/SuccessAnimation.vue","webpack:///./src/components/UI/Components/SuccessAnimation.vue?62aa","webpack:///./src/components/UI/Components/SuccessAnimation.vue?afbb","webpack:///./src/components/AccountControls/ModalAuthentication.vue","webpack:///src/components/AccountControls/ModalAuthentication.vue","webpack:///./src/components/AccountControls/ModalAuthentication.vue?8373","webpack:///./src/components/AccountControls/ModalAuthentication.vue?3a1d","webpack:///./src/components/AccountControls/AuthController.vue","webpack:///./src/components/AccountControls/RequestNewPasswordFlow.vue","webpack:///src/components/AccountControls/RequestNewPasswordFlow.vue","webpack:///./src/components/AccountControls/RequestNewPasswordFlow.vue?f6bb","webpack:///./src/components/AccountControls/RequestNewPasswordFlow.vue?1069","webpack:///src/components/AccountControls/AuthController.vue","webpack:///./src/components/AccountControls/AuthController.vue?0399","webpack:///./src/components/AccountControls/AuthController.vue?d80e","webpack:///./src/components/AccountControls/SetPasswordConfirmation.vue","webpack:///src/components/AccountControls/SetPasswordConfirmation.vue","webpack:///./src/components/AccountControls/SetPasswordConfirmation.vue?3ca7","webpack:///./src/components/AccountControls/SetPasswordConfirmation.vue?b511","webpack:///./src/components/UI/Components/SuccessAnimation.vue?70f3","webpack:///./src/components/AccountControls/ForgotPassword.vue","webpack:///src/components/AccountControls/ForgotPassword.vue","webpack:///./src/components/AccountControls/ForgotPassword.vue?e0b2","webpack:///./src/components/AccountControls/ForgotPassword.vue?e69e","webpack:///./src/components/UI/Message.vue","webpack:///src/components/UI/Message.vue","webpack:///./src/components/UI/Message.vue?5d20","webpack:///./src/components/UI/Message.vue?fb09"],"names":["render","_vm","this","_c","_self","staticClass","domProps","_s","$t","localeOverride","errorMessage","attrs","_e","passwordErrors","on","$event","$v","form","password","$touch","model","value","callback","$$v","$set","expression","confirmPasswordErrors","confirmPassword","scopedSlots","_u","key","fn","ref","class","failCode","checkCodePart1","type","indexOf","_k","keyCode","handleSubmit","apply","arguments","checkCodePart2","checkCodePart3","errorCodeMessage","_v","proxy","Boolean","$error","isProcessing","staticRenderFns","WeakMap","name","components","Message","mixins","encryptString","inject","String","default","$i18n","locale","data","code","passwordsNotEqual","computed","_objectSpread","mapState","errors","$dirty","required","push","fieldLabel","minLength","test","sameAsPassword","validations","sameAs","methods","mapMutations","onCodeValidated","_this","_asyncToGenerator","_regenerator","m","_callee","self","encryptedPassword","w","_context","n","$invalid","submitStatus","encryptPassword","loginProvider","changePassword","confirmationToken","then","response","$emit","setConfirmationToken","catch","e","status","finally","a","target","trim","length","$refs","codePart2","focus","updateCode","codePart3","output","codePart1","component","style","width","height","props","Number","modalTitle","modalSize","onClickCancel","showModal","channelId","actionAfterLogin","AuthController","Function","showSuccess","authFlowView","linkActionForgotPassword","linkActionRegister","linkActionLogin","showSetNewPassword","showSetPasswordConfirmation","setShowForgotForm","setShowSetPasswordConfirmation","backFunc","setShowSetNewPassword","ForgotPassword","SetPasswordConfirmation","SetPassword","channelIdOverride","vm","$store","getters","beforeDestroy","Login","Register","SuccessAnimation","RequestNewPasswordFlow","tAfterLogin","clearTimeout","val","setTimeout","handlerBackFunc","$router","emailErrors","toString","sendRequest","delayTouch","emailAddress","touchMap","email","$reset","has","get","set","resetPassword","ConfirmationToken","combindedClass","message","_t","size","c"],"mappings":"uNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACA,EAAG,MAAM,CAACE,YAAY,aAAaC,SAAS,CAAC,UAAYL,EAAIM,GAAGN,EAAIO,GAAG,oDAAqDP,EAAIQ,oBAAqBR,EAAIS,aAAcP,EAAG,UAAU,CAACE,YAAY,YAAYM,MAAM,CAAC,QAAUV,EAAIS,gBAAgBT,EAAIW,KA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AAU4B,MAAMhC,EAAI4K,gBAAgB,CAAC1K,EAAG,MAAM,CAACE,YAAY,gBAAgB,CAAEJ,EAAI6K,QAAS,CAAC7K,EAAI6C,GAAG,IAAI7C,EAAIM,GAAGN,EAAI6K,SAAS,MAAM7K,EAAIW,KAAKX,EAAI8K,GAAG,YAAY,MAErP5H,EAAkB,GCaP,GACfsE,MAAA,CAIAqD,QAAA,CACA1I,KAAAuB,OACAC,QAAA,IAGAoH,KAAA,CACA5I,KAAAuB,OACAC,QAAA,IAOAxB,KAAA,CACAA,KAAAuB,OACAC,QAAA,YAGAG,KAAA,WACA,UAGAG,SAAA,CACA2G,eAAA,WACA,IAAAI,EAAA,KAAA7I,KAMA,OAJA,KAAA4I,KAAAnE,OAAA,IACAoE,IAAA,SAAAD,MAGAC,KCnD+V,I,YCO3V5D,EAAY,eACd,EACArH,EACAmD,GACA,EACA,KACA,WACA,MAIa,aAAAkE,E","file":"js/chunk-3088f28e.js?id=0ba4a5b9ab029fa85cc8","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{staticClass:\"title is-4\",domProps:{\"innerHTML\":_vm._s(_vm.$t('Components.AccountControls.SetPassword.Mail_Title', _vm.localeOverride))}}),(_vm.errorMessage)?_c('Message',{staticClass:\"is-danger\",attrs:{\"message\":_vm.errorMessage}}):_vm._e(),_c('div',{staticClass:\"content\"},[_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.$t('Components.AccountControls.SetPassword.Text_Notification', _vm.localeOverride))}})]),_c('div',[_c('ui-base-input-field',{attrs:{\"labelForInput\":false,\"error\":_vm.passwordErrors,\"label\":_vm.$t('Components.AccountControls.SetPassword.Label_Password', _vm.localeOverride),\"fieldType\":\"password\",\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.form.password.$touch()},\"blur\":function($event){return _vm.$v.form.password.$touch()}},model:{value:(_vm.form.password),callback:function ($$v) {_vm.$set(_vm.form, \"password\", $$v)},expression:\"form.password\"}}),_c('ui-base-input-field',{attrs:{\"labelForInput\":false,\"error\":_vm.confirmPasswordErrors,\"fieldType\":\"password\",\"label\":_vm.$t('Components.AccountControls.SetPassword.Label_RepeatPassword', _vm.localeOverride),\"required\":\"\"},on:{\"input\":function($event){return _vm.$v.form.confirmPassword.$touch()},\"blur\":function($event){return _vm.$v.form.confirmPassword.$touch()}},model:{value:(_vm.form.confirmPassword),callback:function ($$v) {_vm.$set(_vm.form, \"confirmPassword\", $$v)},expression:\"form.confirmPassword\"}}),_c('ui-base-field-template',{attrs:{\"labelForInput\":false,\"label\":_vm.$t('Components.AccountControls.SetPassword.Label_ConfirmationCode', _vm.localeOverride),\"required\":true},scopedSlots:_vm._u([{key:\"fields\",fn:function(){return [_c('div',{staticClass:\"level is-inline-flex input-codes is-mobile\"},[_c('div',{staticClass:\"level-item\"},[_c('input',{ref:\"codePart1\",staticClass:\"input has-text-centered\",class:[{ 'is-danger': _vm.failCode === -1 || _vm.failCode === 400 }],attrs:{\"type\":\"text\",\"size\":\"2\",\"max\":\"2\",\"maxlength\":\"2\",\"name\":\"codePart1\"},on:{\"keyup\":[_vm.checkCodePart1,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.handleSubmit.apply(null, arguments)}]}})]),_c('div',{staticClass:\"level-item\"},[_c('font-awesome-icon',{attrs:{\"icon\":['far', 'minus']}})],1),_c('div',{staticClass:\"level-item\"},[_c('input',{ref:\"codePart2\",staticClass:\"input has-text-centered\",class:[{ 'is-danger': _vm.failCode === -1 || _vm.failCode === 400 }],attrs:{\"type\":\"text\",\"size\":\"2\",\"max\":\"2\",\"maxlength\":\"2\",\"name\":\"codePart2\"},on:{\"keyup\":[_vm.checkCodePart2,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.handleSubmit.apply(null, arguments)}]}})]),_c('div',{staticClass:\"level-item\"},[_c('font-awesome-icon',{attrs:{\"icon\":['far', 'minus']}})],1),_c('div',{staticClass:\"level-item\"},[_c('input',{ref:\"codePart3\",staticClass:\"input has-text-centered\",class:[{ 'is-danger': _vm.failCode === -1 || _vm.failCode === 400 }],attrs:{\"type\":\"text\",\"size\":\"2\",\"max\":\"2\",\"maxlength\":\"2\",\"name\":\"codePart3\"},on:{\"keyup\":[_vm.checkCodePart3,function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.handleSubmit.apply(null, arguments)}]}})])]),(_vm.errorCodeMessage)?_c('p',[_c('span',{staticClass:\"help is-danger\"},[_vm._v(\" \"+_vm._s(_vm.errorCodeMessage)+\" \")])]):_vm._e()]},proxy:true}])}),_c('div',{staticClass:\"has-text-right has-padding-top\"},[_c('button',{staticClass:\"button is-primary\",class:[\n          {\n            'is-disabled': Boolean(_vm.$v.$error) || _vm.isProcessing,\n            'is-loading': _vm.isProcessing,\n          },\n        ],attrs:{\"disabled\":Boolean(_vm.$v.$error) || _vm.isProcessing},on:{\"click\":_vm.handleSubmit}},[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.$t('Components.AccountControls.SetPassword.Button_Save', _vm.localeOverride))}})])])],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div>\n    <div\n      class=\"title is-4\"\n      v-html=\"$t('Components.AccountControls.SetPassword.Mail_Title', localeOverride)\"\n    ></div>\n    <Message\n      class=\"is-danger\"\n      v-if=\"errorMessage\"\n      :message=\"errorMessage\"\n    >\n    </Message>\n    <div class=\"content\">\n      <p v-html=\"$t('Components.AccountControls.SetPassword.Text_Notification', localeOverride)\"></p>\n    </div>\n    <div>\n      <ui-base-input-field\n        v-model=\"form.password\"\n        :labelForInput=\"false\"\n        :error=\"passwordErrors\"\n        :label=\"$t('Components.AccountControls.SetPassword.Label_Password', localeOverride)\"\n        fieldType=\"password\"\n        @input=\"$v.form.password.$touch()\"\n        @blur=\"$v.form.password.$touch()\"\n        required\n      />\n      <ui-base-input-field\n        v-model=\"form.confirmPassword\"\n        :labelForInput=\"false\"\n        :error=\"confirmPasswordErrors\"\n        fieldType=\"password\"\n        :label=\"\n          $t('Components.AccountControls.SetPassword.Label_RepeatPassword', localeOverride)\n        \"\n        @input=\"$v.form.confirmPassword.$touch()\"\n        @blur=\"$v.form.confirmPassword.$touch()\"\n        required\n      />\n      <ui-base-field-template\n        :labelForInput=\"false\"\n        :label=\"\n          $t('Components.AccountControls.SetPassword.Label_ConfirmationCode', localeOverride)\n        \"\n        :required=\"true\"\n      >\n        <template v-slot:fields>\n          <div class=\"level is-inline-flex input-codes is-mobile\">\n            <div class=\"level-item\">\n              <input\n                type=\"text\"\n                ref=\"codePart1\"\n                @keyup=\"checkCodePart1\"\n                size=\"2\"\n                max=\"2\"\n                maxlength=\"2\"\n                name=\"codePart1\"\n                class=\"input has-text-centered\"\n                :class=\"[{ 'is-danger': failCode === -1 || failCode === 400 }]\"\n                @keyup.enter=\"handleSubmit\"\n              />\n            </div>\n            <div class=\"level-item\">\n              <font-awesome-icon :icon=\"['far', 'minus']\" />\n            </div>\n            <div class=\"level-item\">\n              <input\n                type=\"text\"\n                ref=\"codePart2\"\n                @keyup=\"checkCodePart2\"\n                size=\"2\"\n                max=\"2\"\n                maxlength=\"2\"\n                name=\"codePart2\"\n                class=\"input has-text-centered\"\n                :class=\"[{ 'is-danger': failCode === -1 || failCode === 400 }]\"\n                @keyup.enter=\"handleSubmit\"\n              />\n            </div>\n            <div class=\"level-item\">\n              <font-awesome-icon :icon=\"['far', 'minus']\" />\n            </div>\n            <div class=\"level-item\">\n              <input\n                type=\"text\"\n                ref=\"codePart3\"\n                @keyup=\"checkCodePart3\"\n                size=\"2\"\n                max=\"2\"\n                maxlength=\"2\"\n                name=\"codePart3\"\n                class=\"input has-text-centered\"\n                :class=\"[{ 'is-danger': failCode === -1 || failCode === 400 }]\"\n                @keyup.enter=\"handleSubmit\"\n              />\n            </div>\n          </div>\n          <p v-if=\"errorCodeMessage\">\n            <span class=\"help is-danger\">\n              {{ errorCodeMessage }}\n            </span>\n          </p>\n        </template>\n      </ui-base-field-template>\n\n      <div class=\"has-text-right has-padding-top\">\n        <button\n          @click=\"handleSubmit\"\n          :disabled=\"Boolean($v.$error) || isProcessing\"\n          class=\"button is-primary\"\n          :class=\"[\n            {\n              'is-disabled': Boolean($v.$error) || isProcessing,\n              'is-loading': isProcessing,\n            },\n          ]\"\n        >\n          <span v-html=\"$t('Components.AccountControls.SetPassword.Button_Save', localeOverride)\"></span>\n        </button>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\nimport { mapState, mapMutations } from 'vuex'\nimport loginProvider from '@/providers/login'\nimport { required, minLength, sameAs } from 'vuelidate/lib/validators'\nimport encryptString from '@/mixins/encryptString'\n\nconst touchMap = new WeakMap()\n\nexport default {\n  name: 'components-set-password',\n\n  components: {\n    Message: () =>\n      import(\n        /* webpackChunkName: \"component-account-controls-setpassword\" */ '@/components/UI/Message'\n      ),\n  },\n\n  mixins: [encryptString],\n\n  inject: {\n    localeOverride: {\n      type: String,\n      default: function() {\n        return this.$i18n.locale\n      }\n    }\n  },\n\n  data() {\n    return {\n      form: {\n        password: '',\n        confirmPassword: '',\n        code: '',\n      },\n      failCode: 0,\n      passwordsNotEqual: false,\n      isProcessing: false,\n      errorCodeMessage: '',\n    }\n  },\n\n  computed: {\n    ...mapState('accountStore', ['confirmationToken']),\n\n    errorMessage() {\n      if (\n        this.failCode === -1 ||\n        this.failCode === -3 ||\n        this.failCode === -4\n      ) {\n        return this.$t(\n          'Components.AccountControls.SetPassword.Message_ErrorCode-1'\n        )\n      } else if (this.failCode === -2) {\n        return this.$t(\n          'Components.AccountControls.SetPassword.Message_ErrorCode-2'\n        )\n      } else if (this.failCode === 400) {\n        return this.$t(\n          'Components.AccountControls.SetPassword.Message_ErrorCode400'\n        )\n      } else if (this.failCode === 429) {\n        return this.$t(\n          'Components.AccountControls.SetPassword.Message_ErrorCode429'\n        )\n      } else if (this.failCode === 500) {\n        return this.$t(\n          'Components.AccountControls.SetPassword.Message_ErrorCode500'\n        )\n      } else if (this.failCode === 501) {\n        return this.$t(\n          'Components.AccountControls.SetPassword.Message_ErrorCode501'\n        )\n      }\n      return ''\n    },\n\n    passwordErrors() {\n      const errors = []\n      if (!this.$v.form.password.$dirty) return errors\n      if (!this.$v.form.password.required) {\n        errors.push(\n          this.$t('Form.InputErrors.RequiredField', {\n            fieldLabel: this.$t(\n              'Components.AccountControls.SetPassword.Label_Password'\n            ),\n          })\n        )\n      }\n      if (!this.$v.form.password.minLength) {\n        errors.push(this.$t('Form.InputErrors.minLength', { minLength: 6 }))\n      }\n      if (!/(?=.*[a-z])/.test(this.form.password)) {\n        errors.push(this.$t('Form.InputErrors.lowercaseCharacter', this.localeOverride))\n      }\n      if (!/(?=.*[A-Z])/.test(this.form.password)) {\n        errors.push(this.$t('Form.InputErrors.uppercaseCharacter', this.localeOverride))\n      }\n      if (!/(?=.*\\d)/.test(this.form.password)) {\n        errors.push(this.$t('Form.InputErrors.numberCharacter', this.localeOverride))\n      }\n      return errors\n    },\n\n    confirmPasswordErrors() {\n      const errors = []\n      if (!this.$v.form.confirmPassword.$dirty) {\n        return errors\n      }\n      if (!this.$v.form.confirmPassword.required) {\n        errors.push(\n          this.$t('Form.InputErrors.Required', this.localeOverride)\n        )\n      } else if (!this.$v.form.confirmPassword.sameAsPassword) {\n        errors.push(this.$t('Form.InputErrors.NotSamePasswords', this.localeOverride))\n      }\n      return errors\n    },\n  },\n\n  /**\n   * Form validation rules\n   */\n  validations: {\n    form: {\n      password: {\n        required,\n        minLength: minLength(8),\n      },\n      confirmPassword: {\n        required,\n        sameAsPassword: sameAs('password'),\n      },\n    },\n  },\n\n  methods: {\n    ...mapMutations('accountStore', ['setConfirmationToken']),\n\n    onCodeValidated() {\n      this.errorCodeMessage = ''\n      if (this.form.code === '') {\n        this.errorCodeMessage = this.$t('Form.InputErrors.RequiredField', {\n          fieldLabel: this.$t(\n            'Components.AccountControls.SetPassword.Label_ConfirmationCode', this.localeOverride\n          ),\n        })\n      } else if (this.failCode === -1) {\n        this.errorCodeMessage = this.$t(\n          'Components.AccountControls.SetPassword.Message_ErrorConfirmationCode', this.localeOverride\n        )\n      }\n    },\n\n    async handleSubmit() {\n      let self = this\n      if (!this.isProcessing) {\n        this.failCode = 0\n        this.isProcessing = true\n        this.$v.$touch()\n        if (this.$v.$invalid) {\n          this.submitStatus = 'ERROR'\n          // console.info(e)\n          this.isProcessing = false\n        } else {\n          // do your submit logic here\n          this.submitStatus = 'PENDING'\n        }\n\n        let encryptedPassword = self.encryptPassword(this.form.confirmPassword)\n\n        // Send request e-mail\n        await loginProvider.methods\n          .changePassword(this.confirmationToken, this.form.code, encryptedPassword)\n          .then((response) => {\n            this.failCode = response.data\n            if (this.failCode > 0) {\n              self.$emit('nextAction')\n\n              this.setConfirmationToken('')\n            } else {\n              this.isProcessing = false\n            }\n          })\n          .catch((e) => {\n            this.failCode = e.response.status\n            this.isProcessing = false\n          })\n          .finally(() => {\n            self = null\n          })\n      }\n    },\n\n    checkCodePart1(e) {\n      if (e.target.value.trim() !== '' && e.target.value.length === 2) {\n        this.$refs.codePart2.focus()\n      }\n      this.updateCode()\n    },\n\n    checkCodePart2(e) {\n      if (e.target.value.trim() !== '' && e.target.value.length === 2) {\n        this.$refs.codePart3.focus()\n      }\n      this.updateCode()\n    },\n\n    checkCodePart3() {\n      this.updateCode()\n    },\n    updateCode() {\n      let output = ''\n      output += this.$refs.codePart1 ? this.$refs.codePart1.value.trim() : ''\n      output += this.$refs.codePart2 ? this.$refs.codePart2.value.trim() : ''\n      output += this.$refs.codePart3 ? this.$refs.codePart3.value.trim() : ''\n      this.form.code = output\n      this.onCodeValidated()\n    },\n  },\n}\n</script>\n\n<style lang=\"scss\" scoped></style>\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!./SetPassword.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!./SetPassword.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SetPassword.vue?vue&type=template&id=75738a98&scoped=true\"\nimport script from \"./SetPassword.vue?vue&type=script&lang=js\"\nexport * from \"./SetPassword.vue?vue&type=script&lang=js\"\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  \"75738a98\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"sa\"},[_c('div',{staticClass:\"sa-success\",style:({ 'width' : _vm.width, 'height' : _vm.height })},[_c('div',{staticClass:\"sa-success-tip\"}),_c('div',{staticClass:\"sa-success-long\"}),_c('div',{staticClass:\"sa-success-placeholder\"}),_c('div',{staticClass:\"sa-success-fix\"})])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"sa\">\n    <div\n      class=\"sa-success\"\n      :style=\"{ 'width' : width, 'height' : height }\"\n    >\n      <div class=\"sa-success-tip\"></div>\n      <div class=\"sa-success-long\"></div>\n      <div class=\"sa-success-placeholder\"></div>\n      <div class=\"sa-success-fix\"></div>\n    </div>\n  </div>\n</template>\n\n<script>\nexport default {\n  props: {\n    width: {\n      type: Number,\n      default: 140\n    },\n\n    height: {\n      type: Number,\n      default: 140\n    }\n  }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.sa {\n  display: flex;\n  justify-content: center;\n  &-success {\n    border-radius: 50%;\n    border: 4px solid #a5dc86;\n    box-sizing: content-box;\n    height: 80px;\n    padding: 0;\n    position: relative;\n    background-color: #fff;\n    width: 80px;\n    &:after,\n    &:before {\n      background: #fff;\n      content: \"\";\n      height: 120px;\n      position: absolute;\n      transform: rotate(45deg);\n      width: 60px;\n    }\n    &:before {\n      border-radius: 40px 0 0 40px;\n      width: 26px;\n      height: 80px;\n      top: -17px;\n      left: 5px;\n      transform-origin: 60px 60px;\n      transform: rotate(-45deg);\n    }\n    &:after {\n      border-radius: 0 120px 120px 0;\n      left: 30px;\n      top: -11px;\n      transform-origin: 0 60px;\n      transform: rotate(-45deg);\n      animation: rotatePlaceholder 4.25s ease-in;\n    }\n    &-placeholder {\n      border-radius: 50%;\n      border: 4px solid rgba(165, 220, 134, 0.25);\n      box-sizing: content-box;\n      height: 80px;\n      left: -4px;\n      position: absolute;\n      top: -4px;\n      width: 80px;\n      z-index: 2;\n    }\n    &-fix {\n      background-color: #fff;\n      height: 90px;\n      left: 28px;\n      position: absolute;\n      top: 8px;\n      transform: rotate(-45deg);\n      width: 5px;\n      z-index: 1;\n    }\n    &-tip,\n    &-long {\n      background-color: #a5dc86;\n      border-radius: 2px;\n      height: 5px;\n      position: absolute;\n      z-index: 2;\n    }\n    &-tip {\n      left: 14px;\n      top: 46px;\n      transform: rotate(45deg);\n      width: 25px;\n      animation: animateSuccessTip 0.75s;\n    }\n    &-long {\n      right: 8px;\n      top: 38px;\n      transform: rotate(-45deg);\n      width: 47px;\n      animation: animateSuccessLong 0.75s;\n    }\n  }\n}\n@keyframes animateSuccessTip {\n  0%,\n  54% {\n    width: 0;\n    left: 1px;\n    top: 19px;\n  }\n  70% {\n    width: 50px;\n    left: -8px;\n    top: 37px;\n  }\n  84% {\n    width: 17px;\n    left: 21px;\n    top: 48px;\n  }\n  100% {\n    width: 25px;\n    left: 14px;\n    top: 45px;\n  }\n}\n@keyframes animateSuccessLong {\n  0%,\n  65% {\n    width: 0;\n    right: 46px;\n    top: 54px;\n  }\n  84% {\n    width: 55px;\n    right: 0;\n    top: 35px;\n  }\n  100% {\n    width: 47px;\n    right: 8px;\n    top: 38px;\n  }\n}\n@keyframes rotatePlaceholder {\n  0%,\n  5% {\n    transform: rotate(-45deg);\n  }\n  100%,\n  12% {\n    transform: rotate(-405deg);\n  }\n}\n</style>\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!./SuccessAnimation.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!./SuccessAnimation.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SuccessAnimation.vue?vue&type=template&id=4b689632&scoped=true\"\nimport script from \"./SuccessAnimation.vue?vue&type=script&lang=js\"\nexport * from \"./SuccessAnimation.vue?vue&type=script&lang=js\"\nimport style0 from \"./SuccessAnimation.vue?vue&type=style&index=0&id=4b689632&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  \"4b689632\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('ui-component-modal',{attrs:{\"modalTitle\":_vm.modalTitle,\"modalSize\":_vm.modalSize,\"onClickCancel\":_vm.onClickCancel,\"showModal\":_vm.showModal,\"hideCancelButton\":true,\"hideSaveButton\":true},on:{\"closeModal\":_vm.onClickCancel},scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('div',{staticClass:\"columns is-centered\"},[_c('div',{staticClass:\"column is-two-thirds\"},[_c('auth-controller',{attrs:{\"channelId\":_vm.channelId},on:{\"actionAfterLogin\":_vm.actionAfterLogin}})],1)])]},proxy:true}])})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <ui-component-modal\n    :modalTitle=\"modalTitle\"\n    :modalSize=\"modalSize\"\n    :onClickCancel=\"onClickCancel\"\n    :showModal=\"showModal\"\n    :hideCancelButton=\"true\"\n    :hideSaveButton=\"true\"\n    @closeModal=\"onClickCancel\"\n  >\n    <template v-slot:content>\n      <div class=\"columns is-centered\">\n        <div class=\"column is-two-thirds\">\n          <auth-controller\n            @actionAfterLogin=\"actionAfterLogin\"\n            :channelId=\"channelId\"\n          />\n        </div>\n      </div>\n    </template>\n  </ui-component-modal>\n</template>\n\n<script>\nimport AuthController from './AuthController.vue'\nexport default {\n  name: 'ModalAuthentication',\n\n  components: {\n    AuthController\n  },\n\n  props: {\n    modalTitle: {\n      type: String,\n      default: ''\n    },\n    modalSize: {\n      type: String,\n      default: 'large'\n    },\n    onClickCancel: {\n      type: Function,\n      required: true\n    },\n    showModal: {\n      type: Boolean,\n      default: false\n    },\n    channelId: {\n      type: Number,\n      default: 0\n    }\n  },\n\n  data() {\n    return {}\n  },\n\n  methods: {\n    actionAfterLogin() {\n      this.onClickCancel()\n    }\n  }\n}\n</script>\n\n<style>\n</style>","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!./ModalAuthentication.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!./ModalAuthentication.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ModalAuthentication.vue?vue&type=template&id=ebc67d44\"\nimport script from \"./ModalAuthentication.vue?vue&type=script&lang=js\"\nexport * from \"./ModalAuthentication.vue?vue&type=script&lang=js\"\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 render(){var _vm=this,_c=_vm._self._c;return _c('div',[(_vm.showSuccess)?_c('div',{staticClass:\"has-text-centered p-6\"},[_c('success-animation')],1):[(_vm.authFlowView === 'login')?_c('Login',{attrs:{\"linkActionForgotPassword\":_vm.linkActionForgotPassword,\"linkActionRegister\":_vm.linkActionRegister},on:{\"actionAfterLogin\":_vm.actionAfterLogin}}):_vm._e(),(_vm.authFlowView === 'register')?_c('Register',{attrs:{\"channelIdOverride\":_vm.channelId,\"backFunc\":_vm.linkActionLogin},on:{\"userRegistered\":_vm.actionAfterLogin},scopedSlots:_vm._u([{key:\"registerTitle\",fn:function(){return [_c('div',{staticClass:\"title is-4\"},[_vm._v(\" \"+_vm._s(_vm.$t('Components.AccountControls.Register.Main_Title', _vm.localeOverride))+\" \")])]},proxy:true}],null,false,1883416459)}):_vm._e(),(_vm.authFlowView === 'forgot')?_c('RequestNewPasswordFlow',{attrs:{\"channelIdOverride\":_vm.channelId,\"backFunc\":_vm.linkActionLogin}}):_vm._e()]],2)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return (!_vm.showSetNewPassword && !_vm.showSetPasswordConfirmation)?_c('forgot-password',{attrs:{\"backFunc\":_vm.backFunc,\"channelIdOverride\":_vm.channelId},on:{\"sentSuccessfully\":_vm.setShowSetNewPassword}}):(_vm.showSetNewPassword)?_c('set-password',{attrs:{\"linkActionForgotPassword\":_vm.setShowForgotForm},on:{\"nextAction\":_vm.setShowSetPasswordConfirmation}}):_c('set-password-confirmation',{attrs:{\"backFunc\":_vm.backFunc}})\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <forgot-password\n    v-if=\"!showSetNewPassword && !showSetPasswordConfirmation\"\n    :backFunc=\"backFunc\"\n    :channelIdOverride=\"channelId\"\n    @sentSuccessfully=\"setShowSetNewPassword\"\n  />\n  <set-password\n    v-else-if=\"showSetNewPassword\"\n    :linkActionForgotPassword=\"setShowForgotForm\"\n    @nextAction=\"setShowSetPasswordConfirmation\"\n  />\n\n  <set-password-confirmation\n    v-else\n    :backFunc=\"backFunc\"\n  />\n</template>\n\n<script>\nimport { mapMutations } from 'vuex';\nimport ForgotPassword from './ForgotPassword.vue';\nimport SetPassword from './SetPassword.vue';\nimport SetPasswordConfirmation from './SetPasswordConfirmation.vue';\n\nexport default {\n  name: 'RequestNewPasswordFlow',\n\n  components: { ForgotPassword, SetPasswordConfirmation, SetPassword },\n\n  props: {\n    backFunc: {\n      type: Function,\n      default: () => { },\n    },\n    channelIdOverride: {\n      type: Number,\n      default: 0\n    },\n  },\n\n  data(vm) {\n    const channelId = (this.channelIdOverride === 0 ? vm.$store.getters['brandChannelId'] : this.channelIdOverride)\n    return {\n      showSetNewPassword: false,\n      showSetPasswordConfirmation: false,\n      channelId\n    }\n  },\n\n  beforeDestroy() {\n    this.setConfirmationToken('')\n  },\n\n  methods: {\n    ...mapMutations('accountStore', ['setConfirmationToken']),\n\n    setShowForgotForm() {\n      this.showSetNewPassword = false\n      this.showSetPasswordConfirmation = false\n    },\n\n    setShowSetNewPassword() {\n      this.showSetNewPassword = true\n      this.showSetPasswordConfirmation = false\n    },\n\n    setShowSetPasswordConfirmation() {\n      this.showSetNewPassword = false\n      this.showSetPasswordConfirmation = true\n    },\n  }\n}\n</script>\n\n<style>\n</style>","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!./RequestNewPasswordFlow.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!./RequestNewPasswordFlow.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./RequestNewPasswordFlow.vue?vue&type=template&id=1b0733a3\"\nimport script from \"./RequestNewPasswordFlow.vue?vue&type=script&lang=js\"\nexport * from \"./RequestNewPasswordFlow.vue?vue&type=script&lang=js\"\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","<template>\n  <div>\n    <div\n      v-if=\"showSuccess\"\n      class=\"has-text-centered p-6\"\n    >\n      <success-animation />\n    </div>\n    <template v-else>\n      <Login\n        v-if=\"authFlowView === 'login'\"\n        :linkActionForgotPassword=\"linkActionForgotPassword\"\n        :linkActionRegister=\"linkActionRegister\"\n        @actionAfterLogin=\"actionAfterLogin\"\n      />\n      <Register\n        v-if=\"authFlowView === 'register'\"\n        :channelIdOverride=\"channelId\"\n        :backFunc=\"linkActionLogin\"\n        @userRegistered=\"actionAfterLogin\"\n      >\n        <template #registerTitle>\n          <div class=\"title is-4\">\n            {{ $t('Components.AccountControls.Register.Main_Title', localeOverride) }}\n          </div>\n        </template>\n      </Register>\n      <RequestNewPasswordFlow\n        :channelIdOverride=\"channelId\"\n        v-if=\"authFlowView === 'forgot'\"\n        :backFunc=\"linkActionLogin\"\n      />\n    </template>\n  </div>\n</template>\n\n<script>\nimport Login from './Login.vue'\nimport Register from './Register.vue'\nimport SuccessAnimation from '../UI/Components/SuccessAnimation.vue'\nimport RequestNewPasswordFlow from './RequestNewPasswordFlow.vue'\n\nexport default {\n  name: 'AuthController',\n\n  components: {\n    Login,\n    Register,\n    SuccessAnimation,\n    RequestNewPasswordFlow\n  },\n\n  props: {\n    channelId: {\n      type: Number,\n      default: 0\n    }\n  },\n\n  inject: {\n    localeOverride: {\n      type: String,\n      default: function() {\n        return this.$i18n.locale\n      }\n    }\n  },\n\n  data() {\n    return {\n      authFlowView: 'login',\n      showSuccess: false,\n      tAfterLogin: null\n    }\n  },\n\n  beforeDestroy() {\n    this.tAfterLogin && clearTimeout(this.tAfterLogin)\n  },\n\n  methods: {\n    linkActionLogin() {\n      this.authFlowView = 'login'\n    },\n    linkActionForgotPassword() {\n      this.authFlowView = 'forgot'\n    },\n\n    linkActionRegister() {\n      this.authFlowView = 'register'\n    },\n\n    actionAfterLogin(val) {\n      this.showSuccess = true\n      this.tAfterLogin = setTimeout(() => this.$emit('actionAfterLogin', val), 1500)\n    },\n  }\n}\n</script>","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!./AuthController.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!./AuthController.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./AuthController.vue?vue&type=template&id=582d05c5\"\nimport script from \"./AuthController.vue?vue&type=script&lang=js\"\nexport * from \"./AuthController.vue?vue&type=script&lang=js\"\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 render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"login-fields-component\"},[_c('div',{staticClass:\"title is-4\",domProps:{\"innerHTML\":_vm._s(_vm.$t('Components.AccountControls.SetPasswordConfirmation.Main_Title', _vm.localeOverride))}}),_c('Message',{staticClass:\"is-success\",scopedSlots:_vm._u([{key:\"content\",fn:function(){return [_c('font-awesome-icon',{staticClass:\"has-margin-right\",attrs:{\"icon\":['fa', 'check']}}),_vm._v(\" \"+_vm._s(_vm.$t('Components.AccountControls.SetPasswordConfirmation.Message_Success', _vm.localeOverride))+\" \")]},proxy:true}])}),_c('div',{staticClass:\"has-margin-bottom\",domProps:{\"innerHTML\":_vm._s(_vm.$t('Components.AccountControls.SetPasswordConfirmation.Text_Notification', _vm.localeOverride))}}),_c('div',{staticClass:\"has-text-right has-padding\"},[_c('a',{staticClass:\"button is-primary\",attrs:{\"tag\":\"button\"},on:{\"click\":function($event){return _vm.handlerBackFunc()}}},[_vm._v(_vm._s(_vm.$t('Components.AccountControls.SetPasswordConfirmation.Button_Login', _vm.localeOverride)))])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"login-fields-component\">\n    <div\n      class=\"title is-4 \"\n      v-html=\"$t('Components.AccountControls.SetPasswordConfirmation.Main_Title', localeOverride)\"\n    >\n    </div>\n    <Message class=\"is-success\">\n      <template v-slot:content>\n        <font-awesome-icon\n          :icon=\"['fa', 'check']\"\n          class=\"has-margin-right\"\n        />\n        {{$t('Components.AccountControls.SetPasswordConfirmation.Message_Success', localeOverride)}}\n      </template>\n    </Message>\n    <div\n      class=\"has-margin-bottom\"\n      v-html=\"$t('Components.AccountControls.SetPasswordConfirmation.Text_Notification', localeOverride)\"\n    >\n    </div>\n    <div class=\"has-text-right has-padding\">\n      <a\n        tag=\"button\"\n        @click=\"handlerBackFunc()\"\n        class=\"button is-primary\"\n      >{{ $t('Components.AccountControls.SetPasswordConfirmation.Button_Login', localeOverride) }}</a>\n    </div>\n  </div>\n</template>\n\n<script>\nimport Message from '@/components/UI/Message'\n\nexport default {\n  name: 'set-new-password-confirmation',\n\n  components: {\n    Message\n  },\n\n  inject: {\n    localeOverride: {\n      type: String,\n      default: function() {\n        return this.$i18n.locale\n      }\n    }\n  },\n\n  props: {\n    backFunc: {\n      type: [Function, Boolean],\n      default: false,\n    },\n  },\n\n  data() {\n    return {}\n  },\n\n  methods: {\n    handlerBackFunc() {\n      !this.backFunc && this.$router.push({ name: 'my-account-login' })\n\n      this.backFunc()\n    }\n  }\n}\n</script>\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!./SetPasswordConfirmation.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!./SetPasswordConfirmation.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./SetPasswordConfirmation.vue?vue&type=template&id=699ad5bf\"\nimport script from \"./SetPasswordConfirmation.vue?vue&type=script&lang=js\"\nexport * from \"./SetPasswordConfirmation.vue?vue&type=script&lang=js\"\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!./SuccessAnimation.vue?vue&type=style&index=0&id=4b689632&prod&lang=scss&scoped=true\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"forgotPassword\"},[_c('p',{staticClass:\"title is-4\",domProps:{\"innerHTML\":_vm._s(_vm.$t('Components.AccountControls.ForgotPassword.Main_Title', _vm.localeOverride))}}),_c('div',{staticClass:\"content\"},[_c('p',{domProps:{\"innerHTML\":_vm._s(_vm.$t('Components.AccountControls.ForgotPassword.Text_Info', _vm.localeOverride))}})]),_c('ui-base-input-field',{attrs:{\"labelForInput\":false,\"label\":_vm.$t('Components.AccountControls.ForgotPassword.Label_EmailAddress', _vm.localeOverride),\"error\":_vm.emailErrors.toString(),\"onKeyUpEnter\":_vm.sendRequest,\"required\":\"\"},on:{\"input\":function($event){return _vm.delayTouch(_vm.$v.emailAddress)},\"blur\":function($event){return _vm.$v.emailAddress.$touch()}},model:{value:(_vm.emailAddress),callback:function ($$v) {_vm.emailAddress=$$v},expression:\"emailAddress\"}}),_c('div',{staticClass:\"level is-mobile has-padding-top\"},[_c('div',{staticClass:\"level-left\"},[_c('a',{staticClass:\"has-icon\",on:{\"click\":_vm.backFunc}},[_c('span',{staticClass:\"icon\"},[_c('font-awesome-icon',{attrs:{\"icon\":['fas', 'angle-left']}})],1),_c('span',{staticClass:\"has-icon\",domProps:{\"innerHTML\":_vm._s(_vm.$t('Form.Control.Back', _vm.localeOverride))}})])]),_c('div',{staticClass:\"level-right\"},[_c('a',{staticClass:\"button is-primary\",class:{ 'is-loading': _vm.isProcessing },attrs:{\"disabled\":Boolean(_vm.$v.$error) || _vm.isProcessing},domProps:{\"innerHTML\":_vm._s(\n          _vm.$t('Components.AccountControls.ForgotPassword.Button_SendCode', _vm.localeOverride)\n        )},on:{\"click\":_vm.sendRequest}})])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <div class=\"forgotPassword\">\n    <p\n      class=\"title is-4\"\n      v-html=\"$t('Components.AccountControls.ForgotPassword.Main_Title', localeOverride)\"\n    ></p>\n\n    <div class=\"content\">\n      <p v-html=\"$t('Components.AccountControls.ForgotPassword.Text_Info', localeOverride)\"></p>\n    </div>\n\n    <ui-base-input-field\n      v-model=\"emailAddress\"\n      :labelForInput=\"false\"\n      :label=\"\n        $t('Components.AccountControls.ForgotPassword.Label_EmailAddress', localeOverride)\n      \"\n      :error=\"emailErrors.toString()\"\n      :onKeyUpEnter=\"sendRequest\"\n      @input=\"delayTouch($v.emailAddress)\"\n      @blur=\"$v.emailAddress.$touch()\"\n      required\n    />\n\n    <div class=\"level is-mobile has-padding-top\">\n      <div class=\"level-left\">\n        <a\n          class=\"has-icon\"\n          @click=\"backFunc\"\n        >\n          <span class=\"icon\">\n            <font-awesome-icon :icon=\"['fas', 'angle-left']\" />\n          </span>\n          <span\n            class=\"has-icon\"\n            v-html=\"$t('Form.Control.Back', localeOverride)\"\n          ></span>\n        </a>\n      </div>\n      <div class=\"level-right\">\n        <a\n          @click=\"sendRequest\"\n          class=\"button is-primary\"\n          v-bind:class=\"{ 'is-loading': isProcessing }\"\n          :disabled=\"Boolean($v.$error) || isProcessing\"\n          v-html=\"\n            $t('Components.AccountControls.ForgotPassword.Button_SendCode', localeOverride)\n          \"\n        ></a>\n      </div>\n    </div>\n  </div>\n</template>\n\n<script>\nimport { mapMutations } from 'vuex'\nimport loginProvider from '@/providers/login'\nimport { required, email } from 'vuelidate/lib/validators'\n\nconst touchMap = new WeakMap()\n\nexport default {\n  name: 'component-forgot-password',\n\n  inject: {\n    localeOverride: {\n      type: String,\n      default: function() {\n        return this.$i18n.locale\n      }\n    }\n  },\n\n  props: {\n    backFunc: {\n      type: Function,\n      default: () => { },\n    },\n    channelIdOverride: {\n      type: Number,\n      default: 0\n    },\n  },\n\n  data(vm) {\n    const channelId = (this.channelIdOverride === 0 ? vm.$store.getters['brandChannelId'] : this.channelIdOverride)\n    return {\n      emailAddress: '',\n      isProcessing: false,\n      channelId\n    }\n  },\n\n  computed: {\n    emailErrors() {\n      const errors = []\n      if (!this.$v.emailAddress.$dirty) return errors\n      if (!this.$v.emailAddress.required) {\n        errors.push(this.$t('Form.InputErrors.Required', this.localeOverride))\n      } else if (!this.$v.emailAddress.email) {\n        errors.push(this.$t('Form.InputErrors.InvalidEmail', this.localeOverride))\n      }\n\n      return errors\n    },\n  },\n\n  /**\n   * Form validation rules\n   */\n  validations: {\n    emailAddress: {\n      required,\n      email,\n    },\n  },\n\n  methods: {\n    ...mapMutations('accountStore', ['setConfirmationToken']),\n\n    delayTouch($v) {\n      $v.$reset()\n      if (touchMap.has($v)) {\n        clearTimeout(touchMap.get($v))\n      }\n      touchMap.set($v, setTimeout($v.$touch, 1000))\n    },\n\n    async sendRequest() {\n      let self = this\n      if (!this.isProcessing) {\n        this.isProcessing = true\n        this.$v.$touch()\n        if (this.$v.$invalid) {\n          this.submitStatus = 'ERROR'\n          // console.info(e)\n          this.isProcessing = false\n        } else {\n          // do your submit logic here\n          this.submitStatus = 'PENDING'\n        }\n\n        // Send request e-mail\n        await loginProvider.methods\n          .resetPassword(this.emailAddress, this.$i18n.locale)\n          .then(response => {\n            if (response.status === 200) {\n              self.$emit('sentSuccessfully')\n\n              this.setConfirmationToken(response.data.ConfirmationToken)\n            }\n          })\n          .catch(() => { })\n          .finally(() => {\n            self = null\n          })\n      }\n    },\n  },\n}\n</script>\n\n<style lang=\"scss\" scoped></style>\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!./ForgotPassword.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!./ForgotPassword.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./ForgotPassword.vue?vue&type=template&id=4154f3a4&scoped=true\"\nimport script from \"./ForgotPassword.vue?vue&type=script&lang=js\"\nexport * from \"./ForgotPassword.vue?vue&type=script&lang=js\"\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  \"4154f3a4\",\n  null\n  \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('article',{staticClass:\"message\",class:_vm.combindedClass},[_c('div',{staticClass:\"message-body\"},[(_vm.message)?[_vm._v(\" \"+_vm._s(_vm.message)+\" \")]:_vm._e(),_vm._t(\"content\")],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n  <article\n    class=\"message\"\n    :class=\"combindedClass\"\n  >\n    <div class=\"message-body\">\n      <template v-if=\"message\">\n        {{ message }}\n      </template>\n      <slot name=\"content\"></slot>\n    </div>\n  </article>\n</template>\n\n<script>\nexport default {\n  props: {\n    /**\n     * For what'll be shown inside of the message box.\n     */\n    message: {\n      type: String,\n      default: ''\n    },\n\n    size: {\n      type: String,\n      default: ''\n    },\n\n    /**\n     * type bepaalt het type weergave\n     * eq. is-info = for information style. It defines the style of the message\n     */\n    type: {\n      type: String,\n      default: 'is-info'\n    }\n  },\n  data() {\n    return {};\n  },\n\n  computed: {\n    combindedClass() {\n      let c = this.type;\n\n      if (this.size.length > 0) {\n        c = c + ' ' + this.size;\n      }\n\n      return c;\n    }\n  }\n};\n</script>\n\n<style lang=\"scss\" scoped></style>\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!./Message.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!./Message.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./Message.vue?vue&type=template&id=509443f1&scoped=true\"\nimport script from \"./Message.vue?vue&type=script&lang=js\"\nexport * from \"./Message.vue?vue&type=script&lang=js\"\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  \"509443f1\",\n  null\n  \n)\n\nexport default component.exports"],"sourceRoot":""}