var cluster = JSON.parse(value);

const idx = [
	'INVALID',
	'QUEUED',
	'INIT',
	'BOOTSTRAPPING',
	'VPC_PEERING',
	'NETWORK_CREATING',
	'PROVISIONING',
	'CONFIGURING',
	'CREATING_LB',
	'UPDATING_LB',
	'ACTIVE',
	'PAUSING',
	'PAUSED',
	'RESUMING',
	'UPDATING',
	'MAINTENANCE',
	'RESTORE',
	'FAILED',
	'CREATE_FAILED',
	'DELETING',
	'STARTING_NODE',
	'STOPPING_NODE',
	'REBOOTING_NODE',
	'CREATE_READ_REPLICA_FAILED',
	'DELETE_READ_REPLICA_FAILED',
	'DELETE_CLUSTER_FAILED',
	'EDIT_CLUSTER_FAILED',
	'EDIT_READ_REPLICA_FAILED',
	'PAUSE_CLUSTER_FAILED',
	'RESUME_CLUSTER_FAILED',
	'RESTORE_BACKUP_FAILED',
	'CERTIFICATE_ROTATION_FAILED',
	'UPGRADE_CLUSTER_FAILED',
	'UPGRADE_CLUSTER_GFLAGS_FAILED',
	'UPGRADE_CLUSTER_OS_FAILED',
	'UPGRADE_CLUSTER_SOFTWARE_FAILED',
	'START_NODE_FAILED',
	'STOP_NODE_FAILED',
	'REBOOT_NODE_FAILED',
	'CONFIGURE_CMK',
	'ENABLING_CMK',
	'DISABLING_CMK',
	'UPDATING_CMK',
	'ROTATING_CMK',
	'STOPPING_METRICS_EXPORTER',
	'STARTING_METRICS_EXPORTER',
	'CONFIGURING_METRICS_EXPORTER',
	'STOP_METRICS_EXPORTER_FAILED',
	'START_METRICS_EXPORTER_FAILED',
	'CONFIGURE_METRICS_EXPORTER_FAILED',
	'REMOVING_METRICS_EXPORTER',
	'REMOVE_METRICS_EXPORTER_FAILED'
].indexOf(cluster.data.info.state);
return idx !== -1 ? idx : 60;