import data from "./data.json" ; const ENABLED_UPGRADES = new Set ( ) ; data . Ability . forEach ( ( ability ) => { const target = ability . target ; if ( typeof target !== "string" ) { const research = target . Research ; if ( research !== undefined ) { ENABLED_UPGRADES . add ( research . upgrade ) ; return ; } } } ) ; export default ENABLED_UPGRADES ;