{"version":3,"sources":["webpack:///./src/views/PasswordChangePage.vue","webpack:///src/views/PasswordChangePage.vue","webpack:///./src/views/PasswordChangePage.vue?ef0e","webpack:///./src/views/PasswordChangePage.vue?6bbf"],"names":["render","_vm","this","_c","_self","staticClass","attrs","slot","_v","canChangePassword","completed","_e","errorMssg","_s","colorForCriteria","iconForCriteria","class","colClass","directives","name","rawName","value","requiredRules","expression","hasError","errorText","passwordFieldValid","passInputType","requiredPlaceholder","model","password","callback","$$v","$set","staticStyle","passInputIcon","on","$event","togglePassInputType","confirmPasswordFieldValid","confirmPassInputType","confirmed_password","confirmPassInputIcon","toggleConfirmPassInputType","requestReset","nativeOn","backToRequestChange","apply","arguments","backToLogin","staticRenderFns","errorMssgDef","textType","iconEye","iconEyeOff","props","data","passInputPassMode","confirmPassInputPassMode","isMounted","criteria","computed","methods","token","new_password","completePasswordForm","completeConfirmPassword","validatePassword","testPassword","no_consecutive","isSuccess","component"],"mappings":"yHAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,gDAAgD,CAACF,EAAG,MAAM,CAACE,YAAY,yCAAyC,CAACF,EAAG,UAAU,CAACE,YAAY,wBAAwB,CAACF,EAAG,MAAM,CAACG,MAAM,CAAC,KAAO,WAAWC,KAAK,WAAW,CAACJ,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,MAAM,CAACE,YAAY,kCAAkC,CAACF,EAAG,MAAM,CAACE,YAAY,uBAAuB,CAACF,EAAG,KAAK,CAACE,YAAY,QAAQ,CAACJ,EAAIO,GAAG,4BAA6BP,EAAIQ,oBAAsBR,EAAIS,UAAWP,EAAG,IAAI,CAACF,EAAIO,GAAG,yCAAyCL,EAAG,SAAS,CAACF,EAAIO,GAAG,sBAAsBP,EAAIU,KAAMV,EAAIS,UAAWP,EAAG,WAAW,CAACE,YAAY,cAAcC,MAAM,CAAC,MAAQ,YAAY,CA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GA,oBACA,cACA,cACA,2CACA,2KACA,4IACA,6LACA,wDACA,qIACA,8EAEA,2BACA,2BACA,2BACA,2BACA,4BACA,SACA,2BACA,iCACAC,MAKA,OAFA,mBAEA,4GAEA/B,sBACA,gDAEAK,6BACA,8DAEAnB,YACA,2BAEAC,aACA,6BAEA6C,aACA,qBACA,+BAEA,0BACA,sBAAAnD,gBAEA,kCACA,sBAAAA,8BCpS4V,I,YCOxVoD,EAAY,eACd,EACAvE,EACAkD,GACA,EACA,KACA,WACA,MAIa,aAAAqB,E","file":"js/chunk-2d0e5400.3c351406.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"vx-row no-gutter items-center justify-center\"},[_c('div',{staticClass:\"vx-col sm:w-5/6 md:w-2/3 lg:w-1/2 m-0\"},[_c('vx-card',{staticClass:\"login-card py-3 px-3\"},[_c('div',{attrs:{\"slot\":\"no-body\"},slot:\"no-body\"},[_c('div',{staticClass:\"vx-col sm:w-full\"},[_c('div',{staticClass:\"px-6 pt-8 login-tabs-container\"},[_c('div',{staticClass:\"vx-card__title mb-4\"},[_c('h4',{staticClass:\"mb-4\"},[_vm._v(\"Recupera tu contraseña\")]),(_vm.canChangePassword && !_vm.completed)?_c('p',[_vm._v(\"Escribe tu nueva contraseña, la cual \"),_c('strong',[_vm._v(\"debe contener:\")])]):_vm._e(),(_vm.completed)?_c('vs-alert',{staticClass:\"h-full mb-5\",attrs:{\"color\":\"success\"}},[_c('span',[_vm._v(\"¡Tu contraseña ha sido actualizada exitosamente!\")])]):_vm._e(),(_vm.completed)?_c('p',[_vm._v(\"Para continuar, visita la página de inicio e ingresa tus nuevas credenciales.\")]):_vm._e()],1),(_vm.errorMssg)?_c('vs-alert',{staticClass:\"h-full mb-5\",attrs:{\"color\":\"danger\"}},[_c('span',[_vm._v(_vm._s(_vm.errorMssg))])]):_vm._e(),(_vm.canChangePassword && !_vm.completed)?_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col md:w-1/2 sm:w-full w-full\"},[_c('p',{staticClass:\"mb-5\"},[_c('feather-icon',{staticClass:\"p-2\",attrs:{\"svgClasses\":`${_vm.colorForCriteria(0)} h-4 w-4`,\"icon\":_vm.iconForCriteria(0)}}),_vm._v(\"Una letra minúscula \"),_c('br'),_c('feather-icon',{staticClass:\"p-2\",attrs:{\"svgClasses\":`${_vm.colorForCriteria(1)} h-4 w-4`,\"icon\":_vm.iconForCriteria(1)}}),_vm._v(\"Una letra mayúscula \"),_c('br'),_c('feather-icon',{staticClass:\"p-2\",attrs:{\"svgClasses\":`${_vm.colorForCriteria(2)} h-4 w-4`,\"icon\":_vm.iconForCriteria(2)}}),_vm._v(\"Un número \"),_c('br')],1)]),_c('div',{staticClass:\"vx-col md:w-1/2 sm:w-full w-full\"},[_c('p',{staticClass:\"mb-5\"},[_c('feather-icon',{staticClass:\"p-2\",attrs:{\"svgClasses\":`${_vm.colorForCriteria(3)} h-4 w-4`,\"icon\":_vm.iconForCriteria(3)}}),_vm._v(\"Un símbolo \"),_c('br'),_c('feather-icon',{staticClass:\"p-2\",attrs:{\"svgClasses\":`${_vm.colorForCriteria(4)} h-4 w-4`,\"icon\":_vm.iconForCriteria(4)}}),_vm._v(\"8 caracteres mínimo \"),_c('br'),_c('feather-icon',{staticClass:\"p-2\",attrs:{\"svgClasses\":`${_vm.colorForCriteria(5)} h-4 w-4`,\"icon\":_vm.iconForCriteria(5)}}),_vm._v(\"Sin letras ni números consecutivos \"),_c('br')],1)])]):_vm._e(),(_vm.canChangePassword && !_vm.completed)?_c('div',{staticClass:\"vx-row\"},[_c('div',{class:_vm.colClass},[_c('label',{staticClass:\"vs-input--label\"},[_vm._v(\"Contraseña *\")]),_c('vx-input-group',{staticClass:\"w-full\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.requiredRules),expression:\"requiredRules\"}],attrs:{\"danger\":_vm.hasError('password'),\"danger-text\":_vm.errorText('password'),\"success\":_vm.passwordFieldValid,\"type\":_vm.passInputType,\"placeholder\":_vm.requiredPlaceholder,\"name\":\"password\"},model:{value:(_vm.model.password),callback:function ($$v) {_vm.$set(_vm.model, \"password\", $$v)},expression:\"model.password\"}}),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"append-text btn-addon\",staticStyle:{\"height\":\"40px\"}},[_c('vs-button',{attrs:{\"color\":\"dark\",\"icon-pack\":\"feather\",\"icon\":_vm.passInputIcon},on:{\"click\":function($event){return _vm.togglePassInputType()}}})],1)])],2)],1),_c('div',{class:_vm.colClass},[_c('label',{staticClass:\"vs-input--label\"},[_vm._v(\"Confirma la contraseña *\")]),_c('vx-input-group',{staticClass:\"w-full\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:(_vm.requiredRules),expression:\"requiredRules\"}],attrs:{\"onpaste\":\"return false;\",\"danger\":_vm.hasError('confirmed_password'),\"danger-text\":_vm.errorText('confirmed_password'),\"success\":_vm.confirmPasswordFieldValid,\"type\":_vm.confirmPassInputType,\"placeholder\":_vm.requiredPlaceholder,\"name\":\"confirmed_password\"},model:{value:(_vm.model.confirmed_password),callback:function ($$v) {_vm.$set(_vm.model, \"confirmed_password\", $$v)},expression:\"model.confirmed_password\"}}),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"append-text btn-addon\",staticStyle:{\"height\":\"40px\"}},[_c('vs-button',{attrs:{\"color\":\"dark\",\"icon-pack\":\"feather\",\"icon\":_vm.confirmPassInputIcon},on:{\"click\":function($event){return _vm.toggleConfirmPassInputType()}}})],1)])],2)],1)]):_vm._e(),(_vm.canChangePassword && !_vm.completed)?_c('vs-button',{staticClass:\"mr-5 mt-4\",attrs:{\"color\":\"primary\"},on:{\"click\":_vm.requestReset}},[_vm._v(\"Recuperar contraseña\")]):_vm._e(),_c('div',{staticClass:\"mt-base mb-6\"},[(!_vm.canChangePassword && !_vm.completed)?_c('div',{staticClass:\"text-dark mb-4\"},[_vm._v(\" Si deseas solicitar una nueva liga de recuperación \"),_c('span',[_c('router-link',{staticClass:\"bold ml-1 inline-link-primary text-dark\",attrs:{\"to\":\"\"},nativeOn:{\"click\":function($event){return _vm.backToRequestChange.apply(null, arguments)}}},[_vm._v(\"Da clic aquí.\")])],1)]):_vm._e(),(!_vm.completed)?_c('div',{staticClass:\"text-dark\"},[_vm._v(\" ¿Deseas volver a la página de inicio? \"),_c('span',[_c('router-link',{staticClass:\"bold ml-1 inline-link-primary text-dark\",attrs:{\"to\":\"\"},nativeOn:{\"click\":function($event){return _vm.backToLogin.apply(null, arguments)}}},[_vm._v(\"Da clic aquí.\")])],1)]):_vm._e(),(_vm.completed)?_c('div',{staticClass:\"text-dark\"},[_vm._v(\" Ir a la \"),_c('span',[_c('router-link',{staticClass:\"bold ml-1 inline-link-primary text-dark\",attrs:{\"to\":\"\"},nativeOn:{\"click\":function($event){return _vm.backToLogin.apply(null, arguments)}}},[_vm._v(\"página de inicio.\")])],1)]):_vm._e()])],1)])])])],1)])\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!./PasswordChangePage.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!./PasswordChangePage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PasswordChangePage.vue?vue&type=template&id=8c808460&scoped=true&\"\nimport script from \"./PasswordChangePage.vue?vue&type=script&lang=js&\"\nexport * from \"./PasswordChangePage.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 \"8c808460\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}