${this.isRecording
? html`
Recording
${this._formatDuration(
this.recordingDuration,
)}
${this.showWaveform
? html`
`
: ""}
`
: ""} ${this.isProcessing
? html`
⏳ Transcribing...
`
: ""} ${this.errorMessage
? html`
${this.errorMessage}
`
: ""}
`;
}
}
customElements.define("ct-voice-input", CTVoiceInput);