import{F as o,I as n,O as m,Qa as s,R as r,_a as a}from"./chunk-AKYE5XLA.js";var l=class i{constructor(e){this.platformId=e}hasBodyToLimit=s.required();ngOnChanges(e){if(!a(this.platformId))return;let t=document.querySelector("body");this.hasBodyToLimit()?this.limitBodyElement(t):this.unlimitBodyElement(t)}limitBodyElement(e){e.style.overflow="hidden"}unlimitBodyElement(e){e.style.overflow="auto"}static \u0275fac=function(t){return new(t||i)(m(n))};static \u0275dir=r({type:i,selectors:[["","appBodyHeightLimiter",""]],inputs:{hasBodyToLimit:[1,"hasBodyToLimit"]},features:[o]})};export{l as a};
