import React from 'react'; import { Clock, Users, Zap, ShieldCheck } from 'lucide-react'; interface QueueWaitingRoomProps { position: number; etaSeconds: number; onCancel?: () => void; } const QueueWaitingRoom: React.FC = ({ position, etaSeconds, onCancel }) => { // Format ETA beautifully const minutes = Math.floor(etaSeconds / 60); const seconds = etaSeconds % 60; const etaText = minutes > 0 ? `~${minutes} min ${seconds} sec` : `~${seconds} sec`; return (
{/* Animated Gradient Background */}
{/* Scanning Line Animation */}
{/* Header */}
Waiting Room

You are in line.

Our AI models are heavy, so we process extractions one by one.

You can safely close this tab! Your audio is processing securely in the background. You can come back later and check your History page to download the results.
(Note: Tasks may be lost if the upstream server performs a hardware restart)

{/* Large Number Display */}
{/* Pulsing ring */}
Position #{position}
{/* ETA Section */}
Estimated Wait
{etaText}
{/* Features / Reassurance Footer */}
Secure Processing Files deleted after 24h
Pro Tools Active Highest quality output
{onCancel && ( )}
{/* Custom CSS for Scanning animation */}