PageSourceSearch

https://guadalupe-santander.gov.co/chunk-TBMCB2BZ.js

js guadalupe-santander.gov.co collected 2026-09-25 11:56:54 UTC 8,641 bytes, 1 lines download raw bytes

1import{a as z}from"./chunk-SPSMUDOJ.js";import{a as B}from"./chunk-C7WKRNUX.js";import"./chunk-BAGWPQZV.js";import{A as W,B as A,D as j,c as q,g as F,h as N,j as L,l as P,m as R,x as H}from"./chunk-TZ2MW36L.js";import{a as M}from"./chunk-WZBVDNS6.js";import{a as T}from"./chunk-3KOQRKYT.js";import"./chunk-MTKRVMUJ.js";import"./chunk-SHTGYNA2.js";import{i as V,u as I}from"./chunk-4YERUHPX.js";import{Db as x,Ib as h,Jb as c,Pa as D,Sb as _,Tb as l,Xa as o,Ya as g,Yb as S,Zb as E,_b as y,ac as k,cc as b,da as w,ib as p,mb as m,na as u,oa as v,sb as s,xb as n,yb as i,zb as f}from"./chunk-DQGQ5ICO.js";import"./chunk-4IDNTCH7.js";var G=t=>({active:t});function J(t,r){t&1&&(n(0,"span"),l(1,"Debes ingresar el n\xFAmero de documento"),i())}function K(t,r){t&1&&(n(0,"span"),l(1,"Debes ingresar solo n\xFAmeros sin espacios"),i())}function Q(t,r){if(t&1&&(n(0,"div",14),p(1,J,2,0,"span")(2,K,2,0,"span"),i()),t&2){c();let e=_(4);o(),s(!(e==null||e.errors==null)&&e.errors.required?1:-1),o(),s(!(e==null||e.errors==null)&&e.errors.pattern?2:-1)}}function U(t,r){if(t&1){let e=x();n(0,"div")(1,"label",19),l(2," Ingresa el n\xFAmero de documento del interesado "),i(),n(3,"input",20,1),y("ngModelChange",function(d){u(e);let C=c(2);return E(C.model.identification,d)||(C.model.identification=d),v(d)}),i(),p(5,Q,3,2,"div",14),i()}if(t&2){let e=_(4);c();let a=_(1),d=c();o(3),S("ngModel",d.model.identification),o(2),s(e.invalid&&a.submitted?5:-1)}}function X(t,r){t&1&&(n(0,"span"),l(1,"Debes ingresar la c\xE9dula catastral del predio"),i())}function Y(t,r){if(t&1&&(n(0,"div",14),p(1,X,2,0,"span"),i()),t&2){c();let e=_(4);o(),s(!(e==null||e.errors==null)&&e.errors.required?1:-1)}}function Z(t,r){if(t&1){let e=x();n(0,"div")(1,"label"),l(2," Ingresa la c\xE9dula catastral del predio aqu\xED "),i(),n(3,"input",21,2),y("ngModelChange",function(d){u(e);let C=c(2);return E(C.model.key,d)||(C.model.key=d),v(d)}),i(),p(5,Y,2,1,"div",14),i()}if(t&2){let e=_(4);c();let a=_(1),d=c();o(3),S("ngModel",d.model.key),o(2),s(e.invalid&&a.submitted?5:-1)}}function $(t,r){t&1&&(n(0,"div",14)(1,"span"),l(2,"Debes ingresar el Captcha"),i()())}function ee(t,r){if(t&1&&f(0,"div",15),t&2){let e=c(2);m("textContent",e.error)}}function te(t,r){if(t&1){let e=x();n(0,"form",10,0),h("ngSubmit",function(){u(e);let d=c();return v(d.send())}),n(2,"div",11)(3,"h2",12),l(4," Datos de la solicitud "),i(),p(5,U,6,2,"div")(6,Z,6,2,"div"),n(7,"div",13),p(8,$,3,0,"div",14),i(),p(9,ee,1,1,"div",15),n(10,"div",16)(11,"button",17),h("click",function(){u(e);let d=c();return v(d.clear())}),n(12,"span"),l(13,"LIMPIAR"),i()(),n(14,"button",18),l(15,"ENVIAR"),i()()()()}if(t&2){let e=_(1),a=c();o(5),s(a.certificateID>3?5:-1),o(),s(a.certificateID<=3?6:-1),o(2),s(e.submitted&&a.captchaValid?8:-1),o(),s(a.error?9:-1),o(2),m("disabled",a.isLoading),o(3),m("disabled",e.invalid||a.isLoading)}}function ie(t,r){if(t&1&&(n(0,"div",25)(1,"b"),l(2,"No de identificaci\xF3n del interesado"),i(),f(3,"div",28),i()),t&2){let e=c(3);o(3),m("textContent",e.model.identification)}}function ne(t,r){if(t&1&&(n(0,"div",25)(1,"b"),l(2,"C\xE9dula catastral del predio"),i(),f(3,"div",28),i()),t&2){let e=c(3);o(3),m("textContent",e.model.key)}}function ae(t,r){if(t&1&&(n(0,"div",11)(1,"div",22)(2,"div",23),l(3," ! "),i(),n(4,"span"),l(5,"Pago requerido"),i()(),n(6,"div",12),l(7," Resumen de la solicitud "),i(),n(8,"div",24),p(9,ie,4,1,"div",25)(10,ne,4,1,"div",25),i(),f(11,"br")(12,"p",26)(13,"div",27),i()),t&2){let e=c(2);o(9),s(e.certificateID>3?9:-1),o(),s(e.certificateID<=3?10:-1),o(2),m("innerHTML",e.response.information,D),o(),m("textContent",e.response.time)}}function oe(t,r){if(t&1&&(n(0,"div",25)(1,"b"),l(2,"C\xE9dula catastral del predio"),i(),f(3,"div",28),i()),t&2){let e=c(3);o(3),m("textContent",e.model.key)}}function re(t,r){if(t&1&&(n(0,"div",25)(1,"b"),l(2,"No de identificaci\xF3n del interesado"),i(),f(3,"div",28),i()),t&2){let e=c(3);o(3),m("textContent",e.model.identification)}}function le(t,r){if(t&1){let e=x();n(0,"div",11)(1,"div",29)(2,"div",30),f(3,"i",31),i(),n(4,"span"),l(5," Solicitud registrada exitosamente "),i(),n(6,"i",32),h("click",function(){u(e);let d=c(2);
1return v(d.back())}),i()(),n(7,"div",12),l(8," Resumen de la solicitud "),i(),n(9,"div",24),p(10,oe,4,1,"div",25)(11,re,4,1,"div",25),i(),n(12,"a",33),h("click",function(d){u(e);let C=c(2);return v(C.getPdf(d))}),l(13," Descarga tu certificado aqu\xED "),i()()}if(t&2){let e=c(2);o(10),s(e.certificateID<=3?10:-1),o(),s(e.certificateID>3?11:-1)}}function ce(t,r){if(t&1&&(n(0,"div"),p(1,ae,14,4,"div",11)(2,le,14,2,"div",11),i()),t&2){let e=c();o(),s(e.response.requiredPay?1:-1),o(),s(e.response.requiredPay?-1:2)}}var O=class t{constructor(r,e,a){this.certificateService=r;this.helperService=e;this.eventEmitterService=a}model={};title=null;captchaValid=!1;certificateID=0;response;error;key;form;isLoading=!1;ngOnInit(){this.activate()}activate(){this.certificateID=this.getCertificateId(),this.certificateID>0||(window.location.pathname="/")}getCertificateId(){var r=window.location.pathname.split("/").pop();switch(r){case"certificado-paz-y-salvo":return this.title="Descarga de certificado de paz y salvo impuesto predial",1;case"uso-suelo":return this.title="Descarga de certificado de uso de suelo",2;case"estratificacion":return this.title="Descarga de certificado de estratificaci\xF3n",3;case"residencia":return this.title="Descarga de certificado de residencia",4;case"laboral":return this.title="Descarga de certificado laboral",5;default:return 0}}back(){this.model={},this.response=null,this.error=null,this.key=null}send(){this.isLoading=!0;var r=!0,e=window.sessionStorage.getItem("keyValueCaptcha");this.captchaValid=!1,window.sessionStorage.getItem("visibleCaptcha")==="true"&&(this.captchaValid=!1,e=hcaptcha.getResponse(window.sessionStorage.getItem("captchaWidgetID")),e?.length===0&&(this.captchaValid=!0,r=!1)),r&&(this.model.captcha=e,this.form.$valid&&!this.form.isBusy&&(this.model.certificateID=this.certificateID,this.certificateService.check(this.model).subscribe({next:a=>{a.isSuccesful?(this.error=null,this.response=a,this.key=a.key.replace(/-/gi,"")):(this.error=a.message,this.eventEmitterService.reloadCaptchaEvent.emit())},error:a=>{this.eventEmitterService.reloadCaptchaEvent.emit(),a.status===404||a.status===400&&this.helperService.handlerException(a)}}),this.form.submitted=!0)),this.isLoading=!1}getPdf(r){r.preventDefault(),window.location.href="/api/v1/certificates/"+this.model.certificateID+"/export/"+this.key}clear(){this.form.submitted=!1,this.model={},this.eventEmitterService.reloadCaptchaEvent.emit()}static \u0275fac=function(e){return new(e||t)(g(B),g(M),g(T))};static \u0275cmp=w({type:t,selectors:[["app-certificates"]],standalone:!0,features:[k],decls:16,vars:10,consts:[["form","ngForm"],["identification","ngModel"],["key","ngModel"],[1,"content_all"],[3,"seedValue"],[1,"section-tit",3,"textContent"],[1,"certificate-crumb"],[3,"ngClass"],[1,"certificate-bg"],["name","form","novalidate",""],["name","form","novalidate","",3,"ngSubmit"],[1,"certificate-wData"],[1,"sub-title"],[1,"certificate-wCaptcha"],[1,"error"],[1,"error",2,"margin-bottom","15px",3,"textContent"],[1,"createCon-colBtns"],["type","button",1,"btn-progNew2",3,"click","disabled"],["type","submit",1,"btn-main","btn-main--publicar",3,"disabled"],[1,"label"],["maxlength","12","required","","aria-required","true","aria-required","true","autocomplete","off","nosune-chars","","data-chars","numbers","pattern","\\d+","placeholder","Ej. 79000000","type","text","name","identification",3,"ngModelChange","ngModel"],["required","","aria-required","true","autocomplete","off","placeholder","Ej. CMD555555555","type","text","maxlength","50","name","key",3,"ngModelChange","ngModel"],[1,"certificate-failRow"],[1,"certificate-wFailIcon"],[1,"certificate-wColData"],[1,"certificate-colData"],[3,"innerHTML"],[1,"error",3,"textContent"],[3,"textContent"],[1,"certificate-sucsessRow"],[1,"certificate-wCheck"],[1,"icon-check"],[1,"icon-icon-11",3,"click"],[1,"certificate__linkDownload",3,"click"]],template:function(e,a){e&1&&(n(0,"section",3),f(1,"app-seed",4)(2,"h2",5),n(3,"ul",6)(4,"li",7)(5,"span"),l(6,"1"),i(),l(7," Hago mi solicitud "),i(),n(8,"li",7)(9,"span"),l(10,"2"),i(),l(11," Respuesta "),i()()(),n(12,"div",8)(13,"section",3),p(14,te,16,6,"form",9)(15,ce,3,2,"div"),i()()),e&2&&(o(),m("seedValue",a.title),o(),m("textContent",a.title),o(2),m("ngClass",b(6,G,!a.response)),o(4),m("ngClass",b(8,G,a.response)),o(6),s(a.response?-1:14),o(),s(a.response?15:-1))},dependencies:[I,V,j,R,q,F,N,H,W,A,P,L,z]})};export{O as CertificatesComponent};

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.