webpackJsonp([12],{0:function(t,e,n){t.exports=n("x35b")},"1GDh":function(t,e){t.exports='\r\n'},"3hQV":function(t,e){t.exports='
Eliminar \r\n\xbfEst\xe1s seguro? \r\n\r\n No \r\n\r\n S\xed \r\n \r\n'},"40C8":function(t,e,n){"use strict";n.d(e,"a",function(){return i});var r=n("DUFE"),o=n("WT6e"),a=this&&this.__decorate||function(t,e,n,r){var o,a=arguments.length,c=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,n,r);else for(var i=t.length-1;i>=0;i--)(o=t[i])&&(c=(a<3?o(c):a>3?o(e,n,c):o(e,n))||c);return a>3&&c&&Object.defineProperty(e,n,c),c},c=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},i=function(){function t(t){this.dialogRef=t}return t=a([Object(o.Component)({selector:"app-confirmation-dialog",template:n("3hQV")}),c("design:paramtypes",[r.f])],t)}()},BRX5:function(t,e){t.exports=""},Iksp:function(t,e,n){"use strict";var r=n("OE0E"),o=n("Bj4q"),a=n("WT6e"),c=n("lSw8"),i=n("ix3Z"),s=n("bfOx"),p=(n("owTz"),n("ItHS")),l=n("ytdl"),u=this&&this.__decorate||function(t,e,n,r){var o,a=arguments.length,c=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,n,r);else for(var i=t.length-1;i>=0;i--)(o=t[i])&&(c=(a<3?o(c):a>3?o(e,n,c):o(e,n))||c);return a>3&&c&&Object.defineProperty(e,n,c),c},d=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},m=function(){function t(t){this.http=t}return t.prototype.login=function(t,e){var n=(new p.f).set("_username",t).set("_password",e);return this.http.post(Nt.apiHostNoLocale+"/api/login_check",n.toString(),{headers:(new p.e).set("Content-Type","application/x-www-form-urlencoded")}).map(function(t){if(t&&t.token&&t.refresh_token){var e=l(t.token);document.cookie="token="+t.token+"; max-age=3600; domain=.esergui.es; path=/;",localStorage.setItem("currentUser",t.token),localStorage.setItem("refreshToken",t.refresh_token),localStorage.setItem("username",e.username),localStorage.setItem("managedUser",e.username)}})},t.prototype.logout=function(){var t=localStorage.getItem("currentUser");document.cookie="token="+t+"; domain=.esergui.es; path=/; expires=Thu, 01 Jan 1970 00:00:01 GMT",localStorage.clear()},t=u([Object(a.Injectable)(),d("design:paramtypes",[p.b])],t)}(),x=n("7t+N"),g=function(){function t(){}return t.loadStyles=function(t,e){Array.isArray(e)?x.each(e,function(e,n){x(t).append(x(" ").attr("href",n).attr("rel","stylesheet").attr("type","text/css"))}):x(t).append(x(" ").attr("href",e).attr("rel","stylesheet").attr("type","text/css"))},t.unwrapTag=function(t){x(t).removeAttr("appunwraptag").unwrap()},t.setTitle=function(t){x(".m-subheader__title").text(t)},t.setBreadcrumbs=function(t){t&&x(".m-subheader__title").addClass("m-subheader__title--separator");var e=x(".m-subheader__breadcrumbs");0===x(e).length&&(e=x("").addClass("m-subheader__breadcrumbs m-nav m-nav--inline").append(x(" ").addClass("m-nav__item").append(x(" ").addClass("m-nav__link m-nav__link--icon").append(x(" ").addClass("m-nav__link-icon la la-home"))))),x(e).find("li:not(:first-child)").remove(),x.each(t,function(t,n){var r=x(" ").addClass("m-nav__item").append(x(" ").addClass("m-nav__link m-nav__link--icon").attr("routerLink",n.href).attr("title",n.title).append(x(" ").addClass("m-nav__link-text").text(n.text)));x(e).append(x(" ").addClass("m-nav__separator").text("-")).append(r)}),x(".m-subheader .m-stack__item:first-child").append(e)},t.setLoading=function(t){var e=x("body");t?x(e).addClass("m-page--loading-non-block"):x(e).removeClass("m-page--loading-non-block")},t.bodyClass=function(t){x("body").attr("class",t)},t}(),f=this&&this.__decorate||function(t,e,n,r){var o,a=arguments.length,c=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,n,r);else for(var i=t.length-1;i>=0;i--)(o=t[i])&&(c=(a<3?o(c):a>3?o(e,n,c):o(e,n))||c);return a>3&&c&&Object.defineProperty(e,n,c),c},b=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},_=function(){function t(t,e){this._router=t,this._authService=e}return t.prototype.ngOnInit=function(){g.setLoading(!0),this._authService.logout(),this._router.navigate(["/login"])},t=f([Object(a.Component)({selector:"app-logout",template:n("BRX5"),encapsulation:a.ViewEncapsulation.None}),b("design:paramtypes",[s.d,m])],t)}(),h=this&&this.__decorate||function(t,e,n,r){var o,a=arguments.length,c=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,n,r);else for(var i=t.length-1;i>=0;i--)(o=t[i])&&(c=(a<3?o(c):a>3?o(e,n,c):o(e,n))||c);return a>3&&c&&Object.defineProperty(e,n,c),c},y=[{path:"logout",component:_}],v=function(){function t(){}return t=h([Object(a.NgModule)({imports:[s.e.forRoot(y)],exports:[s.e]})],t)}(),k=this&&this.__decorate||function(t,e,n,r){var o,a=arguments.length,c=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,n,r);else for(var i=t.length-1;i>=0;i--)(o=t[i])&&(c=(a<3?o(c):a>3?o(e,n,c):o(e,n))||c);return a>3&&c&&Object.defineProperty(e,n,c),c},T=this&&this.__metadata||function(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)},A=function(){function t(t,e){this.router=t,this.titleService=e}return t.prototype.ngOnInit=function(){var t=this;this.router.events.delay(0).subscribe(function(e){if(e instanceof s.b){var n=x("ul.m-subheader__breadcrumbs"),r=x("h3.m-subheader__title").text().trim();if(n.length){var o=t.titleService,a=t.router,c=t.title;setTimeout(function(){if(x(n).find("span.m-nav__link-text").eq(1).length)c=x(n).find("span.m-nav__link-text").eq(1).text().trim()+" | "+x(n).find("span.m-nav__link-text").eq(0).text().trim();else{var t=new RegExp("/(noticia|documento)/").test(a.url);c=t?x("div.m-portlet__head").eq(0).text().trim()+" | "+x(n).find("span.m-nav__link-text").eq(0).text().trim():x(n).find("span.m-nav__link-text").eq(0).text().trim()+" | AVIA"}o.setTitle(c),window.gtag("config","UA-37255714-5",{page_path:e.urlAfterRedirects})},300)}else r.length&&(t.title=r+" | AVIA",t.titleService.setTitle(t.title)),window.gtag("config","UA-37255714-5",{page_path:e.urlAfterRedirects})}})},t=k([Object(a.Component)({selector:"app-root",template:"\n ",styles:[]}),T("design:paramtypes",[s.d,r.Title])],t)}(),R=n("Xjw4"),S=this&&this.__decorate||function(t,e,n,r){var o,a=arguments.length,c=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)c=Reflect.decorate(t,e,n,r);else for(var i=t.length-1;i>=0;i--)(o=t[i])&&(c=(a<3?o(c):a>3?o(e,n,c):o(e,n))||c);return a>3&&c&&Object.defineProperty(e,n,c),c},w=function(){function t(){}return t=S([Object(a.Component)({selector:"app-layout",template:'\n