{"version":3,"sources":["webpack:///./src/apps/shared/services/cupe-service.ts","webpack:///./src/apps/shared/services/getDiscountRange-service.ts","webpack:///../Content/Images/Logos/Logotecnologia.png","webpack:///./src/apps/electronic-equipment/quote/payment.vue","webpack:///./src/apps/electronic-equipment/quote/payment.vue?3fb0","webpack:///./src/apps/electronic-equipment/quote/payment.vue?f31b","webpack:///./src/apps/electronic-equipment/quote/payment.vue?37c2"],"names":["GetCUPEUrl","productId","email","http","get","params","then","response","data","Finish","externalIdentifier","getUrbanMovilityDiscountRange","getElectronicEquipmentDiscountRange","getSafeHealthMaxDiscountRange","getFamilyCombinedDiscountRange","module","exports","render","_vm","this","_c","_self","_setupProxy","staticClass","_l","localItems","item","index","key","path","attrs","_v","_s","text","_m","require","planDescription","rate","precioSinDescuento","primerCuota","_e","capital","cobertura","value","coverDescription","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","unblock","endTime","secondCharge","Math","round","push","$refs","modal","mounted","planDataSelected","sessionStorage","getItem","coverData","cover","JSON","parse","DataPlan","premioMensual","premiumWithoutDiscount","Promise","async","DiscountRangeService","length","responseDiscountRange","discountMaxValue","discountOff","resolve","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,oCCpBrC,gBAGe,WAAI,MACfG,gCACI,OAAOR,OAAKC,IAA6B,iDAAkD,CACv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BtG,EAC7BY,KAAKkB,KAAOlB,KAAK0F,sBAAsB,GAAGC,iBAC1C3F,KAAK4F,YAAc5F,KAAK0F,sBAAsB,GAAGC,iBACjDE,GAAQ,GACRzC,GAAGC,GAAGC,KAAKa,gBAM3BU,eAAeiB,QAAQ,sBAAuB,WC/F4W,I,YCOlaC,EAAY,eACd,EACAjG,EACAmC,GACA,EACA,KACA,KACA,MAIa,aAAA8D,E","file":"js/chunk-0cca88ea.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}","import http from \"../http/http-config\";\r\nimport { DiscountRangeResponse } from \"../models/discountRangeResponse\";\r\n\r\nexport default new class discountRangeService {\r\n getUrbanMovilityDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetUrbanMovilityDiscountRange\", {\r\n params: {\r\n }\r\n }).then(response => response.data)\r\n }\r\n getElectronicEquipmentDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetElectronicEquipmentDiscountRange\", {\r\n params: {\r\n }\r\n }).then(response => response.data)\r\n }\r\n getSafeHealthMaxDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetSafeHealthMaxDiscountRange\", {\r\n params: {\r\n }\r\n }).then(response => response.data)\r\n }\r\n getFamilyCombinedDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetFamilyCombinedPremiumDiscountRange\", {\r\n params: {}\r\n }).then(response => response.data);\r\n }\r\n}\r\n\r\n","module.exports = __webpack_public_path__ + \"img/Logotecnologia.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\"},[_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('strong',[_c('img',{staticClass:\"media-object pull-left\",attrs:{\"src\":require(\"../../../../../Content/Images/Logos/Logotecnologia.png\"),\"alt\":\".media-object\"}}),_c('span',{staticClass:\"text-brand-primary-darker\"},[_vm._v(_vm._s(_vm.planDescription))])])]),(_vm.rate!= null)?_c('div',[_c('div',{staticClass:\"text-brand-secondary margin-left-double\"},[_vm._v(\"Valor Mensual: \"),_c('strike',[_vm._v(\"$\"+_vm._s(_vm.precioSinDescuento))]),_vm._v(\" $\"+_vm._s(_vm.primerCuota))],1)]):_vm._e(),(_vm.rate==null)?_c('div',[_c('div',{staticClass:\"text-brand-secondary\"},[_vm._v(\"Valor Mensual: $\"+_vm._s(_vm.primerCuota))])]):_vm._e()],1)])]),_c('div',{staticClass:\"collapse-content collapse\",attrs:{\"id\":\"collapseOne\",\"aria-labelledby\":\"headingOne\"}},[_c('div',{staticClass:\"panel-body\"},[_c('div',{staticClass:\"form-group\"},[_c('div',[_c('div',{staticClass:\"margin-bottom\"},[_c('b',[_vm._v(\"Suma asegurada: $\"+_vm._s(_vm.capital))])])]),_vm._m(1),_vm._l((_vm.cobertura),function(value){return _c('div',{},[_c('div',{staticClass:\"margin-left margin-top-half\"},[_c('div',{staticClass:\"text-brand-primary-darker\"},[_c('h6',{staticClass:\"text-black-dark\"},[_c('b',[_vm._v(_vm._s(value.coverDescription))])])])])])})],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('div',[_c('h4',{staticClass:\"text-brand-secondary margin-top\"},[_c('b',[_vm._v(\"Coberturas\")])])])\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 import DiscountRangeService from '@/apps/shared/services/getDiscountRange-service';\r\n export default Vue.extend({\r\n components: {\r\n },\r\n name: 'ElectronicDevicePayment',\r\n data() {\r\n return {\r\n rate: null,\r\n precioSinDescuento: null,\r\n capital: null,\r\n description: true,\r\n localItems: [{ text: 'Inicio', path: '/tecnologia' }],\r\n }\r\n },\r\n methods: {\r\n changeTitleAndIcon() {\r\n // Lógica para determinar el nuevo título\r\n const newTitle = 'Tecnología';\r\n // Emite eventos para actualizar el título\r\n this.$emit('updateTitle', newTitle);\r\n },\r\n\r\n updateByProductGoogleAnalytics() {\r\n window.globalThis.dataLayer = window.globalThis.dataLayer || [];\r\n const productGtmName = 'DefaultElectronicDeviceGTMInfo';\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 + \"tecnologia\";\r\n });\r\n },\r\n\r\n getCUPE: function () {\r\n var email = \"\";\r\n var productId = 1000;\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 NF.UI.Page.unblock();\r\n var endTime = new Date().getTime();\r\n var secondCharge = Math.round((endTime - timeStart) / 1000);\r\n window.globalThis.dataLayer.push({ 'product': 'tecnologia', 'event': 'cotizador-tecnologia-checkout', 'carga': secondCharge });\r\n NF.UI.Page.unblock();\r\n });\r\n\r\n })\r\n },\r\n\r\n open: function () {\r\n this.$refs.modal.open();\r\n },\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 var coverData = sessionStorage.getItem(\"cover\");\r\n if (coverData != null) {\r\n this.cover = JSON.parse(coverData!)\r\n this.cobertura = this.cover\r\n }\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.capital = this.DataPlan.capital;\r\n this.precioSinDescuento = this.DataPlan.premiumWithoutDiscount;\r\n new Promise(async (resolve) => {\r\n DiscountRangeService.getElectronicEquipmentDiscountRange().then((response) => {\r\n if (response.length > 0) {\r\n this.responseDiscountRange = response;\r\n this.rate = this.responseDiscountRange[0].discountMaxValue;\r\n this.discountOff = this.responseDiscountRange[0].discountMaxValue;\r\n resolve(true);\r\n NF.UI.Page.unblock();\r\n }\r\n })\r\n })\r\n\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=0d4f45a8&\"\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":""}