<commit_before>/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

import React from 'react';
import { styled } from '@csegames/linaria/react';
import { throttle } from 'lodash';

import { StatusBar } from './StatusBar';
import { HealthBar } from './HealthBar';
import { ActionButtons } from './ActionButtons';

const Container = styled.div`
  display: flex;
  flex-direction: column;
`;

const StatusBarContainer = styled.div`
  margin-bottom: 5px;
  margin-left: 30px;
`;

const HealthBarContainer = styled.div`
  margin-left: 15px;
  margin-bottom: 5px;
`;

const ExtrasContainer = styled.div`
  display: flex;
`;

const ActionButtonsContainer = styled.div`
  margin-left: 5px;
`;

const GeneralInfoContainer = styled.div`
  display: flex;
  align-items: center;
  width: 150px;
  height: 75px;
  background-color: rgba(0, 0, 0, 0.7);
  transform: skewX(-10deg);
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: -5px;
`;

const HeartsContainer = styled.div`
  display: flex;
  flex-direction: column;
  margin-left: 10px;
`;

const Heart = styled.div`
  font-size: 18px;
  color: #ff0000;
`;

const RunesContainer = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 5px;
`;

const RuneItem = styled.div`
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  whitespace: nowrap;
  font-size: 14px;
`;

const RuneColor = styled.span`
  &.Protection {
    color: #00ffff;
  }

  &.Health {
    color: #39b54a;<commit_msg>CU-10143 UI - Rune text is still wrapping when you get to 100/100<commit_after>/*
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

import React from 'react';
import { styled } from '@csegames/linaria/react';
import { throttle } from 'lodash';

import { StatusBar } from './StatusBar';
import { HealthBar } from './HealthBar';
import { ActionButtons } from './ActionButtons';

const Container = styled.div`
  display: flex;
  flex-direction: column;
`;

const StatusBarContainer = styled.div`
  margin-bottom: 5px;
  margin-left: 30px;
`;

const HealthBarContainer = styled.div`
  margin-left: 15px;
  margin-bottom: 5px;
`;

const ExtrasContainer = styled.div`
  display: flex;
`;

const ActionButtonsContainer = styled.div`
  margin-left: 5px;
`;

const GeneralInfoContainer = styled.div`
  display: flex;
  align-items: center;
  width: 150px;
  height: 75px;
  background-color: rgba(0, 0, 0, 0.7);
  transform: skewX(-10deg);
  outline: 1px solid rgba(255, 255, 255, 0.4);
  outline-offset: -5px;
`;

const HeartsContainer = styled.div`
  display: flex;
  flex-direction: column;
  margin-left: 10px;
`;

const Heart = styled.div`
  font-size: 18px;
  color: #ff0000;
`;

const RunesContainer = styled.div`
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 5px;
`;

const RuneItem = styled.div`
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  font-size: 14px;
`;

const RuneColor = styled.span`
  &.Protection {
    color: #00ffff;
  }

  &.Health {
    color: #39b54a;
{'fraction_non_alphanumeric': 0.13353204172876304, 'fraction_numerical': 0.03487332339791356, 'mean_word_length': 3.66759388038943, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '527295', 'n_tokens_mistral': 1291, 'n_tokens_neox': 1189, 'n_words': 342}