PageSourceSearch

https://cndh.org.mx/chunk-FSO4MQBD.js

js cndh.org.mx collected 2026-10-01 10:34:18 UTC 7,433 bytes, 1 lines download raw bytes

1import{a as y}from"./chunk-TKTFYKYV.js";import{c as v}from"./chunk-7VRQYDVD.js";import"./chunk-U45ATDHY.js";import"./chunk-F433XHLM.js";import"./chunk-FS3PSYT7.js";import"./chunk-TA2CSN2V.js";import"./chunk-RUG46FPK.js";import{a as b}from"./chunk-PQ5X3SQQ.js";import"./chunk-3MVB6JRC.js";import"./chunk-QG6NJIYQ.js";import"./chunk-5TKQBLQ2.js";import{C,m as S,v as P}from"./chunk-3YNU3SIA.js";import{$a as r,Ab as c,J as u,Qa as g,eb as f,k as d,xb as h,y as l,yb as a,zb as s}from"./chunk-SUDHBEPZ.js";import{a as m,b as p}from"./chunk-EQDQRRRY.js";var I=class o{constructor(e,i){this.siteSectionService=e;this.router=i}dynamicSections=[];isLoading=!0;idPagina="ComunicadosPrensa";pruebas=!1;ngOnInit(){this.loadDynamicSections()}loadDynamicSections(){if(this.isLoading=!0,this.pruebas){this.injectIdPagina(this.dynamicSections),this.isLoading=!1;return}this.siteSectionService.getSectionContent(this.idPagina).pipe(u(3),l(e=>(console.error("\u274C Error cr\xEDtico en Prensa tras 3 intentos. Redirigiendo a 404.",e),this.isLoading=!1,this.router.navigate(["/404"]),d(()=>e)))).subscribe({next:e=>{!e||e.length===0?(console.warn("\u26A0\uFE0F API respondi\xF3 vac\xEDo en Prensa. Redirigiendo a 404."),this.router.navigate(["/404"])):(this.dynamicSections=e,this.injectIdPagina(this.dynamicSections)),this.isLoading=!1}})}injectIdPagina(e){e.forEach(i=>{let t=i.props?.id||this.idPagina;i.components?.forEach(n=>{n.type==="SiteListCardsContentVariableComponent"&&(n.props=p(m({},n.props),{idPagina:t}))})})}aplicarFiltroPorIndice(e){e.startsWith("#")?document.getElementById(e.substring(1))?.scrollIntoView({behavior:"smooth"}):this.router.navigateByUrl(e)}static \u0275fac=function(i){return new(i||o)(r(y),r(C))};static \u0275cmp=f({type:o,selectors:[["app-site-comunicados-prensa"]],decls:4,vars:1,consts:[[1,"col-12","breadcrumbsGlobal"],[1,"contComunicadosPrensaPrincipal"],[3,"sections"]],template:function(i,t){i&1&&(a(0,"div",0),c(1,"app-site-breadcrumb-variable"),s(),a(2,"div",1),c(3,"app-dynamic-renderer",2),s()),i&2&&(g(3),h("sections",t.dynamicSections))},dependencies:[S,P,v,b],styles:[".indice-sidebar[_ngcontent-%COMP%]{position:sticky;top:150px;align-self:start;max-height:calc(100vh - 150px);overflow-y:auto}.contComunicadosPrensaPrincipal[_ngcontent-%COMP%]{margin:50px 20px 20px}@media (min-width: 768px){.contComunicadosPrensaPrincipal[_ngcontent-%COMP%]{margin-top:50px;margin-left:80px;margin-right:80px}}"]})};var _=["class","component"],x=class o{constructor(e,i){this.siteSectionService=e;this.router=i}dynamicSections=[];isLoading=!0;idPagina="Pronunciamientos";pruebas=!1;ngOnInit(){this.loadDynamicSections()}loadDynamicSections(){if(this.isLoading=!0,this.pruebas){console.log("\u2699\uFE0F [Pronunciamientos] Cargando fallback (modo pruebas)..."),this.injectIdPagina(this.dynamicSections),this.isLoading=!1;return}this.siteSectionService.getSectionContent(this.idPagina).pipe(u(3),l(e=>(console.error("\u274C Error cr\xEDtico en Pronunciamientos tras 3 intentos. Redirigiendo a 404.",e),this.isLoading=!1,this.router.navigate(["/404"]),d(()=>e)))).subscribe({next:e=>{!e||Array.isArray(e)&&e.length===0?(console.warn("\u26A0\uFE0F API respondi\xF3 vac\xEDo en Pronunciamientos. Redirigiendo a 404."),this.router.navigate(["/404"])):(this.dynamicSections=e,this.injectIdPagina(this.dynamicSections)),this.isLoading=!1},error:()=>{this.isLoading=!1}})}injectIdPagina(e){e.forEach(i=>{let t=i.props?.id||this.idPagina;i.components?.forEach(n=>{n.type==="SiteListCardsContentVariableComponent"&&(n.props=p(m({},n.props),{idPagina:t}))})})}aplicarFiltroPorIndice(e){e.startsWith("#")?document.getElementById(e.substring(1))?.scrollIntoView({behavior:"smooth"}):this.router.navigateByUrl(e)}static \u0275fac=function(i){return new(i||o)(r(y),r(C))};static \u0275cmp=f({type:o,selectors:[["app-site-pronunciamientos-page-component",8,"component"]],attrs:_,decls:4,vars:1,consts:[[1,"col-12","breadcrumbsGlobal"],[1,"contDifusionInformePrincipal"],[1,"d-flex","flex-wrap","col-12","justify-content-center",3,"sections"]],template:function(i,t){i&1&&(a(0,"div",0),c(1,"app-site-breadcrumb-variable"),s(),a(2,"div",1),c(3,"app-dynamic-renderer",2),s()),i&2&&(g(3),h("sections",t.dynamicSections))},dependencies:[S,P,v,b],styles:[".indice-sidebar[_ngcontent-%COMP%]{position:sticky;top:150px;align-self:start;max-height:calc(100vh - 150px);overflow-y:auto}indice-sidebar[_ngcontent-%COMP%]{position:sticky;top:150px;align-self:start;max-height:calc(100vh - 150px);overflow-y:auto}.h5[_ngcontent-%COMP%]   .card-subtitle[_ngcontent-%COMP%]{display:block}
1.card-title[_ngcontent-%COMP%]{font-weight:700}.contDifusionInformePrincipal[_ngcontent-%COMP%]{margin:50px 20px 20px}.contDifusionInformePrincipal[_ngcontent-%COMP%]   .mi-clase[_ngcontent-%COMP%]{max-width:1000px}.accordion-body[_ngcontent-%COMP%]{display:flex}@media (min-width: 768px){.contDifusionInformePrincipal[_ngcontent-%COMP%]{margin-top:50px;margin-left:80px;margin-right:80px}}@media (min-width: 1000px) and (max-width: 1250px){.h5[_ngcontent-%COMP%]   .card-subtitle[_ngcontent-%COMP%]{display:none}}"]})};var M=class o{constructor(e,i){this.siteSectionService=e;this.router=i}dynamicSections=[];isLoading=!0;idPagina="Posicionamientos";pruebas=!1;ngOnInit(){this.loadDynamicSections()}loadDynamicSections(){if(this.isLoading=!0,this.pruebas){this.injectIdPagina(this.dynamicSections),this.isLoading=!1;return}this.siteSectionService.getSectionContent(this.idPagina).pipe(u(3),l(e=>(console.error("\u274C Error cr\xEDtico en Comunicados tras 3 intentos. Redirigiendo a 404.",e),this.isLoading=!1,this.router.navigate(["/404"]),d(()=>e)))).subscribe({next:e=>{!e||e.length===0?(console.warn("\u26A0\uFE0F API respondi\xF3 vac\xEDo en Comunicados. Redirigiendo a 404."),this.router.navigate(["/404"])):(this.dynamicSections=e,this.injectIdPagina(this.dynamicSections)),this.isLoading=!1}})}injectIdPagina(e){e.forEach(i=>{let t=i.props?.id||this.idPagina;i.components?.forEach(n=>{n.type==="SiteListCardsContentVariableComponent"&&(n.props=p(m({},n.props),{idPagina:t}))})})}aplicarFiltroPorIndice(e){e.startsWith("#")?document.getElementById(e.substring(1))?.scrollIntoView({behavior:"smooth"}):this.router.navigateByUrl(e)}static \u0275fac=function(i){return new(i||o)(r(y),r(C))};static \u0275cmp=f({type:o,selectors:[["app-site-posicionamientos"]],decls:4,vars:1,consts:[[1,"col-12","breadcrumbsGlobal"],[1,"contPosicionamientosPrincipal"],[3,"sections"]],template:function(i,t){i&1&&(a(0,"div",0),c(1,"app-site-breadcrumb-variable"),s(),a(2,"div",1),c(3,"app-dynamic-renderer",2),s()),i&2&&(g(3),h("sections",t.dynamicSections))},dependencies:[S,P,v,b],styles:[".indice-sidebar[_ngcontent-%COMP%]{position:sticky;top:150px;align-self:start;max-height:calc(100vh - 150px);overflow-y:auto}.contPosicionamientosPrincipal[_ngcontent-%COMP%]{margin:50px 20px 20px}@media (min-width: 768px){.contPosicionamientosPrincipal[_ngcontent-%COMP%]{margin-top:50px;margin-left:80px;margin-right:80px}}"]})};var oe=[{path:"",component:I,data:{breadcrumb:"Comunicados de Prensa"}},{path:"prensa",component:I,data:{breadcrumb:"Prensa"}},{path:"acuerdos",loadChildren:()=>import("./chunk-FFOJVDWI.js").then(o=>o.SITE_ACUERDOS_PAGE_ROUTES),data:{breadcrumb:"Acuerdos"}},{path:"pronunciamientos",component:x,data:{breadcrumb:"Pronunciamientos"}},{path:"posicionamientos",component:M,data:{breadcrumb:"Posicionamientos"}}];export{oe as SITE_COMUNICADOS_ROUTES};

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.