import{a as g,b as M}from"./chunk-5BUZYHEF.js";import"./chunk-LK2BF24O.js";import{a as f,b as I}from"./chunk-W72U7V2U.js";import"./chunk-AIHAZUSZ.js";import{a as u,b as C}from"./chunk-TS62PHQY.js";import"./chunk-KADRYNDC.js";import{h,o as S}from"./chunk-HO2J6YLX.js";import"./chunk-IOINCEV4.js";import"./chunk-Z5RJRCWC.js";import{Eb as o,Gd as m,J as r,Ob as d,Sb as p,T as a,ia as c,na as b,x as s,ya as l}from"./chunk-JSJB5BKT.js";import{e as v}from"./chunk-SZAW6ZBW.js";var W,w=v(()=>{m();b();C();I();m();S();M();W=(()=>{class t extends u{constructor(i,e){super(),this.activatedRoute=i,this.navigationService=e,this.webSessionIcon="",this.jetUrl="",this.webClientSessionService=l(f)}ngAfterViewInit(){this.subscribeToRoute()}subscribeToRoute(){this.activatedRoute.paramMap.pipe(a(1)).subscribe(i=>{this.sessionId=i.get("sessionId"),this.sessionId||this.initializePlaceholderSession(this.sessionId)})}initializePlaceholderSession(i){this.webClientSessionService.getAllWebSessions().pipe(c(this.destroyed$),s(e=>e.filter(n=>n.sessionId===i)),r(e=>e.length===0)).subscribe(()=>{this.navigationService.navigateToRoot()})}getComponentTitle(){return"lblWebApplication"}static{this.\u0275fac=function(e){return new(e||t)(o(h),o(g))}}static{this.\u0275cmp=d({type:t,selectors:[["ng-component"]],features:[p],decls:0,vars:0,template:function(e,n){},styles:['[_nghost-%COMP%]{background:var(--connection-view-default-background-color) url("./media/session_background-PMMLASQV.png");display:flex;height:100%;width:100%;flex-direction:column}.session-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}']})}}return t})()});w();export{W as WebClientPlaceholderComponent};
