import{r as e}from"./index-Az39ZADK.js";import{a as o}from"./root-loader-C5P2c7MU.js";function t(){return window.navigator.onLine}function r(n){return window.addEventListener("online",n),window.addEventListener("offline",n),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",n)}}function u(){const n=o();return e.useSyncExternalStore(r,t,()=>n.online)}export{u};
//# sourceMappingURL=online-Dw7HU4wM.js.map
