class @PayoutEntitiesInvitation
  reset = ->
    $('#terms').addClass 'hidden'
    $('#esports').addClass 'hidden'

    select_val = $('#user_category').val()
    switch select_val
      when 'partner'
        $('#terms').removeClass 'hidden'
        $('#esports').removeClass 'hidden'
      when '0cpm'
        $('#esports').removeClass 'hidden'

  @init: ->
    $('#user_category').change reset
    reset()
