import { BlurView } from "expo-blur"; import React, { useCallback, useEffect, useMemo, useRef, useState, } from "react"; import { Image, Pressable, StyleSheet, Text, View, useWindowDimensions, } from "react-native"; import { icons, img } from "../../../assets"; import KaraokeLyrics from "../../../components/KaraokeLyrics"; import { usersRef } from "../../../config/firebase"; import { Routes } from "../../../navigation"; import { navigate } from "../../../navigation/NavigationService"; import { useUser } from "../../../providers/UserDataProvider"; import { Palette } from "../../../styles"; import { FONT_FAMILY } from "../../../styles/Fonts"; import { size } from "../../../styles/Style"; import CommentsPanel from "./CommentsPanel.web"; import { getProjectLikes, LIKE_TARGET, toggleProjectLike, } from "../../../utils/likes"; import { ensureAuthenticated } from "../../../utils/authRedirect"; import { createPlaybackSharePayload, openShareSheet, } from "../../../utils/shareSheet"; import { SheetManager } from "react-native-actions-sheet"; import { Feather } from "@expo/vector-icons"; // Debug logging toggle for web playback const DEBUG_PLAYBACK_WEB = true; // NOTE: Web-only implementation that uses a native