PageSourceSearch

https://buenosaires.gob.ar/inicio/41.06e70575fee42235.js

js buenosaires.gob.ar collected 2026-10-01 08:38:32 UTC 13,992 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkportal_ciudad=self.webpackChunkportal_ciudad||[]).push([[41],{6041(K,g,e){e.d(g,{PortalEmpleoCapacitacionesComponent:()=>S});var d=e(2615),C=e(2395),m=e(8132),v=e(345),P=e(7468),l=e(7673),p=e(9437),M=e(980),u=e(3997),O=e(6824),h=e(2588),f=e(7463),E=e(5925),_=e(6753),t=e(3664);const b=(o,i)=>i.id;function y(o,i){1&o&&(t.j41(0,"div",8)(1,"div",14)(2,"span",15),t.EFF(3,"Cargando..."),t.k0s()()())}function x(o,i){if(1&o&&(t.j41(0,"div",9)(1,"span",16),t.EFF(2,"No se pudieron cargar las actividades."),t.k0s(),t.EFF(3),t.k0s()),2&o){const a=t.XpG();t.R7$(3),t.SpI(" ",a.error()," ")}}function F(o,i){1&o&&(t.j41(0,"p",10),t.EFF(1," No hay actividades disponibles en esta categor\xeda. "),t.k0s())}function R(o,i){if(1&o&&(t.j41(0,"a",24),t.EFF(1),t.j41(2,"span",27),t.EFF(3),t.k0s()()),2&o){const a=t.XpG(2).$implicit,n=t.XpG(2);t.Y8G("href",a.link,t.B4B),t.BMQ("aria-describedby",a.descripcion?"actividad-desc-"+a.id:null),t.R7$(),t.JRh(a.nombre),t.R7$(2),t.SpI(" (se abre en una ventana nueva), actividad de ",n.pageTitle())}}function T(o,i){if(1&o&&(t.j41(0,"a",25),t.EFF(1),t.j41(2,"span",27),t.EFF(3),t.k0s()()),2&o){const a=t.XpG(2).$implicit,n=t.XpG(2);t.Y8G("routerLink",i),t.BMQ("aria-describedby",a.descripcion?"actividad-desc-"+a.id:null),t.R7$(),t.JRh(a.nombre),t.R7$(2),t.SpI(" , actividad de ",n.pageTitle())}}function I(o,i){if(1&o&&t.EFF(0),2&o){const a=t.XpG(2).$implicit;t.SpI(" ",a.nombre," ")}}function D(o,i){if(1&o&&(t.j41(0,"p",26),t.EFF(1),t.k0s()),2&o){const a=t.XpG(2).$implicit;t.Y8G("id","actividad-desc-"+a.id),t.R7$(),t.SpI(" ",a.descripcion," ")}}function $(o,i){if(1&o&&(t.j41(0,"article",19),t.nrm(1,"img",21),t.j41(2,"div",22)(3,"h3",23),t.nVh(4,R,4,4,"a",24)(5,T,4,4,"a",25)(6,I,1,1),t.k0s(),t.nVh(7,D,2,2,"p",26),t.k0s()()),2&o){let a;const n=t.XpG().$implicit,c=t.XpG(2);t.BMQ("aria-labelledby","actividad-title-"+n.id)("aria-describedby",n.descripcion?"actividad-desc-"+n.id:null),t.R7$(),t.Y8G("src",n.imagen,t.B4B)("alt",n.nombre),t.R7$(2),t.Y8G("id","actividad-title-"+n.id),t.R7$(),t.vxM(c.actividadEsEnlaceExterno(n)?4:(a=c.actividadRouterLink(n))?5:6,a),t.R7$(3),t.vxM(n.descripcion?7:-1)}}function k(o,i){if(1&o&&(t.j41(0,"a",24),t.EFF(1),t.j41(2,"span",27),t.EFF(3),t.k0s()()),2&o){const a=t.XpG(2).$implicit,n=t.XpG(2);t.Y8G("href",a.link,t.B4B),t.BMQ("aria-describedby",a.descripcion?"actividad-desc-"+a.id:null),t.R7$(),t.JRh(a.nombre),t.R7$(2),t.SpI(" (se abre en una ventana nueva), actividad de ",n.pageTitle())}}function j(o,i){if(1&o&&(t.j41(0,"a",25),t.EFF(1),t.j41(2,"span",27),t.EFF(3),t.k0s()()),2&o){const a=t.XpG(2).$implicit,n=t.XpG(2);t.Y8G("routerLink",i),t.BMQ("aria-describedby",a.descripcion?"actividad-desc-"+a.id:null),t.R7$(),t.JRh(a.nombre),t.R7$(2),t.SpI(" , actividad de ",n.pageTitle())}}function A(o,i){if(1&o&&t.EFF(0),2&o){const a=t.XpG(2).$implicit;t.SpI(" ",a.nombre," ")}}function B(o,i){if(1&o&&(t.j41(0,"p",26),t.EFF(1),t.k0s()),2&o){const a=t.XpG(2).$implicit;t.Y8G("id","actividad-desc-"+a.id),t.R7$(),t.SpI(" ",a.descripcion," ")}}function G(o,i){if(1&o&&(t.j41(0,"article",20)(1,"div",22)(2,"h3",23),t.nVh(3,k,4,4,"a",24)(4,j,4,4,"a",25)(5,A,1,1),t.k0s(),t.nVh(6,B,2,2,"p",26),t.k0s()()),2&o){let a;const n=t.XpG().$implicit,c=t.XpG(2);t.BMQ("aria-labelledby","actividad-title-"+n.id)("aria-describedby",n.descripcion?"actividad-desc-"+n.id:null),t.R7$(2),t.Y8G("id","actividad-title-"+n.id),t.R7$(),t.vxM(c.actividadEsEnlaceExterno(n)?3:(a=c.actividadRouterLink(n))?4:5,a),t.R7$(3),t.vxM(n.descripcion?6:-1)}}function L(o,i){if(1&o&&(t.j41(0,"div",18),t.nVh(1,$,8,7,"article",19)(2,G,7,5,"article",20),t.k0s()),2&o){const a=i.$implicit,n=t.XpG(2);t.R7$(),t.vxM(n.actividadTieneImagen(a.imagen)?1:2)}}function X(o,i){if(1&o&&(t.j41(0,"div",11)(1,"div",17),t.Z7z(2,L,3,1,"div",18,b),t.k0s()()),2&o){const a=t.XpG();t.R7$(2),t.Dyx(a.actividades())}}let S=(()=>{class o{constructor(){this.route=(0,d.WQX)(C.nX),this.discapacidadService=(0,d.WQX)(f.M),this.titleService=(0,d.WQX)(v.hE),this.store=(0,d.WQX)(h.n),this.pageTitle=(0,d.vPA)("Empleo y capacitaciones"),this.categoriaId=(0,d.vPA)(null),this.loading=(0,d.vPA)(!0),this.error=(0,d.vPA)(null),this.actividades=(0,d.vPA)([]),this.actividadTieneImagen=E.Ol}ngOnInit(){this.store.setRoute("portal-accesible"),this.resolveCategoriaAndLoad()}actividadRouterLink(a){const n=this.categoriaId();return n&&"capacitaciones"===a.tipo?(0,_.jI)(n,a.id):null}actividadEsEnlaceExterno(a){return"enlace"===a.tipo&&!!a.link?.trim()}resolveCategoriaAndLoad(){const{paramMap:a,data:n}
1=this.route.snapshot;if(a.get("id"))return this.categoriaId.set(a.get("id")),void this.loadActividades(a.get("id"));this.discapacidadService.getCategorias().pipe((0,p.W)(()=>(0,l.of)([]))).subscribe(c=>{const r=(0,_.dV)(a,n,c);if(!r)return this.error.set("Categor\xeda no v\xe1lida."),void this.loading.set(!1);this.categoriaId.set(r),this.loadActividades(r)})}loadActividades(a){this.loading.set(!0),this.error.set(null);let n=!1;(0,P.p)({actividades:this.discapacidadService.getActividadesPorCategoria(a).pipe((0,p.W)(()=>(n=!0,(0,l.of)([])))),categorias:this.discapacidadService.getCategorias().pipe((0,p.W)(()=>(0,l.of)([])))}).pipe((0,M.j)(()=>this.loading.set(!1))).subscribe(({actividades:c,categorias:r})=>{if(n)return void this.error.set("No se pudieron cargar las actividades. Intent\xe1 nuevamente m\xe1s tarde.");const s=r.find(U=>String(U.id)===a);s?.nombre&&this.pageTitle.set(s.nombre),this.actividades.set(c),this.titleService.setTitle(`${this.pageTitle()} | Portal Ciudadano | Buenos Aires`),queueMicrotask(()=>{document.getElementById("portal-page-title")?.focus({preventScroll:!0})})})}static{this.\u0275fac=function(n){return new(n||o)}}static{this.\u0275cmp=t.VBU({type:o,selectors:[["app-portal-empleo-capacitaciones"]],decls:18,vars:4,consts:[[1,"portal-discapacidad","portal-font-archivo"],["role","region","aria-labelledby","portal-page-title",1,"portal-discapacidad__hero","bg-neutral"],[1,"container","py-4","py-md-5"],["id","portal-page-title","tabindex","-1",1,"portal-discapacidad__titulo","portal-font-archivo","mb-0"],[1,"portal-discapacidad__content"],[1,"container"],[1,"my-5"],[1,"portal-font-archivo","fw-bold","mb-4"],[1,"d-flex","justify-content-center"],["role","alert","aria-labelledby","actividades-error-titulo",1,"alert","alert-warning","portal-font-archivo"],["role","status","aria-live","polite",1,"portal-font-archivo","mb-0"],[1,"row","portal-discapacidad__actividades"],[1,"portal-discapacidad__seccion","portal-discapacidad__seccion--contacto","my-5"],["tituloId","empleo-contacto-titulo",3,"mostrarCentroIntegracionLaboral"],["role","status","aria-live","polite",1,"spinner-border","text-dark","text-center","my-5"],[1,"sr-only"],["id","actividades-error-titulo",1,"visually-hidden"],[1,"card-items-3"],[1,"col"],[1,"card","h-100"],[1,"card","card-horizontal"],["loading","lazy",1,"card-img",3,"src","alt"],[1,"card-body"],[1,"card-title","portal-font-archivo",3,"id"],["target","_blank","rel","noopener noreferrer",1,"card-title-link","portal-font-archivo",3,"href"],[1,"card-title-link","portal-font-archivo",3,"routerLink"],[1,"card-text","portal-font-archivo",3,"id"],[1,"visually-hidden"]],template:function(n,c){1&n&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"h1",3),t.EFF(4),t.k0s()()(),t.j41(5,"div",4)(6,"div",5)(7,"div",6),t.nrm(8,"app-enlace-volver-atras"),t.k0s(),t.j41(9,"h4",7),t.EFF(10,"Conoc\xe9 las actividades"),t.k0s(),t.nVh(11,y,4,0,"div",8)(12,x,4,1,"div",9)(13,F,2,0,"p",10)(14,X,4,0,"div",11),t.k0s(),t.j41(15,"div",12)(16,"div",5),t.nrm(17,"app-seccion-contacto",13),t.k0s()()()()),2&n&&(t.R7$(4),t.SpI(" ",c.pageTitle()," "),t.R7$(),t.BMQ("aria-busy",c.loading()?"true":null),t.R7$(6),t.vxM(c.loading()?11:c.error()?12:0===c.actividades().length?13:14),t.R7$(6),t.Y8G("mostrarCentroIntegracionLaboral",!0))},dependencies:[u.x,O.L,m.Wk],styles:['@import"https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,700;1,400;1,700&display=swap";.portal-layout[_ngcontent-%COMP%]   .o-header--portal[_ngcontent-%COMP%]{background-color:#fff;border-bottom:1px solid #e6e6e6;box-shadow:none}.portal-layout[_ngcontent-%COMP%]   .portal-header-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;min-height:4rem;padding-top:.75rem;padding-bottom:.75rem}.portal-layout[_ngcontent-%COMP%]   .portal-header-actions[_ngcontent-%COMP%]{margin-left:auto}.portal-layout[_ngcontent-%COMP%]   .portal-header-actions[_ngcontent-%COMP%]   .btn-outline-tertiary[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:.5rem}.portal-layout[_ngcontent-%COMP%]   .portal-header-user-btn[_ngcontent-%COMP%]   .btn-text[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:14rem}.portal-layout[_ngcontent-%COMP%]   .portal-discapacidad__titulo[_ngcontent-%COMP%], .portal-layout[_ngcontent-%COMP%]   .portal-discapacidad__seccion-titulo[_ngcontent-%COMP%], .portal-layout[_ngcontent-%COMP%]   .portal-discapacidad[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%], .portal-layout[_ngcontent-%COMP%]   .portal-discapacidad[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%], .portal-layout[_ngcontent-%COMP%]   .portal-discapacidad[_ngcontent-%COMP%]   .card-title-link[_ngcontent-%COMP%]{color:#101e37;font-family:Archivo,Nunito,Open Sans,sans-serif}.portal-layout[_ngcontent-%COMP%]   .portal-discapacidad__titulo[_ngcontent-%COMP%]:focus{outline:none}.portal-layout[_ngcontent-%COMP%]   .portal-discapacidad__hero.bg-neutral[_ngcontent-%COMP%]{background-color:#f3f6f9!important}.portal-layout[_ngcontent-%COMP%]   .portal-discapacidad__mapa.bg-light[_ngcontent-%COMP%]{background-color:var(--button-light-bg-default, #f3f6f9)!important}.portal-layout[_ngcontent-%COMP%]   .portal-font-archivo[_ngcontent-%COMP%]{font-family:Archivo,Nunito,Open Sans,sans-serif}.portal-layout[_ngcontent-%COMP%]   .seccion-contacto__titulo[_ngcontent-%COMP%]{font-weight:400}.portal-layout[_ngcontent-%COMP%]   .a-volver[_ngcontent-%COMP%]{color:#007bc7;display:flex;align-items:center;gap:5px}.portal-layout[_ngcontent-%COMP%]   .a-volver[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .portal-layout[_ngcontent-%COMP%]   .a-volver[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{text-decoration:underline!important}.portal-layout[_ngcontent-%COMP%]   .a-volver[_ngcontent-%COMP%]:hover{color:#035b92!important}.portal-layout[_ngcontent-%COMP%]   .btn-cyan[_ngcontent-%COMP%]{background-color:#64d8c8;color:#143246;border-radius:47px}.portal-layout[_ngcontent-%COMP%]   .btn-cyan[_ngcontent-%COMP%]:hover{background-color:#5ecbbd}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__titulo[_ngcontent-%COMP%], .portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__seccion-titulo[_ngcontent-%COMP%]{font-weight:700}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__titulo[_ngcontent-%COMP%]{font-size:clamp(1.75rem,1.2rem + 1.5vw,2.5rem)}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__seccion-titulo[_ngcontent-%COMP%]{font-size:clamp(1.25rem,1rem + .75vw,1.75rem)}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__hero.bg-neutral[_ngcontent-%COMP%]{padding:2rem 1.5rem}@media(min-width:768px){.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__hero.bg-neutral[_ngcontent-%COMP%]{padding:2.5rem 2rem}}@media(min-width:1200px){.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__hero.bg-neutral[_ngcontent-%COMP%]{padding:3rem 2.5rem}}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__content[_ngcontent-%COMP%]{background-color:#fff}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__volver[_ngcontent-%COMP%]{color:#101e37;font-weight:600;text-decoration:none}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__volver[_ngcontent-%COMP%]:hover, .portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__volver[_ngcontent-%COMP%]:focus-visible{color:#101e37;text-decoration:underline}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__volver[_ngcontent-%COMP%]:focus-visible{outline:2px solid #101e37;outline-offset:2px}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__cards[_ngcontent-%COMP%]{--bs-gutter-y: 1.5rem}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__card[_ngcontent-%COMP%]   .card.card-eventos[_ngcontent-%COMP%]{outline:.125rem solid #e6ebf0;border:none;box-shadow:none;overflow:hidden}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__card[_ngcontent-%COMP%]   .card-img[_ngcontent-%COMP%]{width:100%;object-fit:cover}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__card[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]{padding:1.5rem}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__card[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%]{margin-bottom:0}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__card[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%]{margin-top:.25rem;margin-bottom:0;color:#101e37}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__card[_ngcontent-%COMP%]   .card-title-link[_ngcontent-%COMP%]{color:#101e37}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__seccion--contacto[_ngcontent-%COMP%]{padding-bottom:2.5rem}@media(min-width:768px){.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__seccion--contacto[_ngcontent-%COMP%]{padding-bottom:3rem}}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__actividades[_ngcontent-%COMP%]   .card.card-horizontal[_ngcontent-%COMP%]{height:auto}.portal-discapacidad--empleo[_ngcontent-%COMP%]   .portal-discapacidad__actividades[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]:not(.card-horizontal)   .card-img[_ngcontent-%COMP%]{width:100%;object-fit:cover}']})}}return o}
1)()}}]);

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.