{"version":3,"sources":["webpack:///./src/apps/shared/services/cupe-service.ts","webpack:///../Content/Images/Logos/logobiciPlanCollapsable.png","webpack:///./src/apps/urban-mobility/quote/payment.vue","webpack:///./src/apps/urban-mobility/quote/payment.vue?47ec","webpack:///./src/apps/urban-mobility/quote/payment.vue?8e55","webpack:///./src/apps/urban-mobility/quote/payment.vue?2507"],"names":["GetCUPEUrl","productId","email","http","get","params","then","response","data","Finish","externalIdentifier","module","exports","render","_vm","this","_c","_self","_setupProxy","staticClass","_l","localItems","item","index","key","path","attrs","_v","_s","text","_m","require","planDescription","primerCuota","coberturasAmparo","value","amparoTypesDescription","capital","ref","slot","on","close","getFilePath","staticStyle","open","staticRenderFns","Vue","extend","components","name","description","methods","changeTitleAndIcon","newTitle","$emit","updateByProductGoogleAnalytics","window","globalThis","dataLayer","productGtmName","FilePathService","location","href","getCUPE","NF","UI","Page","blockCustom","message","timeStart","Date","getTime","CUPEService","document","getElementById","setAttribute","preferenceMessage","addEventListener","loadingIframe","endTime","secondCharge","Math","round","push","unblock","$refs","modal","mounted","planDataSelected","sessionStorage","getItem","DataPlan","JSON","parse","premioMensual","groupOfAmparoTheftOptions","setItem","component"],"mappings":"gHAAA,gBAGe,WAAI,MAEfA,WAAWC,EAAWC,GAClB,OAAOC,OAAKC,IAAkB,OAAQ,CAClCC,OAAQ,CACJJ,YACAC,WAELI,KAAKC,GAAYA,EAASC,MAGjCC,OAAOC,EAAmBT,GACtB,OAAOE,OAAKC,IAAa,cAAe,CACpCC,OAAQ,CACJJ,YACAS,wBAELJ,KAAKC,GAAYA,EAASC,S,uBCpBrCG,EAAOC,QAAU,IAA0B,mC,2CCA3C,IAAIC,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,aAAa,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,MAAM,CAACG,YAAY,mBAAmB,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,YAAclB,KAAK4E,SAASG,cACjC/E,KAAKmB,iBAAmBnB,KAAK4E,SAASI,2BAE1CN,eAAeO,QAAQ,sBAAuB,WCpE4W,I,YCOlaC,EAAY,eACd,EACApF,EACAgC,GACA,EACA,KACA,KACA,MAIa,aAAAoD,E","file":"js/chunk-0472684d.js","sourcesContent":["import http from \"../http/http-config\";\r\nimport { CUPECheckout } from \"../models/cupeCheckout\";\r\n\r\nexport default new class CUPEService {\r\n\r\n GetCUPEUrl(productId, email): Promise {\r\n return http.get(\"CUPE\", {\r\n params: {\r\n productId,\r\n email\r\n }\r\n }).then(response => response.data)\r\n };\r\n\r\n Finish(externalIdentifier,productId): Promise {\r\n return http.get(\"CUPE/Finish\", {\r\n params: {\r\n productId,\r\n externalIdentifier,\r\n }\r\n }).then(response => response.data)\r\n };\r\n}","module.exports = __webpack_public_path__ + \"img/logobiciPlanCollapsable.png\";","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"margin-double\"},[_c('div',{staticClass:\"col-md-offset-1\"},[_c('ul',{staticClass:\"breadcrumb margin-top-half\"},[_vm._l((_vm.localItems),function(item,index){return _c('li',{key:item.path},[_c('RouterLink',{attrs:{\"to\":item.path}},[_vm._v(\" \"+_vm._s(item.text)+\" \")])],1)}),_vm._m(0)],2),_c('div',{staticClass:\"row col-md-11 col-lg-11 col-sm-10 col-xs-12\"},[_c('div',{staticClass:\"panel-group\",attrs:{\"aria-multiselectable\":\"true\"}},[_c('div',{staticClass:\"panel panel-default\"},[_c('div',{staticClass:\"panel-heading\",attrs:{\"role\":\"tab\",\"id\":\"headingOne\"}},[_c('div',{staticClass:\"panel-title\"},[_c('a',{staticClass:\"collapsed\",attrs:{\"role\":\"button\",\"data-toggle\":\"collapse\",\"href\":\"#collapseOne\",\"aria-expanded\":\"false\",\"aria-controls\":\"collapseOne\"}},[_c('spam',{staticClass:\"text-brand-primary\"},[_c('b',[_c('img',{staticClass:\"media-object pull-left\",attrs:{\"src\":require(\"../../../../../Content/Images/Logos/logobiciPlanCollapsable.png\"),\"alt\":\".media-object\"}}),_c('span',{staticClass:\"text-brand-primary-darker\"},[_vm._v(_vm._s(_vm.planDescription))])])]),_c('div',{staticClass:\"text-brand-secondary\"},[_vm._v(\"Valor Mensual: $\"+_vm._s(_vm.primerCuota))])],1)])]),_c('div',{staticClass:\"collapse-content collapse\",attrs:{\"id\":\"collapseOne\",\"aria-labelledby\":\"headingOne\"}},[_c('div',{staticClass:\"panel-body\"},[_c('div',{staticClass:\"form-group\"},[_vm._m(1),_c('h4',{staticClass:\"margin-bottom-half\"},[_c('span',{staticClass:\"text-brand-primary-darker\"},[_c('b',[_vm._v(_vm._s(_vm.planDescription))])])]),_vm._l((_vm.coberturasAmparo),function(value){return _c('div',[_c('div',{staticClass:\"margin-left margin-top-half\"},[_c('div',{staticClass:\"text-brand-primary-darker\"},[_c('b',[_vm._v(_vm._s(value.amparoTypesDescription))]),_c('div',[_vm._v(\" $\"+_vm._s(value.capital))])])])])})],2)])])])]),_c('div',{staticClass:\"panel panel-default\"},[_c('div',{staticClass:\"panel-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('div',{attrs:{\"id\":\"pagoTab\"}},[_c('div',{attrs:{\"id\":\"pagoView\"}},[_c('iframe',{ref:\"myIframe\",staticClass:\"iframeCupe\",attrs:{\"id\":\"pagoIframe\",\"src\":\"\",\"scrolling\":\"yes\",\"width\":\"100%\",\"height\":\"690\",\"frameborder\":\"0\"}})])])])])])]),_c('nf-modal',{ref:\"modal\",staticClass:\"modal-scrollable\",attrs:{\"id\":\"modalDataConfirmacion\",\"reset-scroll\":\"\"}},[_c('span',{staticClass:\"h3\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('b',{staticClass:\"text-brand-primary\"},[_vm._v(\"Cancelar cotización\")])]),_c('div',{attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('i',{staticClass:\"text-brand-primary fa fa-info-circle-o\"}),_c('span',{staticClass:\"text-brand-primary\"},[_vm._v(\" Si cancelás la operación, el pedido de Cotización iniciada se perderá.\")]),_c('br'),_c('br'),_c('p',[_c('b',[_vm._v(\"¿Deseas continuar?\")])])]),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" Continuar cotización \")]),_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.getFilePath}},[_vm._v(\" Cancelar operación \")])])]),_c('div',{staticClass:\"text-center\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{attrs:{\"slot\":\"toolbar\"},slot:\"toolbar\"},[_c('a',{staticStyle:{\"font-size\":\"15px\"},on:{\"click\":_vm.open}},[_vm._v(\" Cancelar \")])]),_vm._m(2)])])],1)])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_c('span',{staticClass:\"text-brand-secondary\",attrs:{\"id\":\"StepText\"}},[_vm._v(\"Contratar\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('h4',{staticClass:\"text-brand-secondary margin-top-half\"},[_c('b',[_vm._v(\"Cobertura Basica\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"col-xs-12 margin-bottom-half margin-top-half\"},[_c('div',[_c('label',[_vm._v(\"¿Tenes dudas? Llamanos al\")])]),_c('div',[_c('label',{staticClass:\"text-brand-secondary\"},[_c('u',[_vm._v(\"0800-444-2850\")])])]),_c('div',[_c('label',[_vm._v(\"Para que podamos ayudarte.\")])])])\n}]\n\nexport { render, staticRenderFns }","\r\n import Vue from 'vue';\r\n import CUPEService from '@/apps/shared/services/cupe-service';\r\n import FilePathService from '@/apps/shared/services/filePath-service';\r\n export default Vue.extend({\r\n components: {\r\n },\r\n name: 'UrbanMobilityPayment',\r\n data() {\r\n return {\r\n description: true,\r\n localItems: [{ text: 'Inicio', path: '/movilidad' }],\r\n }\r\n },\r\n methods: {\r\n changeTitleAndIcon() {\r\n // Lógica para determinar el nuevo título\r\n const newTitle = 'Movilidad urbana';\r\n\r\n // Emite eventos para actualizar el título\r\n this.$emit('updateTitle', newTitle);\r\n },\r\n updateByProductGoogleAnalytics() {\r\n window.globalThis.dataLayer = window.globalThis.dataLayer || [];\r\n const productGtmName = 'DefaultUrbanMobilityGTMInfo';\r\n this.$emit('updateByProductGoogleAnalytics', productGtmName);\r\n },\r\n\r\n getFilePath() {\r\n FilePathService.getFilePath(\"UrlBase\")\r\n .then(response => {\r\n window.location.href = response + \"movilidad\";\r\n });\r\n },\r\n getCUPE: function () {\r\n var email = \"\";\r\n var productId = 936;\r\n NF.UI.Page.blockCustom({ message: \"Redirigiendo al pago\" });\r\n var timeStart = new Date().getTime();\r\n CUPEService.GetCUPEUrl(productId, email).then(response => {\r\n document.getElementById(\"pagoIframe\").setAttribute('src', response.preferenceMessage);\r\n document.getElementById('pagoIframe').addEventListener('load', () => {\r\n this.loadingIframe = false;\r\n var endTime = new Date().getTime();\r\n var secondCharge = Math.round((endTime - timeStart) / 1000);\r\n window.globalThis.dataLayer.push({ 'product': 'movilidad', 'event': 'cotizador-movilidad-checkout', 'carga': secondCharge });\r\n NF.UI.Page.unblock();\r\n });\r\n })\r\n },\r\n open: function () {\r\n this.$refs.modal.open();\r\n },\r\n close: function () {\r\n this.$refs.modal.close();\r\n },\r\n },\r\n mounted() {\r\n this.changeTitleAndIcon();\r\n this.updateByProductGoogleAnalytics();\r\n this.getCUPE();\r\n var planDataSelected = sessionStorage.getItem(\"PlanSelected\")\r\n if (planDataSelected != null) {\r\n this.DataPlan = JSON.parse(planDataSelected!);\r\n this.planDescription = this.DataPlan.planDescription;\r\n this.primerCuota = this.DataPlan.premioMensual\r\n this.coberturasAmparo = this.DataPlan.groupOfAmparoTheftOptions\r\n }\r\n sessionStorage.setItem(\"ExitOrContinueModal\", \"true\")\r\n },\r\n });\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./payment.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./payment.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./payment.vue?vue&type=template&id=524d6b7b&\"\nimport script from \"./payment.vue?vue&type=script&lang=ts&\"\nexport * from \"./payment.vue?vue&type=script&lang=ts&\"\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":""}