<commit_before>class TourStepBox extends Backbone.Marionette.ItemView
  className: 'white-well tour-block'

  events:
    'click .next-step': 'next'

  next: ->
    next_button = @$el.find('.next-step')

    if next_button and next_button.data('disable-with')
      next_button.addClass('disabled').text(next_button.data('disable-with'))
    @trigger('next')

class window.AddChannelsTourStep1 extends TourStepBox
  template: 'tour/add_channel_step1'

class window.AddChannelsTourStep2 extends TourStepBox
  template: 'tour/add_channel_step2'

class window.AddChannelsTourStep3 extends TourStepBox
  template: 'tour/add_channel_step3'<commit_msg>Added template helpers for capitalized translation<commit_after>class TourStepBox extends Backbone.Marionette.ItemView
  className: 'white-well tour-block'

  events:
    'click .next-step': 'next'

  next: ->
    next_button = @$el.find('.next-step')

    if next_button and next_button.data('disable-with')
      next_button.addClass('disabled').text(next_button.data('disable-with'))
    @trigger('next')

class window.AddChannelsTourStep1 extends TourStepBox
  template: 'tour/add_channel_step1'

class window.AddChannelsTourStep2 extends TourStepBox
  template: 'tour/add_channel_step2'
  templateHelpers: ->
    topics: Factlink.Global.t.topics.capitalize()
    channels: Factlink.Global.t.channels.capitalize()


class window.AddChannelsTourStep3 extends TourStepBox
  template: 'tour/add_channel_step3'
{'fraction_non_alphanumeric': 0.1092032967032967, 'fraction_numerical': 0.008241758241758242, 'mean_word_length': 5.226495726495727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '7552058', 'n_tokens_mistral': 478, 'n_tokens_neox': 456, 'n_words': 85}