"use strict";(self.webpackChunkBriane=self.webpackChunkBriane||[]).push([[411],{23411:(I,l,i)=>{i.r(l),i.d(l,{ConsultaInfoQRModule:()=>h});var r=i(69808),s=i(68555),n=i(5e3),d=i(16027),g=i(86405);function u(o,t){1&o&&(n.TgZ(0,"a"),n._UZ(1,"img",14),n.qZA())}function c(o,t){if(1&o&&(n.TgZ(0,"a"),n._UZ(1,"img",15),n.qZA()),2&o){const e=n.oxw();n.xp6(1),n.Q6J("src","data:image/jpeg;base64,"+e.agenda.foto,n.LSH)}}const p=[{path:"",component:(()=>{class o{constructor(e,a,m,Z,C){this._registerService=e,this._router=a,this._userService=m,this.spinner=Z,this._route=C,this.agenda={}}ngOnInit(){this._route.params.forEach(e=>{this.dni=e.dni,this.getInfoPersonalQR(this.dni)}),init_plugins()}getInfoPersonalQR(e){this.spinner.show(),this._registerService.getInfoPersonalQR(e).subscribe(a=>{this.agenda=a.agenda,this.spinner.hide()},a=>{this.spinner.hide()})}}return o.\u0275fac=function(e){return new(e||o)(n.Y36(d.aO),n.Y36(s.F0),n.Y36(d.KD),n.Y36(g.t2),n.Y36(s.gz))},o.\u0275cmp=n.Xpm({type:o,selectors:[["app-consulta-info-qr"]],decls:37,vars:12,consts:[[2,"background-color","red","height","70px","width","100%"],["src","assets/images/logo01.png",2,"margin-top","10px","margin-left","15px"],[1,"row","animated","fadeInRight"],[1,"col-12"],[1,"card"],[1,"card-body"],[1,"jumbotron","jumbotron-fluid",2,"margin-left","10px"],[1,"container"],[1,"card","card-body"],[1,"row"],[1,"col-md-2","text-center"],[4,"ngIf"],[1,"col-md-8","col-lg-9"],[1,"box-title","m-b-0"],["src","assets/images/users/user.jpg","alt","user",1,"img-circle",2,"height","100px","width","100px"],["alt","user",1,"img-circle",2,"height","100px","width","100px",3,"src"]],template:function(e,a){1&e&&(n.TgZ(0,"header",0),n._UZ(1,"img",1),n.qZA(),n.TgZ(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6)(7,"div",7)(8,"h1"),n._uU(9,"Datos del trabajador"),n.qZA(),n.TgZ(10,"div",8)(11,"div",9)(12,"div",10),n.YNc(13,u,2,0,"a",11),n.YNc(14,c,2,1,"a",11),n.qZA(),n.TgZ(15,"div",12)(16,"h3",13),n._uU(17),n.qZA(),n.TgZ(18,"address")(19,"label"),n._uU(20),n.qZA(),n._UZ(21,"br"),n.TgZ(22,"label"),n._uU(23),n.ALo(24,"date"),n.qZA(),n._UZ(25,"br"),n.TgZ(26,"label"),n._uU(27),n.qZA(),n._UZ(28,"br"),n.TgZ(29,"label"),n._uU(30),n.qZA(),n._UZ(31,"br"),n.TgZ(32,"label"),n._uU(33),n.qZA(),n._UZ(34,"br"),n.TgZ(35,"label"),n._uU(36),n.qZA()()()()()()()()()()()),2&e&&(n.xp6(13),n.Q6J("ngIf",!a.agenda.foto),n.xp6(1),n.Q6J("ngIf",a.agenda.foto),n.xp6(3),n.AsE("",a.agenda.nombres," ",a.agenda.apellidos,""),n.xp6(3),n.hij("DNI: ",a.agenda.codigoFicha,""),n.xp6(3),n.hij("Fecha Ingreso: ",n.lcZ(24,10,a.agenda.FechaIngreso),""),n.xp6(4),n.hij("\xc1rea: ",a.agenda.Area,""),n.xp6(3),n.hij("Cargo: ",a.agenda.cargo,""),n.xp6(3),n.hij("Nro. Telef\xf3no: ",a.agenda.telefonoFijo,""),n.xp6(3),n.hij("Correo: ",a.agenda.Email,""))},directives:[r.O5],pipes:[r.uU],encapsulation:2}),o})()}];let f=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[s.Bz.forChild(p)],s.Bz]}),o})(),h=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[r.ez,f]]}),o})()}}]);