<commit_before>export default {
  name: 'q-icon',
  props: {
    name: String,
    mat: String,
    ios: String,
    color: String,
    size: String
  },
  computed: {
    icon () {
      return this.mat && __THEME__ === 'mat'
        ? this.mat
        : (this.ios && __THEME__ === 'ios' ? this.ios : this.name)
    },
    classes () {
      let cls
      const icon = this.icon

      if (!icon) {
        cls = ''
      }
      else if (icon.startsWith('fa-')) {
        // Fontawesome 4
        cls = `fa ${icon}`
      }
      else if (/^fa[s|r|l|b]{0,1} /.test(icon)) {
        // Fontawesome 5
        cls = icon
      }
      else if (icon.startsWith('bt-')) {
        cls = `bt ${icon}`
      }
      else if (icon.startsWith('ion-') || icon.startsWith('icon-')) {
        cls = `${icon}`
      }
      else if (icon.startsWith('ion4-')) {
        if (!ctx.children) {
          ctx.children = []
        }
        ctx.children.push(h('ion-icon', {attrs: {name: icon.substr(5)}}))
      }
      else if (icon.startsWith('mdi-')) {
        cls = `mdi ${icon}`
      }
      else {
        cls = 'material-icons'
      }

      return this.color
        ? `${cls} text-${this.color}`
        : cls
    },
    content () {<commit_msg>fix: Build. Temporary remove ion-icon 4 support<commit_after>export default {
  name: 'q-icon',
  props: {
    name: String,
    mat: String,
    ios: String,
    color: String,
    size: String
  },
  computed: {
    icon () {
      return this.mat && __THEME__ === 'mat'
        ? this.mat
        : (this.ios && __THEME__ === 'ios' ? this.ios : this.name)
    },
    classes () {
      let cls
      const icon = this.icon

      if (!icon) {
        cls = ''
      }
      else if (icon.startsWith('fa-')) {
        // Fontawesome 4
        cls = `fa ${icon}`
      }
      else if (/^fa[s|r|l|b]{0,1} /.test(icon)) {
        // Fontawesome 5
        cls = icon
      }
      else if (icon.startsWith('bt-')) {
        cls = `bt ${icon}`
      }
      else if (icon.startsWith('ion-') || icon.startsWith('icon-')) {
        cls = `${icon}`
      }
      else if (icon.startsWith('mdi-')) {
        cls = `mdi ${icon}`
      }
      else {
        cls = 'material-icons'
      }

      return this.color
        ? `${cls} text-${this.color}`
        : cls
    },
    content () {
{'fraction_non_alphanumeric': 0.17829457364341086, 'fraction_numerical': 0.004737295434969853, 'mean_word_length': 1.5499451152579582, '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': '4598741', 'n_tokens_mistral': 803, 'n_tokens_neox': 820, 'n_words': 174}