import { SmartToySharp, Lock } from "@suid/icons-material"; import { formatRelative } from "date-fns"; import type { mastodon } from "masto"; import { createRenderEffect, Show, splitProps, type JSX } from "solid-js"; import Img from "~material/Img"; import { Body2 } from "~material/typography"; import { useAppLocale } from "~platform/i18n"; import { resolveCustomEmoji } from "../../masto/toot"; import "./TootAuthorGroup.css"; function TootAuthorGroup( props: { status: mastodon.v1.Status; now: Date; } & JSX.HTMLElementTags["div"], ) { const [managed, rest] = splitProps(props, ["status", "now"]); const toot = () => managed.status; const { dateFn: dateFnLocale } = useAppLocale(); return (