{"version":3,"sources":["webpack:///./src/components/investor/widgets/AutomaticInvestmentDisclaimer.vue","webpack:///src/components/investor/widgets/AutomaticInvestmentDisclaimer.vue","webpack:///./src/components/investor/widgets/AutomaticInvestmentDisclaimer.vue?f510","webpack:///./src/components/investor/widgets/AutomaticInvestmentDisclaimer.vue?efc6","webpack:///./src/bl/BankAccountStatus.js","webpack:///./src/components/mixins/auth2faHelper.js","webpack:///./src/views/investor/investment-plans/RecurrentWithdrawal.vue","webpack:///./src/components/investor/plans/MonthlyRecurrentWithdrawal.vue","webpack:///src/components/investor/plans/MonthlyRecurrentWithdrawal.vue","webpack:///./src/components/investor/plans/MonthlyRecurrentWithdrawal.vue?b5ed","webpack:///./src/components/investor/plans/MonthlyRecurrentWithdrawal.vue?8e6f","webpack:///src/views/investor/investment-plans/RecurrentWithdrawal.vue","webpack:///./src/views/investor/investment-plans/RecurrentWithdrawal.vue?0e41","webpack:///./src/views/investor/investment-plans/RecurrentWithdrawal.vue?7bb1","webpack:///./src/components/2fa/TwoFactorAuth.vue","webpack:///src/components/2fa/TwoFactorAuth.vue","webpack:///./src/components/2fa/TwoFactorAuth.vue?53a0","webpack:///./src/components/2fa/TwoFactorAuth.vue?50fe","webpack:///./src/components/mixins/stpHelper.js","webpack:///./src/components/mixins/currencyHelper.js","webpack:///./src/components/mixins/formatHelper.js","webpack:///./src/components/investor/plans/MonthlyRecurrentWithdrawal.vue?f619"],"names":["render","_vm","this","_c","_self","staticClass","attrs","_v","staticRenderFns","name","data","component","BankAccountStatus","status","VERIFIED","VERIFIED_REQUESTED","REJECTED","UNVERIFIED","methods","user_id","res","axios","get","factorEnabled","error","isMounted","ref","investorPlan","on","onMonthlyInvestSaved","requestAuthSaveMonthlyPrefs","onCancel","_e","isCancelWarningPopupActive","$event","doContinue","doCancel","UserId","onAuth","onError","staticStyle","_s","errorMssg","formattedAccounts","length","onAccountSelected","scopedSlots","_u","key","fn","_l","tr","indextr","clabe","bank_name","isAccountSelected","model","value","accountRowSelected","callback","$$v","expression","slot","stpClabe","directives","rawName","daysCollection","item","processingDay","cancel","saveSettingsRequest","mixins","props","type","required","components","AutomaticInvestmentDisclaimer","retryCollection","userAccounts","accountIdSelected","mexicoCountryId","computed","selectedAccount","bank_account_id","processing_day","geolocation","runValidations","setCollections","c","label","r","accs","getFormattedAccount","id","bank_id","is_default","is_verified","status_name","nacc","clean","MonthlyRecurrentWithdrawal","TwoFactorAuth","card_id","card_amount","reinvestment_percentage","qualifications","monthly_day","available_money","retry","min_autoinvest_project_amount_mxn","max_autoinvest_project_amount_mxn","autoinvest_applicant_payments","autoinvest_deposits","planWasActivated","cancelWarningPopupActive","set","is2FaPopupActive","validating","customIndicationMessage","showInstructions","$sanitizeUrl","twoFactorCodeUrl","showExtraOptions","user","phone","visibleLastNChars","phone_country_calling_code","sendAlternativeCode","alternativeCodeSent","methodCodeSent","resendEnabled","whatsappSent","resendTimer","indexOf","_k","keyCode","sendCode","apply","arguments","code","buttonId","currentProjectId","userId","default","customErrorMessage","timer","watch","setUpTimerConfig","window","initNipCounter","clearInterval","investor_id","g","getInvestorAccount","account","undefined","createInvestorAccount","stp_clabe","url","response","post","sleepPromise","ms","Promise","resolve","setTimeout","supplier_id","getSupplierAccount","applicantId","console","log","unMoneyFormat","str","toString","val","replace","unCurrencyFormat","parseFloat","currencyFormat","decimales","toFixed","liveCostFormatNoCents","vv","format_price","costFormat","costFormatNoCents","prcgFormat","decimalsFormat","explicitMoneyFormat","mxnFormat","parseInt","moneyFormat","decimalPercentFormat","roundedFormat","cd","Math","round","phoneFormat","substr","phoneFormatV2","chars","valueString","phoneLength","firstChars","repeat","last4Digits","slice","visibleOnlyLastNChars","capitalizeFirstLetter","arr","split","i","charAt","toUpperCase","join","isValidRfcFormat","rfc","patternPM","patternPF","match","isValidRfcFormatByPersonType","isMoral","pattern","genericRFC1","genericRFC2","isValidCurpFormat","curp","isValid","diccionario","lngSuma","lngDigito","verifierDigit","anonymousFormatPhone","genderTranslate","getLoanTypeIcon","loanType","loanTypeIcons","filename","icon","find","lt","getAmountWithNoCommissionTax","amount","processingAdministrationCommission","mexicoTaxIva","commissionWithTaxPercentage","percentage","amountNoCommision"],"mappings":"2IAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,UAAU,CAACE,YAAY,QAAQ,CAACF,EAAG,MAAM,CAACE,YAAY,UAAU,CAACF,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACE,YAAY,QAAQ,CAACF,EAAG,eAAe,CAACE,YAAY,OAAOC,MAAM,CAAC,KAAO,WAAW,WAAa,0BAA0BH,EAAG,OAAO,CAACE,YAAY,oBAAoB,CAACJ,EAAIM,GAAG,wMAA0MJ,EAAG,MAAMF,EAAIM,GAAG,eAAeJ,EAAG,IAAI,CAACE,YAAY,iBAAiBC,MAAM,CAAC,KAAO,qIAAqI,OAAS,UAAU,CAACL,EAAIM,GAAG,cAAc,UAE7yBC,EAAkB,GCiBtB,GACAC,qCACAC,OACA,WCtBqY,I,YCOjYC,EAAY,eACd,EACAX,EACAQ,GACA,EACA,KACA,KACA,MAIa,OAAAG,E,+FClBR,MAAMC,EAMkB,4BAACC,GACxB,OAAQA,GACJ,KAAKD,EAAkBE,SACnB,MAAO,aACX,KAAKF,EAAkBG,mBACnB,MAAO,kBACX,KAAKH,EAAkBI,SACnB,MAAO,yBACX,KAAKJ,EAAkBK,WACvB,QACI,MAAO,2B,eAhBVL,E,aACW,c,eADXA,E,WAES,Y,eAFTA,E,qBAGmB,sB,eAHnBA,E,WAIS,a,oCCJP,QACbM,QAAS,CACP,uBAAuBC,GACrB,IACE,MAAMC,QAAYC,MAAMC,IAAK,2BAA0BH,GACvD,OAAOC,EAAIV,KAAKa,cAElB,MAAOC,GACL,OAAO,O,2CCRf,IAAIxB,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,C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AOF,EAAcG,KAAKC,GAAMA,EAAGnJ,KAAO8I,GAC1C7E,EAAM,mEAIV,OAHIgF,IACFhF,EAAMgF,EAAKhF,KAENA,IAGXmF,6BAA6BC,GAC3B,GAAIA,GAAU,EACZ,OAAO,EAET,MAAMC,EAAqC,IACrCC,EAAe,IACrB,IAAIC,EAA8BF,EAAmCC,EACjEE,EAAc,EAAEH,EAAmCE,EACnDE,EAAoBL,EAAOI,EAC/B,OAAOC,M,kCCvNb","file":"js/chunk-5c300273.6899e9a4.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('vx-card',{staticClass:\"mt-5\"},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex\"},[_c('feather-icon',{staticClass:\"mr-3\",attrs:{\"icon\":\"InfoIcon\",\"svgClasses\":\"w-8 h-8 text-primary\"}}),_c('span',{staticClass:\"bold mt-1 italic\"},[_vm._v(\" El algoritmo que distribuye los fondos de la inversión automática busca maximizar la diversificación del portafolio, de tal manera que se alcance un punto óptimo de la relación \\\"riesgo-retorno\\\". \"),_c('br'),_vm._v(\"Conoce más \"),_c('a',{staticClass:\"underline bold\",attrs:{\"href\":\"https://soporte.redgirasol.com/support/solutions/articles/48001246946--c%C3%B3mo-funciona-el-algoritmo-de-la-inversion-automatica-\",\"target\":\"blank\"}},[_vm._v(\"aquí.\")])])],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./AutomaticInvestmentDisclaimer.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!./AutomaticInvestmentDisclaimer.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./AutomaticInvestmentDisclaimer.vue?vue&type=template&id=7b287d59&\"\nimport script from \"./AutomaticInvestmentDisclaimer.vue?vue&type=script&lang=js&\"\nexport * from \"./AutomaticInvestmentDisclaimer.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 class BankAccountStatus {\n static UNVERIFIED = \"unverified\";\n static VERIFIED = \"verified\";\n static VERIFIED_REQUESTED = \"verified_requested\";\n static REJECTED = \"rejected\";\n\n static getAccountStatusName(status) {\n switch (status) {\n case BankAccountStatus.VERIFIED:\n return \"Verificada\";\n case BankAccountStatus.VERIFIED_REQUESTED:\n return \"En verificación\";\n case BankAccountStatus.REJECTED:\n return \"Verificación rechazada\";\n case BankAccountStatus.UNVERIFIED:\n default:\n return \"Pendiente de completar\";\n }\n }\n}","export default {\n methods: {\n async getUser2FAStatus(user_id){\n try {\n const res = await axios.get(`api/perfil/get2FAStatus/${user_id}`);\n return res.data.factorEnabled;\n }\n catch (error) {\n return false;\n }\n },\n }\n}","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('big-title',[_vm._v(\" Activar Ingreso \"),_c('span',[_vm._v(\"Pasivo\")]),_vm._v(\". \")]),(_vm.isMounted)?_c('monthly-recurrent-withdrawal',{ref:\"monthlyRecurrentWithdrawal\",attrs:{\"investor-plan\":_vm.investorPlan},on:{\"on-saved\":_vm.onMonthlyInvestSaved,\"on-save-prefs-auth-request\":_vm.requestAuthSaveMonthlyPrefs,\"on-cancel\":_vm.onCancel}}):_vm._e(),_c('vs-popup',{staticClass:\"header-primary\",attrs:{\"active\":_vm.isCancelWarningPopupActive,\"title\":\"Aviso Importante\"},on:{\"update:active\":function($event){_vm.isCancelWarningPopupActive=$event}}},[_c('div',{staticClass:\"pt-1 p-4\"},[_c('h4',{staticClass:\"mb-2\"},[_vm._v(\"¡Atención!\")]),_c('p',[_vm._v(\" Debido a que deseas cancelar el proceso de configuración, y aún existen campos pendientes por completar, el retiro recurrente se \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"desactivará\")]),_vm._v(\". \")]),_c('p',{staticClass:\"mt-2\"},[_vm._v(\" Si deseas mantenerlo activo, completa los campos correspondientes y finaliza el proceso de configuración dando clic en \\\"Continuar\\\". \")]),_c('div',{staticClass:\"flex mt-2\"},[_c('vs-button',{staticClass:\"mt-4\",on:{\"click\":_vm.doContinue}},[_vm._v(\"Continuar\")]),_c('vs-button',{staticClass:\"ml-6 mt-4\",attrs:{\"type\":\"border\"},on:{\"click\":_vm.doCancel}},[_vm._v(\"Desactivar\")])],1)])]),_c('two-factor-auth',{attrs:{\"user-id\":_vm.UserId,\"custom-indication-message\":\"Por favor ingresa los 6 dígitos de tu Segundo Factor de Autenticación para ejecutar la operación.\"},on:{\"on-code-validated\":_vm.onAuth}})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('vx-card',{attrs:{\"title\":\"\"}},[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col xxl:w-3/4 w-full\"},[_c('h2',[_vm._v(\"Confirmar datos para el retiro recurrente\")])])]),[_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[(_vm.onError)?_c('vs-alert',{staticClass:\"mt-3 mb-3\",staticStyle:{\"height\":\"auto\"},attrs:{\"color\":\"danger\"}},[_vm._v(_vm._s(_vm.errorMssg))]):_vm._e()],1)]),_c('div',{staticClass:\"vx-row mt-base\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h4',[_vm._v(\"Cuentas bancarias\")]),_c('p',{staticClass:\"mb-2\"},[_vm._v(\" Indica la cuenta de banco a la cual deseas que se realice el retiro recurrente. \")])]),_c('div',{staticClass:\"vx-col lg:w-2/3 md:w-3/4 sm:w-full w-full\"},[_c('div',{staticClass:\"data-list-container\",attrs:{\"id\":\"data-list-card-view\"}},[(_vm.formattedAccounts.length > 0)?_c('vs-table',{ref:\"cardsTable\",staticClass:\"mt-5\",attrs:{\"data\":_vm.formattedAccounts,\"noDataText\":\"No hay cuentas disponibles\"},on:{\"selected\":_vm.onAccountSelected},scopedSlots:_vm._u([{key:\"default\",fn:function({data}){return [_c('tbody',_vm._l((data),function(tr,indextr){return _c('vs-tr',{key:indextr,attrs:{\"data\":tr}},[_c('vs-td',{staticClass:\"calif-container\"},[_c('p',{staticClass:\"font-medium\"},[_vm._v(_vm._s(tr.clabe))])]),_c('vs-td',{staticClass:\"calif-container\"},[_c('span',{staticClass:\"flex items-center\"},[_c('p',{staticClass:\"font-medium\"},[_vm._v(_vm._s(tr.bank_name))])])]),_c('vs-td',[(!_vm.isAccountSelected(tr))?_c('span',{staticClass:\"text-sm text-primary\"},[_vm._v(\"Seleccionar\")]):_vm._e(),(_vm.isAccountSelected(tr))?_c('span',{staticClass:\"flex items-center\"},[_c('feather-icon',{staticClass:\"mr-2\",attrs:{\"icon\":\"CheckIcon\",\"svgClasses\":\"h-6 w-6 text-success\"}}),_c('span',{staticClass:\"text-sm text-success bold\"},[_vm._v(\"Elegida\")])],1):_vm._e()])],1)}),1)]}}],null,false,4211270860),model:{value:(_vm.accountRowSelected),callback:function ($$v) {_vm.accountRowSelected=$$v},expression:\"accountRowSelected\"}},[_c('template',{slot:\"thead\"},[_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"CLABE\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Banco\")]),_c('vs-th',{staticClass:\"bold\"},[_vm._v(\"Acciones\")])],1)],2):_c('div',{staticStyle:{\"border-left\":\"solid #CBFF00\"}},[_c('div',{staticClass:\"flex justify-left items-center mt-3 ml-3\"},[_c('feather-icon',{attrs:{\"icon\":\"AlertTriangleIcon\",\"svgClasses\":\"w-6 h-6 text-danger\"}}),_c('b',{staticClass:\"ml-2\"},[_vm._v(\"Aún no tienes una cuenta registrada\")])],1),_c('p',{staticClass:\"mt-2 ml-3\"},[_vm._v(\" Envía por lo menos $1 MXN para dar de alta tu cuenta bancaria. Importante: Es necesario que el banco se encuentre a tu nombre, de lo contrario no podremos realizar el retiro recurrente. \"),_c('br'),_c('br'),_vm._v(\" Banco: STP (Sistema de Transferencias y Pagos)\"),_c('br'),_vm._v(\" CLABE: \"+_vm._s(_vm.stpClabe)),_c('br'),_vm._v(\" Beneficiario: Aquí pones tu nombre\"),_c('br'),_vm._v(\" Método de transferencia: SPEI \")])])],1)])]),_c('vs-divider',{staticClass:\"bold mt-base\",attrs:{\"color\":\"success\"}}),_c('div',{staticClass:\"vx-row mt-5 mb-base\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('h4',[_vm._v(\"Día de retiro\")]),_c('p',{staticClass:\"mb-2\"},[_vm._v(\" Indica el día en el que te gustaría retirar automáticamente tu ingreso pasivo. En caso de que el día sea inhábil, se procesará al siguiente día hábil. \")])]),_c('div',{staticClass:\"vx-col w-full md:w-1/3 lg:w-1/4\"},[_c('div',{staticClass:\"vx-row mt-4\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('p',{staticClass:\"bold\"},[_vm._v(\"Día del mes para el retiro\")])])]),_c('div',{staticClass:\"vx-row mt-2\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('v-select',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required'),expression:\"'required'\"}],staticClass:\"vs-custom w-full\",attrs:{\"name\":\"processingDay\",\"options\":_vm.daysCollection,\"reduce\":item => item.value,\"clearable\":false,\"searchable\":false,\"placeholder\":\"Selecciona\"},model:{value:(_vm.processingDay),callback:function ($$v) {_vm.processingDay=$$v},expression:\"processingDay\"}},[_c('div',{attrs:{\"slot\":\"no-options\"},slot:\"no-options\"},[_vm._v(\"No hay coincidencias\")])])],1)])])]),_c('div',{staticClass:\"vx-row\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex\"},[_c('vs-button',{staticClass:\"mt-2\",attrs:{\"type\":\"border\"},on:{\"click\":_vm.cancel}},[_vm._v(\"Atrás\")]),_c('vs-button',{staticClass:\"ml-6 mt-2\",on:{\"click\":_vm.saveSettingsRequest}},[_vm._v(\"Guardar y continuar\")])],1)])])]],2),_c('automatic-investment-disclaimer'),_c('rg-geolocator',{ref:\"rgGeolocator\"})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n \n \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!./MonthlyRecurrentWithdrawal.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!./MonthlyRecurrentWithdrawal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MonthlyRecurrentWithdrawal.vue?vue&type=template&id=228841c2&\"\nimport script from \"./MonthlyRecurrentWithdrawal.vue?vue&type=script&lang=js&\"\nexport * from \"./MonthlyRecurrentWithdrawal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./MonthlyRecurrentWithdrawal.vue?vue&type=style&index=0&id=228841c2&prod&lang=scss&\"\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","\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!./RecurrentWithdrawal.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!./RecurrentWithdrawal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./RecurrentWithdrawal.vue?vue&type=template&id=70d20b30&scoped=true&\"\nimport script from \"./RecurrentWithdrawal.vue?vue&type=script&lang=js&\"\nexport * from \"./RecurrentWithdrawal.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 \"70d20b30\",\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('vs-popup',{attrs:{\"active\":_vm.is2FaPopupActive,\"title\":\"Confirma que eres tú\"},on:{\"update:active\":function($event){_vm.is2FaPopupActive=$event}}},[_c('div',{staticClass:\"p-4 pt-0\"},[_c('div',[(!_vm.validating && !_vm.customIndicationMessage)?_c('h6',{staticClass:\"title-dark\"},[_vm._v(\"Por favor ingresa el código de 6 dígitos.\")]):_vm._e(),(!_vm.validating && _vm.customIndicationMessage)?_c('h6',{staticClass:\"title-dark\"},[_vm._v(_vm._s(_vm.customIndicationMessage))]):_vm._e(),(_vm.validating)?_c('h6',{staticClass:\"title-dark\"},[_vm._v(\"Validando...\")]):_vm._e(),(_vm.errorMssg)?_c('vs-alert',{staticClass:\"mt-3 mb-3\",staticStyle:{\"height\":\"auto\"},attrs:{\"color\":\"danger\"}},[_vm._v(\" \"+_vm._s(_vm.errorMssg)+\" \"),(_vm.showInstructions)?_c('div',{staticClass:\"black\"},[_c('br'),_vm._v(\"Si el problema persiste, es posible que tu app de autenticación (Autenticador de Google, Authy, etc.) no esté sincronizada.\"),_c('br'),_c('br'),_vm._v(\" Intenta \"),_c('a',{staticClass:\"underline bold black\",attrs:{\"href\":_vm.$sanitizeUrl(_vm.twoFactorCodeUrl),\"target\":\"_blank\",\"rel\":\"noopener noreferrer\"}},[_vm._v(\" sincronizar tu app \")]),_vm._v(\" de autenticación o \"),_c('a',{staticClass:\"underline bold black\",attrs:{\"href\":_vm.$sanitizeUrl('perfil/seguridad/2fa'),\"rel\":\"noopener noreferrer\"}},[_vm._v(\"reestablece tu segundo factor de autenticación\")]),_vm._v(\". \")]):_vm._e()]):_vm._e(),(_vm.showExtraOptions && _vm.user.phone)?_c('div',{staticClass:\"mt-3\"},[_c('div',{staticClass:\"mb-2\"},[_vm._v(\" También podemos enviarte un código al \"),_c('b',[_vm._v(_vm._s(_vm.visibleLastNChars(_vm.user.phone, 4)))]),_vm._v(\" por:\"),_c('br')]),(_vm.user.phone_country_calling_code != '--' && _vm.user.phone_country_calling_code != '+1')?_c('div',{staticClass:\"flex items-center mb-2\"},[_c('vs-icon',{attrs:{\"icon\":\"sms\",\"size\":\"small\",\"color\":\"primary\"}}),_c('label',{staticClass:\"clickable-img underline bold black ml-2\",on:{\"click\":function($event){return _vm.sendAlternativeCode(false)}}},[_vm._v(\"Mensaje de texto (SMS)\"),_c('br')])],1):_vm._e(),_c('div',{staticClass:\"flex items-center\"},[_c('image-from-source',{staticStyle:{\"width\":\"24px\"},attrs:{\"path\":\"/img/wp-green.png\"}}),_c('label',{staticClass:\"clickable-img underline bold black ml-2\",on:{\"click\":function($event){return _vm.sendAlternativeCode(true)}}},[_vm._v(\"WhatsApp\")])],1)]):_vm._e(),(_vm.alternativeCodeSent)?_c('div',{staticClass:\"mt-5\"},[_vm._v(\" Te enviamos un código por \"+_vm._s(_vm.methodCodeSent)+\" al \"+_vm._s(_vm.visibleLastNChars(_vm.user.phone, 4))),_c('br'),_c('br'),_vm._v(\" ¿No lo recibiste? \"),(_vm.resendEnabled)?_c('label',{staticClass:\"clickable-img underline bold black\",on:{\"click\":function($event){return _vm.sendAlternativeCode(_vm.whatsappSent)}}},[_vm._v(\"Reenviar\")]):[_vm._v(\" Reenviar en \"),_c('span',{staticClass:\"bold\"},[_vm._v(\"00:\"+_vm._s(_vm.resendTimer)+\" \")])],_c('br'),_c('br'),_vm._v(\" O recibe tu código por:\"),_c('br'),_c('br'),(_vm.whatsappSent && _vm.user.phone_country_calling_code != '+1')?_c('div',{staticClass:\"flex items-center mb-2\"},[_c('vs-icon',{attrs:{\"icon\":\"sms\",\"size\":\"small\",\"color\":\"primary\"}}),_c('label',{staticClass:\"clickable-img underline bold black ml-2\",on:{\"click\":function($event){return _vm.sendAlternativeCode(false)}}},[_vm._v(\"Mensaje de texto (SMS)\"),_c('br')])],1):_c('div',{staticClass:\"flex items-center\"},[_c('image-from-source',{staticStyle:{\"width\":\"24px\"},attrs:{\"path\":\"/img/wp-green.png\"}}),_c('label',{staticClass:\"clickable-img underline bold black ml-2\",on:{\"click\":function($event){return _vm.sendAlternativeCode(true)}}},[_vm._v(\"WhatsApp\")])],1)],2):_vm._e(),_c('div',{staticClass:\"vx-row mt-4\"},[_c('div',{staticClass:\"vx-col w-full\"},[_c('div',{staticClass:\"flex items-center flex-grow justify-left mt-1\"},[_c('vs-input',{directives:[{name:\"validate\",rawName:\"v-validate\",value:('required|numeric'),expression:\"'required|numeric'\"}],attrs:{\"type\":\"text\",\"name\":\"code\",\"maxlength\":\"6\",\"autocomplete\":\"off\",\"disabled\":_vm.validating,\"placeholder\":\"Ingresa el código\"},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.sendCode.apply(null, arguments)}},model:{value:(_vm.code),callback:function ($$v) {_vm.code=$$v},expression:\"code\"}}),_c('vs-button',{staticClass:\"statement-btn ml-6\",attrs:{\"id\":_vm.buttonId,\"data-projectid\":_vm.currentProjectId,\"color\":\"primary\",\"disabled\":_vm.validating},on:{\"click\":_vm.sendCode}},[_vm._v(\"Enviar\")])],1)])])],1)])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\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!./TwoFactorAuth.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!./TwoFactorAuth.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TwoFactorAuth.vue?vue&type=template&id=631aeef1&\"\nimport script from \"./TwoFactorAuth.vue?vue&type=script&lang=js&\"\nexport * from \"./TwoFactorAuth.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 default {\n methods: {\n async checkOrCreateInvestorAccount(investor_id){\n let g = await this.getInvestorAccount(investor_id);\n\n if(g === false){\n return null;\n }\n\n let account = null;\n\n // verificar si hay cuentas ligadas al inversionista\n if (g === undefined || g === null) {\n // no hay cuentas de STP ligadas al inversionista, se solicita la creacion\n let nacc = await this.createInvestorAccount(investor_id);\n if(nacc === false){\n return null;\n }\n else {\n account = nacc;\n }\n }\n else {\n account = g;\n }\n\n // se verifica si la cuenta esta en estatus created\n if(account.status === \"created\"){\n return account.stp_clabe;\n }\n else{\n // se retorna null para utilizar openpay\n return null;\n }\n },\n async getInvestorAccount(investor_id) {\n let url = `/api/stp/v1/account/investorId/${investor_id}`;\n try {\n let response = await axios.get(url);\n return response.data;\n } catch (error) {\n return false;\n }\n },\n async getInvestorAccountStpClabe(investor_id){\n let account = await this.getInvestorAccount(investor_id);\n if(account === false || account === undefined || account === null){\n return null;\n }\n // se verifica si la cuenta esta en estatus created\n if(account.status === \"created\"){\n return account.stp_clabe;\n }\n else{\n return null;\n }\n },\n async createInvestorAccount(investor_id) {\n let url = `/api/stp/v1/account/investorId/${investor_id}`;\n try {\n const response = await axios.post(url, {});\n const account = response.data;\n if(account.stp_clabe){\n // si la creacion de la cuenta es correcta, se hace un timeout\n // de 7 segundos para dar tiempo a la activación\n await (async() => {\n await this.sleepPromise(7000);\n })();\n\n // solicitar la informacion de la cuenta de nuevo\n // despues del timeout\n let g = await this.getInvestorAccount(investor_id);\n if(g !== false && g !== null){\n return g;\n }\n }\n // se retorna false en caso de fallo\n return false;\n } catch (error) {\n return false;\n }\n },\n sleepPromise(ms) {\n return new Promise(resolve => setTimeout(resolve, ms));\n },\n // #region supplier\n async getSupplierAccount(supplier_id) {\n let url = `/api/stp/v1/account/supplierId/${supplier_id}`;\n try {\n let response = await axios.get(url);\n return response.data;\n } catch (error) {\n return false;\n }\n },\n async getSupplierAccountStpClabe(supplier_id){\n let account = await this.getSupplierAccount(supplier_id);\n if(account === false || account === undefined || account === null){\n return null;\n }\n // se verifica si la cuenta esta en estatus created\n if(account.status === \"created\"){\n return account.stp_clabe;\n }\n else{\n return null;\n }\n },\n\n // #endregion\n\n //#region applicant \n async createStpAccount(applicantId) {\n try {\n await axios.post(`/api/stp/v1/account/applicantId/${applicantId}`, {})\n } catch (error) {\n console.log(\"Error creating STP account for applicant\");\n }\n },\n //#endregion\n }\n}\n","export default {\n methods: {\n unMoneyFormat(value) {\n if (!value) { return null }\n let str = value.toString();\n let val = str.replace(\"$\", \"\");\n return this.unCurrencyFormat(val);\n },\n unCurrencyFormat(value) {\n if (!value) return 0;\n let str = value.toString();\n let val = str.replace(\",\", \"\");\n val = val.replace(\",\", \"\");\n val = val.replace(\",\", \"\");\n val = val.replace(\",\", \"\");\n val = val.replace(\",\", \"\");\n val = val.replace(\",\", \"\");\n return parseFloat(val.toString());\n },\n currencyFormat(value, decimales = 2) {\n if (!value) return 0;\n else return parseFloat(value).toFixed(decimales);\n },\n liveCostFormatNoCents(value) {\n if (!value) { return \"0\"; }\n if (value === \"Pendiente\") { return value; }\n else {\n const vv = this.unMoneyFormat(value);\n return this.format_price(vv);\n }\n },\n format_price(value, decimales = 0) {\n let val = (value / 1).toFixed(decimales).replace(\",\", \".\");\n return val.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n },\n }\n}","export default {\n methods: {\n format_price(value, decimales = 0) {\n let val = (value / 1).toFixed(decimales).replace(\",\", \".\");\n return val.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n },\n costFormat(value) {\n if (!value) { return \"$0\"; }\n if (value == \"Pendiente\") { return value; }\n else {\n return \"$\" + this.format_price(value, 2);\n }\n },\n costFormatNoCents(value) {\n if (!value) { return \"$0\"; }\n if (value === \"Pendiente\") { return value; }\n else return \"$\" + this.format_price(value);\n },\n prcgFormat(value, decimales = 0) {\n if (!value) { return \"0%\"; }\n if (value == \"Pendiente\") { return value; }\n else { return value.toFixed(decimales) + \"%\"; }\n },\n decimalsFormat(value, decimales = 0) {\n if (!value) { return 0; }\n if (value == \"Pendiente\") { return 0; }\n else { return value.toFixed(decimales); }\n },\n explicitMoneyFormat(value, decimales = 2) {\n if (value == null) return \"\";\n else {\n return \"$\" + this.format_price(value, decimales);\n }\n },\n mxnFormat(value, decimales = 0) {\n if (!value) { return \"$0MXN\"; }\n else {\n return \"$\" + this.format_price(parseInt(value), decimales) + \" MXN\";\n }\n },\n moneyFormat(value) {\n if (!value) { return \"$0\"; }\n else {\n return \"$\" + this.format_price(parseInt(value), 0);\n }\n },\n decimalPercentFormat(value, decimales = 2) {\n if (!value) return \"0%\";\n else {\n return (value * 100).toFixed(decimales) + \"%\";\n }\n },\n roundedFormat(value, decimales = 2) {\n if (!value) { return 0; }\n else {\n let c = value.toFixed(decimales);\n let cd = Math.round(c);\n return cd.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n }\n },\n phoneFormat(value) {\n if (!value) return value\n else {\n return '(' + value.substr(0, 2) + ') ' + value.substr(2, 4) + '-' + value.substr(6, 4)\n }\n },\n phoneFormatV2(value) {\n if (!value) return value\n else {\n return '(' + value.substr(0, 3) + ') ' + value.substr(2, 3) + ' ' + value.substr(6, 4)\n }\n },\n visibleLastNChars(value, chars = 4) {\n if (!value) return value\n else {\n let valueString = value.toString();\n if (chars > valueString.length || chars < 0) return value\n else {\n let phoneLength = valueString.length;\n const firstChars = \"*\".repeat(phoneLength - chars);\n const last4Digits = valueString.slice(firstChars.length);\n return firstChars + last4Digits;\n }\n }\n },\n visibleOnlyLastNChars(value, chars = 4) {\n if (!value) return value\n else {\n let valueString = value.toString();\n if (chars > valueString.length || chars < 0) return value\n else {\n return valueString.slice(-4);\n }\n }\n },\n capitalizeFirstLetter(value) {\n if (!value) return value\n else {\n const arr = value.split(\" \");\n for (let i = 0; i < arr.length; i++) {\n arr[i] = arr[i].charAt(0).toUpperCase() + arr[i].slice(1);\n\n }\n\n return arr.join(\" \");\n }\n },\n //Función para validar un RFC\n isValidRfcFormat(rfc) {\n if(rfc) {\n const patternPM = \"^(([A-ZÑ&]{3})([0-9]{2})([0][13578]|[1][02])(([0][1-9]|[12][\\\\d])|[3][01])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([0-9]{2})([0][13456789]|[1][012])(([0][1-9]|[12][\\\\d])|[3][0])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([02468][048]|[13579][26])[0][2]([0][1-9]|[12][\\\\d])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{3})([0-9]{2})[0][2]([0][1-9]|[1][0-9]|[2][0-8])([A-Z0-9]{3}))$\";\n const patternPF = \"^(([A-ZÑ&]{4})([0-9]{2})([0][13578]|[1][02])(([0][1-9]|[12][\\\\d])|[3][01])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([0-9]{2})([0][13456789]|[1][012])(([0][1-9]|[12][\\\\d])|[3][0])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([02468][048]|[13579][26])[0][2]([0][1-9]|[12][\\\\d])([A-Z0-9]{3}))|\" +\n \"(([A-ZÑ&]{4})([0-9]{2})[0][2]([0][1-9]|[1][0-9]|[2][0-8])([A-Z0-9]{3}))$\";\n return rfc.match(patternPM) || rfc.match(patternPF);\n } else {\n return false;\n }\n },\n //Función para validar un RFC por tipo de persona\n isValidRfcFormatByPersonType(rfc, isMoral) {\n if(rfc) {\n // Formato para PF\n let pattern = /^[A-Z]{4}(\\d{2})((0[13578]|1[02])([0-2]\\d|3[01])|(0[469]|11)([0-2]\\d|30)|(02)([0-2]\\d))([A-Z0-9]{3})$/;\n let genericRFC1 = \"XAXX010101000\";\n let genericRFC2 = \"XEXX010101000\";\n if(isMoral) {\n // Formato para PM\n pattern = /^[A-Z]{3}(\\d{2})((0[13578]|1[02])([0-2]\\d|3[01])|(0[469]|11)([0-2]\\d|30)|(02)([0-2]\\d))([A-Z0-9]{3})$/;\n }\n\n return rfc.match(pattern) && rfc != genericRFC1 && rfc != genericRFC2;\n } else {\n return false;\n }\n },\n //Función para validar una CURP\n isValidCurpFormat(curp) {\n if(curp) {\n const pattern = /^([A-Z][AEIOUX][A-Z]{2}\\d{2}(?:0[1-9]|1[0-2])(?:0[1-9]|[12]\\d|3[01])[HM](?:AS|B[CS]|C[CLMSH]|D[FG]|G[TR]|HG|JC|M[CNS]|N[ETL]|OC|PL|Q[TR]|S[PLR]|T[CSL]|VZ|YN|ZS)[B-DF-HJ-NP-TV-Z]{3}[A-Z\\d])(\\d)$/;\n let isValid = curp.match(pattern);\n if (!isValid) //Coincide con el formato general?\n return false;\n //Fuente https://consultas.curp.gob.mx/CurpSP/\n let diccionario = \"0123456789ABCDEFGHIJKLMNÑOPQRSTUVWXYZ\";\n let lngSuma = 0.0;\n let lngDigito = 0.0;\n for (let i = 0; i < 17; i++) {\n lngSuma = lngSuma + diccionario.indexOf(isValid[1].charAt(i)) * (18 - i);\n }\n lngDigito = 10 - lngSuma % 10;\n let verifierDigit = (lngDigito != 10) ? lngDigito : 0;\n return isValid[2] == verifierDigit;\n } else {\n return false;\n }\n },\n anonymousFormatPhone(value){\n if (value === \"\") return value\n else {\n return value.replace(/^(?:\\D*\\d){8}/g, \"********\");\n }\n },\n genderTranslate(value) {\n return value == 1 ? \"Hombre\" : \"Mujer\";\n },\n //Función para obtener el icono del tipo de proyecto o todos con el param 'all'\n getLoanTypeIcon(loanType) {\n const loanTypeIcons = [\n {\n id: 1,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-solar.png\",\n filename: \"Crédito Solar\"\n },\n {\n id: 4,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-pyme.png\",\n filename: \"Crédito PyME\"\n },\n {\n id: 5,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-pers.png\",\n filename: \"Crédito Personal\"\n },\n {\n id: 6,\n url: \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-auto.png\",\n filename: \"Crédito Automotriz\"\n }\n ];\n\n if (loanType == \"all\") {\n return loanTypeIcons;\n } else {\n let icon = loanTypeIcons.find(lt => lt.id === loanType);\n let url = \"https://cdn.redgirasol.com/nuevo_portal/icons/icon-inv-solar.png\";\n if (icon) {\n url = icon.url;\n }\n return url;\n }\n },\n getAmountWithNoCommissionTax(amount){\n if (amount <= 0) {\n return 0;\n }\n const processingAdministrationCommission = .02;\n const mexicoTaxIva = .16;\n let commissionWithTaxPercentage = processingAdministrationCommission*mexicoTaxIva;\n let percentage = (1+processingAdministrationCommission+commissionWithTaxPercentage);\n let amountNoCommision = amount/percentage;\n return amountNoCommision;\n }\n }\n}","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!./MonthlyRecurrentWithdrawal.vue?vue&type=style&index=0&id=228841c2&prod&lang=scss&\""],"sourceRoot":""}