<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">import{r as d,n as m,aL as f}from"./Bz6GW5sV.js";function h(y,l,a=310,c=0){const o=d(0);let n,i;const u=()=&gt;{const t=Array.from(document.querySelectorAll('[id^="om-"]')).filter(e=&gt;{const r=e.id;return/^om-[a-zA-Z0-9]+$/.test(r)});if(t.length===0){const e=document.querySelectorAll(".promo-banner");e.length&gt;0&amp;&amp;e.forEach(r=&gt;t.push(r))}o.value=window.innerWidth&gt;a?Array.from(t).filter(e=&gt;window.getComputedStyle(e).display==="block").reduce((e,r)=&gt;e+r.offsetHeight,0):0,o.value=o.value+c;const s=document.querySelector(l);s&amp;&amp;s.style.setProperty("--rh",`${o.value}px`)};return m(()=&gt;{u(),n=()=&gt;{requestAnimationFrame(u)},window.addEventListener("resize",n),setTimeout(()=&gt;{i=new MutationObserver(t=&gt;{requestAnimationFrame(()=&gt;{for(const s of t)if(s.type==="childList"){u();break}})}),i.observe(document.body,{childList:!0,subtree:!0})},0)}),f(()=&gt;{n&amp;&amp;window.removeEventListener("resize",n),i&amp;&amp;i.disconnect()}),{}}export{h as u};
//# sourceMappingURL=CAAtX1C-.js.map
</pre></body></html>