<commit_before>import React from 'react';

import './AudioMessage.css';

export default class AudioMessage extends React.PureComponent {
    render() {
        return (
            <div className={'rce-mbox-audio'}>
                <audio controls controlsList={this.props.download ? "download" : "nodownload"}>
                    <source src={this.props.audioURL} type="audio/mp3"/>
                    Your browser does not support the audio element.
                </audio>
                {
                    this.props.text &&
                    this.props.audioURL === null &&
                    <div className='rce-mbox-text'>
                        {this.props.text}
                    </div>
                }
            </div>
        );
    }
}

AudioMessage.defaultProps = {
    audioURL: null,
    download: false,
};<commit_msg>audio message texti propertye bağlandı<commit_after>import React from 'react';

import './AudioMessage.css';

export default class AudioMessage extends React.PureComponent {
    render() {
        return (
            <div className={'rce-mbox-audio'}>
                <audio controls controlsList={this.props.download ? "download" : "nodownload"}>
                    <source src={this.props.audioURL} type="audio/mp3"/>
                    Your browser does not support the audio element.
                </audio>
                {
                    this.props.showText === true &&
                    this.props.text &&
                    <div className='rce-mbox-text'>
                        {this.props.text}
                    </div>
                }
            </div>
        );
    }
}

AudioMessage.defaultProps = {
    audioURL: null,
    download: false,
    showText: false,
};
{'fraction_non_alphanumeric': 0.11441647597254005, 'fraction_numerical': 0.0011441647597254005, 'mean_word_length': 1.4393305439330544, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '647096', 'n_tokens_mistral': 457, 'n_tokens_neox': 436, 'n_words': 98}