import { FaDownload } from "react-icons/fa"; import { FiWifi } from "react-icons/fi"; import { GoGear, GoKebabHorizontal, GoPlus } from "react-icons/go"; import { LuTrash2, LuUsers } from "react-icons/lu"; import { Logo } from "./icons/logo"; import { Button } from "./ui/button"; import { CardTitle } from "./ui/card"; import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "./ui/dropdown-menu"; import { RippleButton } from "./ui/ripple"; import { Tooltip, TooltipContent, TooltipTrigger } from "./ui/tooltip"; type Props = { selectedProfiles: string[]; onBulkGroupAssignment: () => void; onBulkDelete: () => void; onSettingsDialogOpen: (open: boolean) => void; onProxyManagementDialogOpen: (open: boolean) => void; onGroupManagementDialogOpen: (open: boolean) => void; onImportProfileDialogOpen: (open: boolean) => void; onCreateProfileDialogOpen: (open: boolean) => void; }; const HomeHeader = ({ selectedProfiles, onBulkGroupAssignment, onBulkDelete, onSettingsDialogOpen, onProxyManagementDialogOpen, onGroupManagementDialogOpen, onImportProfileDialogOpen, onCreateProfileDialogOpen, }: Props) => { const handleLogoClick = () => { // Trigger the same URL handling logic as if the URL came from the system const event = new CustomEvent("url-open-request", { detail: "https://donutbrowser.com", }); window.dispatchEvent(event); }; return (