<commit_before>/**
 * @name- BadleeCard.js
 * 
 * @chill- Suffering is only one face of life. Life has another face, the face of wonder. If we can see that face of life, we will have happiness, peace and joy. When our hearts are unfettered, we can make direct contact with the wonders of life. - <NAME>
 * 
 * 
 * @description- Badlee Card component
 * 
 * @author- heartit pirates were here
 */
"use strict";
import moment from "moment";
import {
  Body,
  Card,
  CardItem,
  Left,
  Right,
  Text,
  Thumbnail,
  View
} from "native-base";
import React, { Component } from "react";
import { Image, TouchableOpacity } from "react-native";
import Icon from "./Icon";

class BadleeCard extends React.PureComponent {
  constructor(props) {
    super(props);
    this.onClickUser = this._onClickUser.bind(this);
    this.onClickLike = this._onClickLike.bind(this);
    this.onClickUnlike = this._onClickUnlike.bind(this);
    this.onClickWish = this._onClickWish.bind(this);
    this.onClickUnwish = this._onClickUnwish.bind(this);
    this.onClickComment = this._onClickComment.bind(this);
    this.onClickDelete = this._onClickDelete.bind(this);
  }
  _onClickUser = () => {
    this.props.onClickUser(this.props.userID);
  };
  _onClickLike = () => {
    this.props.onClickLike(this.props.id, true);
  };
  _onClickUnlike = () => {
    this.props.onClickLike(this.props.id, false);
  };
  _onClickWish = () => {
    this.props.onClickWish(this.props.id, true);
  };
  _onClickUnwish = () => {
    this.props.onClickWish(this.props.id, false);
  };
  _onClickComment = () => {
    this.props.onClickComment(this.props.id);
  };
  _onClickDelete = () => {
    this.props.onClickDelete(this.props.id);
  };
  render() {
    let {
      id,
      media,
      purpose,
      userAvatar,
      userName,
      time,
      location,
      description,
      likes,
      wishes,
      commentCount,
      userID,
      loggedUserID
    } = this.props;
    console.log(media);
    return (
      <Card style={styles.card}><commit_msg>removed console<commit_after>/**
 * @name- BadleeCard.js
 * 
 * @chill- Suffering is only one face of life. Life has another face, the face of wonder. If we can see that face of life, we will have happiness, peace and joy. When our hearts are unfettered, we can make direct contact with the wonders of life. - <NAME>
 * 
 * 
 * @description- Badlee Card component
 * 
 * @author- heartit pirates were here
 */
"use strict";
import moment from "moment";
import {
  Body,
  Card,
  CardItem,
  Left,
  Right,
  Text,
  Thumbnail,
  View
} from "native-base";
import React, { Component } from "react";
import { Image, TouchableOpacity } from "react-native";
import Icon from "./Icon";

class BadleeCard extends React.PureComponent {
  constructor(props) {
    super(props);
    this.onClickUser = this._onClickUser.bind(this);
    this.onClickLike = this._onClickLike.bind(this);
    this.onClickUnlike = this._onClickUnlike.bind(this);
    this.onClickWish = this._onClickWish.bind(this);
    this.onClickUnwish = this._onClickUnwish.bind(this);
    this.onClickComment = this._onClickComment.bind(this);
    this.onClickDelete = this._onClickDelete.bind(this);
  }
  _onClickUser = () => {
    this.props.onClickUser(this.props.userID);
  };
  _onClickLike = () => {
    this.props.onClickLike(this.props.id, true);
  };
  _onClickUnlike = () => {
    this.props.onClickLike(this.props.id, false);
  };
  _onClickWish = () => {
    this.props.onClickWish(this.props.id, true);
  };
  _onClickUnwish = () => {
    this.props.onClickWish(this.props.id, false);
  };
  _onClickComment = () => {
    this.props.onClickComment(this.props.id);
  };
  _onClickDelete = () => {
    this.props.onClickDelete(this.props.id);
  };
  render() {
    let {
      id,
      media,
      purpose,
      userAvatar,
      userName,
      time,
      location,
      description,
      likes,
      wishes,
      commentCount,
      userID,
      loggedUserID
    } = this.props;
    return (
      <Card style={styles.card}>
{'fraction_non_alphanumeric': 0.13336638572136836, 'fraction_numerical': 0.0, 'mean_word_length': 3.0029761904761907, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6247428', 'n_tokens_mistral': 1374, 'n_tokens_neox': 1360, 'n_words': 295}