PageSourceSearch

https://mirame.chduero.es/chduero/5773.9b9ab8e642e97475.js

js chduero.es collected 2026-09-24 18:10:24 UTC 22,385 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkchd_mirame_web=self.webpackChunkchd_mirame_web||[]).push([[5773],{33:(D,b,o)=>{o.d(b,{$:()=>s});var e=o(1135),g=o(5e3);let s=(()=>{class n{constructor(){this.entityMenuSubject$=new e.X(null),this.subMenuSubject$=new e.X(!1),this.gidEntitySubject$=new e.X("")}entityMenuChange(t){this.entityMenuSubject$.next(t)}submenuChange(t){this.subMenuSubject$.next(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"any"}),n})()},1250:(D,b,o)=>{o.d(b,{O:()=>s});var e=o(1135),g=o(5e3);let s=(()=>{class n{constructor(){this.tabIndexSubject$=new e.X(0)}changeTab(t){this.tabIndexSubject$.next(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275prov=g.Yz7({token:n,factory:n.\u0275fac,providedIn:"any"}),n})()},5563:(D,b,o)=>{o.d(b,{A:()=>c});var e=o(5861),g=o(7579),s=o(2722),n=o(3179),u=o(7470),t=o(5e3),P=o(33),p=o(8914),y=o(9547),l=o(7902),O=o(3468),m=o(3932),M=o(60),f=o(4894),E=o(4135),_=o(4623);const T=function(){return{exact:!0}};function A(a,h){if(1&a&&(t.TgZ(0,"a",14),t._UZ(1,"i",15),t._uU(2),t.ALo(3,"translate"),t.qZA()),2&a){const i=h.ngIf,C=t.oxw(2).ngIf;t.hYB("routerLink","",C.generalDataLink,"/",i,""),t.Q6J("routerLinkActiveOptions",t.DdM(6,T)),t.xp6(2),t.Oqu(t.lcZ(3,4,"menuLateral.fichaGral"))}}function L(a,h){if(1&a&&(t.TgZ(0,"a",14),t._UZ(1,"i",16),t._uU(2),t.ALo(3,"translate"),t.qZA()),2&a){const i=h.ngIf,C=t.oxw(2).ngIf;t.hYB("routerLink","",C.technicalDataLink,"/",i,""),t.Q6J("routerLinkActiveOptions",t.DdM(6,T)),t.xp6(2),t.Oqu(t.lcZ(3,4,"menuLateral.fichaTecnica"))}}function r(a,h){if(1&a&&(t.TgZ(0,"mat-list",12)(1,"mat-nav-list"),t.YNc(2,A,4,7,"a",13),t.ALo(3,"async"),t.qZA(),t.TgZ(4,"mat-nav-list"),t.YNc(5,L,4,7,"a",13),t.ALo(6,"async"),t.qZA()()),2&a){const i=t.oxw(2);t.xp6(2),t.Q6J("ngIf",t.lcZ(3,2,i.entityGidObservable$)),t.xp6(3),t.Q6J("ngIf",t.lcZ(6,4,i.entityGidObservable$))}}function v(a,h){if(1&a){const i=t.EpF();t.TgZ(0,"div")(1,"div",1)(2,"div",2)(3,"h2",3),t._uU(4),t.qZA()(),t.TgZ(5,"mat-list",4)(6,"mat-nav-list",5)(7,"a",6),t.NdJ("isActiveChange",function(){return t.CHM(i),t.oxw().setStateSubmenu(!1)}),t._UZ(8,"i",7),t._uU(9),t.ALo(10,"translate"),t.qZA()(),t.TgZ(11,"mat-nav-list",5)(12,"a",6),t.NdJ("isActiveChange",function(){return t.CHM(i),t.oxw().setStateSubmenu(!1)}),t._UZ(13,"i",8),t._uU(14),t.ALo(15,"translate"),t.qZA(),t.YNc(16,r,7,6,"mat-list",9),t.ALo(17,"async"),t.qZA(),t.TgZ(18,"mat-nav-list",5)(19,"a",10),t.NdJ("click",function(){return t.CHM(i),t.oxw().createLocalStorageItem()}),t._UZ(20,"i",11),t._uU(21),t.ALo(22,"translate"),t.qZA()()()()()}if(2&a){const i=h.ngIf,C=t.oxw();t.xp6(4),t.Oqu(i.type),t.xp6(3),t.s9C("routerLink",i.datalink),t.Q6J("routerLinkActiveOptions",t.DdM(17,T)),t.xp6(2),t.Oqu(t.lcZ(10,9,"menuLateral.datEstad")),t.xp6(3),t.s9C("routerLink",i.searchlink),t.Q6J("routerLinkActiveOptions",t.DdM(18,T)),t.xp6(2),t.Oqu(t.lcZ(15,11,"menuLateral.busqInf")),t.xp6(2),t.Q6J("ngIf",t.lcZ(17,13,C.showSubmenuObservable$)),t.xp6(5),t.hij("",t.lcZ(22,15,"menuLateral.visor")," ")}}let c=(()=>{class a{constructor(i,C,x,U,R,S,w,I,B){this.entityMenuService=i,this.configService=C,this.temporaryStorageService=x,this.sessionStorageService=U,this.dialogModelService=R,this.router=S,this.location=w,this.translate=I,this.viewerService=B,this.stop$=new g.x,this.entityMenuService.entityMenuSubject$.asObservable().pipe((0,s.R)(this.stop$)).subscribe(d=>{if(!u.c.isNullorEmpty(d)){this.entityMenu=d,(null==d?void 0:d.entityType)?(this.entityType=null==d?void 0:d.entityType,this.entityName=u.c.getEntityName(null==d?void 0:d.entityType,!0)):(null==d?void 0:d.visorLink)&&(this.entityName=d.visorLink.substring(d.visorLink.lastIndexOf("/")+1));let Z=this.configService.getFeatureTypeConfiguration(this.entityName);this.additionalLayersIds=Z&&Z.additionalLayersIdsFeatureType?Z.additionalLayersIdsFeatureType.join(n.C.concatChar):"",this.baseLayerId=Z?Z.baseLayerId:0,(null==d?void 0:d.layersIds)&&(null==d?void 0:d.layersIds.length)>0&&(this.layersIds=null==d?void 0:d.layersIds)}}),this.showSubmenuObservable$=this.entityMenuService.subMenuSubject$.asObservable(),this.entityGidObservable$=this.entityMenuService.g
1idEntitySubject$.asObservable()}ngOnInit(){}setStateSubmenu(i){this.entityMenuService.submenuChange(i)}createLocalStorageItem(){var i=this;return(0,e.Z)(function*(){i.temporaryStorageService.get("auth").then(I=>{null!=I&&localStorage.setItem("auth",I)});const C=`${i.entityName}${n.C.sessionStorageSearchFormSuffix}`,x=`${i.entityName}${n.C.sessionStorageSearchCodesSuffix}`,U=yield i.sessionStorageService.getSessionStorageProperty(`${i.entityName}${n.C.sessionStorageBasicFormSuffix}`),R=null!=U?U:yield i.sessionStorageService.getSessionStorageProperty(C),S=i.viewerService.getEntityService(i.entityName);!u.c.isEmptySearchForm(R)&&S.getSearchCodes?S.getSearchCodes(R).subscribe(I=>{I.length>n.C.maxResultsViewerFilter?i.dialogModelService.openMessageDialog(i.translate.instant("dialogos.filtroVisor.titulo"),i.translate.instant("dialogos.filtroVisor.msgFiltro")).subscribe(()=>i.navigateToViewer()):(localStorage.setItem(x,I.toString()),i.navigateToViewer())}):i.navigateToViewer()})()}navigateToViewer(){const i=Object.assign({showLayers:this.additionalLayersIds,baseLayer:this.baseLayerId.toString()},this.layersIds&&{layersIds:this.layersIds.join(n.C.concatChar)}),C=this.router.createUrlTree(this.entityType?[u.c.getViewerURL(this.entityType)]:["/viewer",this.entityName],{queryParams:i}),x=this.location.prepareExternalUrl(C.toString());window.open(x,"_blank")}ngOnDestroy(){this.stop$.next(!0)}}return a.\u0275fac=function(i){return new(i||a)(t.Y36(P.$),t.Y36(p.E),t.Y36(y.x),t.Y36(l.u),t.Y36(O.r),t.Y36(m.F0),t.Y36(M.Ye),t.Y36(f.sK),t.Y36(E.a))},a.\u0275cmp=t.Xpm({type:a,selectors:[["app-entity-menu"]],decls:1,vars:1,consts:[[4,"ngIf"],[1,"nav-left","d-flex","flex-column","maxWidthMenu"],[1,"nav-left--title"],[1,"px-2"],[1,"nav","nav-pills","flex-column","mb-auto"],[1,"nav-item"],["mat-list-item","","routerLinkActive","active",1,"nav-link",3,"routerLink","routerLinkActiveOptions","isActiveChange"],[1,"fa-solid","fa-chart-line"],[1,"fa-solid","fa-search"],["class","nav-subItem",4,"ngIf"],["mat-list-item","",1,"nav-link",3,"click"],[1,"fa-solid","fa-map-location-dot"],[1,"nav-subItem"],["mat-list-item","","routerLinkActive","active","class","nav-sublink",3,"routerLink","routerLinkActiveOptions",4,"ngIf"],["mat-list-item","","routerLinkActive","active",1,"nav-sublink",3,"routerLink","routerLinkActiveOptions"],[1,"fa-solid","fa-file-invoice"],[1,"fa-solid","fa-gear"]],template:function(i,C){1&i&&t.YNc(0,v,23,19,"div",0),2&i&&t.Q6J("ngIf",C.entityMenu)},directives:[M.O5,_.i$,_.Hk,_.Tg,m.yS,m.Od],pipes:[f.X$,M.Ov],styles:[".breadcrumb-item[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#1c7696;text-decoration:none;font-weight:600}.breadcrumb-item.active[_ngcontent-%COMP%]{font-weight:600}.nav-left--title[_ngcontent-%COMP%]{background:-prefix-linear-gradient(left,#1c7696,white);background:linear-gradient(to right,#c0d7e0,white 50%)}.nav-left--title[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0}.nav-left[_ngcontent-%COMP%]   .nav-pills[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{border-radius:unset;border-top-right-radius:.85rem;border-bottom-right-radius:.85rem;color:#1b576d;border:1px solid #D1E3EA}.nav-left[_ngcontent-%COMP%]   .nav-pills[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:1rem}.nav-subItem[_ngcontent-%COMP%]{margin-left:10%;width:90%}.nav-pills[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], .nav-pills[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%] > .nav-link[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff!important}.nav-left[_ngcontent-%COMP%]   .nav-pills[_ngcontent-%COMP%]   .nav-sublink[_ngcontent-%COMP%]{padding-left:1.5rem;border-radius:unset;border-top-right-radius:.85rem;border-bottom-right-radius:.85rem;color:#1c7696}.nav-left[_ngcontent-%COMP%]   .nav-pills[_ngcontent-%COMP%]   .nav-sublink[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{margin-right:1rem}.nav-pills[_ngcontent-%COMP%]   .nav-sublink.active[_ngcontent-%COMP%], .nav-pills[_ngcontent-%COMP%]   .show[_ngcontent-%COMP%] > .nav-sublink[_ngcontent-%COMP%]{background-color:#1c7696;color:#fff!important}.nav-pills[_ngcontent-%COMP%]   .nav-sublink[_ngcontent-%COMP%]{border:1px solid #D1E3EA;color:#1b576d!important}.container-title[_ngcontent-%COMP%]{border-left:6px solid #1c7696;padding-left:1rem}.container-subtitle[_ngcontent-%COMP%]{color:#1c7696}.bar-light-bluewhite[_ngcontent-%COMP%]{display:inline-flex}.bar-light-text[_ngcontent-%COMP%]{border-top-left-radius:.85rem;border-bottom-left-radius:.85rem;padding:16px;background-color:#d1e3ea;font-weight:500}.bar-light-numbers[_ngcontent-%COMP%]{border-top-right-radius:.85rem;border-bottom-right-radius:.85rem;padding:16px;border:1px solid #d1e3ea}.bar-lighter-bluewhite[_ngcontent-%COMP%]{display:inline-flex}.bar-lighter-text[_ngcontent-%COMP%]{border-top-left-radius:.85rem;border-bottom-left-radius:.85rem;padding:16px;background-color:#f1fafd;font-weight:500}.bar-lighter-numbers[_ngcontent-%COMP%]{border-top-right-radius:.85rem;border-bottom-right-radius:.85rem;padding:16px;border:1px solid #f1fafd}.bar-light-blue[_ngcontent-%COMP%]{width:100%;border-radius:.85rem;padding:16px;background-color:#d1e3ea;float:right;font-weight:500}.bar-lighter-blue[_ngcontent-%COMP%]{width:90%;border-radius:.85rem;padding:16px;background-color:#f1fafd;float:right;font-weight:500}.maxWidthMenu[_ngcontent-%COMP%]{max-width:16rem}"]}),a})()},2941:(D,b,o)=>{o.d(b,{f:()=>M});var e=o(5e3);class g{constructor(E,_){this.nombre=E,this.nombreOriginal=_}}var s=o(3932),n=o(3075),u=o(7322),t=o(4107),P=o(60),p=o(508),y=o(7238),l=o(7423),O=o(4894);function m(f,E){if(1&f&&(e.TgZ(0,"mat-option",9),e._uU(1),e.qZA()),2&f){const _=E.$implicit;e.s9C("matTooltip",_.nombreOriginal),e.Q6J("value",_.nombre),e.xp6(1),e.hij(" ",_.nombreOriginal," ")}}let M=(()=>{class f{constructor(_,T){this.router=_,this.activatedRoute=T,this.gid="",this.newRouterLink="../../../../technical",this.newSearchEvent=new e.vpe,this.selectedValueName=""}ngOnInit(){}submit(_){""!==_.value.campo&&this.newSearchEvent.emit(new g(_.value.campo,this.selectedValueName))}selectedValue(_){this.selectedValueName=_.source.triggerValue}goBack(){this.router.navigate([`${this.newRouterLink}/${this.gid}`],{relativeTo:this.activatedRoute,state:this.itemData})}}return f.\u0275fac=function(_){return new(_||f)(e.Y36(s.F0),e.Y36(s.gz))},f.\u0275cmp=e.Xpm({type:f,selectors:[["app-historical-fields"]],inputs:{fields:"fields",gid:"gid",newRouterLink:"newRouterLink",itemData:"itemData"},outputs:{newSearchEvent:"newSearchEvent"},decls:18,vars:10,consts:[[1,"container-text"],["historicalFieldsForm","ngForm"],[1,"row"],[1,"col-5"],["appearance","fill",1,"width-100"],["name","campo","ngModel","",3,"selectionChange"],["matTooltipPosition","after","matTooltipClass","custom-tooltip",3,"value","matTooltip",4,"ngFor","ngForOf"],[1,"col-7"],["type","button","mat-flat-button","",1,"btn-second",3,"click"],["matTooltipPosition","after","matTooltipClass","custom-tooltip",3,"value","matTooltip"]],template:function(_,T){if(1&_){const A=e.EpF();e.TgZ(0,"div",0)(1,"p"),e._uU(2),e.ALo(3,"translate"),e.qZA()(),e.TgZ(4,"form",null,1)(6,"div",2)(7,"div",3)(8,"mat-form-field",4)(9,"mat-label"),e._uU(10),e.ALo(11,"translate"),e.qZA(),e.TgZ(12,"mat-select",5),e.NdJ("selectionChange",function(r){e.CHM(A);const v=e.MAs(5);
1return T.selectedValue(r),T.submit(v)}),e.YNc(13,m,2,3,"mat-option",6),e.qZA()()(),e.TgZ(14,"div",7)(15,"button",8),e.NdJ("click",function(){return T.goBack()}),e._uU(16),e.ALo(17,"translate"),e.qZA()()()()}2&_&&(e.xp6(2),e.Oqu(e.lcZ(3,4,"historico.msgHistorico")),e.xp6(8),e.Oqu(e.lcZ(11,6,"historico.nombreCampo")),e.xp6(3),e.Q6J("ngForOf",T.fields),e.xp6(3),e.Oqu(e.lcZ(17,8,"botones.volver")))},directives:[n._Y,n.JL,n.F,u.KE,u.hX,t.gD,n.JJ,n.On,P.sg,p.ey,y.gM,l.lW],pipes:[O.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.btn-second[_ngcontent-%COMP%]{background-color:#1c7696;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-second[_ngcontent-%COMP%]:hover, .btn-second[_ngcontent-%COMP%]:focus, .btn-second[_ngcontent-%COMP%]:active, .btn-second.active[_ngcontent-%COMP%]{background-color:#0c6686;border-color:#002f45;color:#fff}.btn-second.disabled[_ngcontent-%COMP%]:hover, .btn-second.disabled[_ngcontent-%COMP%]:focus, .btn-second.disabled[_ngcontent-%COMP%]:active, .btn-second.disabled.active[_ngcontent-%COMP%], .btn-second[disabled][_ngcontent-%COMP%]:hover, .btn-second[disabled][_ngcontent-%COMP%]:focus, .btn-second[disabled][_ngcontent-%COMP%]:active, .btn-second[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-second[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-second[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-second[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-second.active[_ngcontent-%COMP%]{background-color:#1c7696;color:#fff}"]}),f})()},1889:(D,b,o)=>{o.d(b,{C:()=>u});var e=o(5e3),g=o(7423),s=o(773),n=o(4894);let u=(()=>{class t{constructor(){this.etiqueta="botones.generandoInforme"}}return t.\u0275fac=function(p){return new(p||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["app-generating-report-icon"]],inputs:{etiqueta:"etiqueta"},decls:5,vars:4,consts:[["type","button","mat-flat-button","",1,"btn-first"],[1,"me-2"],[3,"diameter"]],template:function(p,y){1&p&&(e.TgZ(0,"button",0)(1,"span",1),e._uU(2),e.ALo(3,"translate"),e.qZA(),e._UZ(4,"mat-spinner",2),e.qZA()),2&p&&(e.xp6(2),e.Oqu(e.lcZ(3,2,y.etiqueta)),e.xp6(2),e.Q6J("diameter",25))},directives:[g.lW,s.Ou],pipes:[n.X$],styles:[".btn-first[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;margin:0 8px 8px 0;padding:0 28px;border-radius:unset}.btn-first[_ngcontent-%COMP%]:hover, .btn-first[_ngcontent-%COMP%]:focus, .btn-first[_ngcontent-%COMP%]:active, .btn-first.active[_ngcontent-%COMP%]{background-color:#0b475d;color:#fff}.btn-first.disabled[_ngcontent-%COMP%]:hover, .btn-first.disabled[_ngcontent-%COMP%]:focus, .btn-first.disabled[_ngcontent-%COMP%]:active, .btn-first.disabled.active[_ngcontent-%COMP%], .btn-first[disabled][_ngcontent-%COMP%]:hover, .btn-first[disabled][_ngcontent-%COMP%]:focus, .btn-first[disabled][_ngcontent-%COMP%]:active, .btn-first[disabled].active[_ngcontent-%COMP%], fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:hover, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:focus, fieldset[disabled][_ngcontent-%COMP%]   .btn-first[_ngcontent-%COMP%]:active, fieldset[disabled][_ngcontent-%COMP%]   .btn-first.active[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff}.mat-spinner[_ngcontent-%COMP%]  circle{stroke:#fff!important}button[_ngcontent-%COMP%]  span.mat-button-wrapper{display:flex!important;flex-direction:row!important;align-items:center}"]}),t})()},9693:(D,b,o)=>{o.d(b,{t:()=>y});var e=o(5e3),g=o(60),s=o(5245),n=o(7238),u=o(4894);function t(l,O){1&l&&(e.TgZ(0,"mat-icon",2),e.ALo(1,"translate"),e._uU(2,"sync"),e.qZA()),2&l&&e.s9C("matTooltip",e.lcZ(1,1,"tootips.tltipEditado"))}function P(l,O){1&l&&(e.TgZ(0,"mat-icon",2),e.ALo(1,"translate"),e._uU(2,"fiber_new"),e.qZA()),2&l&&e.s9C("matTooltip",e.lcZ(1,1,"tootips.tltipNuevo"))}function p(l,O){1&l&&(e.TgZ(0,"mat-icon",2),e.ALo(1,"translate"),e._uU(2,"delete_forever"),e.qZA()),2&l&&e.s9C("matTooltip",e.lcZ(1,1,"tootips.tltipEliminado"))}let y=(()=>{class l{constructor(){}ngOnInit(){}}return l.\u0275fac=function(m){return new(m||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-operacion-icon"]],inputs:{operacion:"operacion"},decls:4,vars:4,consts:[[3,"ngSwitch"],["matTooltipPosition","below","matTooltipClass","custom-tooltip",3,"matTooltip",4,"ngSwitchCase"],["matTooltipPosition","below","matTooltipClass","custom-tooltip",3,"matTooltip"]],template:function(m,M){1&m&&(e.TgZ(0,"div",0),e.YNc(1,t,3,3,"mat-icon",1),e.YNc(2,P,3,3,"mat-icon",1),e.YNc(3,p,3,3,"mat-icon",1),e.qZA()),2&m&&(e.Q6J("ngSwitch",M.operacion),e.xp6(1),e.Q6J("ngSwitchCase","MODIFICADO"),e.xp6(1),e.Q6J("ngSwitchCase","A\xd1ADIDO"),e.xp6(1),e.Q6J("ngSwitchCase","ELIMINADO"))},directives:[g.RF,g.n9,s.Hw,n.gM],pipes:[u.X$],styles:[""]}),l})()},2367:(D,b,o)=>{o.d(b,{q:()=>L});var e=o(6087),g=o(4847),s=o(2075),n=o(5e3),u=o(5664),t=o(60),P=o(5899),p=o(9693),y=o(4894);function l(r,v){1&r&&n._UZ(0,"mat-progress-bar",6)}function O(r,v){if(1&r&&(n.TgZ(0,"th",10),n._uU(1),n.qZA()),2&r){const c=n.oxw().$implicit;n.xp6(1),n.Oqu(c.header)}}function m(r,v){if(1&r&&(n.TgZ(0,"td",13),n._uU(1),n.qZA()),2&r){const c=n.oxw().$implicit,a=n.oxw().$implicit;n.xp6(1),n.Oqu(a.cell(c))}}function M(r,v){if(1&r&&(n.TgZ(0,"td",13),n._UZ(1,"app-operacion-icon",14),n.qZA()),2&r){const c=n.oxw().$implicit;n.xp6(1),n.Q6J("operacion",c.operacion)}}function f(r,v){if(1&r&&(n.ynx(0),n.YNc(1,m,2,1,"td",11),n.YNc(2,M,2,1,"ng-template",null,12,n.W1O),n.BQk()),2&r){const c=n.MAs(3),a=n.oxw().$implicit;
1n.xp6(1),n.Q6J("ngIf","operacion"!==a.columnDef)("ngIfElse",c)}}function E(r,v){1&r&&(n.ynx(0,7),n.YNc(1,O,2,1,"th",8),n.YNc(2,f,4,2,"ng-container",9),n.BQk()),2&r&&n.Q6J("matColumnDef",v.$implicit.columnDef)}function _(r,v){1&r&&n._UZ(0,"tr",15)}function T(r,v){1&r&&n._UZ(0,"tr",16)}const A=function(){return[5,10,20]};let L=(()=>{class r{constructor(c){this._liveAnnouncer=c,this.gid="",this.searchField="",this.tableColumns=[],this.dataSource=new s.by,this.isLoading=!1}ngOnInit(){this.displayedColumns=this.tableColumns.map(c=>c.columnDef)}ngOnChanges(c){this.isLoading=!0,null!=this.searchResult&&null!=this.searchResult&&setTimeout(()=>{this.dataSource.data=c.searchResult.currentValue,this.isLoading=!1},500)}ngAfterViewInit(){this.dataSource.sort=this.sort,this.dataSource.paginator=this.paginator}announceSortChange(c){this._liveAnnouncer.announce(c.direction?`Sorted ${c.direction}ending`:"Sorting cleared")}}return r.\u0275fac=function(c){return new(c||r)(n.Y36(u.Kd))},r.\u0275cmp=n.Xpm({type:r,selectors:[["app-historical-table"]],viewQuery:function(c,a){if(1&c&&(n.Gf(g.YE,5),n.Gf(e.NW,5)),2&c){let h;n.iGM(h=n.CRH())&&(a.sort=h.first),n.iGM(h=n.CRH())&&(a.paginator=h.first)}},inputs:{searchResult:"searchResult",gid:"gid",searchField:"searchField",tableColumns:"tableColumns"},features:[n.TTD],decls:8,vars:10,consts:[["mode","indeterminate",4,"ngIf"],["mat-table","","matSort","",1,"mat-elevation-z1","width-100",3,"dataSource","matSortChange"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mode","indeterminate"],[3,"matColumnDef"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],[4,"matCellDef"],["mat-header-cell","","mat-sort-header",""],["mat-cell","",4,"ngIf","ngIfElse"],["actions",""],["mat-cell",""],[3,"operacion"],["mat-header-row",""],["mat-row",""]],template:function(c,a){1&c&&(n.TgZ(0,"div"),n.YNc(1,l,1,0,"mat-progress-bar",0),n.TgZ(2,"table",1),n.NdJ("matSortChange",function(i){return a.announceSortChange(i)}),n.YNc(3,E,3,1,"ng-container",2),n.YNc(4,_,1,0,"tr",3),n.YNc(5,T,1,0,"tr",4),n.qZA(),n._UZ(6,"mat-paginator",5),n.ALo(7,"translate"),n.qZA()),2&c&&(n.xp6(1),n.Q6J("ngIf",a.isLoading),n.xp6(1),n.Q6J("dataSource",a.dataSource),n.xp6(1),n.Q6J("ngForOf",a.tableColumns),n.xp6(1),n.Q6J("matHeaderRowDef",a.displayedColumns),n.xp6(1),n.Q6J("matRowDefColumns",a.displayedColumns),n.xp6(1),n.Q6J("pageSizeOptions",n.DdM(9,A)),n.uIk("aria-label",n.lcZ(7,7,"formBusqueda.ariaLblTabla")))},directives:[t.O5,P.pW,s.BZ,g.YE,t.sg,s.w1,s.fO,s.ge,g.nU,s.Dz,s.ev,p.t,s.as,s.XQ,s.nj,s.Gk,e.NW],pipes:[y.X$],styles:["table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{background-color:#1b576d;color:#fff;font-size:14px}table[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f1f1f1}th[_ngcontent-%COMP%], td[_ngcontent-%COMP%]{text-align:left;padding:2px}  table th .mat-checkbox-frame{border-color:#fff}table[_ngcontent-%COMP%]{width:100%}.mat-column-operacion[_ngcontent-%COMP%]{width:3%;text-align:center;padding-right:0!important}.mat-column-usuario[_ngcontent-%COMP%]{width:3%}.mat-column-fechaModificacion[_ngcontent-%COMP%]{width:9%}.mat-column-validador[_ngcontent-%COMP%]{width:3%}.mat-cell[_ngcontent-%COMP%]{padding:2px 10px 2px 0}tr.mat-row[_ngcontent-%COMP%], tr.mat-footer-row[_ngcontent-%COMP%]{height:unset}tr.mat-header-row[_ngcontent-%COMP%]{height:46px}"]}),r})()},2511:(D,b,o)=>{o.d(b,{l:()=>u});var e=o(3179),g=o(7470),s=o(4327);class u{static printData(P,p,y,l,O){O.generarInformeEspecifico(p,e.C.tipInforme.pdf,P).subscribe(m=>{if(200===m.status){let M=g.c.toArrayBuffer(m.body.contenido);const f=new Blob([M],{type:"application/pdf"}),E=new File([f],m.body.nombre,{type:"application/pdf"});(0,s.saveAs)(E)}else y.openMessageDialog(l.instant("dialogos.informes.titulo"),l.instant("dialogos.informes.informeErrorPdf"))})}static printDataImagen(P,p,y,l,O,m){O.generarInformeEspecificoImagen(p,e.C.tipInforme.pdf,P,m).subscribe(M=>{if(200===M.status){let f=g.c.toArrayBuffer(M.body.contenido);const E=new Blob([f],{type:"application/pdf"}),_=new File([E],M.body.nombre,{type:"application/pdf"});(0,s.saveAs)(_)}else y.openMessageDialog(l.instant("dialogos.informes.titulo"),l.instant("dialogos.informes.informeErrorPdf"))})}}}}]);

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.