<commit_before>import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';

@Component({
  selector: 'vmk-hide-show-button',
  template: `<button class='btn btn-xs' (click)='toggleHideShow()'>{{butonText()}}</button>`,
  styles: []
})
export class HideShowButtonComponent implements OnInit {
  @Input() show: boolean = true;
  @Output() stateChanged = new EventEmitter<boolean>();

  constructor() { }

  ngOnInit() {
  }

  butonText(): string {
    return this.show ? 'Hide' : 'Show';
  }

  toggleHideShow(){
    this.show = !this.show
    this.stateChanged.emit(this.show);
  }
}<commit_msg>Give color to the Hide Show button<commit_after>import { Component, OnInit, Input, Output, EventEmitter } from '@angular/core';

@Component({
  selector: 'vmk-hide-show-button',
  template: `<button class='btn btn-xs btn-info' (click)='toggleHideShow()'>{{butonText()}}</button>`,
  styles: []
})
export class HideShowButtonComponent implements OnInit {
  @Input() show: boolean = true;
  @Output() stateChanged = new EventEmitter<boolean>();

  constructor() { }

  ngOnInit() {
  }

  butonText(): string {
    return this.show ? 'Hide' : 'Show';
  }

  toggleHideShow(){
    this.show = !this.show
    this.stateChanged.emit(this.show);
  }
}
{'fraction_non_alphanumeric': 0.17063492063492064, 'fraction_numerical': 0.0, 'mean_word_length': 4.412017167381975, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '532524', 'n_tokens_mistral': 418, 'n_tokens_neox': 406, 'n_words': 91}