1import{a as V}from"./chunk-TW5YFF3T.js";import{a as z}from"./chunk-AIYWUXFN.js";import{a as L}from"./chunk-W37XKLVM.js";import{c as O}from"./chunk-FZ3L46M5.js";import{g as N}from"./chunk-RTGIJOJ3.js";import{d as j,e as H,g as $}from"./chunk-I335Z6VX.js";import{c as K}from"./chunk-RH7YKMCI.js";import{D as E,s as g}from"./chunk-GUQT3FOM.js";import{Dd as l,Eb as m,Ed as c,G as D,La as h,Lb as o,Oa as M,S,Sc as w,Tc as B,Ub as k,Uc as I,bc as f,cd as R,e as v,fa as d,fc as u,gc as P,kc as x,lc as W,pc as b,rc as _,ud as A,w as y,wc as T,xc as C,yc as p,zc as a}from"./chunk-H5RMQNTW.js";var q=["*"],G=()=>[import("./chunk-7JPU5DII.js").then(e=>e.SidebarComponent)],J=()=>[import("./chunk-JSQ4DGIL.js").then(e=>e.FooterComponent),g];function Q(e,r){e&1&&a(0,"app-sidebar")}function X(e,r){if(e&1&&a(0,"app-header",4),e&2){let t=w();T("showWebinarBanner",t.showWebinarBanner())}}function Y(e,r){e&1&&a(0,"app-footer")}function Z(e,r){if(e&1&&(b(0,Y,1,0,"app-footer"),l(1,"async")),e&2){let t=w();_(c(1,1,t.layoutService.footerVisible$)?0:-1)}}function ee(e,r){e&1&&a(0,"div",5)}var _e=(()=>{class e{constructor(t,i,n,s,F,U){this.store=t,this.breakpointObserver=i,this.router=n,this.activatedRoute=s,this.layoutService=F,this.platformId=U,this.destroy$=new v,this.hideSidebarOnDesktop=h(!1),this.showWebinarBanner=h(!1),this.isDesktop=!1,this.routeWantsAutoCollapse=!1,this.wasSidebarHiddenOnDesktop=!1,this.DESKTOP_BREAKPOINT="(min-width: 1200px)",E(this.platformId)&&(this.isDesktop=window.matchMedia(this.DESKTOP_BREAKPOINT).matches)}ngOnInit(){this.updateRouteData(),this.breakpointObserver.observe([this.DESKTOP_BREAKPOINT]).pipe(d(this.destroy$)).subscribe(t=>{this.isDesktop=t.matches,this.updateRouteData(),this.updateLayoutState()}),this.router.events.pipe(D(t=>t instanceof j),d(this.destroy$)).subscribe(()=>{this.updateRouteData(),this.updateLayoutState()}),y([this.layoutService.sidebarVisible$,this.breakpointObserver.observe([this.DESKTOP_BREAKPOINT])]).pipe(d(this.destroy$),S(([t,i],[n,s])=>t===n&&i.matches===s.matches)).subscribe(([t,i])=>{!t||!i.matches||this.routeWantsAutoCollapse&&this.store.dispatch(O())})}updateRouteData(){let t=this.activatedRoute;for(;t.firstChild;)t=t.firstChild;let i=t.snapshot.data,n=i?.hideSidebarOnDesktop===!0;this.hideSidebarOnDesktop.set(n),this.showWebinarBanner.set(i?.showWebinarBanner===!0),n&&this.isDesktop?(this.layoutService.hide
1Sidebar(),this.wasSidebarHiddenOnDesktop=!0):(this.wasSidebarHiddenOnDesktop&&this.isDesktop?(this.routeWantsAutoCollapse=!0,this.wasSidebarHiddenOnDesktop=!1):this.routeWantsAutoCollapse=i?.autoCollapseSidebar===!0,this.layoutService.showSidebar())}updateLayoutState(){this.isDesktop&&this.routeWantsAutoCollapse&&this.store.dispatch(O())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}static{this.\u0275fac=function(i){return new(i||e)(o(N),o(K),o($),o(H),o(L),o(M))}}static{this.\u0275cmp=k({type:e,selectors:[["app-main-wrapper"]],ngContentSelectors:q,decls:16,vars:8,consts:[[1,"main-layout-container"],[1,"sidebar-slot"],["id","main_wrapper"],[1,"tw-sticky","tw-top-0","tw-z-[1050]","tw-w-full"],[3,"showWebinarBanner"],["aria-hidden","true",1,"footer-defer-placeholder"]],template:function(i,n){i&1&&(B(),C(0,"div",0)(1,"div",1),f(2,Q,1,0),u(3,2,G),l(5,"async"),p(),C(6,"div",2)(7,"div",3),b(8,X,1,1,"app-header",4),l(9,"async"),p(),I(10),f(11,Z,2,3)(12,ee,1,0),A(),u(13,11,J,null,12,null,null,null,null,1),W(),x(0,-1),a(15,"app-log-out-modale"),p()()),i&2&&(R("sidebar-hidden-on-desktop",n.hideSidebarOnDesktop()),m(3),P(c(5,4,n.layoutService.sidebarVisible$)),m(5),_(c(9,6,n.layoutService.headerVisible$)?8:-1))},dependencies:[V,z,g],styles:["app-sidebar[_ngcontent-%COMP%]{display:none}@media(min-width:1200px){app-sidebar[_ngcontent-%COMP%]{display:block;transition:width .3s ease;will-change:width;flex-shrink:0}app-sidebar.expanded[_ngcontent-%COMP%]{width:var(--sidebar-width-expanded)}app-sidebar.collapsed[_ngcontent-%COMP%]{width:var(--sidebar-width-collapsed)}}.main-layout-container[_ngcontent-%COMP%]{display:flex;min-height:100vh}@media(min-width:1200px){.main-layout-container.sidebar-hidden-on-desktop[_ngcontent-%COMP%] app-sidebar[_ngcontent-%COMP%]{display:none!important}}.feedback-btn[_ngcontent-%COMP%]{position:fixed;background-color:#ff8000;color:#fff;z-index:5000;border-radius:1rem 1rem 0 0;letter-spacing:1px;right:-2.75rem;bottom:5rem;transform:rotate(-90deg);overflow:hidden;font-size:.75rem}.feedback-btn[_ngcontent-%COMP%] svg[_ngcontent-%COMP%]{width:.875rem;height:.875rem}.all-in-one-widget-btn[_ngcontent-%COMP%]{background-color:#0e1c36;position:fixed;bottom:3.5rem;left:1rem;border-radius:.325rem;z-index:999;font-size:.8rem}@media(min-width:992px){.all-in-one-widget-btn[_ngcontent-%COMP%]{bottom:1rem}}#main_wrapper[_ngcontent-%COMP%]{flex:1;min-width:0}.sidebar-slot[_ngcontent-%COMP%]{display:none}@media(min-width:1200px){.sidebar-slot[_ngcontent-%COMP%]{display:block;flex:0 0 auto;min-width:var(--sidebar-width-collapsed)}}.sidebar-hidden-on-desktop[_ngcontent-%COMP%] .sidebar-slot[_ngcontent-%COMP%]{display:none}.footer-defer-placeholder[_ngcontent-%COMP%]{min-height:20rem}"]})}}return e})();export{_e as a};
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.