<commit_before>import React from 'react';
import ReactDOM from 'react-dom';
import ReactBaseComponent from './reactBaseComponent';
import { YOUTUBE_API_KEY } from '../secret';
import { base, firebaseAuth } from '../firebaseApp';
import YouTubeNode from 'youtube-node';
import ReactPlayer from 'react-player';
import classNames from 'classNames';
import { getAnimalName } from '../animal';
import giphy from 'giphy-api';

const SyncStates = [
  { state: 'que', asArray: true },
  { state: 'users', asArray: true },
  { state: 'comments', asArray: true },
  { state: 'playingVideo', asArray: false },
  { state: 'playing', asArray: false },
  { state: 'startTime', asArray: false },
];

const youtubeUrl = (videoId) => `https://www.youtube.com/watch?v=${videoId}`;
const videoObject = (video, userName) => Object.assign({}, video, { userName });
const defaultCurrentUser = Object.assign(
  {}, { name: getAnimalName(), photoURL: '', isLogin: false }
);
const PlayingVideoStatusText = {
  playing: 'Now Playing',
  noVideos: "There're no videos to play.",
};
const CommentType = { text: 'text', log: 'log', gif: 'gif' };

const commentObj = (content, userName, type, keyword) => (<commit_msg>一旦コミット<commit_after>import React from 'react';
import ReactDOM from 'react-dom';
import ReactBaseComponent from './reactBaseComponent';
import { YOUTUBE_API_KEY } from '../secret';
import { base, firebaseAuth } from '../firebaseApp';
import YouTubeNode from 'youtube-node';
import ReactPlayer from 'react-player';
import classNames from 'classNames';
import { getAnimalName } from '../animal';
import giphy from 'giphy-api';

const SyncStates = [
  { state: 'que', asArray: true },
  { state: 'users', asArray: true },
  { state: 'comments', asArray: true },
  { state: 'playingVideo', asArray: false },
  { state: 'playing', asArray: false },
  { state: 'startTime', asArray: false },
];

const youtubeUrl = (videoId) => `https://www.youtube.com/watch?v=${videoId}`;
const videoObject = (video, userName) => Object.assign({}, video, { userName });
const defaultCurrentUser = Object.assign(
  {}, { name: getAnimalName(), photoURL: '', isLogin: false }
);
const PlayingVideoStatusText = {
  playing: 'Now Playing',
  noVideos: "There're no videos to play.",
};
const CommentType = { text: 'text', log: 'log', gif: 'gif' };
const commentObj = (content, userName, type, keyword) => (
{'fraction_non_alphanumeric': 0.1679324894514768, 'fraction_numerical': 0.0, 'mean_word_length': 5.048469387755102, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '641883', 'n_tokens_mistral': 757, 'n_tokens_neox': 733, 'n_words': 222}