PageSourceSearch

https://servimax.co/9181.47c501cdefec31c0.js

js servimax.co collected 2026-10-02 01:21:53 UTC 27,625 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkservimax_home_page=self.webpackChunkservimax_home_page||[]).push([[9181],{7090:(V,S,d)=>{d.d(S,{s:()=>T});class T{constructor(h,E){this.sede=h.toLocaleLowerCase(),this.environment=E}getLogisticBase(){return this.environment.logisticApiUrl}getDeliverBase(){return this.environment.deliverApiUrl}getTransversalBase(h){return this.environment.transversalApiUrl}getFinancialBase(){return this.environment.financialApiUrl}getSalesBase(){return this.environment.salesApiUrl}getUserBase(){return this.environment.clientsApiUrl}getMarketing(){return this.environment.marketinApiUrl}getsocketsLiveOperationUrl(){return this.environment.socketsLiveOperationUrl}}},5447:(V,S,d)=>{d.d(S,{K:()=>x,l:()=>D});var T=d(6354),N=d(5312),h=d(7090),E=d(4438),e=d(1626),R=d(7530);const j={title:"\u{1f381} Tienes un regalo",hint:"Tu compra te da derecho a este regalo. M\xe1rcalo si lo quieres."},O={title:"\u{1f381} Elige lo que te llevas",hint:"Tu compra te da derecho a esto. Marca cu\xe1les regalos quieres \u2014 uno, varios o ninguno."},M=b=>String(b??"").trim().toUpperCase(),x=b=>{if(!b)return!1;if(/^\s*BONIFICADO\b/i.test(b.name??""))return!0;const k=Number(b.price);return Number.isFinite(k)&&k<=0};let D=(()=>{class b{constructor(_,p){this.http=_,this.storageService=p,this.regionBase=new h.s("bogota",N.c);const u=this.storageService.getStorageElement({space:"Session",typeElement:"sede"})?.base||"bogota";this.regionBase=new h.s(u,N.c)}currentSource(){return"whatsapp"===sessionStorage.getItem("specialSource")?"CHATBOT":"WEB"}currentSede(){return this.storageService.getStorageElement({space:"Session",typeElement:"sede"})?.base||"bogota"}getGiftProductInfo(_){return this.http.post(`${this.regionBase.getUserBase()}products/getProductLite`,{abakoId:_},{headers:{sede:this.currentSede()}}).pipe((0,T.T)(p=>{const u=Array.isArray(p?.response)?p.response[0]:p?.response;return u?.name?{name:String(u.name),urlFile:u.urlFile||void 0}:null}))}getPromoCampaignsByComerce(_){return this.http.post(`${this.regionBase.getUserBase()}orders/getPromoCampaignsByComerce`,{idComerce:_,source:this.currentSource()},{headers:{sede:this.currentSede()}}).pipe((0,T.T)(p=>p?.response??[]))}expectedGifts(_,p){const u=new Map,f=new Map;for(const y of p||[]){const v=M(y?.code);if(!v)continue;u.set(v,(u.get(v)??0)+(Number(y.quantity)||0));const C=Number(y.value);Number.isFinite(C)&&C>0&&f.set(v,(f.get(v)??0)+C)}const F=new Map;for(const y of _||[]){const v="CLIENTE_ELIGE"===M(y.giftSelectionMode||"AUTO"),C=new Map,B=(i,m,c,g)=>{const P=M(i);if(!(P&&c>0))return;let I=(C.get(P)?.qty??0)+c;null!=g&&g>0&&(I=Math.min(I,g)),C.set(P,{qty:I,name:(m||"").trim()||C.get(P)?.name||""})};for(const i of y.rules??[]){const m=u.get(M(i.triggerCode))??0;if(m<=0||null!=i.minQuantity&&m<i.minQuantity)continue;const c=Math.floor(m/(i.perUnits||1))*(i.bonusQuantity||1);B(i.bonusCode,i.bonusName,c,i.maxPerCustomer)}for(const i of y.groups??[]){const m=(i.conditions??[]).filter(g=>M(g.code));if(0===m.length)continue;let c=1/0;for(const g of m){const P=u.get(M(g.code))??0,A=g.minQuantity||1;if(P<A){c=0;break}c=Math.min(c,Math.floor(P/A))}!Number.isFinite(c)||c<=0||B(i.bonusCode,i.bonusName,c*(i.bonusQuantity||1),i.maxPerCustomer)}for(const i of y.valueRules??[]){if(!(i.perAmount>0))continue;let m=0;for(const P of i.scopeCodes??[])m+=f.get(M(P))??0;if(m=Math.round(100*m)/100,m<i.perAmount)continue;let c=Math.floor((m+1e-6)/i.perAmount);(null!=i.maxOffersPerInvoice&&i.maxOffersPerInvoice>0&&(c=Math.min(c,i.maxOffersPerInvoice)),c<=0)||B(i.bonusCode,i.bonusName,c*(i.bonusQuantity||1),null!=i.maxOffersPerCustomer&&i.maxOffersPerCustomer>0?i.maxOffersPerCustomer*(i.bonusQuantity||1):null)}
1for(const[i,m]of C){const c=F.get(i),g=c?[...c.campaignCodes]:[];y.code&&!g.includes(y.code)&&g.push(y.code),F.set(i,{bonusCode:i,bonusName:m.name||c?.bonusName||i,quantity:(c?.quantity??0)+m.qty,campaignCode:c?.campaignCode||y.code,campaignCodes:g,selectable:v||!0===c?.selectable})}}return Array.from(F.values())}maxByCampaign(_){const p={};for(const u of _||[]){const f=Number(u?.giftSelectionMax);Number.isFinite(f)&&f>0&&(p[u.code]=Math.floor(f))}return p}minByCampaign(_){const p={};for(const u of _||[]){const f=Number(u?.giftSelectionMin);Number.isFinite(f)&&f>0&&(p[u.code]=Math.floor(f))}return p}copyForGifts(_,p){const u=(p||[]).filter(i=>i.selectable),f=new Set(u.map(i=>i.bonusCode)).size,F=1===f?j:O,y=1===f?"single":"multiple",v=new Set(u.map(i=>i.campaignCode)),C=[];for(const i of _||[]){if(!v.has(i.code)||"CLIENTE_ELIGE"!==M(i.giftSelectionMode||"AUTO"))continue;const m=i.giftCopy?.merchant?.[y];m&&String(m.title||"").trim()&&C.push({title:String(m.title).trim(),hint:String(m.hint||"").trim()})}if(!C.length)return F;const B=C[0];return C.every(i=>i.title===B.title&&i.hint===B.hint)?B:F}static{this.\u0275fac=function(p){return new(p||b)(E.KVO(e.Qq),E.KVO(R.n))}}static{this.\u0275prov=E.jDH({token:b,factory:b.\u0275fac,providedIn:"root"})}}return b})()},4887:(V,S,d)=>{d.r(S),d.d(S,{default:()=>z});var T=d(1471),h=d(4341),E=d(177),e=d(4438),R=d(7530),j=d(3607),O=d(7952),M=d(2913),x=d(345),D=d(6367),b=d(8444);const k=(n,r)=>({"selected-card":n,selected:r}),_=n=>({"text-success":n}),p=(n,r)=>({"alert-warning":n,"alert-success":r});function u(n,r){1&n&&(e.j41(0,"div",45),e.EFF(1," Datos Guardados Correctamente "),e.k0s())}function f(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",46)(1,"div",47)(2,"img",48),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleLista())}),e.k0s()()()}if(2&n){const t=e.XpG();e.R7$(2),e.Y8G("src",null==t.paymentChoiced?null:t.paymentChoiced.imageUrl,e.B4B)}}function F(n,r){if(1&n&&(e.j41(0,"option",52),e.EFF(1),e.k0s()),2&n){const t=r.$implicit;e.Y8G("value",t.financial_institution_code),e.R7$(),e.SpI(" ",t.financial_institution_name," ")}}function y(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",7)(1,"label",49),e.EFF(2,"Seleccione su Banco"),e.k0s(),e.j41(3,"select",50),e.mxI("ngModelChange",function(o){e.eBV(t);const l=e.XpG();return e.DH7(l.selectedBank,o)||(l.selectedBank=o),e.Njj(o)}),e.DNE(4,F,2,2,"option",51),e.k0s()()}if(2&n){const t=e.XpG();e.R7$(3),e.R50("ngModel",t.selectedBank),e.R7$(),e.Y8G("ngForOf",t.dataPse)}}function v(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",53)(1,"div",54),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.togglePayment("PSE","https://cdn.prod.website-files.com/63500c9a931741e8e7d2687e/66ad51cfc402537168a47ded_%C2%BFQue%CC%81%20es%20PSE%3F.png"))}),e.j41(2,"div",55),e.nrm(3,"img",56),e.j41(4,"span",57),e.EFF(5,"PSE"),e.k0s()()(),e.j41(6,"div",58),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.togglePayment("BANCOLOMBIA_TRANSFER","https://www.bancolombia.com/wcm/connect/b8e4c3f2-36a9-497d-a125-ac04f83b0bf8/LogoBancolombia.png?MOD=AJPERES"))}),e.j41(7,"div",55),e.nrm(8,"img",59),e.j41(9,"span",60),e.EFF(10,"Bancolombia"),e.k0s()()()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("ngClass",e.l_i(6,k,"PSE"===t.selectedPayment,"PSE"===t.selectedPayment)),e.R7$(2),e.Y8G("ngClass",e.eq3(9,_,"PSE"===t.selectedPayment)),e.R7$(),e.Y8G("ngClass",e.eq3(11,_,"PSE"===t.selectedPayment)),e.R7$(2),e.Y8G("ngClass",e.l_i(13,k,"BANCOLOMBIA_TRANSFER"===t.selectedPayment,"BANCOLOMBIA_TRANSFER"===t.selectedPayment)),e.R7$(2),e.Y8G("ngClass",e.eq3(16,_,"BANCOLOMBIA_TRANSFER"===t.selectedPayment)),e.R7$(),e.Y8G("ngClass",e.eq3(18,_,"BANCOLOMBIA_TRANSFER"===t.selectedPayment))}}function C(n,r){if(1&n&&(e.j41(0,"div",15)(1,"strong"),e.EFF(2,"Fecha:"),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG();e.R7$(3),e.SpI(" ",t.fecha," ")}}function B(n,r){if(1&n&&(e.j41(0,"div",15)(1,"strong"),e.EFF(2,"Cliente:"),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG();e.R7$(3),e.SpI(" ",t.cliente," ")}}function i(n,r){if(1&n&&(e.j41(0,"div",15)(1,"strong"),e.EFF(2,"C\xf3digo:"),e.k0s(),e.EFF(3),e.k0s()),2&n){const t=e.XpG();e.R7$(3),e.SpI(" ",t.codigo," ")}}function m(n,r){1&n&&(e.j41(0,"strong"),e.EFF(1," No"),e.k0s())}function c(n,r){1&n&&(e.j41(0,"strong"),e.EFF(1," Necesitas pagar "),e.k0s())}function g(n,r){1&n&&(e.j41(0,"strong"),e.EFF(1," Por "),e.k0s())}function P(n,r){if(1&n&&(e.j41(0,"div",62)(1,"small",63),e.DNE(2,m,2,0,"strong",16),e.EFF(3),e.nI1(4,"number"),e.DNE(
15,c,2,0,"strong",16)(6,g,2,0,"strong",16),e.j41(7,"strong"),e.EFF(8," la totalidad de la factura"),e.k0s()()()),2&n){const t=e.XpG(2);e.Y8G("ngClass",e.l_i(8,p,t.totalAmount!=t.maxTotalAmount,t.totalAmount==t.maxTotalAmount)),e.R7$(2),e.Y8G("ngIf",t.totalAmount!=t.maxTotalAmount),e.R7$(),e.SpI(" Estas aplicando a el descuento de $",e.i5U(4,5,t.totalDescountPPS,"1.2-2"),". "),e.R7$(2),e.Y8G("ngIf",t.totalAmount!=t.maxTotalAmount),e.R7$(),e.Y8G("ngIf",t.totalAmount==t.maxTotalAmount)}}function A(n,r){if(1&n&&(e.j41(0,"div",15),e.DNE(1,P,9,11,"div",61),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.totalDescountPPS>0)}}function I(n,r){1&n&&(e.j41(0,"div")(1,"strong"),e.EFF(2,"Total a Pagar:"),e.k0s()())}function $(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" $",e.i5U(2,1,t.totalAmount,"1.2-2")," ")}}function L(n,r){if(1&n&&(e.j41(0,"div"),e.EFF(1),e.nI1(2,"number"),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.SpI(" $",e.i5U(2,1,t.totalAmount-t.totalDescountPPS,"1.2-2")," ")}}function Y(n,r){if(1&n){const t=e.RV6();e.j41(0,"i",64),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleEditValue())}),e.k0s()}}function X(n,r){if(1&n){const t=e.RV6();e.j41(0,"i",65),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.toggleEditValue())}),e.k0s()}}function K(n,r){if(1&n&&(e.j41(0,"div",68),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.SpI(" El monto total debe estar entre 40,000 y ",t.maxTotalAmount,". ")}}function H(n,r){if(1&n){const t=e.RV6();e.j41(0,"div")(1,"input",66),e.mxI("ngModelChange",function(o){e.eBV(t);const l=e.XpG();return e.DH7(l.totalAmount,o)||(l.totalAmount=o),e.Njj(o)}),e.k0s(),e.DNE(2,K,2,1,"div",67),e.k0s()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("min",4e4)("max",t.maxTotalAmount),e.R50("ngModel",t.totalAmount),e.R7$(),e.Y8G("ngIf",t.totalAmount<4e4||t.totalAmount>t.maxTotalAmount)}}function Q(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",69)(1,"div",70)(2,"button",71),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.fillAllData())}),e.EFF(3," Completar con datos de factura"),e.k0s()(),e.j41(4,"div",70)(5,"button",71),e.bIt("click",function(){e.eBV(t);const o=e.XpG();return e.Njj(o.cleanData())}),e.EFF(6," Limpiar formulario"),e.k0s()()()}}function q(n,r){if(1&n&&(e.j41(0,"div",7)(1,"label",72),e.EFF(2,"Banco Seleccionado"),e.k0s(),e.nrm(3,"input",73),e.k0s()),2&n){const t=e.XpG();e.R7$(3),e.Y8G("value",t.getSelectedBankName())}}let z=(()=>{class n{constructor(t,s,o,l,a,W,G,U,w){this.storageServices=t,this.ToastService=s,this.payProcessService=o,this.spinner=l,this.sanitizer=a,this.route=W,this.router=G,this.storageService=U,this.scheduleOrderService=w,this.acceptedPaymentMethods=[],this.completePse=!1,this.completeNequi=!1,this.completeEfectivo=!1,this.viewSelection=!1,this.dataPse=[],this.selectedPaymentMethod="",this.selectedBank="",this.termsAccepted=!1,this.permalink="",this.acceptanceToken="",this.linkPay=!1,this.asyncPaymentUrl="",this.aprovedTransaction="",this.payTrue=!1,this.payNequi=!1,this.payNoValidate=!1,this.secrectKey="SERVIMAXlocalStorage*2022",this.showModal=!1,this.documentType="",this.documentNumber="",this.fullName="",this.email="",this.phoneNumber="",this.descripcion="",this.clientType="",this.phoneParam="",this.identificationParam="",this.phoneNumberNequi="",this.emailNequi="",this.idTransaction=0,this.totalAmount=0,this.maxTotalAmount=0,this.cliente="",this.codigo="",this.fecha="",this.paymentChoiced=void 0,this.editValue=!1,this.ableVariation=!1,this.totalDescountPPS=0,this.mostrarLista=!1,this.checkboxSeleccionado=!1,this.bancos=["Banco de Bogot\xe1","Davivienda","Banco AV Villas","BBVA"]}ngOnInit(){this.paymentChoiced=this.scheduleOrderService.getSelectedPayment();const t=sessionStorage.getItem("Confirmacion");if(this.selectedPaymentMethod=this.paymentChoiced?.method,t)return this.navigateToDashboard(),void sessionStorage.removeItem("Confirmacion");this.route.queryParams.subscribe(s=>{const l=s.totalMount,a=s.cliente,W=s.codigo,G=s.fecha,U=this.handleCrypto("decrypt",{response:s.idTransaction}),w=this.handleCrypto("decrypt",{response:l}),J=this.handleCrypto("decrypt",{response:a}),Z=this.handleCrypto("decrypt",{response:W}),ee=this.handleCrypto("decrypt",{response:G}),te=this.handleCrypto("decrypt",{response:s.clientPhone}),oe=this.handleCrypto("decrypt",{response:s.identification}),ne=this.handleCrypto("decrypt",{response:s.ableVariation}),ie=this.handleCrypto("decrypt",{response:s.totalDescountPPS});this.idTransaction=U.response,this.totalAmount=parseFloat(w.response.replace(/[^\d.-]/g,"")),this.maxTotalAmount=this.totalAmount,this.cliente=J.response,this.co
1digo=Z.response,this.fecha=ee.response,this.phoneParam=te.response,this.identificationParam=oe.response,this.ableVariation="true"===ne.response,this.totalDescountPPS=Number(ie.response)}),this.getTypePay()}fillAllData(){this.cliente&&(this.fullName=this.cliente),this.phoneParam&&(this.phoneNumber=this.phoneParam),this.identificationParam&&(this.documentNumber=this.identificationParam,this.documentType="CC",this.clientType="0")}cleanData(){this.fullName="",this.documentNumber="",this.documentType="",this.email="",this.phoneNumber="",this.descripcion="",this.clientType=""}togglePayment(t,s){this.paymentChoiced={method:t,imageUrl:s},this.selectedPaymentMethod=t}toggleEditValue(){this.editValue=!this.editValue}handleCrypto(t,s){if("encrypt"===t)return T.AES.encrypt(JSON.stringify(s),this.secrectKey).toString();if("decrypt"===t){const o=T.AES.decrypt(s.response,this.secrectKey,T.mode.CBC);return{...s,response:JSON.parse(o.toString(T.enc.Utf8))}}throw new Error("Invalid operation")}getTypePay(){this.spinner.show(),this.payProcessService.getTypePay().subscribe(t=>{this.typePay=t.response,this.acceptedPaymentMethods=this.typePay.acceptedPaymentMethods,this.acceptanceToken=this.typePay.acceptanceToken,this.dataPse=this.typePay.dataPse,this.permalink=this.typePay.permalink,this.acceptedPaymentMethods.length&&(this.selectedPaymentMethod=this.paymentChoiced?.method||this.acceptedPaymentMethods[0]),this.dataPse.length&&(this.selectedBank=this.dataPse[0].financial_institution_code),this.spinner.hide()},t=>{console.error("Error al obtener los tipos de pago:",t),this.typePay=null,this.spinner.hide()})}getSelectedBankName(){const t=this.dataPse.find(s=>s.financial_institution_code===this.selectedBank);return t?t.financial_institution_name:"Nombre del Banco Desconocido"}openModalWompi(){this.termsAccepted?"0"!==this.selectedBank||"PSE"!==this.selectedPaymentMethod?("PSE"===this.selectedPaymentMethod||"BANCOLOMBIA_TRANSFER"===this.selectedPaymentMethod)&&(this.showModal=!0):this.ToastService.showToast("Debe seleccionar un banco para proceder con el pago.","info"):this.ToastService.showToast("Debe aceptar los t\xe9rminos y condiciones para proceder con el pago.","info")}closeModal(){this.showModal=!1}submitPseForm(){!(this.documentType&&this.documentNumber&&this.fullName&&this.email&&this.phoneNumber)||this.totalAmount<4e4||this.totalAmount>this.maxTotalAmount?this.ToastService.showToast(`Debe completar los campos obligatorios:\n      ${this.documentType?"":"Tipo de documento, "}\n      ${this.documentNumber?"":"N\xfamero de documento, "}\n      ${this.fullName?"":"Nombre completo, "}\n      ${this.email?"":"Correo electr\xf3nico, "}\n      ${this.phoneNumber?"":"N\xfamero de tel\xe9fono"}\n      ${this.totalAmount<4e4?"El monto m\xednimo es de 40.000":""}\n      ${this.totalAmount>this.maxTotalAmount?"El monto m\xe1ximo es de "+this.maxTotalAmount:""}\n      `):(this.closeModal(),this.makePayment())}makePayment(){if(!this.termsAccepted)return this.ToastService.showToast("Debe aceptar los t\xe9rminos y condiciones para proceder con el pago."),"Faltan datos";this.spinner.show();let t=this.totalAmount;if(this.totalDescountPPS>0&&this.totalAmount===this.maxTotalAmount){t=this.totalAmount-this.totalDescountPPS;const s=this.preparePseData(this.idTransaction.toString(),"DISCOUNT_SERVIMAX_PPS",this.totalDescountPPS,"");this.payProcessService.createTransaction(s).subscribe(o=>{let l=o.response;const a=this.preparePseData(this.idTransaction.toString(),this.selectedPaymentMethod,t,l.async_payment_url);this.completePse=!0,this.viewSelection=!0,this.processPayment(a)},o=>{this.handleError(o)})}else{const s=this.preparePseData(this.idTransaction.toString(),this.selectedPaymentMethod,t,"");this.completePse=!0,this.viewSelection=!0,this.processPayment(s)}}preparePseData(t,s,o,l){return{amount_in_cents:100*o,customer_email:this.email,reference:t,taxes:[],payment_method:{type:s,user_type:0,user_legal_id_type:this.documentType,user_legal_id:this.documentNumber,financial_institution_code:this.selectedBank,payment_description:this.descripcion||`Pago ${this.selectedPaymentMethod} Servimax`,second_reference:l},customer_data:{email:this.email,full_name:this.fullName,phone_number:this.phoneNumber,phone_number_prefix:"57",legal_id:this.documentNumber,legal_id_type:this.documentType},token:this.acceptanceToken}}
1processPayment(t){this.storageService.saveStorageElement({space:"Session",typeElement:"Confirmacion",element:t.Confirmacion||""}),this.payProcessService.createTransaction(t).subscribe(s=>{this.handleSuccess(s)},s=>{this.handleError(s)})}navigateToDashboard(){this.router.navigate(["/dashboard"])}handleSuccess(t){window.location.href=t.response.async_payment_url,this.spinner.hide(),this.ToastService.showToast("Abriendo PSE","success")}handleError(t){this.ToastService.showToast("Error al contactar con la entidad","error"),this.spinner.hide()}closeModalWompi(){this.spinner.show();const t=document.getElementById("processPay"),o=window.bootstrap.Modal.getInstance(t);this.payProcessService.getStatusTransaction(this.idTransaction.toString()).subscribe(l=>{this.aprovedTransaction=l.response[0].estado,"APPROVED"===this.aprovedTransaction&&"PSE"===this.selectedBank?(this.ToastService.showToast("Transacci\xf3n aprobada"),this.payTrue=!0,this.spinner.hide()):(this.ToastService.showToast("Transacci\xf3n rechazada"),this.payNoValidate=!0,this.spinner.hide())},l=>{console.error("Error al validar la Transacion:",l),this.spinner.hide(),this.ToastService.showToast("Error al procesar la transacci\xf3n. Intente nuevamente m\xe1s tarde.")}),o.hide()}openModalUrl(){const t=document.getElementById("processPay");new(0,window.bootstrap.Modal)(t).show()}toggleLista(){this.mostrarLista=!this.mostrarLista}continuar(){console.log("Formulario iniciado.")}static{this.\u0275fac=function(s){return new(s||n)(e.rXU(R.n),e.rXU(j.W),e.rXU(O.w),e.rXU(M.D),e.rXU(x.up),e.rXU(D.nX),e.rXU(D.Ix),e.rXU(R.n),e.rXU(b.F))}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["app-bill-wompi"]],standalone:!0,features:[e.aNF],decls:100,vars:26,consts:[[1,"row","p-0","m-0","w-100","d-flex","justify-content-around"],[1,"container","p-1","d-none","d-md-block","d-lg-block","d-xl-block","d-flex","justify-content-center","col-12","col-md-3"],[1,"card-body",2,"border","1px solid black"],[1,"container","p-1","col-12","col-md-3","col-lg-3","col-xl-3"],[1,"card"],["class","alert alert-primary","role","alert",4,"ngIf"],[1,"card-header",2,"border","1px solid black"],[1,"form-group"],["for","paymentMethod"],["class","metodo-pago-container",4,"ngIf"],["class","form-group",4,"ngIf"],["class","methods",4,"ngIf"],[1,"card","mt-4",2,"border","1px solid black"],[1,"card-body"],["class","mb-3",4,"ngIf"],[1,"mb-3"],[4,"ngIf"],["class","bi bi-pencil-square",3,"click",4,"ngIf"],["class","bi bi-floppy",3,"click",4,"ngIf"],["class","row p-0 m-0 w-100 d-flex justify-content-center",4,"ngIf"],[1,"container-form","p-1","col-12","col-md-7","col-lg-7","col-xl-7"],[1,"modal-body","p-1"],["for","clientType",1,"form-label"],["id","clientType","name","clientType",1,"form-control",3,"ngModelChange","ngModel"],["value","0"],["value","1"],["for","fullName",1,"form-label"],["type","text","id","fullName",1,"form-control",3,"ngModelChange","ngModel"],["for","phoneNumber",1,"form-label"],["type","tel","id","phoneNumber",1,"form-control",3,"ngModelChange","ngModel"],["for","documentType",1,"form-label"],["id","documentType","name","documentType",1,"form-control",3,"ngModelChange","ngModel"],["value","CC"],["value","CE"],["for","documentNumber",1,"form-label"],["type","text","id","documentNumber",1,"form-control",3,"ngModelChange","ngModel"],["for","emailNequi",1,"form-label"],["type","emailNequi","id","emailNequi",1,"form-control",3,"ngModelChange","ngModel"],["for","descripcion",1,"form-label"],["type","descripcion","id","descripcion",1,"form-control",3,"ngModelChange","ngModel"],["type","checkbox","id","termsAccepted","name","termsAccepted",2,"border","1px solid black",3,"ngModelChange","ngModel"],["for","termsAccepted"],["target","_blank",3,"href"],[1,"modal-footer","d-flex","justify-content-around","p-3"],["type","button",1,"btn","btn-primary",3,"click"],["role","alert",1,"alert","alert-primary"],[1,"metodo-pago-container"],[1,"botones-container"],["alt","PSE","height","150px",2,"width","150px",3,"click","src"],["for","bank"],["id","bank","name","bank",1,"form-control",3,"ngModelChange","ngModel"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],[1,"methods"],[1,"card","mb-3","p-2","noborder",2,"cursor","pointer","border-radius","20px",3,"click","ngClass"],[1,"d-flex","align-items-center"],["src","https://cdn.prod.website-files.com/63500c9a931741e8e7d2687e/66ad51cfc402537168a47ded_%C2%BFQue%CC%81%20es%20PSE%3F.png","alt","PSE",2,"width","50px","height","50px","margin-left","13px","margin-right","23px",3,"ngClass"],[1,"text-start",2,"font-size","17.9px",3,"ngClass"],[1,"card","p-2","px-3","noborder",2,"cursor","pointer","border-radius","20px",3,"click","ngClass"],["src","https://www.bancolombia.com/wcm/connect/b8e4c3f2-36a9-497d-a125-ac04f83b0bf8/LogoBancolombia.png?MOD=AJPERES","alt","BANCOLOMBIA_TRANSFER",2,"width","50px","height","50px","margin-right","5px",3,"ngClass"],[1,"text-start",2,"font-size","16.9px","margin-right","0px",3,"ngClass"],["class","alert  d-inline-block",3,"ngClass",4,"ngIf"],[1,"alert","d-inline-block",3,"ngClass"],[1,"text-muted","d-block"],[1,"bi","bi-pencil-square",3,"click"],[1,"bi","bi-floppy",3,"click"],["type","number","id","totalAmountInput",1,"form-control","my-1",3,"ngModelChange","min","max","ngModel"],["class","alert alert-danger my-1",4,"ngIf"],[1,"alert","alert-danger","my-1"],[1,"row","p-0","m-0","w-100","d-flex","justify-content-center"],[1,"col-12","col-md-2","p-2"],["type","button",1,"p-2","btn","btn-primary","w-100",3,"click"],["for","selectedBank"],["type","text","id","selectedBank","disabled","",1,"form-control",3,"value"]],template:function(s,o){1&s&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"li"),e.EFF(4,"Seleccione el M\xe9todo de pago"),e.k0s(),e.j41(5,"li"),e.EFF(6,"Revise el Resumen de pago "),e.k0s(),e.j41(7,"li"),e.EFF(8,"Realice el formulario con cada una de sus celdas llenas"),e.k0s(),e.j41(9,"li"),e.EFF(10,"Acepte los t\xe9rminos y condiciones"),e.k0s(),e.j41(11,"li"),e.EFF(12,'Por ultimo de click al bot\xf3n "Confirmar Pago"'),e.k0s()()(),e.j41(13,"div",3)(14,"div",4),e.DNE(15,u,2,0,"div",5),e.j41(16,"div",6),e.EFF(17,"Seleccione el M\xe9todo de Pago"),e.k0s(),e.j41(18,"div",2)(19,"form")(20,"div",7)(21,"label",8),e.EFF(22,"M\xe9todos de Pago"),e.k0s()(),e.DNE(23,f,3,1,"div",9)(24,y,5,2,"div",10)(25,v,11,20,"div",11),e.k0s()()(),e.j41(26,"div",12)(27,"div",6),e.EFF(28,"Resumen de Pago"),e.k0s(),e.j41(29,"div",13),e.DNE(30,C,4,1,"div",14)(31,B,4,1,"div",14)(32,i,4,1,"div",14),e.j41(33,"div",15)(34,"strong"),e.EFF(35,"ID de factura:"),e.k0s(),e.EFF(36),e.k0s(),e.DNE(37,A,2,1,"div",14),e.j41(38,"div",15),e.DNE(39,I,3,0,"div",16),e.j41(40,"div"),e.DNE(41,$,3,4,"div",16)(42,L,3,4,"div",16)(43,Y,1,0,"i",17)(44,X,1,0,"i",18),e.k0s(),e.DNE(45,H,3,4,"div",16),e.k0s()()()(),e.DNE(46,Q,7,0,"div",19),e.j41(47,"div",20)(48,"div",6),e.EFF(49,"Formulario"),e.k0s(),e.j41(50,"div",2)(51,"div",13)(52,"div",21),e.DNE(53,q,4,1,"div",10),e.j41(54,"div",15)(55,"label",22),e.EFF(56,"Tipo de Documento"),e.k0s(),e.j41(57,"select",23),e.mxI("ngModelChange",function(a){return e.DH7(o.clientType,a)||(o.clientType=a),a}),e.j41(58,"option",24),e.EFF(59,"Persona Natural"),e.k0s(),e.j41(60,"option",25),e.EFF(61,"Persona Jur\xeddica"),e.k0s()()(),e.j41(62,"div",15)(63,"label",26),e.EFF(64,"Nombre Completo"),e.k0s(),e.j41(65,"input",27),e.mxI("ngModelChange",function(a){return e.DH7(o.fullName,a)||(o.fullName=a),a}),e.k0s()(),e.j41(66,"div",15)(67,"label",28),e.EFF(68,"N\xfamero de Celular"),e.k0s(),e.j41(69,"input",29),e.mxI("ngModelChange",function(a){return e.DH7(o.phoneNumber,a)||(o.phoneNumber=a),a}),e.k0s()(),e.j41(70,"div",15)(71,"label",30),e.EFF(72,"Tipo de Documento"),e.k0s(),e.j41(73,"select",31),e.mxI("ngModelChange",function(a){return e.DH7(o.documentType,a)||(o.documentType=a),a}),e.j41(74,"option",32),e.EFF(75,"C\xe9dula de Ciudadan\xeda (CC)"),e.k0s(),e.j41(76,"option",33),e.EFF(77,"C\xe9dula de Extranjer\xeda (CE)"),e.k0s()()(),e.j41(78,"div",15)(79,"label",34),e.EFF(80,"N\xfamero de Documento"),e.k0s(),e.j41(81,"input",35),e.mxI("ngModelChange",function(a){return e.DH7(o.documentNumber,a)||(o.documentNumber=a),a}),e.k0s()(),e.j41(82,"div",15)(83,"label",36),e.EFF(84,"Correo Electr\xf3nico"),e.k0s(),e.j41(85,"input",37),e.mxI("ngModelChange",function(a){return e.DH7(o.email,a)||(o.email=a),a}),e.k0s()(),e.j41(86,"div",15)(87,"label",38),e.EFF(88,"Descripcion De Pago"),e.k0s(),e.j41(89,"input",39),e.mxI("ngModelChange",function(a){return e.DH7(o.descripcion,a)||(o.descripcion=a),a}),e.k0s()(),e.j41(90,"div",7)(91,"input",40),e.mxI("ngModelChange",function(a){return e.DH7(o.termsAccepted,a)||(o.termsAccepted=a),a}),e.k0s(),e.j41(92,"label",41),e.EFF(93," Acepto los "),e.j41(94,"a",42),e.EFF(95,"t\xe9rminos y condiciones"),e.k0s()()(),e.nrm(96,"br"),e.k0s(),e.j41(97,"div",43)(98,"button",44),e.bIt("click",function(){return o.submitPseForm()}),e.EFF(99,"Confirmar Pago"),e.k0s()()()()()()),2&s&&(e.R7$(15),e.Y8G("ngIf",!0===o.completePse),e.R7$(8),e.Y8G("ngIf",!(null==o.paymentChoiced||!o.paymentChoiced.method)),e.R7$(),e.Y8G("ngIf",!(null==o.paymentChoiced||!o.paymentChoiced.method)&&"PSE"==(null==o.paymentChoiced?null:o.paymentChoiced.method)),e.R7$(),e.Y8G("ngIf",!(null!=o.paymentChoiced&&o.paymentChoiced.method)),e.R7$(5),e.Y8G("ngIf",o.fecha),e.R7$(),e.Y8G("ngIf",o.cliente),e.R7$(),e.Y8G("ngIf",o.codigo),e.R7$(4),e.SpI(" ",o.idTransaction," "),e.R7$(),e.Y8G("ngIf",o.totalDescountPPS>0),e.R7$(2),e.Y8G("ngIf",!o.editValue||!o.ableVariation),e.R7$(2),e.Y8G("ngIf",o.totalAmount!=o.maxTotalAmount||0==o.totalDescountPPS),e.R7$(),e.Y8G("ngIf",o.totalAmount==o.maxTotalAmount&&o.totalDescountPPS>0),e.R7$(),e.Y8G("ngIf",!o.editValue&&o.ableVariation),e.R7$(),e.Y8G("ngIf",o.editValue&&o.ableVariation),e.R7$(),e.Y8G("ngIf",o.editValue&&o.ableVariation),e.R7$(),e.Y8G("ngIf",o.ableVariation),e.R7$(7),e.Y8G("ngIf","PSE"==(null==o.paymentChoiced?null:o.paymentChoiced.method)),e.R7$(4),e.R50("ngModel",o.clientType),e.R7$(8),e.R50("ngModel",o.fullName),e.R7$(4),e.R50("ngModel",o.phoneNumber),e.R7$(4),e.R50("ngModel",o.documentType),e.R7$(8),e.R50("ngModel",o.documentNumber),e.R7$(4),e.R50("ngModel",o.email),e.R7$(4),e.R50("ngModel",o.descripcion),e.R7$(2),e.R50("ngModel",o.termsAccepted),e.R7$(3),e.Y8G("href",o.permalink,e.B4B))},dependencies:[E.MD,E.YU,E.Sq,E.bT,E.QX,h.YN,h.qT,h.xH,h.y7,h.me,h.Q0,h.Zm,h.wz,h.BC,h.cb,h.VZ,h.zX,h.vS,h.cV]})}}return n})()}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.