function n(i) {
  if (!i) return;
  const e = i.toLowerCase();
  if (e.includes("facebook.com") || e.includes("fb.com"))
    return "facebook";
  if (e.includes("instagram.com"))
    return "instagram";
  if (e.includes("youtube.com") || e.includes("youtu.be"))
    return "youtube";
  if (e.includes("linkedin.com"))
    return "linkedin";
  if (e.includes("pinterest.com") || e.includes("pin.it"))
    return "pinterest";
  if (e.includes("tiktok.com"))
    return "tiktok";
  if (e.includes("twitter.com") || e.includes("x.com"))
    return "twitter";
}
export {
  n as detectNetworkFromUrl
};
