import{a as o}from"./p-6eef05e4.js";const s=o=>o&&"GASCO-CONTENT"===o.tagName,t=o=>o.querySelector(".gasco-content-scroll-host")||o.querySelector("gasco-content, .gasco-content-scroll-host"),c=o=>o.closest("gasco-content, .gasco-content-scroll-host"),n=s=>o(s,"gasco-content"),e=o=>{if(s(o)){const s=o.scrollY;return o.scrollY=!1,s}return o.style.setProperty("overflow","hidden"),!0},a=(o,t)=>{s(o)?o.scrollY=t:o.style.removeProperty("overflow")};export{c as a,e as d,t as f,n as p,a as r}