Files
doneit-web/_platforms/browser/www/8052-es2015.df965e8e3daf4100be9c.js
T
tiago.kayaya 24e2a8f518 save
2021-08-18 18:58:02 +01:00

1 line
21 KiB
JavaScript

(self.webpackChunkgabinete_digital=self.webpackChunkgabinete_digital||[]).push([[8052,6527,5763,2417,3756,6055,5457,1087,4413,5183,5802,9391,1485,9074,4176,9406],{28232:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});class i{}},3861:function(t,e,n){"use strict";n.d(e,{F:function(){return _}});var i=n(64762),o=n(28232),s=n(42199),c=n(54601),a=n(55749),r=n(29777),d=n(51230),l=n(37716),g=n(35957),u=n(86704),p=n(39895),h=n(962),f=n(38583);function m(t,e){1&t&&l._UZ(0,"ion-progress-bar",17)}function Z(t,e){if(1&t&&(l.TgZ(0,"div",25),l._UZ(1,"img",26),l.qZA()),2&t){const t=l.oxw().$implicit;l.xp6(1),l.s9C("src",t.FileBase64,l.LSH)}}function v(t,e){1&t&&(l.TgZ(0,"div",25),l._UZ(1,"img",27),l.qZA())}function b(t,e){if(1&t){const t=l.EpF();l.TgZ(0,"div",18),l.NdJ("click",function(){const e=l.CHM(t).$implicit;return l.oxw().goToPublicationDetail(e.DocumentId)}),l.YNc(1,Z,2,1,"div",19),l.YNc(2,v,2,0,"div",19),l.TgZ(3,"div",20),l.TgZ(4,"div",21),l.TgZ(5,"div",22),l.TgZ(6,"ion-label"),l._uU(7),l.qZA(),l.qZA(),l.TgZ(8,"div",23),l._uU(9),l.ALo(10,"date"),l.qZA(),l.qZA(),l.TgZ(11,"div",24),l.TgZ(12,"p"),l._uU(13),l.qZA(),l.qZA(),l.qZA(),l.qZA()}if(2&t){const t=e.$implicit;l.xp6(1),l.Q6J("ngIf",t.FileBase64.length>30),l.xp6(1),l.Q6J("ngIf",t.FileBase64.length<30),l.xp6(5),l.Oqu(t.Title),l.xp6(2),l.Oqu(l.xi3(10,5,t.DatePublication,"dd-MM-yy | HH:mm")),l.xp6(4),l.Oqu(t.Message)}}function x(t,e){1&t&&(l.TgZ(0,"div",28),l.TgZ(1,"div",25),l._UZ(2,"img",27),l.qZA(),l.TgZ(3,"div",20),l.TgZ(4,"div",21),l.TgZ(5,"div",22),l.TgZ(6,"ion-label"),l._UZ(7,"ion-skeleton-text",29),l.qZA(),l.qZA(),l.TgZ(8,"div",23),l._UZ(9,"ion-skeleton-text",30),l.qZA(),l.qZA(),l.TgZ(10,"div",24),l.TgZ(11,"p"),l._UZ(12,"ion-skeleton-text",31),l.qZA(),l.TgZ(13,"p"),l._UZ(14,"ion-skeleton-text",31),l.qZA(),l.qZA(),l.qZA(),l.TgZ(15,"div",25),l._UZ(16,"img",27),l.qZA(),l.TgZ(17,"div",20),l.TgZ(18,"div",21),l.TgZ(19,"div",22),l.TgZ(20,"ion-label"),l._UZ(21,"ion-skeleton-text",29),l.qZA(),l.qZA(),l.TgZ(22,"div",23),l._UZ(23,"ion-skeleton-text",30),l.qZA(),l.qZA(),l.TgZ(24,"div",24),l.TgZ(25,"p"),l._UZ(26,"ion-skeleton-text",31),l.qZA(),l.TgZ(27,"p"),l._UZ(28,"ion-skeleton-text",31),l.qZA(),l.qZA(),l.qZA(),l.qZA())}let _=(()=>{class t{constructor(t,e,n,i){this.modalController=t,this.publications=e,this.activatedRoute=n,this.router=i,this.showLoader=!0,this.publicationList=new Array,this.publicationListStorage=c.B,this.publicationEventFolderStorage=s.t,this.publicationTravelFolderService=a.e,this.item=new o.Z,this.activatedRoute.paramMap.subscribe(t=>{console.log(t),t.params&&(this.folderId=t.params.folderId,console.log(t.params))})}ngOnInit(){"object"==typeof this.folderId&&(this.folderId=this.folderId.ProcessId),this.getPublicationDetail(),setTimeout(()=>{this.getPublications()},3e3)}ngOnChanges(){"object"==typeof this.folderId&&(this.folderId=this.folderId.ProcessId),this.getPublicationDetail(),this.getPublications()}doRefresh(t){setTimeout(()=>{this.getPublicationDetail(),this.getPublications(),t.target.complete()},3e3)}close(){this.modalController.dismiss(),this.router.navigate(["/home/publications"])}goBack(){this.router.navigate(["/home/publications"])}getPublicationDetail(){setTimeout(()=>{let t=this.publicationEventFolderStorage.list.concat(this.publicationTravelFolderService.list);this.item=t.find(t=>t.ProcessId==this.folderId)},100)}getPublications(){this.showLoader=!0;const t=this.folderId;this.publications.GetPublications(this.folderId).subscribe(e=>{console.log(e);let n=[];e.forEach(t=>{let e={DateIndex:t.DateIndex,DocumentId:t.DocumentId,ProcessId:t.ProcessId,Title:t.Title,Message:t.Message,DatePublication:t.DatePublication,FileBase64:"data:image/jpg;base64,"+t.FileBase64,OriginalFileName:"",FileExtension:""};this.publicationList.push(e),n.push(e)}),console.log(t),this.publicationListStorage.add(t,this.publicationList),this.showLoader=!1},t=>{"404"==t.status&&(this.error="Sem publica\xe7\xf5es dispon\xedveis!",this.publicationList=[]),this.showLoader=!1})}AddPublication(t,e){return(0,i.mG)(this,void 0,void 0,function*(){const n=yield this.modalController.create({component:r.i,componentProps:{publicationType:t,folderId:e},cssClass:"new-publication modal modal-desktop",backdropDismiss:!1});yield n.present(),n.onDidDismiss().then(()=>{this.doRefresh(event)})})}goToPublicationDetail(t){this.router.navigate(["/home/publications/view-publications",this.folderId,t])}viewPublicationDetail(t){return(0,i.mG)(this,void 0,void 0,function*(){const e=yield this.modalController.create({component:d.e,componentProps:{publicationId:t,folderId:this.folderId},cssClass:"publication-detail modal modal-desktop"});yield e.present(),e.onDidDismiss().then(()=>{this.getPublications()})})}}return t.\u0275fac=function(e){return new(e||t)(l.Y36(g.IN),l.Y36(u.H),l.Y36(p.gz),l.Y36(p.F0))},t.\u0275cmp=l.Xpm({type:t,selectors:[["app-view-publications"]],features:[l.TTD],decls:25,vars:9,consts:[[1,"ion-no-border"],[1,"main-header"],[1,"title-content","d-flex","width-100"],[1,"back-icon",3,"click"],["slot","end","src","assets/images/icons-arrow-arrow-left.svg"],[1,"div-title","flex-grow-1"],[1,"title"],[1,"item-content-detail"],[1,"item-content-date"],[1,"actions-icon",3,"click"],["slot","end","src","assets/images/icons-add.svg"],[1,"background-white"],["name","refresher","slot","fixed",3,"ionRefresh"],["type","indeterminate",4,"ngIf"],[1,"main-container","background-white"],["class","post-item",3,"click",4,"ngFor","ngForOf"],["class","post-item",4,"ngIf"],["type","indeterminate"],[1,"post-item",3,"click"],["class","post-img",4,"ngIf"],[1,"post-content","px-20"],[1,"post-title-time"],[1,"post-title"],[1,"post-data"],[1,"post-description"],[1,"post-img"],["alt","image",3,"src"],["src","/assets/icon/icon-no-image.svg","alt","image"],[1,"post-item"],["animated","","animated","",2,"width","60%"],["animated","",2,"width","25%","float","right"],["animated",""]],template:function(t,e){1&t&&(l.TgZ(0,"ion-header",0),l._UZ(1,"app-header"),l.qZA(),l.TgZ(2,"ion-header",0),l.TgZ(3,"div",1),l.TgZ(4,"div",2),l.TgZ(5,"div",3),l.NdJ("click",function(){return e.goBack()}),l._UZ(6,"ion-icon",4),l.qZA(),l.TgZ(7,"div",5),l.TgZ(8,"ion-label",6),l._uU(9),l.qZA(),l.TgZ(10,"p",7),l._uU(11),l.qZA(),l.TgZ(12,"p",8),l._uU(13),l.ALo(14,"date"),l.qZA(),l.qZA(),l.TgZ(15,"div",9),l.NdJ("click",function(){return e.AddPublication("2",e.item.ProcessId)}),l._UZ(16,"ion-icon",10),l.qZA(),l.qZA(),l.qZA(),l.qZA(),l.TgZ(17,"ion-content",11),l.TgZ(18,"ion-refresher",12),l.NdJ("ionRefresh",function(t){return e.doRefresh(t)}),l.YNc(19,m,1,0,"ion-progress-bar",13),l._UZ(20,"ion-refresher-content"),l.qZA(),l.TgZ(21,"div",14),l.TgZ(22,"ion-list"),l.YNc(23,b,14,8,"div",15),l.YNc(24,x,29,0,"div",16),l.qZA(),l.qZA(),l.qZA()),2&t&&(l.xp6(9),l.Oqu(e.item.Description),l.xp6(2),l.Oqu(e.item.Detail),l.xp6(2),l.Oqu(l.xi3(14,6,e.item.DateBegin,"dd-MM-yy | HH:mm")),l.xp6(6),l.Q6J("ngIf",e.showLoader),l.xp6(4),l.Q6J("ngForOf",e.publicationListStorage.documents[e.folderId]),l.xp6(1),l.Q6J("ngIf",e.showLoader))},directives:[g.Gu,h.E,g.gu,g.Q$,g.W2,g.nJ,f.O5,g.Wo,g.q_,f.sg,g.X7,g.CK],pipes:[f.uU],styles:["[_nghost-%COMP%]{background:transparent;padding:0!important}ion-content[_ngcontent-%COMP%]{--background:transparent;--border-radius:30px}ion-toolbar[_ngcontent-%COMP%]{--border-width:0!important;--border-style:none;--padding-top:0px!important;--padding-start:0px!important;--padding-right:0px!important;--padding-end:0px!important}.div-top-header[_ngcontent-%COMP%]{width:400px;margin:0 auto;background-color:#0782c9;padding-top:15px;border:0!important}.div-search[_ngcontent-%COMP%]{font-size:45px;float:left;margin:0 0 0 10px}.div-logo[_ngcontent-%COMP%]{background:transparent;width:140px;margin:5px 0 0 71px;float:left}.div-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%}.div-profile[_ngcontent-%COMP%]{font-size:45px;float:right;margin-right:10px}.main-header[_ngcontent-%COMP%]{border-top-left-radius:25px;border-top-right-radius:25px;overflow:hidden;padding:25px 20px 0;color:#000}.main-content[_ngcontent-%COMP%], .main-header[_ngcontent-%COMP%]{width:100%;height:100%;font-family:Roboto;background-color:#fff}.main-content[_ngcontent-%COMP%]{margin:0 auto;padding:15px 20px 0}.content-top[_ngcontent-%COMP%]{background:#f3f2f2;height:20px;transform:translate3d(0,1px,0)}.content-container[_ngcontent-%COMP%], .content-top[_ngcontent-%COMP%]{margin:0 auto;border-top-left-radius:25px;border-top-right-radius:25px}.content-container[_ngcontent-%COMP%]{width:100%;background:#fff;height:100%;box-shadow:0 0 18px rgba(0,0,0,.6);padding:25px 0 0;overflow:auto}.title-content[_ngcontent-%COMP%]{margin:0 auto;overflow:auto;padding:0!important}.back-icon[_ngcontent-%COMP%]{float:left;font-size:35px}.div-title[_ngcontent-%COMP%]{float:left;margin:2.5px 0 0 5px}.title[_ngcontent-%COMP%]{font-size:25px}.actions-icon[_ngcontent-%COMP%]{float:right}.actions-icon[_ngcontent-%COMP%] ion-icon[_ngcontent-%COMP%]{margin-left:10px;font-size:35px;float:right}.item-content-date[_ngcontent-%COMP%]{color:#797979;font-size:13px}.item-content-detail[_ngcontent-%COMP%]{color:#000;font-size:13px}.post-item[_ngcontent-%COMP%]{overflow:auto;border-radius:0;padding:0!important}.post-img[_ngcontent-%COMP%], .post-item[_ngcontent-%COMP%]{width:100%;margin:0 auto}.post-img[_ngcontent-%COMP%]{border-radius:0!important;overflow:hidden}.post-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;height:100%;-o-object-fit:cover;object-fit:cover}.post-content[_ngcontent-%COMP%]{margin:0 auto 35px}.post-title-time[_ngcontent-%COMP%]{width:100%;overflow:auto;margin-top:10px}.post-title[_ngcontent-%COMP%]{width:60%;float:left;font-size:15px;color:#0d89d1}.post-data[_ngcontent-%COMP%]{width:40%;float:left;font-size:13px;color:#797979;text-align:right}.post-description[_ngcontent-%COMP%]{font-size:13px;color:#000}"]}),t})()},6527:function(t,e,n){"use strict";n.d(e,{a:function(){return g}});var i=n(38583),o=n(3679),s=n(35957),c=n(39895),a=n(962),r=n(37716);const d=[{path:"",component:a.E}];let l=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[c.Bz.forChild(d)],c.Bz]}),t})(),g=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[[i.ez,o.u5,s.Pc,l]]}),t})()},962:function(t,e,n){"use strict";n.d(e,{E:function(){return v}});var i=n(64762),o=n(4528),s=n(33559),c=n(37716),a=n(39895),r=n(35957),d=n(37556),l=n(38583),g=n(3679);function u(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",21),c.TgZ(1,"div",22),c.NdJ("click",function(){return c.CHM(t),c.oxw().openSearch()}),c._UZ(2,"ion-icon",23),c.qZA(),c.qZA()}}function p(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",28),c.NdJ("click",function(){c.CHM(t);const e=c.oxw(2);return e.openSearch(),e.showSearch=!0}),c._UZ(1,"ion-icon",23),c.qZA()}}function h(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"button",29),c.NdJ("click",function(){c.CHM(t);const e=c.oxw(2);return e.closeSearch(),e.showSearch=!1,e.searchSubject=""}),c._UZ(1,"ion-icon",30),c.qZA()}}function f(t,e){if(1&t){const t=c.EpF();c.TgZ(0,"div",32),c.TgZ(1,"div",33),c.NdJ("click",function(){return c.CHM(t),c.oxw(3).basicSearch()}),c._UZ(2,"ion-icon",34),c.qZA(),c.TgZ(3,"div",35),c.TgZ(4,"ion-input",36),c.NdJ("keyup.enter",function(){return c.CHM(t),c.oxw(3).basicSearch()})("ngModelChange",function(e){return c.CHM(t),c.oxw(3).searchSubject=e})("ngModelChange",function(){return c.CHM(t),c.oxw(3).dynamicSearch()}),c.qZA(),c.qZA(),c.TgZ(5,"div",33),c.NdJ("click",function(){return c.CHM(t),c.oxw(3).clearSearchInput()}),c._UZ(6,"ion-icon",37),c.qZA(),c.qZA()}if(2&t){const t=c.oxw(3);c.xp6(4),c.Q6J("ngModel",t.searchSubject)}}function m(t,e){if(1&t&&(c.TgZ(0,"div"),c.YNc(1,f,7,1,"div",31),c.qZA()),2&t){const t=c.oxw(2);c.xp6(1),c.Q6J("ngIf",t.showSearch)}}function Z(t,e){if(1&t&&(c.TgZ(0,"div",24),c.YNc(1,p,2,0,"div",25),c.YNc(2,h,2,0,"button",26),c.YNc(3,m,2,1,"div",27),c.qZA()),2&t){const t=c.oxw();c.xp6(1),c.Q6J("ngIf",!t.showSearch),c.xp6(1),c.Q6J("ngIf",t.showSearch),c.xp6(1),c.Q6J("ngIf",t.showSearch)}}let v=(()=>{class t{constructor(t,e,n,i){this.router=t,this.modalController=e,this.animationController=n,this.searchSubject="",this.showSearch=!1,this.hideSearchBtn=!1,this.loggeduser=i.ValidatedUser,t.events.subscribe(t=>{this.showSearch=!1})}ngOnInit(){this.hideSearch()}hideSearch(){"/home/events"!=this.router.url&&"/home/chat"!=this.router.url||(this.hideSearchBtn=!0)}locationPathname(){return window.location.pathname}openSearch(){return(0,i.mG)(this,void 0,void 0,function*(){let t,e,n;window.innerWidth<1366?(t="modal modal-width-100",e=!0):(t="modal modal-desktop desktop-search",e=!1),window.location.pathname.startsWith("/home/agenda")?n="Agenda":window.location.pathname.startsWith("/home/gabinete-digital")?n="AccoesPresidenciais & ArquivoDespachoElect":window.location.pathname.startsWith("/home/publications")&&(n="AccoesPresidenciais");const i=yield this.modalController.create({component:o.Z,cssClass:t,componentProps:{type:n,showSearchInput:e,select:!1}});return yield i.present()})}changeRoute(t){this.router.navigateByUrl(t)}openProfile(){return(0,i.mG)(this,void 0,void 0,function*(){const t=t=>{const e=this.animationController.create().addElement(t.querySelector("ion-backdrop")).fromTo("opacity","0.01","var(--backdrop-opacity)"),n=this.animationController.create().addElement(t.querySelector(".modal-wrapper")).keyframes([{offset:0,opacity:"1",right:"-100%"},{offset:1,opacity:"1",right:"0px"}]);return this.animationController.create().addElement(t).easing("ease-out").duration(500).addAnimation([e,n])},e=yield this.modalController.create({enterAnimation:t,leaveAnimation:e=>t(e).direction("reverse"),component:s.G,cssClass:"model profile-modal search-submodal",componentProps:{}});return yield e.present()})}dynamicSearch(){return(0,i.mG)(this,void 0,void 0,function*(){window.dynamicSearch(this.searchSubject)})}closeSearch(){return(0,i.mG)(this,void 0,void 0,function*(){this.modalController.dismiss()})}clearSearchInput(){this.searchSubject="",window.dynamicSearch(this.searchSubject)}basicSearch(){return(0,i.mG)(this,void 0,void 0,function*(){window.searchTriger()})}profileLabel(t){return"MDGPR"==t?"MD":"PR"==t?t:"UN"}}return t.\u0275fac=function(e){return new(e||t)(c.Y36(a.F0),c.Y36(r.IN),c.Y36(r.vB),c.Y36(d.e))},t.\u0275cmp=c.Xpm({type:t,selectors:[["app-header"]],decls:40,vars:14,consts:[[1,"pb-10","ion-toolbar","text-white"],[1,"mobile","d-flex","div-top-header","justify-space-between"],["class","div-search",4,"ngIf"],[1,"div-logo","height-fit-content"],["src","assets/images/logo-no-bg.png","alt","logo"],[1,"div-profile","cursor-pointer",3,"click"],["src","assets/images/icons-profile.svg",1,"icon"],[1,"profile-text"],[1,"desktop","mx-20"],[1,"d-flex","justify-space-between","align-center"],["tab","events",1,"div-logo","height-fit-content"],[1,"d-flex","flex-1","pr-20","pl-50"],[1,"tab","mr-20","d-flex","align-center","cursor-pointer",3,"click"],["src","assets/images/icons-nav-home-active.svg",1,"font-40"],["src","assets/images/icons-nav-agenda-inactive.svg",1,"font-40"],["src","assets/images/icons-nav-home-dk.svg",1,"font-40"],["src","assets/images/icons-nav-a-es-inactive.svg",1,"font-40"],["src","assets/images/icons-nav-grupos-inactive-dk-white.svg",1,"font-40"],[1,"header-btns","d-flex"],["class","mr-10 d-flex align-center cursor-pointer",4,"ngIf"],[1,"div-profile","d-flex","cursor-pointer",3,"click"],[1,"div-search"],[3,"click"],["src","assets/images/icons-search.svg",1,"font-45"],[1,"mr-10","d-flex","align-center","cursor-pointer"],["style","padding-top: 5px;",3,"click",4,"ngIf"],["class","btn-no-color",3,"click",4,"ngIf"],[4,"ngIf"],[2,"padding-top","5px",3,"click"],[1,"btn-no-color",3,"click"],["name","restaurant-outline","src","assets/images/icons-search-close.svg",1,"font-40"],["class","d-flex search-input-container ml-10 justify-between",4,"ngIf"],[1,"d-flex","search-input-container","ml-10","justify-between"],[1,"icon",3,"click"],["slot","end","name","search",1,"icon-z"],[1,"input-text","d-flex","ion-align-items-center"],["type","search","placeholder","Pesquisar",1,"search-input","text-black",3,"ngModel","keyup.enter","ngModelChange"],["name","restaurant-outline","src","assets/images/icons-search-close.svg"]],template:function(t,e){1&t&&(c.TgZ(0,"div",0),c.TgZ(1,"div",1),c.YNc(2,u,3,0,"div",2),c.TgZ(3,"div",3),c._UZ(4,"img",4),c.qZA(),c.TgZ(5,"div",5),c.NdJ("click",function(){return e.openProfile()}),c._UZ(6,"ion-icon",6),c.TgZ(7,"ion-label",7),c._uU(8),c.qZA(),c.qZA(),c.qZA(),c.TgZ(9,"div",8),c.TgZ(10,"div",9),c.TgZ(11,"div",10),c._UZ(12,"img",4),c.qZA(),c.TgZ(13,"div",11),c.TgZ(14,"div",12),c.NdJ("click",function(){return e.changeRoute("/home/events")}),c._UZ(15,"ion-icon",13),c.TgZ(16,"span"),c._uU(17,"In\xedcio"),c.qZA(),c.qZA(),c.TgZ(18,"div",12),c.NdJ("click",function(){return e.changeRoute("/home/agenda")}),c._UZ(19,"ion-icon",14),c.TgZ(20,"span"),c._uU(21,"Agenda"),c.qZA(),c.qZA(),c.TgZ(22,"div",12),c.NdJ("click",function(){return e.changeRoute("/home/gabinete-digital")}),c._UZ(23,"ion-icon",15),c.TgZ(24,"span"),c._uU(25,"Gabinete"),c.qZA(),c.qZA(),c.TgZ(26,"div",12),c.NdJ("click",function(){return e.changeRoute("/home/publications")}),c._UZ(27,"ion-icon",16),c.TgZ(28,"span"),c._uU(29,"Ac\xe7\xf5es"),c.qZA(),c.qZA(),c.TgZ(30,"div",12),c.NdJ("click",function(){return e.changeRoute("/home/chat")}),c._UZ(31,"ion-icon",17),c.TgZ(32,"span"),c._uU(33,"Chat"),c.qZA(),c.qZA(),c.qZA(),c.TgZ(34,"div",18),c.YNc(35,Z,4,3,"div",19),c.TgZ(36,"div",20),c.NdJ("click",function(){return e.openProfile()}),c._UZ(37,"ion-icon",6),c.TgZ(38,"ion-label",7),c._uU(39),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA(),c.qZA()),2&t&&(c.xp6(2),c.Q6J("ngIf",!e.hideSearchBtn),c.xp6(6),c.Oqu(e.loggeduser.Profile),c.xp6(6),c.ekj("active","/home/events"==e.locationPathname()),c.xp6(4),c.ekj("active","/home/agenda"==e.locationPathname()),c.xp6(4),c.ekj("active","/home/gabinete-digital"==e.locationPathname()),c.xp6(4),c.ekj("active","/home/publications"==e.locationPathname()),c.xp6(4),c.ekj("active","/home/chat"==e.locationPathname()),c.xp6(5),c.Q6J("ngIf",!e.hideSearchBtn),c.xp6(4),c.Oqu(e.profileLabel(e.loggeduser.Profile)))},directives:[l.O5,r.gu,r.Q$,r.pK,r.j9,g.JJ,g.On],styles:[".div-top-header[_ngcontent-%COMP%]{margin:0 1.25em;padding-top:.9375em;border:0!important}.div-logo[_ngcontent-%COMP%]{background:transparent;width:8.75em;justify-content:center;display:flex}.div-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;margin:0 auto}.header-btns[_ngcontent-%COMP%]{justify-content:center;align-items:center}.div-profile[_ngcontent-%COMP%]{width:90px;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content;font-size:45px;justify-content:flex-end;display:flex;background-color:transparent;justify-content:center;align-items:center;overflow:auto}.div-profile[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{position:relative;border:none!important}.div-profile[_ngcontent-%COMP%] .profile-text[_ngcontent-%COMP%]{font-size:20px;font-weight:300;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;position:absolute}.desktop[_ngcontent-%COMP%]{display:none}@media only screen and (min-width: 1366px){.mobile[_ngcontent-%COMP%]{display:none!important}.desktop[_ngcontent-%COMP%]{display:block}}.tab[_ngcontent-%COMP%]{height:65px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.active[_ngcontent-%COMP%]{border-top:7px solid #fff}.search-input-container[_ngcontent-%COMP%]{background-color:#fff;border-radius:27.5px;border:1px solid #ebebeb}.search-input-container[_ngcontent-%COMP%] .icon[_ngcontent-%COMP%]{color:#797979;width:45px;height:45px;display:flex;justify-content:center;font-size:25px;align-items:center}.search-input-container[_ngcontent-%COMP%] .input-text[_ngcontent-%COMP%]{width:100%}.search-input-container[_ngcontent-%COMP%] .icon-z[_ngcontent-%COMP%]{width:20px}"]}),t})()},42199:function(t,e,n){"use strict";n.d(e,{t:function(){return c}});var i=n(66096),o=n(2527),s=n(37716);const c=new((()=>{class t{constructor(){this._list=[],this.keyName=(0,o.SHA1)(this.constructor.name+"PublicationEventFolder/local").toString(),setTimeout(()=>{let t=i.I.get(this.keyName,[]);this._list=t.list},10)}get list(){return this._list}reset(t){this._list=t,this.save()}save(){setTimeout(()=>{i.I.set(this.keyName,{list:this._list})},10)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})())},54601:function(t,e,n){"use strict";n.d(e,{B:function(){return c}});var i=n(66096),o=n(2527),s=n(37716);const c=new((()=>{class t{constructor(){this._document={},this.keyName=(0,o.SHA1)(this.constructor.name+"view-publication-list/local").toString(),setTimeout(()=>{let t=i.I.get(this.keyName,{});this._document=t.document||{}},10)}get documents(){return this._document}getDocument(t){return this._document[t]}add(t,e){this._document[t]=e,setTimeout(()=>{i.I.set(this.keyName,{document:this._document})},100)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})())},55749:function(t,e,n){"use strict";n.d(e,{e:function(){return c}});var i=n(66096),o=n(2527),s=n(37716);const c=new((()=>{class t{constructor(){this._list=[],this.keyName=(0,o.SHA1)(this.constructor.name+" PublicationTravelFolder/local").toString(),setTimeout(()=>{let t=i.I.get(this.keyName,[]);this._list=t.list},10)}get list(){return this._list}reset(t){this._list=t,this.save(this._list)}save(t){setTimeout(()=>{i.I.set(this.keyName,{list:this._list})},10)}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})())}}]);