Report whether the tab is visible or hidden, so you can pause polling, video and animation when nobody is looking.
pnpm dlx shadcn@latest add "https://ui.tealmac.com/r/use-page-visibility.json"