{"size": 2850, "ext": "js", "max_stars_repo_path": "src/decisiontree/index.js", "max_stars_repo_name": "noobling/lawra-website", "max_stars_repo_stars_event_min_datetime": "2019-12-25T08:16:56.000Z", "max_stars_repo_stars_event_max_datetime": "2019-12-25T08:16:56.000Z", "max_issues_repo_path": "src/decisiontree/index.js", "max_issues_repo_name": "noobling/lawra-website", "max_issues_repo_issues_event_min_datetime": "2019-09-12T02:20:18.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-26T17:41:34.000Z", "max_forks_repo_path": "src/decisiontree/index.js", "max_forks_repo_name": "noobling/lawra-website", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 324, "max_forks_count": null, "avg_line_length": 21.2686567164, "max_line_length": 70, "alphanum_fraction": 0.5526315789}
import React from "react"
import NSCLS from "../components/clcs/NSCLS"
import Peel from "../components/clcs/Peel"
import ELS from "../components/clcs/ELS"
import CCLSWA from "../components/clcs/CCLSWA"
import Ineligible from "../components/clcs/Ineligible"
import money from "./money"
import family from "./family"
import home from "./home"
import crime from "./crime"
import cars from "./cars"
import willsAndEstates from "./willsAndEstates"
import affairs from "./affairs"
import health from "./health"
import injury from "./injury"
import work from "./work"
import rights from "./rights"
import bully from "./bully"
import elder from "./elder"
import youngPeople from "./youngPeople"
import law from "./law"
import product from "./product"
import elsEligibility from "./elsEligibility"
import peelEligibility from "./peelEligibility"
import NSCLSEligibility from "./NSCLSEligibility"

export default [
  {
    id: "initOptions",
    question: "What is your legal problem?",
    options: [
      { value: 1, label: "Family", trigger: "familyOptions" },
      { value: 2, label: "Money", trigger: "moneyOptions" },
      { value: 3, label: "Crime", trigger: "crimeOptions" },
      { value: 4, label: "Cars and Driving", trigger: "carsOptions" },
      {
        value: 5,
        label: "Homes and Neighbours",
        trigger: "homeOptions",
      },
      {
        value: 6,
        label: "Managing your affairs",
        trigger: "affairsOptions",
      },
      {
        value: 7,
        label: "My health",
        trigger: "healthOptions",
      },
      {
        value: 8,
        label: "Your work",
        trigger: "workOptions",
      },
      {
        value: 9,
        label: "Your rights",
        trigger: "rightsOptions",
      },
      {
        value: 10,
        label: "Young people",
        trigger: "youngPeopleOptions",
      },
      {
        value: 11,
        label: "About the law",
        trigger: "lawOptions",
      },
      {
        value: 12,
        label: "A product or service I bought",
        trigger: "productOptions",
      },
    ],
  },
  ...money,
  ...cars,
  ...family,
  ...crime,
  ...home,
  ...willsAndEstates,
  ...affairs,
  ...health,
  ...injury,
  ...work,
  ...rights,
  ...bully,
  ...elder,
  ...youngPeople,
  ...law,
  ...product,
  ...elsEligibility,
  ...peelEligibility,
  ...NSCLSEligibility,
  {
    id: "ineligible",
    component: <Ineligible />,
    end: true,
  },
  {
    id: "Peel",
    component: <Peel />,
    end: true,
  },
  {
    id: "NSCLS",
    component: <NSCLS />,
    end: true,
  },
  {
    id: "CCLSWA",
    component: <CCLSWA />,
    end: true,
  },
  {
    id: "Peel&NSCLS",
    component: (
      <>
        <Peel />
        <br />
        <NSCLS />
      </>
    ),
    end: true,
  },
  {
    id: "ELS",
    component: <ELS />,
    end: true,
  },
]
