import{r as i,h as t,a as s,g as e}from"./p-d52b3602.js";const a=class{constructor(t){i(this,t),this.portalName="",this.claimLang="de",this.mainNavigation=[],this.iconNavigation=[],this.userNavigation=[],this.sectorNavigation=[],this.addonNavigation=[],this.activeRouteId="",this.activeSectorId="",this.sticky=!1,this.scrolled=!1}componentWillLoad(){this.hasSlotHeader=!!this.hostElement.querySelector('[slot="header"]')}render(){return t(s,null,this.styles&&t("style",null,this.styles),t("div",{part:"base",class:"shell"},this.hasSlotHeader?t("slot",{name:"header"}):t("scale-app-header",{logoClick:this.logoClick,logoAriaDescribedBy:this.logoAriaDescribedBy,logoHref:this.logoHref,logoTitle:this.logoTitle,logoHideTitle:this.logoHideTitle,portalName:this.portalName,mainNavigation:this.mainNavigation,iconNavigation:this.iconNavigation,userNavigation:this.userNavigation,sectorNavigation:this.sectorNavigation,addonNavigation:this.addonNavigation,activeRouteId:this.activeRouteId,activeSectorId:this.activeSectorId,claimLang:this.claimLang,sticky:this.sticky,userMenuAriaLabel:this.userMenuAriaLabel}),t("main",{class:"content"},t("slot",null)),t("slot",{name:"footer"})))}get hostElement(){return e(this)}};a.style=":host{--background:var(--telekom-color-background-canvas, #fff);--spacing-x:var(--telekom-spacing-composition-space-08);--min-height:100vh}.sr-only{position:absolute;left:-10000px;overflow:hidden}.shell{display:flex;min-height:var(--min-height);flex-direction:column}.shell .content{box-sizing:border-box;align-self:center;width:100%;background:var(--background);padding-left:var(--spacing-x);padding-right:var(--spacing-x);flex:1}@media (min-width: 1552px){.shell .content{max-width:var(--header-max-width)}}";export{a as scale_app_shell}