{"version":3,"sources":["webpack:///./src/pages/auth/forgot-password.vue","webpack:///./src/config/ssoDomainList.js","webpack:///src/pages/auth/forgot-password.vue","webpack:///./src/pages/auth/forgot-password.vue?959a","webpack:///./src/pages/auth/forgot-password.vue?bd92","webpack:///./src/pages/auth/forgot-password.vue?4a05"],"names":["render","_vm","this","_c","_self","attrs","staticClass","_v","_s","$t","model","value","step","callback","$$v","expression","on","$event","preventDefault","checkEmailValidation","apply","arguments","ref","scopedSlots","_u","key","fn","errors","loading","email","stopPropagation","nativeOn","loader","changePassword","passwordResetToken","showNewPassword","newPassword","showNewPasswordAgain","newPasswordAgain","$helpers","isPasswordValid","name","ssoWarningDialogStatus","staticRenderFns","ACCENTURE","jsEncrypt","components","SsoWarningDialog","PasswordValidationMessages","data","watch","methods","handleEmailChange","findDomain","focusPassword","workEmail","then","status","errArgs","catch","finally","sendPasswordResetToken","component"],"mappings":"0IAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,cAAc,CAACE,MAAM,CAAC,cAAc,GAAG,MAAQ,KAAK,CAACF,EAAG,WAAW,CAACE,MAAM,CAAC,uBAAuB,GAAG,iBAAiB,GAAG,KAAO,KAAK,CAACF,EAAG,SAAS,CAACG,YAAY,SAASD,MAAM,CAAC,KAAO,KAAK,CAACF,EAAG,KAAK,CAACG,YAAY,YAAY,CAACL,EAAIM,GAAG,aAAaJ,EAAG,MAAMF,EAAIM,GAAG,kBAAkBJ,EAAG,KAAK,CAACG,YAAY,cAAc,CAACL,EAAIM,GAAGN,EAAIO,GAAGP,EAAIQ,GAAG,8BAA8BN,EAAG,SAAS,CAACE,MAAM,CAAC,KAAO,KAAK,CAACF,EAAG,WAAW,CAACO,MAAM,CAACC,MAAOV,EAAIW,KAAMC,SAAS,SAAUC,GAAMb,EAAIW,KAAKE,GAAKC,WAAW,SAAS,CAACZ,EAAG,gBAAgB,CAACE,MAAM,CAAC,MAAQ,IAAI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AsB,SACAC,qBACA,2BACA,IACA,iCAGAC,cACA,SACA,yCADA,MAGAC,gBACA,iDAEArB,iBACA,0CACA,MACA,SACAsB,qBACArB,2CACAE,yCAEA,gBACA,sBACAA,eACAoB,OAAAP,OAAAQ,aACA,WACA,0FACA,sBAAAhB,oBACA,oBACA,sBACA,YACA,oFACA,sBACA,YACA,6BACA,kFACA,CACA,WACA,uBACAiB,wCAEA,mFAIAC,qBACAC,iCAIAzC,uBACA,oCACA,IACA,gBACA,sBACA0C,wBAAAN,uBACAC,OAAAP,OAAAQ,aACA,SACA,YACA,qFACA,UACA,mBACA,2EACA,oBACA,qFAIAE,qBACAC,mCC7NwW,I,wBCQpWE,EAAY,eACd,EACA9D,EACA2C,GACA,EACA,KACA,WACA,MAIa,aAAAmB,E,2CCnBf","file":"js/logout.dbe1b5b9.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('v-container',{attrs:{\"fill-height\":\"\",\"fluid\":\"\"}},[_c('v-layout',{attrs:{\"align-content-center\":\"\",\"justify-center\":\"\",\"wrap\":\"\"}},[_c('v-flex',{staticClass:\"center\",attrs:{\"xs12\":\"\"}},[_c('h1',{staticClass:\"greeting\"},[_vm._v(\"idenfit'e\"),_c('br'),_vm._v(\"HoÅŸ Geldiniz\")]),_c('h2',{staticClass:\"title mt-4\"},[_vm._v(_vm._s(_vm.$t(\"auth.forget_password\")))])]),_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('v-window',{model:{value:(_vm.step),callback:function ($$v) {_vm.step=$$v},expression:\"step\"}},[_c('v-window-item',{attrs:{\"value\":1}},[_c('v-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.checkEmailValidation.apply(null, arguments)}}},[_c('validation-observer',{ref:\"form\"},[_c('validation-provider',{attrs:{\"name\":_vm.$t('auth.email'),\"rules\":\"required|email\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('v-text-field',{attrs:{\"autocomplete\":\"new-password\",\"disabled\":_vm.loading,\"label\":_vm.$t('auth.email'),\"color\":\"tertiary\",\"error-messages\":errors},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}})]}}])})],1),_c('v-btn',{staticClass:\"mt-5\",attrs:{\"block\":\"\",\"large\":\"\",\"depressed\":\"\",\"color\":\"primary\",\"loading\":_vm.loading,\"disabled\":_vm.loading},on:{\"click\":function($event){$event.stopPropagation();return _vm.checkEmailValidation.apply(null, arguments)}},nativeOn:{\"click\":function($event){_vm.loader = 'loading'}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"auth.reset_password\"))+\" \")])],1)],1),_c('v-window-item',{attrs:{\"value\":2}},[_c('validation-observer',{ref:\"token_form\"},[_c('v-form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.changePassword.apply(null, arguments)}}},[_c('validation-provider',{attrs:{\"name\":_vm.$t('auth.reset_password_code'),\"rules\":\"required|min:4|max:4\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('v-text-field',{attrs:{\"label\":_vm.$t('auth.reset_password_code'),\"color\":\"tertiary\",\"error-messages\":errors},model:{value:(_vm.passwordResetToken),callback:function ($$v) {_vm.passwordResetToken=$$v},expression:\"passwordResetToken\"}})]}}])}),_c('validation-provider',{attrs:{\"vid\":\"confirm\",\"name\":_vm.$t('auth.new_password'),\"rules\":\"required|min:8|max:16\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('v-text-field',{attrs:{\"disabled\":_vm.loading,\"autocomplete\":\"new-password\",\"label\":_vm.$t('auth.new_password'),\"color\":\"tertiary\",\"error-messages\":errors,\"append-icon\":_vm.showNewPassword ? 'mdi-eye-off' : 'mdi-eye',\"type\":_vm.showNewPassword ? 'text' : 'password'},on:{\"click:append\":function($event){_vm.showNewPassword = !_vm.showNewPassword}},model:{value:(_vm.newPassword),callback:function ($$v) {_vm.newPassword=$$v},expression:\"newPassword\"}})]}}])}),_c('validation-provider',{attrs:{\"name\":_vm.$t('auth.re_new_password'),\"rules\":\"required|password:@confirm\"},scopedSlots:_vm._u([{key:\"default\",fn:function({ errors }){return [_c('v-text-field',{attrs:{\"disabled\":_vm.loading,\"color\":\"tertiary\",\"autocomplete\":\"new-password\",\"label\":_vm.$t('auth.re_new_password'),\"error-messages\":errors,\"append-icon\":_vm.showNewPasswordAgain ? 'mdi-eye-off' : 'mdi-eye',\"type\":_vm.showNewPasswordAgain ? 'text' : 'password'},on:{\"click:append\":function($event){_vm.showNewPasswordAgain = !_vm.showNewPasswordAgain}},model:{value:(_vm.newPasswordAgain),callback:function ($$v) {_vm.newPasswordAgain=$$v},expression:\"newPasswordAgain\"}})]}}])}),_c('password-validation-messages',{attrs:{\"password\":_vm.newPassword}}),_c('v-btn',{staticClass:\"mt-5\",attrs:{\"loading\":_vm.loading,\"disabled\":!_vm.$helpers.isPasswordValid(_vm.newPassword),\"block\":\"\",\"large\":\"\",\"depressed\":\"\",\"color\":\"primary\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.changePassword.apply(null, arguments)}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"auth.change_password\"))+\" \")])],1)],1)],1)],1)],1),_c('v-flex',{staticClass:\"mt-3\",attrs:{\"xs12\":\"\"}},[_c('v-btn',{attrs:{\"block\":\"\",\"text\":\"\",\"disabled\":_vm.loading,\"depressed\":\"\",\"to\":{ name: 'login' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"auth.back_to_sign_in\"))+\" \")])],1),_c('v-flex',{attrs:{\"xs12\":\"\"}},[_c('sso-warning-dialog',{model:{value:(_vm.ssoWarningDialogStatus),callback:function ($$v) {_vm.ssoWarningDialogStatus=$$v},expression:\"ssoWarningDialogStatus\"}})],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export const ACCENTURE = \"accenture.com\";\n\nexport default [ACCENTURE];\n","<template>\n  <v-container fill-height fluid>\n    <v-layout align-content-center justify-center wrap>\n      <v-flex xs12 class=\"center\">\n        <h1 class=\"greeting\">idenfit'e<br />HoÅŸ Geldiniz</h1>\n        <h2 class=\"title mt-4\">{{ $t(\"auth.forget_password\") }}</h2>\n      </v-flex>\n      <v-flex xs12>\n        <v-window v-model=\"step\">\n          <v-window-item :value=\"1\">\n            <v-form @submit.prevent=\"checkEmailValidation\">\n              <validation-observer ref=\"form\">\n                <validation-provider :name=\"$t('auth.email')\" rules=\"required|email\" v-slot=\"{ errors }\">\n                  <v-text-field\n                    v-model=\"email\"\n                    autocomplete=\"new-password\"\n                    :disabled=\"loading\"\n                    :label=\"$t('auth.email')\"\n                    color=\"tertiary\"\n                    :error-messages=\"errors\"\n                  />\n                </validation-provider>\n              </validation-observer>\n              <v-btn\n                block\n                large\n                depressed\n                color=\"primary\"\n                class=\"mt-5\"\n                :loading=\"loading\"\n                :disabled=\"loading\"\n                @click.native=\"loader = 'loading'\"\n                @click.stop=\"checkEmailValidation\"\n              >\n                {{ $t(\"auth.reset_password\") }}\n              </v-btn>\n            </v-form>\n          </v-window-item>\n          <v-window-item :value=\"2\">\n            <validation-observer ref=\"token_form\">\n              <v-form @submit.prevent=\"changePassword\">\n                <validation-provider\n                  :name=\"$t('auth.reset_password_code')\"\n                  rules=\"required|min:4|max:4\"\n                  v-slot=\"{ errors }\"\n                >\n                  <v-text-field\n                    v-model=\"passwordResetToken\"\n                    :label=\"$t('auth.reset_password_code')\"\n                    color=\"tertiary\"\n                    :error-messages=\"errors\"\n                  />\n                </validation-provider>\n                <validation-provider\n                  vid=\"confirm\"\n                  :name=\"$t('auth.new_password')\"\n                  rules=\"required|min:8|max:16\"\n                  v-slot=\"{ errors }\"\n                >\n                  <v-text-field\n                    v-model=\"newPassword\"\n                    :disabled=\"loading\"\n                    autocomplete=\"new-password\"\n                    :label=\"$t('auth.new_password')\"\n                    color=\"tertiary\"\n                    :error-messages=\"errors\"\n                    :append-icon=\"showNewPassword ? 'mdi-eye-off' : 'mdi-eye'\"\n                    :type=\"showNewPassword ? 'text' : 'password'\"\n                    @click:append=\"showNewPassword = !showNewPassword\"\n                  />\n                </validation-provider>\n                <validation-provider\n                  :name=\"$t('auth.re_new_password')\"\n                  rules=\"required|password:@confirm\"\n                  v-slot=\"{ errors }\"\n                >\n                  <v-text-field\n                    v-model=\"newPasswordAgain\"\n                    :disabled=\"loading\"\n                    color=\"tertiary\"\n                    autocomplete=\"new-password\"\n                    :label=\"$t('auth.re_new_password')\"\n                    :error-messages=\"errors\"\n                    :append-icon=\"showNewPasswordAgain ? 'mdi-eye-off' : 'mdi-eye'\"\n                    :type=\"showNewPasswordAgain ? 'text' : 'password'\"\n                    @click:append=\"showNewPasswordAgain = !showNewPasswordAgain\"\n                  />\n                </validation-provider>\n                <password-validation-messages :password=\"newPassword\" />\n                <v-btn\n                  :loading=\"loading\"\n                  :disabled=\"!$helpers.isPasswordValid(newPassword)\"\n                  block\n                  large\n                  depressed\n                  color=\"primary\"\n                  class=\"mt-5\"\n                  @click.stop=\"changePassword\"\n                >\n                  {{ $t(\"auth.change_password\") }}\n                </v-btn>\n              </v-form>\n            </validation-observer>\n          </v-window-item>\n        </v-window>\n      </v-flex>\n      <v-flex xs12 class=\"mt-3\">\n        <v-btn block text :disabled=\"loading\" depressed :to=\"{ name: 'login' }\">\n          {{ $t(\"auth.back_to_sign_in\") }}\n        </v-btn>\n      </v-flex>\n      <v-flex xs12>\n        <sso-warning-dialog v-model=\"ssoWarningDialogStatus\" />\n      </v-flex>\n    </v-layout>\n  </v-container>\n</template>\n\n<script>\n  import ssoDomainList from \"@/config/ssoDomainList\";\n  import { PASSWORD_REUSE_EXCEPTION } from \"@/http/response/status/idenfit\";\n  import JSEncrypt from \"jsencrypt\";\n\n  const jsEncrypt = new JSEncrypt();\n  jsEncrypt.setPublicKey(process.env.VUE_APP_PASSWORD_PUBLIC_KEY);\n\n  const ENTER_WORK_EMAIL_STEP = 1;\n  const ENTER_PASSWORD_RESET_TOKEN_STEP = 2;\n\n  export default {\n    name: \"forgot-password\",\n    components: {\n      SsoWarningDialog: () => import(\"./components/SSOWarningDialog\"),\n      PasswordValidationMessages: () => import(\"@/components/PasswordValidationMessages\")\n    },\n    data() {\n      return {\n        loading: false,\n        email: null,\n        step: 1,\n        passwordResetToken: null,\n        newPassword: null,\n        newPasswordAgain: null,\n        showNewPassword: false,\n        showNewPasswordAgain: false,\n        ssoWarningDialogStatus: false\n      };\n    },\n    watch: {\n      email: \"handleEmailChange\"\n    },\n    methods: {\n      handleEmailChange(searchText) {\n        const domain = this.findDomain(searchText);\n        if (domain) {\n          this.ssoWarningDialogStatus = true;\n        }\n      },\n      findDomain(searchText) {\n        if (!searchText) return null;\n        return ssoDomainList.find((domain) => searchText.toLowerCase().indexOf(domain) > -1);\n      },\n      focusPassword() {\n        this.$nextTick(() => this.$refs.password.focus());\n      },\n      changePassword() {\n        this.$refs.token_form.validate().then((valid) => {\n          if (valid) {\n            const payload = {\n              workEmail: this.email,\n              passwordResetToken: this.passwordResetToken,\n              newPassword: jsEncrypt.encrypt(this.newPassword)\n            };\n            this.loading = true;\n            this.$api.userService\n              .newPassword(payload)\n              .then(({ data, status }) => {\n                if (status === 201) {\n                  this.$helpers.showNotification(this.$t(\"auth.password_change_successfully\"), \"success\", true);\n                  this.$router.replace({ name: \"login\" });\n                } else if (status === 200 && data.error) {\n                  if (data.error.code === 711) {\n                    this.step = ENTER_PASSWORD_RESET_TOKEN_STEP;\n                    this.$helpers.showNotification(this.$t(\"auth.invalid_reset_token\"), \"error\", true);\n                  } else if (data.error.code === 719) {\n                    this.step = ENTER_WORK_EMAIL_STEP;\n                    this.passwordResetToken = null;\n                    this.$helpers.showNotification(this.$t(\"auth.reset_code_expired\"), \"error\", true);\n                  } else {\n                    const errArgs = [];\n                    if (data.error.code === PASSWORD_REUSE_EXCEPTION) {\n                      errArgs.push(data.error.errorBody.passwordCount);\n                    }\n                    this.$helpers.showNotification(this.$t(`api_error.${data.error.code}`, errArgs), \"error\", true);\n                  }\n                }\n              })\n              .catch(console.error)\n              .finally(() => (this.loading = false));\n          }\n        });\n      },\n      checkEmailValidation() {\n        this.$refs.form.validate().then((valid) => {\n          if (valid) {\n            this.loading = true;\n            this.$api.userService\n              .sendPasswordResetToken({ workEmail: this.email })\n              .then(({ data, status }) => {\n                if (status === 201) {\n                  this.step = ENTER_PASSWORD_RESET_TOKEN_STEP;\n                  this.$helpers.showNotification(this.$t(\"auth.send_sms_password_code\"), \"success\", true);\n                } else if (data.error) {\n                  if (data.error.code === 711) {\n                    this.$helpers.showNotification(this.$t(\"auth.email_not_found\"), \"error\", true);\n                  } else if (data.error.code === 718) {\n                    this.$helpers.showNotification(this.$t(\"auth.reset_password_expired\"), \"error\", true);\n                  }\n                }\n              })\n              .catch(console.error)\n              .finally(() => (this.loading = false));\n          }\n        });\n      }\n    }\n  };\n</script>\n\n<style scoped>\n  .center {\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n    align-items: center;\n  }\n\n  .title {\n    font-size: 18px;\n    font-weight: 500;\n    text-align: center;\n    margin-top: -10px;\n  }\n\n  .greeting {\n    font-family: \"Quicksand\", sans-serif;\n    line-height: 120%;\n    font-weight: 500;\n    font-size: 36px;\n    text-align: center;\n    color: var(--v-primary-base);\n  }\n</style>\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./forgot-password.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./forgot-password.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./forgot-password.vue?vue&type=template&id=52a420c3&scoped=true&\"\nimport script from \"./forgot-password.vue?vue&type=script&lang=js&\"\nexport * from \"./forgot-password.vue?vue&type=script&lang=js&\"\nimport style0 from \"./forgot-password.vue?vue&type=style&index=0&id=52a420c3&prod&scoped=true&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  \"52a420c3\",\n  null\n  \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.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!./forgot-password.vue?vue&type=style&index=0&id=52a420c3&prod&scoped=true&lang=css&\""],"sourceRoot":""}