import * as i0 from '@angular/core'; import { AfterContentInit, EventEmitter, QueryList, ElementRef } from '@angular/core'; import { FormGroup } from '@angular/forms'; /** * @description * Individual comment item component displaying a single comment with author information, timestamp, and nested replies. * Provides automatic text truncation with expand/collapse functionality for long comments. * Supports nested comment threads with collapsible child comments and integrated reply textarea. * Displays author avatar, name, creation timestamp, and optional action buttons. * Automatically counts and manages child comment items through content projection. * * @usageNotes * ```html * * This is the comment text that will be automatically truncated if it exceeds the character limit. * * * * * ``` * * ### Accessibility * - "Read more" and "Read less" links are keyboard accessible with proper focus management * - Reply link is accessible via keyboard navigation * - Nested comment structure uses semantic `