{"version":3,"sources":["webpack:///./src/components/mixins/dateHelper.js","webpack:///./src/helpers/userComplianceHelper.js","webpack:///./src/views/applicant/profile/AccountPage.vue","webpack:///src/views/applicant/profile/AccountPage.vue","webpack:///./src/views/applicant/profile/AccountPage.vue?6f6c","webpack:///./src/views/applicant/profile/AccountPage.vue?449e"],"names":["methods","constitutionDateFormat","value","moment","String","locale","format","constitutionPaymentDateFormat","explicitDateFormat","sessionFormat","regularDateFormat","yearDateFormat","midDateFormat","humanDateFormat","dateTimeFormat","dateTime12Format","compactDateFormat","logDateFormat","timeAgoFormat","fromNow","calculateAgeFromDate","diff","minDateForValidAge","years","subtract","calculateDaysDiff","m","n","validatedDate","isValid","getDateFromInputs","yy","mm","dd","yint","parseInt","mint","year","month","day","nextAccreditationDate","add","setDateToEndOfDay","d","endOf","end","setDateToStartOfDay","startOf","start","signatureFormatDate","signatureValidityDate","incomeSpecial","toUpperCase","timeStampFormat","formatDatepicker","isAfter","date","maxDate","limit","getPreviousMonth","step","getDay","tags","response","axios","post","data","e","role","reqs","this","getComplianceRequirements","filter","f","is_complied","requirements","notComplied","checkNotCompliedRequirements","includes","id","uid","get","curp","render","_vm","_c","_self","staticClass","attrs","_v","isMounted","directives","name","rawName","expression","hasAlias","hasError","sent","errorText","isSuccess","model","alias","callback","$$v","_e","on","$event","stopPropagation","saveAliasRequest","apply","arguments","editEmail","email","checkEditEmail","editEmailRequest","cancelEditEmail","userHasCancellationRequest","_s","userCancellationDate","userCancellationLimit","revokeAccountCancellation","closeAccountRequest","showPasswordFormPrompt","modelFormPromptIndication","alias_pwd","completeModelForm","$isLoading","doUpdateAlias","closeModelFormPrompt","showPasswordEmailFormPrompt","email_pwd","email_code","completeEmailForm","doUpdateEmail","closeEmailFormPrompt","cancellationAccountNotValid","_l","cancellationAccountValidations","validation","idx","key","staticRenderFns","mixins","new_email","password","code","email_error","loading_email","email_confirm_error","general_error","edit_email","set_alias","loading_alias","writing","alias_error","failed","userData","impactaMasLevel","investmentPlan","factorEnabled","watch","computed","type","color","title","text","acceptText","cancelText","accept","openModelFormPrompt","openEmailFormPrompt","validations","mssg","component"],"mappings":"iIAAA,yBACe,QACbA,QAAS,CACPC,uBAAuBC,GACrB,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,OAGrDC,8BAA8BL,GAC5B,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,iBAGrDE,mBAAmBN,GACjB,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQI,OAAO,+BAGxCG,cAAcP,GACZ,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQI,OAAO,sBAGxCI,kBAAkBR,GAChB,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,eAGrDK,eAAeT,GACb,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,eAGrDM,cAAcV,GACZ,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,2BAGrDO,gBAAgBX,GACd,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,eAGrDQ,eAAeZ,GACb,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,qBAGrDS,iBAAiBb,GACf,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,sBAGrDU,kBAAkBd,GAChB,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,sBAGrDW,cAAcf,GACZ,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMC,OAAO,iCAGrDY,cAAchB,GACZ,GAAGA,EACD,OAAOC,IAAOC,OAAOF,IAAQG,OAAO,MAAMc,WAG9CC,qBAAqBlB,GACnB,GAAGA,EACD,OAAOC,MAASkB,KAAKnB,EAAO,U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A8B,eAEAhE,aACAiE,UACA5D,YACA2B,0BACAC,wEAEAM,+BAEA2B,YACA3D,QACAc,aACAmB,eACAC,gBAEA0B,qBACAC,oBACAC,mBACAxB,iCACAE,oCAGAuB,OACAV,sBACA,2BACA,gCACA,uBACA,oBACA,8BAGAW,aACA,2CACApC,oBACA,6BAEAO,oBACA,yDAEAhB,6BACA,+DAEAE,uBACA,0DACA,iFAGAC,wBACA,wDACA,+EAIAvH,SACA,oBACA,IACA,4DACA,qBACA,+BACA,gDACA,+BACA,uCACA,yCACA,+CAEA,SACA,eAGAgG,YACA,2BAEAE,aACA,6BAEAC,aACA,qBACA,+BAEA,yBACA,aACA,8CACA,SAGA,kBAEA,kBACA,IACA,qDAAAE,mBACA,UACA,2BAGA,0IAGA,SACA,8BAGA,2BACA,iBACA6D,eACAC,eACAC,yBACAC,yDACAC,uBACAC,sBACAC,mCAGA,sBACA,qBACA,UACA,kCAAAnE,iBAAA2C,0BACA,iBACA,kCACA,mBACA,0KAGA,SACA,4BACA,qDACA,iLAIA,4BAGA,sBAEA,uBACA,mBACA,kBAGA,iBACAmB,gBACAD,eACAE,sCACAC,+FACAC,uBACAC,sBACAC,2BAIArD,kBACA,kBACA,gCAEAsD,sBACA,oBACA,gCAEAzC,uBACA,+BACA,qBAGA,yBACA,8CACA,SAGA,kBAEA,kBACA,IACA,wDAAAhB,mBACA,gBAIA,2BAHA,gHAMA,SACA,8BAGA,sBACA,qBACA,UACA,2CACAA,iBACAgC,wBACAC,uBAGA,kBACA,wGAEA,SACA,qDACA,qEAGA,4BAGA,4BACA,sBAEAyB,sBACA,oBACA,qBACA,qCAEApC,uBACA,oBACA,qBACA,qCAEA,0BACA,mBAAA1C,6BAEA,4BAEA,qBACA,IACA,mGACA,gBACA,0BACA,sBACA,SAOA,GANA,KACA+E,+IAEA,KACAA,0IAEA,GAEA,4DACA,YACAA,kHAGA,cACA,sCACA,wCAEA,CACA,+PAGA,wBACA,qBACA,qBACAC,EACA,cAIA,SACA,2GAEA,sBAEA,wBACA,qBACA,IACA,SACA,6CACA,2EACA,yBACA,qOAGA,SACA,sDACA,iEAGA,2GAGA,sBAEA,kCACA,gKAEA,wBACA,iCACA,qBACAA,EACA,cAGA,oCACA,qBACA,IACA,SACA,6CACA,uFACA,yBACA,4HAEA,SACA,sDACA,iEAGA,2GAGA,wBCjiBmX,I,YCO/WC,EAAY,eACd,EACA1F,EACA0D,GACA,EACA,KACA,KACA,MAIa,aAAAgC,E","file":"js/chunk-0fafb8e1.16e15105.js","sourcesContent":["import moment from 'moment'\nexport default {\n methods: {\n constitutionDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('LL');\n }\n },\n constitutionPaymentDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM');\n }\n },\n explicitDateFormat(value) {\n if(value){\n return moment(String(value)).format('DD/MM/YYYY [a las] hh:mm a')\n }\n },\n sessionFormat(value) {\n if(value){\n return moment(String(value)).format('DD/MM/YYYY h:mm a')\n }\n },\n regularDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY')\n }\n },\n yearDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('YYYY/MM/DD')\n }\n },\n midDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM [de] YYYY')\n }\n },\n humanDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('D MMM YYYY')\n }\n },\n dateTimeFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY HH:mm')\n }\n },\n dateTime12Format(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD/MM/YYYY h:mm a')\n }\n },\n compactDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMM [´]YY')\n }\n },\n logDateFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD [de] MMMM [de] YYYY HH:mm')\n }\n },\n timeAgoFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").fromNow();\n }\n },\n calculateAgeFromDate(value){\n if(value){\n return moment().diff(value, 'years');\n }\n },\n minDateForValidAge(years){\n return moment().subtract(years, 'years').format();\n },\n calculateDaysDiff(value){\n if(value){\n let m = moment(String(value));\n let n = moment();\n return n.diff(m, 'days');\n }\n },\n validatedDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n else {\n return \"--\";\n }\n }\n },\n getDateFromInputs(yy,mm,dd){\n let yint = parseInt(yy);\n let mint = parseInt(mm);\n mint -= 1;\n if(yint <= 20){\n // suponer que el año es entre 2000 y 2010\n yint += 2000;\n }\n else {\n // suponer que el año es menor a 2000\n yint += 1900;\n }\n\n let m = moment({ year: yint, month: mint, day: dd});\n if(m.isValid()){\n return m.format('YYYY-MM-DD');\n }\n else {\n return false;\n }\n },\n nextAccreditationDate(value){\n if(value){\n let m = moment(String(value)).add(180, 'days');\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n else {\n return \"--\"\n }\n },\n setDateToEndOfDay(value){\n let m = moment(String(value)).add(1, 'days');\n let d = m.endOf('day')\n let end = d.locale(\"es\").format('YYYY-MM-DD HH:mm:ss');\n return end;\n },\n setDateToStartOfDay(value){\n let m = moment(String(value)).add(1, 'days');\n let d = m.startOf('day');\n let start = d.locale(\"es\").format('YYYY-MM-DD HH:mm:ss');\n return start;\n },\n signatureFormatDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY HH:mm:ss');\n }\n }\n return \"No establecido\";\n },\n signatureValidityDate(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('DD/MM/YYYY');\n }\n }\n return \"No establecido\";\n },\n incomeSpecial(value){\n if(value){\n let m = moment(String(value));\n if(m.isValid()){\n return m.locale(\"es\").format('MMMM - YYYY').toUpperCase();\n }\n }\n return \"No establecido\";\n },\n timeStampFormat(value) {\n if(value){\n return moment(String(value)).locale(\"es\").format('DD-MM-YYYY-HH_mm_ss')\n }\n },\n formatDatepicker(value)\n {\n if(value){\n return moment(String(value)).locale(\"es\").format('YYYY-MM-DD')\n }\n },\n isAfter(date, maxDate, limit = 'year')\n {\n return moment(date).isAfter(maxDate, limit); \n },\n getPreviousMonth(date, format = \"MMMM\", step = 1)\n {\n return moment(date).locale(\"es\").subtract(step, 'months').format(format);\n },\n getDay(date)\n {\n return moment(date).locale(\"es\").format('DD');\n }\n }\n}","export default {\n methods: {\n async getComplianceRequirements(tags){\n try {\n const response = await axios.post( '/api/compliance-panel/requirements', {'tags': tags});\n return response.data;\n }\n catch (e) {\n return null;\n }\n },\n async checkNotCompliedRequirements(role){\n const reqs = await this.getComplianceRequirements(role);\n return reqs.filter(f => (f.is_complied === 0 || f.is_complied === '0'));\n },\n async getSpecificNotCompliedRequirements(role, requirements){\n let notComplied = this.checkNotCompliedRequirements(role);\n return notComplied.filter(f => requirements.includes(f.id));\n },\n async getCurpForUser(uid){\n try {\n const response = await axios.get(`/api/v1/userInfo/${uid}/getCurp`);\n return response.data.curp;\n }\n catch (e) {\n return null;\n }\n },\n }\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('vx-card',{staticClass:\"mb-5\",attrs:{\"card-background\":\"primary\",\"content-color\":\"white\",\"title-color\":\"white\",\"title\":\"Cada miembro de RedGirasol es único.\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('p',[_vm._v(\" En este apartado podrás consultar la información que te identifica, tu alias y correo electrónico. ¡Nos llenas de energía al saber que formas parte de nuestra comunidad! \")])])])]),(_vm.isMounted)?_c('vx-card',{staticClass:\"mt-base\",attrs:{\"title\":\"Alias\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('p',{staticClass:\"mb-4\"},[_vm._v(\"Tu alias es la manera en la que podrás identificarte en la Red. No podrá cambiarse o actualizarse una vez definido.\")]),_c('div',{staticClass:\"vx-row mb-2\"},[_c('div',{staticClass:\"vx-col lg:w-1/3 md:w-1/2 sm:w-full w-full\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full\",attrs:{\"label\":_vm.hasAlias ? '' : 'Ingresa el alias que desees utilizar',\"type\":\"text\",\"danger\":_vm.hasError('alias') && _vm.sent,\"danger-text\":_vm.errorText('alias'),\"success\":_vm.isSuccess('alias'),\"disabled\":_vm.hasAlias,\"name\":\"alias\"},model:{value:(_vm.alias),callback:function ($$v) {_vm.alias=$$v},expression:\"alias\"}})],1)]),(!_vm.hasAlias)?_c('div',{staticClass:\"vx-row mt-3\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center\"},[_c('vs-button',{staticClass:\"mt-2\",on:{\"click\":function($event){$event.stopPropagation();return _vm.saveAliasRequest.apply(null, arguments)}}},[_vm._v(\"Agregar\")])],1)])]):_vm._e()])])]):_vm._e(),(_vm.isMounted)?_c('vx-card',{staticClass:\"mt-base\",attrs:{\"title\":\"Correo electrónico\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('p',{staticClass:\"mb-4\"},[_vm._v(\"Tu correo electrónico es otro medio importante para identificarte, además de que es el canal en donde más comunicación tendrás con la Red. Puedes consultarlo o actualizarlo aquí cuando lo necesites.\")]),_c('div',{staticClass:\"vx-row mb-5\"},[_c('div',{staticClass:\"vx-col lg:w-1/3 md:w-1/2 sm:w-full w-full\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|email'),expression:\"'required|email'\"}],staticClass:\"w-full\",attrs:{\"type\":\"text\",\"danger\":_vm.hasError('email'),\"danger-text\":_vm.errorText('email'),\"success\":_vm.isSuccess('email'),\"disabled\":!_vm.editEmail,\"name\":\"email\"},model:{value:(_vm.email),callback:function ($$v) {_vm.email=$$v},expression:\"email\"}})],1)]),(!_vm.editEmail)?_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center\"},[_c('vs-button',{on:{\"click\":_vm.checkEditEmail}},[_vm._v(\"Actualizar\")])],1)])]):_vm._e(),(_vm.editEmail)?_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center\"},[_c('vs-button',{on:{\"click\":_vm.editEmailRequest}},[_vm._v(\"Guardar\")]),_c('vs-button',{staticClass:\"ml-6\",attrs:{\"type\":\"border\"},on:{\"click\":_vm.cancelEditEmail}},[_vm._v(\"Cancelar\")])],1)])]):_vm._e()])])]):_vm._e(),(_vm.isMounted)?_c('vx-card',{staticClass:\"mb-5\",attrs:{\"title\":\"Cerrar mi cuenta.\"}},[(!_vm.userHasCancellationRequest)?_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col lg:w-3/4 w-full\"},[_c('p',{staticClass:\"mb-5\"},[_vm._v(\"En este apartado podrás cerrar tu cuenta en RedGirasol. Recuerda que para hacerlo tendrás que haber concluido cualquier compromiso de inversión, es decir, que al momento de cerrarla no tengas ningún pago pendiente, ni saldo disponible en tu cuenta. ¡Esperamos que nunca te desconectes de la Red!\")]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center\"},[_c('vs-button',{attrs:{\"type\":\"border\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.closeAccountRequest.apply(null, arguments)}}},[_vm._v(\"Cerrar cuenta\")])],1)])])])]):_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('p',{staticClass:\"mb-4 bold\"},[_vm._v(\"Tu cuenta está en proceso de ser cerrada. \")]),_c('p',[_vm._v(\"Realizaste la solicitud de cierre el \"),_c('span',{staticClass:\"bold\"},[_vm._v(\" \"+_vm._s(_vm.userCancellationDate))]),_vm._v(\".\")]),_c('p',{staticClass:\"mb-5\"},[_vm._v(\"Pasados 30 días, el acceso a tu cuenta se revocará, específicamente el día \"),_c('span',{staticClass:\"bold\"},[_vm._v(\" \"+_vm._s(_vm.userCancellationLimit))]),_vm._v(\".\")]),_c('p',{staticClass:\"mb-5\"},[_vm._v(\"Si deseas mantener tu cuenta con nosotros, limpiar el planeta y seguir impulsando la transición energética de México da clic en el botón que se encuentra a continuación. ¡No te desconectes!\")]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex flex-wrap items-center\"},[_c('vs-button',{attrs:{\"type\":\"border\",\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();return _vm.revokeAccountCancellation.apply(null, arguments)}}},[_vm._v(\"Deseo continuar en la Red\")])],1)])])])])]):_vm._e(),_c('vs-popup',{attrs:{\"title\":\"Confirma tu alias\",\"active\":_vm.showPasswordFormPrompt},on:{\"update:active\":function($event){_vm.showPasswordFormPrompt=$event}}},[_c('div',{staticClass:\"con-exemple-prompt\"},[_c('p',{staticClass:\"mb-5 bold\"},[_vm._v(_vm._s(_vm.modelFormPromptIndication))]),_c('p',{staticClass:\"mb-5\"},[_vm._v(\"Tu alias será: \"),_c('strong',[_vm._v(_vm._s(_vm.alias))])]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full mb-5\",attrs:{\"label\":\"Contraseña\",\"type\":\"password\",\"danger\":_vm.hasError('alias_pwd'),\"danger-text\":_vm.errorText('alias_pwd'),\"success\":_vm.isSuccess('alias_pwd'),\"name\":\"alias_pwd\"},model:{value:(_vm.alias_pwd),callback:function ($$v) {_vm.alias_pwd=$$v},expression:\"alias_pwd\"}}),_c('vs-button',{staticClass:\"mr-5 mt-2\",attrs:{\"disabled\":!_vm.completeModelForm || _vm.$isLoading,\"color\":\"primary\"},on:{\"click\":_vm.doUpdateAlias}},[_vm._v(\"Enviar\")]),_c('vs-button',{attrs:{\"disabled\":_vm.$isLoading,\"type\":\"flat\",\"color\":\"primary\"},on:{\"click\":_vm.closeModelFormPrompt}},[_vm._v(\"Cancelar\")])],1)]),_c('vs-popup',{attrs:{\"title\":\"Confirma tus credenciales\",\"active\":_vm.showPasswordEmailFormPrompt},on:{\"update:active\":function($event){_vm.showPasswordEmailFormPrompt=$event}}},[_c('div',{staticClass:\"con-exemple-prompt\"},[_c('p',{staticClass:\"mb-5 bold\"},[_vm._v(_vm._s(_vm.modelFormPromptIndication))]),_c('p',{staticClass:\"mb-5\"},[_vm._v(\"Tu correo electrónico será: \"),_c('strong',[_vm._v(_vm._s(_vm.email))])]),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"w-full mb-5\",attrs:{\"label\":\"Contraseña\",\"type\":\"password\",\"danger\":_vm.hasError('email_pwd'),\"danger-text\":_vm.errorText('email_pwd'),\"success\":_vm.isSuccess('email_pwd'),\"name\":\"email_pwd\"},model:{value:(_vm.email_pwd),callback:function ($$v) {_vm.email_pwd=$$v},expression:\"email_pwd\"}}),_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|numeric'),expression:\"'required|numeric'\"}],staticClass:\"w-full mb-5\",attrs:{\"label\":\"Código de 6 dígitos de tu segundo factor de autenticación\",\"type\":\"text\",\"name\":\"email_code\",\"danger\":_vm.hasError('email_code'),\"danger-text\":_vm.errorText('email_code'),\"success\":_vm.isSuccess('email_code'),\"min\":6,\"max\":6,\"autocomplete\":\"off\"},model:{value:(_vm.email_code),callback:function ($$v) {_vm.email_code=$$v},expression:\"email_code\"}}),_c('vs-button',{staticClass:\"mr-5 mt-2\",attrs:{\"disabled\":!_vm.completeEmailForm || _vm.$isLoading,\"color\":\"primary\"},on:{\"click\":_vm.doUpdateEmail}},[_vm._v(\"Enviar\")]),_c('vs-button',{attrs:{\"disabled\":_vm.$isLoading,\"type\":\"flat\",\"color\":\"primary\"},on:{\"click\":_vm.closeEmailFormPrompt}},[_vm._v(\"Cancelar\")])],1)]),_c('vs-popup',{attrs:{\"active\":_vm.cancellationAccountNotValid,\"title\":\"Cierre de cuenta\"},on:{\"update:active\":function($event){_vm.cancellationAccountNotValid=$event}}},[_c('div',{staticClass:\"p-3 pt-1\"},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h5',[_vm._v(\"No es posible proceder con el cierre de cuenta.\")]),_c('p',{staticClass:\"mt-4 mb-5\"},[_vm._v(\" No es posible iniciar el proceso de cierre de tu cuenta, debido a que existen una o más condiciones que lo impiden: \")]),_vm._l((_vm.cancellationAccountValidations),function(validation,idx){return _c('p',{key:idx,staticClass:\"bold mb-3\"},[_vm._v(\" - \"+_vm._s(validation)+\" \")])})],2),_c('div',{staticClass:\"vx-col w-full mt-3\"},[_c('div',{staticClass:\"flex items-center flex-grow justify-left mt-1\"},[_c('vs-button',{attrs:{\"color\":\"dark\"},on:{\"click\":function($event){$event.stopPropagation();_vm.cancellationAccountNotValid = false}}},[_vm._v(\"Finalizar\")])],1)])])])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./AccountPage.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!./AccountPage.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AccountPage.vue?vue&type=template&id=a949d61a&\"\nimport script from \"./AccountPage.vue?vue&type=script&lang=js&\"\nexport * from \"./AccountPage.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"],"sourceRoot":""}