<commit_before>import React from 'react';
import PropTypes from 'prop-types';

const Icon = ({ icon, alt, ...other }) => {
  icon = icon.replace('.jpg', '').replace('-', '');
  if (icon === 'petbattle_healthdown') {
    // Blizzard seems to have forgotten to remove the dash for this one... or something
    icon = 'petbattle_health-down';
  }

  return (
    <img
      src={`http://media.blizzard.com/wow/icons/56/${icon}.jpg`}<commit_msg>Fix mixed content warning<commit_after>import React from 'react';
import PropTypes from 'prop-types';

const Icon = ({ icon, alt, ...other }) => {
  icon = icon.replace('.jpg', '').replace('-', '');
  if (icon === 'petbattle_healthdown') {
    // Blizzard seems to have forgotten to remove the dash for this one... or something
    icon = 'petbattle_health-down';
  }

  return (
    <img
      src={`//blzmedia-a.akamaihd.net/wow/icons/56/${icon}.jpg`}
{'fraction_non_alphanumeric': 0.18344519015659955, 'fraction_numerical': 0.0044742729306487695, 'mean_word_length': 3.323671497584541, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '1157560', 'n_tokens_mistral': 296, 'n_tokens_neox': 291, 'n_words': 78}