import o from"os";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"4.2.860"}}catch{}})();try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="cd0c9baf-7fa4-4372-a4dc-2f124b68ea01",e._sentryDebugIdIdentifier="sentry-dbid-cd0c9baf-7fa4-4372-a4dc-2f124b68ea01")})()}catch{}function*f(){const e=o.networkInterfaces();for(const n of Object.values(e))for(const t of n||[])t.family==="IPv4"&&t.internal&&(yield t.address)}function d(){for(const e of f())if(e==="127.0.0.1")return e;return f().next().value||"127.0.0.1"}function*s(){const e=o.networkInterfaces();for(const n of Object.values(e))for(const t of n||[])t.family==="IPv4"&&!t.internal&&(yield t.address)}function r(){return s().next().value||d()}export{r as getDefaultExternalHostname,d as getDefaultLocalHostname};
//# sourceMappingURL=local-ips-C5d2WBdP.mjs.map
