SUBSYSTEMS = [
    "COMMAND & DATA HANDLING",
    "COMMUNICATIONS",
    "LASER AND PHOTONICS",
    "POWER",
    "SENSORS & ACTUATORS",
    "SPACE MECHANISMS",
    "SPACE SIMULATORS",
    "THERMAL STRAPS",
    "PROPULSION",
    "BUS & PLATFORMS",
    "ELECTRICAL & ELECTRONICS",
    "ATTITUDE DETERMINATION & CONTROL"
]

OUTLINE = {
    "COMMAND & DATA HANDLING": [
        "Atomic Clocks",
        "FPGAs",
        "Memory",
        "Microcontrollers",
        "On-Board Computers"
    ],
    "COMMUNICATIONS SYSTEMS": [
        "GNSS Receivers",
        "Satellite Antenna Systems",
        "Satellite Antennas",
        "Satellite Cameras",
        "Software Defined Radios",
        "Solid State Recorders",
        "Space Qualified Crystals",
        "Space Reflectors",
        "Space Transmitters",
        "Satellite Transponders"
    ],
    "LASER AND PHOTONICS": [
        "Laser Communication Terminals",
        "Optocoupler"
    ],
    "POWER SYSTEMS": [
        "Batteries",
        "Cryocoolers",
        "Power Conditioning and Distribution Units",
        "Power Processing Unit for Thrusters",
        "Satellite Electrical Power Systems",
        "Solar Cells",
        "Solar Panels"
    ],
    "SENSORS & ACTUATORS": [
        "Accelerometers",
        "Inertial Measurement Units",
        "Space Actuators",
        "Temperature Sensors"
    ],
    "SPACE MECHANISMS": [
        "Antenna Positioning Mechanisms",
        "Attach and Release Mechanisms",
        "Solar Array Drive Mechanisms"
    ],
    "SPACE SIMULATORS": [
        "ADCS Simulators",
        "GNSS Simulators",
        "Magnetic Field Simulators",
        "Star Tracker Simulators",
        "Sun Sensor Simulators"
    ],
    "THERMAL STRAPS": [
        "Thermal Straps"
    ],
    "PROPULSION SYSTEMS": [
        "Gimbals",
        "Propellant Tanks",
        "Spacecraft Valves",
        "Thrusters",
        "Bipropellant Thrusters",
        "Cold Gas Thrusters",
        "Electric Propulsion Thrusters",
        "Electrospray Thrusters",
        "Electrothermal Thruster",
        "Fiber-fed Pulsed Plasma Thrusters",
        "Gridded Ion Thrusters",
        "Hall Effect Thrusters",
        "HPGP Thrusters",
        "Hydrazine Thrusters",
        "RF Ion Thrusters",
        "Vacuum Arc Thrusters",
        "Warm Gas Thruster",
        "Water Resistojet"
    ],
    "BUS AND PLATFORMS": [
        "CubeSat Platforms",
        "MicroSat Platforms",
        "NanoSat Platforms",
        "Satellite Bus & Platforms",
        "SmallSat Platforms"
    ],
    "ELECTRICAL / ELECTRONIC COMPONENTS": [
        "Amplifiers",
        "Analog Phase Shifters",
        "Analog to Digital Converters",
        "Baluns",
        "Cable Assemblies",
        "Capacitors",
        "Circulators",
        "Comparators",
        "Couplers",
        "DC to DC Converters",
        "Digital Phase Shifters",
        "Diodes",
        "Diplexers",
        "Fixed Attenuators",
        "Frequency Synthesizers",
        "GaN Transistors",
        "Inductors",
        "Isolators",
        "LDO Voltage Regulators",
        "Log Detectors",
        "Mixers",
        "MOSFETs",
        "Multipliers",
        "Oscillators",
        "Power Dividers",
        "Power Transformers",
        "Resistors",
        "RF Connectors",
        "RF Filters",
        "Solid State Relays",
        "Switches",
        "Terminations",
        "Transistors",
        "Variable Attenuators"
    ],
    "ATTITUDE CONTROL & DETERMINATION SYSTEMS": [
        "ADCS Systems",
        "Control Moment Gyroscopes",
        "Earth/Horizon Sensors",
        "Magnetometers",
        "Magnetorquers",
        "Reaction Wheels",
        "Star Trackers",
        "Sun Sensors"
    ]
}

SUBSUBSYSTEMS = [
    {
        "title": "COMMAND & DATA HANDLING",
        "items": [
            "Atomic Clocks",
            "FPGAs",
            "Memory",
            "Microcontrollers",
            "On-Board Computers"
        ]
    },
    {
        "title": "COMMUNICATIONS",
        "items": [
            "GNSS Receivers",
            "Satellite Antenna Systems",
            "Satellite Antennas",
            "Satellite Cameras",
            "Software Defined Radios",
            "Solid State Recorders",
            "Space Qualified Crystals",
            "Space Reflectors",
            "Space Transmitters",
            "Satellite Transponders"
        ]
    },
    {
        "title": "LASER AND PHOTONICS",
        "items": [
            "Laser Communication Terminals",
            "Optocoupler"
        ]
    },
    {
        "title": "POWER",
        "items": [
            "Batteries",
            "Cryocoolers",
            "Power Conditioning and Distribution Units",
            "Power Processing Unit for Thrusters",
            "Satellite Electrical Power Systems",
            "Solar Cells",
            "Solar Panels"
        ]
    },
    {
        "title": "SENSORS & ACTUATORS",
        "items": [
            "Accelerometers",
            "Inertial Measurement Units",
            "Space Actuators",
            "Temperature Sensors"
        ]
    },
    {
        "title": "SPACE MECHANISMS",
        "items": [
            "Antenna Positioning Mechanisms",
            "Attach and Release Mechanisms",
            "Solar Array Drive Mechanisms"
        ]
    },
    {
        "title": "SPACE SIMULATORS",
        "items": [
            "ADCS Simulators",
            "GNSS Simulators",
            "Magnetic Field Simulators",
            "Star Tracker Simulators",
            "Sun Sensor Simulators"
        ]
    },
    {
        "title": "THERMAL STRAPS",
        "items": [
            "Thermal Straps"
        ]
    },
    {
        "title": "PROPULSION",
        "items": [
            "Gimbals",
            "Propellant Tanks",
            "Spacecraft Valves",
            "Thrusters"
        ]
    },
    {
        "title": "BUS & PLATFORMS",
        "items": [
            "CubeSat Platforms",
            "MicroSat Platforms",
            "NanoSat Platforms",
            "Satellite Bus & Platforms",
            "SmallSat Platforms"
        ]
    },
    {
        "title": "ELECTRICAL & ELECTRONICS",
        "items": [
            "Capacitors",
            "Connectors",
            "Crystals",
            "Diodes",
            "Filters",
            "Inductors",
            "Integrated Circuits",
            "Oscillators",
            "Resistors",
            "Transformers"
        ]
    },
    {
        "title": "ATTITUDE DETERMINATION & CONTROL",
        "items": [
            "Magnetometers",
            "Reaction Wheels",
            "Star Trackers"
        ]
    }
]

SUBSUBSYSTEMS_URLS = [
    {
        "item": "Atomic Clocks",
        "url": "https://www.satnow.com/search/atomic-clocks"
    },
    {
        "item": "FPGAs",
        "url": "https://www.satnow.com/search/space-qualified-fpgas"
    },
    {
        "item": "Memory",
        "url": "https://www.satnow.com/search/memory"
    },
    {
        "item": "Microcontrollers",
        "url": "https://www.satnow.com/search/microcontrollers"
    },
    {
        "item": "On-Board Computers",
        "url": "https://www.satnow.com/search/on-board-computers"
    },
    {
        "item": "GNSS Receivers",
        "url": "https://www.satnow.com/search/gnss-receivers"
    },
    {
        "item": "Satellite Antenna Systems",
        "url": "https://www.satnow.com/search/satellite-antenna-systems"
    },
    {
        "item": "Satellite Antennas",
        "url": "https://www.satnow.com/search/satellite-antennas"
    },
    {
        "item": "Satellite Cameras",
        "url": "https://www.satnow.com/search/satellite-cameras"
    },
    {
        "item": "Software Defined Radios",
        "url": "https://www.satnow.com/search/software-defined-radios"
    },
    {
        "item": "Solid State Recorders",
        "url": "https://www.satnow.com/search/solid-state-recorders"
    },
    {
        "item": "Space Qualified Crystals",
        "url": "https://www.satnow.com/search/space-crystals"
    },
    {
        "item": "Space Reflectors",
        "url": "https://www.satnow.com/search/space-reflectors"
    },
    {
        "item": "Space Transmitters",
        "url": "https://www.satnow.com/search/space-transmitters"
    },
    {
        "item": "Transponders",
        "url": "https://www.satnow.com/search/transponders"
    },
    {
        "item": "Laser Communication Terminals",
        "url": "https://www.satnow.com/search/laser-communication-terminals"
    },
    {
        "item": "Optocouplers",
        "url": "https://www.satnow.com/search/optocouplers"
    },
    {
        "item": "Batteries",
        "url": "https://www.satnow.com/search/batteries"
    },
    {
        "item": "Cryocoolers",
        "url": "https://www.satnow.com/search/cryocoolers"
    },
    {
        "item": "Power Conditioning and Distribution Units",
        "url": "https://www.satnow.com/search/power-conditioning-and-distribution-units"
    },
    {
        "item": "Power Processing Unit for Thrusters",
        "url": "https://www.satnow.com/search/power-processing-unit-for-thrusters"
    },
    {
        "item": "Satellite Electrical Power Systems",
        "url": "https://www.satnow.com/search/satellite-electrical-power-systems"
    },
    {
        "item": "Solar Cells",
        "url": "https://www.satnow.com/search/solar-cells"
    },
    {
        "item": "Solar Panels",
        "url": "https://www.satnow.com/search/solar-panels"
    },
    {
        "item": "Accelerometers",
        "url": "https://www.satnow.com/search/accelerometers"
    },
    {
        "item": "Inertial Measurement Units",
        "url": "https://www.satnow.com/search/inertial-measurement-units"
    },
    {
        "item": "Space Actuators",
        "url": "https://www.satnow.com/search/space-actuators"
    },
    {
        "item": "Temperature Sensors",
        "url": "https://www.satnow.com/search/temperature-sensors"
    },
    {
        "item": "Antenna Positioning Mechanisms",
        "url": "https://www.satnow.com/search/antenna-pointing-mechanisms"
    },
    {
        "item": "Attach and Release Mechanisms",
        "url": "https://www.satnow.com/search/attach-and-release-mechanisms"
    },
    {
        "item": "Solar Array Drive Mechanisms",
        "url": "https://www.satnow.com/search/solar-array-drive-mechanisms"
    },
    {
        "item": "ADCS Simulators",
        "url": "https://www.satnow.com/search/adcs-simulators"
    },
    {
        "item": "GNSS Simulators",
        "url": "https://www.satnow.com/search/gps-gnss-simulators"
    },
    {
        "item": "Magnetic Field Simulators",
        "url": "https://www.satnow.com/search/magnetic-field-simulators"
    },
    {
        "item": "Star Tracker Simulators",
        "url": "https://www.satnow.com/search/star-tracker-simulators"
    },
    {
        "item": "Sun Sensor Simulators",
        "url": "https://www.satnow.com/search/sun-simulators"
    },
    {
        "item": "Thermal Straps",
        "url": "https://www.satnow.com/search/thermal-straps"
    },
    {
        "item": "Gimbals",
        "url": "https://www.satnow.com/search/gimbals"
    },
    {
        "item": "Propellant Tanks",
        "url": "https://www.satnow.com/search/propellant-tanks"
    },
    {
        "item": "Spacecraft Valves",
        "url": "https://www.satnow.com/search/spacecraft-valves"
    },
    {
        "item": "Thrusters",
        "url": "https://www.satnow.com/search/thrusters"
    },
    {
        "item": "Bipropellant Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Bipropellant%20Thruster;"
    },
    {
        "item": "Cold Gas Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Cold%20Gas%20Thruster;"
    },
    {
        "item": "Electric Propulsion Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Electric%20Propulsion%20Thruster;"
    },
    {
        "item": "Electrospray Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Electrospray%20Thruster;"
    },
    {
        "item": "Electrothermal Thruster",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Electrothermal%20Thruster;"
    },
    {
        "item": "Fiber-fed Pulsed Plasma Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Fiber-fed%20Pulsed%20Plasma%20Thruster;"
    },
    {
        "item": "Gridded Ion Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Gridded%20Ion%20Thruster;"
    },
    {
        "item": "Hall Effect Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Hall%20Effect%20Thruster;"
    },
    {
        "item": "HPGP Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;HPGP%20Thruster;"
    },
    {
        "item": "Hydrazine Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Hydrazine%20Thruster;"
    },
    {
        "item": "Monopropellant Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Monopropellant%20Thruster;"
    },
    {
        "item": "Pico Hall Thruster",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Pico%20Hall%20Thruster;"
    },
    {
        "item": "Plasma Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Plasma%20Thruster;"
    },
    {
        "item": "RF Ion Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;RF%20Ion%20Thruster;"
    },
    {
        "item": "Vacuum Arc Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Vacuum%20Arc%20Thruster;"
    },
    {
        "item": "Warm Gas Thruster",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Warm%20Gas%20Thruster;"
    },
    {
        "item": "Water Resistojet Thrusters",
        "url": "https://www.satnow.com/search/thrusters/filters?page=1&country=global&stype=;Water%20Resistojet%20Thruster;"
    },
]