import { html } from "/js/lib/lit-html.js";
import {
noop,
classnames,
formatFullTimestamp,
formatLargeNumber,
} from "/js/utils.js";
import {
isBlockedPost,
isNotFoundPost,
isUnavailablePost,
doHideAuthorOnUnauthenticated,
} from "/js/dataHelpers.js";
import "/js/components/app-icon.js";
import { avatarTemplate } from "/js/templates/avatar.template.js";
import "/js/components/plugin-rich-text.js";
import { postEmbedTemplate } from "/js/templates/postEmbed.template.js";
import { postActionBarTemplate } from "/js/templates/postActionBar.template.js";
import { postHeaderTextTemplate } from "/js/templates/postHeaderText.template.js";
import { authorBadgesTemplate } from "/js/templates/labelBadges.template.js";
import { blockedPostTemplate } from "/js/templates/blockedPost.template.js";
import { whoCanReplyBadgeTemplate } from "/js/templates/whoCanReplyBadge.template.js";
import { WhoCanReplyModal } from "/js/modals/whoCanReply.modal.js";
import { notFoundPostTemplate } from "/js/templates/notFoundPost.template.js";
import { unavailablePostTemplate } from "/js/templates/unavailablePost.template.js";
import {
linkToPostLikes,
linkToPostQuotes,
linkToPostReposts,
} from "/js/navigation.js";
import "/js/components/lightbox-image-group.js";
function mutedWarningTemplate({ post, children }) {
if (post.viewer?.hasMutedWord) {
return html`