const plansV2Features = require('./plansV2Features')

const config = {
  individual: {
    tableHead: {
      individual_free: {},
      individual_personal: {},
      individual_collaborator: {},
      individual_professional: {},
    },
    features: plansV2Features.individual,
    highlightedColumn: {
      index: 2,
      text: {
        monthly: 'MOST POPULAR',
        annual: 'MOST POPULAR',
      },
    },
    eventTrackingKey: 'plans-page-click',
    additionalEventSegmentation: {
      'plans-page-layout-v3': 'new-plans-page',
    },
  },
  group: {
    tableHead: {
      group_collaborator: {},
      group_professional: {},
      group_organization: {},
    },
    features: plansV2Features.group,
    highlightedColumn: {
      index: 0,
      text: {
        annual: 'MOST POPULAR',
      },
    },
    eventTrackingKey: 'plans-page-click',
    additionalEventSegmentation: {
      'plans-page-layout-v3': 'new-plans-page',
    },
  },
  student: {
    baseColspan: 2,
    maxColumn: 3,
    tableHead: {
      student_free: {
        colspan: 3,
      },
      student_student: {
        showExtraContent: false,
        colspan: 3,
      },
    },
    features: plansV2Features.student,
    highlightedColumn: {
      index: 1,
      text: {
        monthly: 'SAVE 20% ON ANNUAL PLAN',
        annual: 'SAVING 20%',
      },
    },
    eventTrackingKey: 'plans-page-click',
    additionalEventSegmentation: {
      'plans-page-layout-v3': 'new-plans-page',
    },
  },
}

module.exports = config
