From aa0666ce2b98b46b620b931dec17f9ea5456d399 Mon Sep 17 00:00:00 2001 From: Vim USDS Date: Thu, 8 Feb 2024 15:19:48 -0800 Subject: [PATCH] Update Spanish data survey link --- client/src/data/constants.tsx | 360 +++++++++++++++++----------------- 1 file changed, 176 insertions(+), 184 deletions(-) diff --git a/client/src/data/constants.tsx b/client/src/data/constants.tsx index 8996a6fd5..cbb3b8908 100644 --- a/client/src/data/constants.tsx +++ b/client/src/data/constants.tsx @@ -1,62 +1,59 @@ - -import {LngLatBoundsLike} from 'maplibre-gl'; -import {isMobile as isMobileReactDeviceDetect} from 'react-device-detect'; +import { LngLatBoundsLike } from "maplibre-gl"; +import { isMobile as isMobileReactDeviceDetect } from "react-device-detect"; export const isMobile = isMobileReactDeviceDetect; // Pages URL export const PAGES_ENDPOINTS = { - EXPLORE: '/', - METHODOLOGY: '/methodology', - DOWNLOADS: '/downloads', - TSD: '/technical-support-document', - ABOUT: '/about', - FAQS: '/frequently-asked-questions', - PUBLIC_ENG: '/public-engagement', - CONTACT: '/contact', - PREVIOUS_VERSIONS: '/previous-versions', + EXPLORE: "/", + METHODOLOGY: "/methodology", + DOWNLOADS: "/downloads", + TSD: "/technical-support-document", + ABOUT: "/about", + FAQS: "/frequently-asked-questions", + PUBLIC_ENG: "/public-engagement", + CONTACT: "/contact", + PREVIOUS_VERSIONS: "/previous-versions", }; // Performance markers -export const PERFORMANCE_MARKER_MAP_IDLE = 'MAP_IDLE'; +export const PERFORMANCE_MARKER_MAP_IDLE = "MAP_IDLE"; // ******* PROPERTIES FROM TILE SERVER ************** export type J40Properties = { [key: string]: any }; - // ****** SIDE PANEL BACKEND SIGNALS *********** -export const MISSING_DATA_STRING = '--'; +export const MISSING_DATA_STRING = "--"; // Tribal signals -export const TRIBAL_ID = 'tribalId'; -export const LAND_AREA_NAME = 'landAreaName'; -export const TRIBAL_AREAS_PERCENTAGE = 'TA_PERC_FE'; -export const TRIBAL_AREAS_COUNT_AK = 'TA_COUNT_AK'; -export const TRIBAL_AREAS_COUNT_CONUS = 'TA_COUNT_C'; +export const TRIBAL_ID = "tribalId"; +export const LAND_AREA_NAME = "landAreaName"; +export const TRIBAL_AREAS_PERCENTAGE = "TA_PERC_FE"; +export const TRIBAL_AREAS_COUNT_AK = "TA_COUNT_AK"; +export const TRIBAL_AREAS_COUNT_CONUS = "TA_COUNT_C"; // Set the threshold percentile used by most indicators in the side panel export const DEFAULT_THRESHOLD_PERCENTILE = 90; // General Census Track Info -export const GEOID_PROPERTY = 'GEOID10'; -export const COUNTY_NAME = 'CF'; -export const STATE_NAME = 'SF'; -export const TOTAL_POPULATION = 'TPF'; - +export const GEOID_PROPERTY = "GEOID10"; +export const COUNTY_NAME = "CF"; +export const STATE_NAME = "SF"; +export const TOTAL_POPULATION = "TPF"; // Demographics -export const DEMO_NON_HISPANIC_WHITE = 'DM_W'; -export const DEMO_BLACK = 'DM_B'; -export const DEMO_AMERICAN_INDIAN = 'DM_AI'; -export const DEMO_ASIAN = 'DM_A'; -export const DEMO_HAWAIIAN = 'DM_HI'; -export const DEMO_OTHER_RACE = 'DM_O'; -export const DEMO_TWO_OR_MORE_RACES = 'DM_T'; -export const DEMO_HISPANIC = 'DM_H'; -export const DEMO_AGE_UNDER_10 = 'AGE_10'; -export const DEMO_AGE_MID = 'AGE_MIDDLE'; -export const DEMO_AGE_OVER_64 = 'AGE_OLD'; +export const DEMO_NON_HISPANIC_WHITE = "DM_W"; +export const DEMO_BLACK = "DM_B"; +export const DEMO_AMERICAN_INDIAN = "DM_AI"; +export const DEMO_ASIAN = "DM_A"; +export const DEMO_HAWAIIAN = "DM_HI"; +export const DEMO_OTHER_RACE = "DM_O"; +export const DEMO_TWO_OR_MORE_RACES = "DM_T"; +export const DEMO_HISPANIC = "DM_H"; +export const DEMO_AGE_UNDER_10 = "AGE_10"; +export const DEMO_AGE_MID = "AGE_MIDDLE"; +export const DEMO_AGE_OVER_64 = "AGE_OLD"; /** * The SCORE_BOUNDAY_THRESHOLD will determine if the tract is disadvantaged @@ -67,203 +64,199 @@ export const DEMO_AGE_OVER_64 = 'AGE_OLD'; export const SCORE_BOUNDARY_THRESHOLD = 0.6; // Determines the X of Y threshold exceeded -export const TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS = 'TC'; -export const TOTAL_NUMBER_OF_INDICATORS = 'THRHLD'; -export const COUNT_OF_CATEGORIES_DISADV = 'CC'; -export const SCORE_N_COMMUNITIES = 'SN_C'; -export const SCORE_N_TRIBAL = 'SN_T'; +export const TOTAL_NUMBER_OF_DISADVANTAGE_INDICATORS = "TC"; +export const TOTAL_NUMBER_OF_INDICATORS = "THRHLD"; +export const COUNT_OF_CATEGORIES_DISADV = "CC"; +export const SCORE_N_COMMUNITIES = "SN_C"; +export const SCORE_N_TRIBAL = "SN_T"; -export const SIDE_PANEL_STATE = 'UI_EXP'; +export const SIDE_PANEL_STATE = "UI_EXP"; export const SIDE_PANEL_STATE_VALUES = { - NATION: 'Nation', - PUERTO_RICO: 'Puerto Rico', - ISLAND_AREAS: 'Island Areas', + NATION: "Nation", + PUERTO_RICO: "Puerto Rico", + ISLAND_AREAS: "Island Areas", }; // Climate category -export const IS_CLIMATE_FACTOR_DISADVANTAGED = 'N_CLT'; -export const IS_CLIMATE_EXCEED_ONE_OR_MORE_INDICATORS = 'N_CLT_EOMI'; +export const IS_CLIMATE_FACTOR_DISADVANTAGED = "N_CLT"; +export const IS_CLIMATE_EXCEED_ONE_OR_MORE_INDICATORS = "N_CLT_EOMI"; -export const EXP_AGRICULTURE_LOSS_PERCENTILE = 'EALR_PFS'; -export const IS_EXCEEDS_THRESH_FOR_EXP_AGR_LOSS = 'EAL_ET'; +export const EXP_AGRICULTURE_LOSS_PERCENTILE = "EALR_PFS"; +export const IS_EXCEEDS_THRESH_FOR_EXP_AGR_LOSS = "EAL_ET"; -export const EXP_BUILDING_LOSS_PERCENTILE = 'EBLR_PFS'; -export const IS_EXCEEDS_THRESH_FOR_EXP_BLD_LOSS = 'EBL_ET'; +export const EXP_BUILDING_LOSS_PERCENTILE = "EBLR_PFS"; +export const IS_EXCEEDS_THRESH_FOR_EXP_BLD_LOSS = "EBL_ET"; -export const EXP_POPULATION_LOSS_PERCENTILE = 'EPLR_PFS'; -export const IS_EXCEEDS_THRESH_FOR_EXP_POP_LOSS = 'EPL_ET'; +export const EXP_POPULATION_LOSS_PERCENTILE = "EPLR_PFS"; +export const IS_EXCEEDS_THRESH_FOR_EXP_POP_LOSS = "EPL_ET"; -export const FLOODING_PERCENTILE = 'FLD_PFS'; -export const IS_EXCEEDS_THRESH_FLOODING = 'FLD_ET'; +export const FLOODING_PERCENTILE = "FLD_PFS"; +export const IS_EXCEEDS_THRESH_FLOODING = "FLD_ET"; -export const WILDFIRE_PERCENTILE = 'WFR_PFS'; -export const IS_EXCEEDS_THRESH_WILDFIRE = 'WFR_ET'; +export const WILDFIRE_PERCENTILE = "WFR_PFS"; +export const IS_EXCEEDS_THRESH_WILDFIRE = "WFR_ET"; -export const IS_EXCEED_BOTH_SOCIO_INDICATORS = 'N_EBSI'; +export const IS_EXCEED_BOTH_SOCIO_INDICATORS = "N_EBSI"; -export const POVERTY_BELOW_200_PERCENTILE = 'P200_I_PFS'; -export const IS_FEDERAL_POVERTY_LEVEL_200 = 'FPL200S'; +export const POVERTY_BELOW_200_PERCENTILE = "P200_I_PFS"; +export const IS_FEDERAL_POVERTY_LEVEL_200 = "FPL200S"; -export const HIGHER_ED_PERCENTILE = 'CA'; -export const IS_HIGHER_ED_PERCENTILE = 'CA_LT20'; - -export const NON_HIGHER_ED_PERCENTILE = 'NCA'; +export const HIGHER_ED_PERCENTILE = "CA"; +export const IS_HIGHER_ED_PERCENTILE = "CA_LT20"; +export const NON_HIGHER_ED_PERCENTILE = "NCA"; // Energy category -export const IS_ENERGY_FACTOR_DISADVANTAGED = 'N_ENY'; -export const IS_ENERGY_EXCEED_ONE_OR_MORE_INDICATORS = 'N_ENY_EOMI'; - -export const ENERGY_PERCENTILE = 'EBF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_ENERGY_BURDEN = 'EB_ET'; +export const IS_ENERGY_FACTOR_DISADVANTAGED = "N_ENY"; +export const IS_ENERGY_EXCEED_ONE_OR_MORE_INDICATORS = "N_ENY_EOMI"; -export const PM25_PERCENTILE = 'PM25F_PFS'; -export const IS_EXCEEDS_THRESH_FOR_PM25 = 'PM25_ET'; +export const ENERGY_PERCENTILE = "EBF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_ENERGY_BURDEN = "EB_ET"; +export const PM25_PERCENTILE = "PM25F_PFS"; +export const IS_EXCEEDS_THRESH_FOR_PM25 = "PM25_ET"; // Transport category -export const IS_TRANSPORT_FACTOR_DISADVANTAGED = 'N_TRN'; -export const IS_TRANSPORT_EXCEED_ONE_OR_MORE_INDICATORS = 'N_TRN_EOMI'; - -export const DIESEL_MATTER_PERCENTILE = 'DSF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_DIESEL_PM = 'DS_ET'; +export const IS_TRANSPORT_FACTOR_DISADVANTAGED = "N_TRN"; +export const IS_TRANSPORT_EXCEED_ONE_OR_MORE_INDICATORS = "N_TRN_EOMI"; -export const TRAVEL_DISADV_PERCENTILE = 'TD_PFS'; -export const IS_EXCEEDS_THRESH_TRAVEL_DISADV = 'TD_ET'; +export const DIESEL_MATTER_PERCENTILE = "DSF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_DIESEL_PM = "DS_ET"; -export const TRAFFIC_PERCENTILE = 'TF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_TRAFFIC_PROX = 'TP_ET'; +export const TRAVEL_DISADV_PERCENTILE = "TD_PFS"; +export const IS_EXCEEDS_THRESH_TRAVEL_DISADV = "TD_ET"; +export const TRAFFIC_PERCENTILE = "TF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_TRAFFIC_PROX = "TP_ET"; // Housing category -export const IS_HOUSING_FACTOR_DISADVANTAGED = 'N_HSG'; -export const IS_HOUSING_EXCEED_ONE_OR_MORE_INDICATORS = 'N_HSG_EOMI'; +export const IS_HOUSING_FACTOR_DISADVANTAGED = "N_HSG"; +export const IS_HOUSING_EXCEED_ONE_OR_MORE_INDICATORS = "N_HSG_EOMI"; -export const HISTORIC_UNDERINVESTMENT_EXCEED_THRESH = 'HRS_ET'; -export const HISTORIC_UNDERINVESTMENT_RAW_YES = '1'; +export const HISTORIC_UNDERINVESTMENT_EXCEED_THRESH = "HRS_ET"; +export const HISTORIC_UNDERINVESTMENT_RAW_YES = "1"; -export const HOUSING_BURDEN_PROPERTY_PERCENTILE = 'HBF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_HOUSE_BURDEN = 'HB_ET'; +export const HOUSING_BURDEN_PROPERTY_PERCENTILE = "HBF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_HOUSE_BURDEN = "HB_ET"; -export const IMPERVIOUS_PERCENTILE = 'IS_PFS'; -export const IS_EXCEEDS_THRESH_IMPERVIOUS = 'IS_ET'; +export const IMPERVIOUS_PERCENTILE = "IS_PFS"; +export const IS_EXCEEDS_THRESH_IMPERVIOUS = "IS_ET"; -export const KITCHEN_PLUMB_PERCENTILE = 'KP_PFS'; -export const IS_EXCEEDS_THRESH_KITCHEN_PLUMB = 'KP_ET'; - -export const LEAD_PAINT_PERCENTILE = 'LPF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_LEAD_PAINT_AND_MEDIAN_HOME_VAL = 'LPP_ET'; +export const KITCHEN_PLUMB_PERCENTILE = "KP_PFS"; +export const IS_EXCEEDS_THRESH_KITCHEN_PLUMB = "KP_ET"; +export const LEAD_PAINT_PERCENTILE = "LPF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_LEAD_PAINT_AND_MEDIAN_HOME_VAL = "LPP_ET"; // Pollution category -export const IS_POLLUTION_FACTOR_DISADVANTAGED = 'N_PLN'; -export const IS_POLLUTION_EXCEED_ONE_OR_MORE_INDICATORS = 'N_PLN_EOMI'; +export const IS_POLLUTION_FACTOR_DISADVANTAGED = "N_PLN"; +export const IS_POLLUTION_EXCEED_ONE_OR_MORE_INDICATORS = "N_PLN_EOMI"; export const AML_RAW_YES = 1; -export const ABANDON_LAND_MINES_EXCEEDS_THRESH = 'AML_ET'; +export const ABANDON_LAND_MINES_EXCEEDS_THRESH = "AML_ET"; -export const FORMER_DEF_SITES_RAW_VALUE = 'FUDS_RAW'; +export const FORMER_DEF_SITES_RAW_VALUE = "FUDS_RAW"; export const FUDS_RAW_YES = 1; export const FUDS_RAW_NO = 0; -export const FORMER_DEF_SITES_EXCEEDS_THRESH = 'FUDS_ET'; - -export const PROXIMITY_TSDF_SITES_PERCENTILE = 'TSDF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_HAZARD_WASTE = 'TSDF_ET'; +export const FORMER_DEF_SITES_EXCEEDS_THRESH = "FUDS_ET"; -export const PROXIMITY_NPL_SITES_PERCENTILE = 'NPL_PFS'; -export const IS_EXCEEDS_THRESH_FOR_SUPERFUND = 'NPL_ET'; +export const PROXIMITY_TSDF_SITES_PERCENTILE = "TSDF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_HAZARD_WASTE = "TSDF_ET"; -export const PROXIMITY_RMP_SITES_PERCENTILE = 'RMP_PFS'; -export const IS_EXCEEDS_THRESH_FOR_RMP = 'RMP_ET'; +export const PROXIMITY_NPL_SITES_PERCENTILE = "NPL_PFS"; +export const IS_EXCEEDS_THRESH_FOR_SUPERFUND = "NPL_ET"; +export const PROXIMITY_RMP_SITES_PERCENTILE = "RMP_PFS"; +export const IS_EXCEEDS_THRESH_FOR_RMP = "RMP_ET"; // Water category -export const IS_WATER_FACTOR_DISADVANTAGED = 'N_WTR'; -export const IS_WATER_EXCEED_ONE_OR_MORE_INDICATORS = 'N_WTR_EOMI'; - -export const LEAKY_UNDER_PERCENTILE = 'UST_PFS'; -export const IS_EXCEEDS_THRESH_LEAKY_UNDER = 'UST_ET'; +export const IS_WATER_FACTOR_DISADVANTAGED = "N_WTR"; +export const IS_WATER_EXCEED_ONE_OR_MORE_INDICATORS = "N_WTR_EOMI"; -export const WASTEWATER_PERCENTILE = 'WF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_WASTEWATER = 'WD_ET'; +export const LEAKY_UNDER_PERCENTILE = "UST_PFS"; +export const IS_EXCEEDS_THRESH_LEAKY_UNDER = "UST_ET"; +export const WASTEWATER_PERCENTILE = "WF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_WASTEWATER = "WD_ET"; // Health category -export const IS_HEALTH_FACTOR_DISADVANTAGED = 'N_HLTH'; -export const IS_HEALTH_EXCEED_ONE_OR_MORE_INDICATORS = 'N_HLTH_EOMI'; +export const IS_HEALTH_FACTOR_DISADVANTAGED = "N_HLTH"; +export const IS_HEALTH_EXCEED_ONE_OR_MORE_INDICATORS = "N_HLTH_EOMI"; -export const ASTHMA_PERCENTILE = 'AF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_ASTHMA = 'A_ET'; +export const ASTHMA_PERCENTILE = "AF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_ASTHMA = "A_ET"; -export const DIABETES_PERCENTILE = 'DF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_DIABETES = 'DB_ET'; +export const DIABETES_PERCENTILE = "DF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_DIABETES = "DB_ET"; -export const HEART_PERCENTILE = 'HDF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_HEART_DISEASE = 'HD_ET'; - -export const LIFE_PERCENTILE = 'LLEF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_LOW_LIFE_EXP = 'LLE_ET'; +export const HEART_PERCENTILE = "HDF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_HEART_DISEASE = "HD_ET"; +export const LIFE_PERCENTILE = "LLEF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_LOW_LIFE_EXP = "LLE_ET"; // Workforce category -export const IS_WORKFORCE_FACTOR_DISADVANTAGED = 'N_WKFC'; -export const IS_WORKFORCE_EXCEED_ONE_OR_MORE_INDICATORS = 'N_WKFC_EOMI'; +export const IS_WORKFORCE_FACTOR_DISADVANTAGED = "N_WKFC"; +export const IS_WORKFORCE_EXCEED_ONE_OR_MORE_INDICATORS = "N_WKFC_EOMI"; -export const LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE = 'LIF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_LINGUISITIC_ISO = 'LISO_ET'; +export const LINGUISTIC_ISOLATION_PROPERTY_PERCENTILE = "LIF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_LINGUISITIC_ISO = "LISO_ET"; -export const LOW_MEDIAN_INCOME_PERCENTILE = 'LMI_PFS'; -export const IS_EXCEEDS_THRESH_FOR_LOW_MEDIAN_INCOME = 'LMI_ET'; -export const ISLAND_AREAS_LOW_MEDIAN_INCOME_LOW_HS_EDU_PERCENTILE_FIELD= 'IALMILHSE_PFS'; -export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_LOW_MEDIAN_INCOME = 'IA_LMI_ET'; +export const LOW_MEDIAN_INCOME_PERCENTILE = "LMI_PFS"; +export const IS_EXCEEDS_THRESH_FOR_LOW_MEDIAN_INCOME = "LMI_ET"; +export const ISLAND_AREAS_LOW_MEDIAN_INCOME_LOW_HS_EDU_PERCENTILE_FIELD = + "IALMILHSE_PFS"; +export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_LOW_MEDIAN_INCOME = "IA_LMI_ET"; -export const UNEMPLOYMENT_PROPERTY_PERCENTILE = 'UF_PFS'; -export const IS_EXCEEDS_THRESH_FOR_UNEMPLOYMENT = 'UN_ET'; -export const ISLAND_AREAS_UNEMPLOYMENT_LOW_HS_EDU_PERCENTILE_FIELD= 'IAULHSE_PFS'; -export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_UNEMPLOYMENT = 'IA_UN_ET'; +export const UNEMPLOYMENT_PROPERTY_PERCENTILE = "UF_PFS"; +export const IS_EXCEEDS_THRESH_FOR_UNEMPLOYMENT = "UN_ET"; +export const ISLAND_AREAS_UNEMPLOYMENT_LOW_HS_EDU_PERCENTILE_FIELD = + "IAULHSE_PFS"; +export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_UNEMPLOYMENT = "IA_UN_ET"; -export const POVERTY_BELOW_100_PERCENTILE = 'P100_PFS'; -export const IS_EXCEEDS_THRESH_FOR_BELOW_100_POVERTY = 'POV_ET'; -export const ISLAND_AREAS_POVERTY_LOW_HS_EDU_PERCENTILE_FIELD= 'IAPLHSE_PFS'; -export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_BELOW_100_POVERTY = 'IA_POV_ET'; +export const POVERTY_BELOW_100_PERCENTILE = "P100_PFS"; +export const IS_EXCEEDS_THRESH_FOR_BELOW_100_POVERTY = "POV_ET"; +export const ISLAND_AREAS_POVERTY_LOW_HS_EDU_PERCENTILE_FIELD = "IAPLHSE_PFS"; +export const IS_EXCEEDS_THRESH_FOR_ISLAND_AREA_BELOW_100_POVERTY = "IA_POV_ET"; -export const IS_WORKFORCE_EXCEED_BOTH_SOCIO_INDICATORS = 'N_WKFC_EBSI'; +export const IS_WORKFORCE_EXCEED_BOTH_SOCIO_INDICATORS = "N_WKFC_EBSI"; export const HIGH_SCHOOL_PROPERTY_PERCENTILE = `HSEF`; -export const IS_LOW_HS_EDUCATION_LOW_HIGHER_ED_PRIORITIZED = 'LHE'; -export const ISLAND_AREAS_HS_EDU_PERCENTAGE_FIELD= 'IAHSEF'; -export const ISLAND_AREA_LOW_HS_EDU = 'IALHE'; +export const IS_LOW_HS_EDUCATION_LOW_HIGHER_ED_PRIORITIZED = "LHE"; +export const ISLAND_AREAS_HS_EDU_PERCENTAGE_FIELD = "IAHSEF"; +export const ISLAND_AREA_LOW_HS_EDU = "IALHE"; // Misc category -export const ADJACENCY_EXCEEDS_THRESH = 'ADJ_ET'; -export const ADJACENCY_LOW_INCOME_EXCEEDS_THRESH = 'AJDLI_ET'; - -export const IMPUTE_FLAG = 'IMP_FLG'; +export const ADJACENCY_EXCEEDS_THRESH = "ADJ_ET"; +export const ADJACENCY_LOW_INCOME_EXCEEDS_THRESH = "AJDLI_ET"; +export const IMPUTE_FLAG = "IMP_FLG"; // ********** MAP CONSTANTS *************** // Source name constants -export const BASE_MAP_SOURCE_NAME = 'base-map-source-name'; -export const HIGH_ZOOM_SOURCE_NAME = 'high-zoom-source-name'; -export const LOW_ZOOM_SOURCE_NAME = 'low-zoom-source-name'; -export const TRIBAL_SOURCE_NAME = 'tribal-source-name'; +export const BASE_MAP_SOURCE_NAME = "base-map-source-name"; +export const HIGH_ZOOM_SOURCE_NAME = "high-zoom-source-name"; +export const LOW_ZOOM_SOURCE_NAME = "low-zoom-source-name"; +export const TRIBAL_SOURCE_NAME = "tribal-source-name"; // Layer ID constants -export const SCORE_SOURCE_LAYER = 'blocks'; // The name of the layer within the tiles that contains the score -export const TRIBAL_SOURCE_LAYER = 'blocks'; -export const BASE_MAP_LAYER_ID = 'base-map-layer-id'; -export const HIGH_ZOOM_LAYER_ID = 'high-zoom-layer-id'; -export const PRIORITIZED_HIGH_ZOOM_LAYER_ID = 'prioritized-high-zoom-layer-id'; -export const LOW_ZOOM_LAYER_ID = 'low-zoom-layer-id'; -export const FEATURE_BORDER_LAYER_ID = 'feature-border-layer-id'; -export const SELECTED_FEATURE_BORDER_LAYER_ID = 'selected-feature-border-layer-id'; -export const TRIBAL_LAYER_ID = 'tribal-layer-id'; -export const SELECTED_TRIBAL_FEATURE_BORDER_LAYER_ID = 'selected-feature-tribal-border-layer-id'; -export const TRIBAL_ALASKA_POINTS_LAYER_ID = 'tribal-alaska-points-layer-id'; +export const SCORE_SOURCE_LAYER = "blocks"; // The name of the layer within the tiles that contains the score +export const TRIBAL_SOURCE_LAYER = "blocks"; +export const BASE_MAP_LAYER_ID = "base-map-layer-id"; +export const HIGH_ZOOM_LAYER_ID = "high-zoom-layer-id"; +export const PRIORITIZED_HIGH_ZOOM_LAYER_ID = "prioritized-high-zoom-layer-id"; +export const LOW_ZOOM_LAYER_ID = "low-zoom-layer-id"; +export const FEATURE_BORDER_LAYER_ID = "feature-border-layer-id"; +export const SELECTED_FEATURE_BORDER_LAYER_ID = + "selected-feature-border-layer-id"; +export const TRIBAL_LAYER_ID = "tribal-layer-id"; +export const SELECTED_TRIBAL_FEATURE_BORDER_LAYER_ID = + "selected-feature-tribal-border-layer-id"; +export const TRIBAL_ALASKA_POINTS_LAYER_ID = "tribal-alaska-points-layer-id"; // Used in layer filters: -export const SCORE_PROPERTY_LOW = 'SCORE'; -export const SCORE_PROPERTY_HIGH = 'SN_C'; +export const SCORE_PROPERTY_LOW = "SCORE"; +export const SCORE_PROPERTY_HIGH = "SN_C"; // Zoom export const GLOBAL_MIN_ZOOM = 3; @@ -288,14 +281,14 @@ export const NON_PRIORITIZED_FEATURE_FILL_OPACITY = 0; export const TRIBAL_FEATURE_FILL_OPACITY = 0.3; // Colors -export const FEATURE_BORDER_COLOR = '#4EA5CF'; -export const SELECTED_FEATURE_BORDER_COLOR = '#1A4480'; -export const PRIORITIZED_FEATURE_FILL_COLOR = '#768FB3'; - -export const TRIBAL_BORDER_COLOR = '##4EA5CF'; -export const SELECTED_TRIBAL_BORDER_COLOR = '#1A4480'; -export const TRIBAL_FILL_COLOR = '#768FB3'; -export const TRIBAL_ALASKA_CIRCLE_FILL_COLOR = '#768FB3'; +export const FEATURE_BORDER_COLOR = "#4EA5CF"; +export const SELECTED_FEATURE_BORDER_COLOR = "#1A4480"; +export const PRIORITIZED_FEATURE_FILL_COLOR = "#768FB3"; + +export const TRIBAL_BORDER_COLOR = "##4EA5CF"; +export const SELECTED_TRIBAL_BORDER_COLOR = "#1A4480"; +export const TRIBAL_FILL_COLOR = "#768FB3"; +export const TRIBAL_ALASKA_CIRCLE_FILL_COLOR = "#768FB3"; export const TRIBAL_ALASKA_CIRCLE_RADIUS = 5; // Widths @@ -305,7 +298,7 @@ export const ALAKSA_POINTS_STROKE_WIDTH = 1.0; // Bounds - these bounds can be obtained by using the getCurrentMapBoundingBox() function in the map export const GLOBAL_MAX_BOUNDS: LngLatBoundsLike = [ - [-180.118306, 5.499550], + [-180.118306, 5.49955], [-65.0, 83.162102], ]; @@ -320,8 +313,8 @@ export const ALASKA_BOUNDS: LngLatBoundsLike = [ ]; export const HAWAII_BOUNDS: LngLatBoundsLike = [ - [-161.174534, 17.652170], - [-154.218940, 23.603623], + [-161.174534, 17.65217], + [-154.21894, 23.603623], ]; export const PUERTO_RICO_BOUNDS: LngLatBoundsLike = [ @@ -351,7 +344,6 @@ export const US_VIRGIN_ISLANDS_BOUNDS: LngLatBoundsLike = [ export const DEFAULT_CENTER = [33.4687126, -97.502136]; - // USWDS Breakpoints export const USWDS_BREAKPOINTS = { MOBILE_LG: 480, @@ -361,21 +353,21 @@ export const USWDS_BREAKPOINTS = { // ********** SURVEY LINKS *************** export const DATA_SURVEY_LINKS = { - EN: 'https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8', - ES: 'https://eop.gov1.qualtrics.com/jfe/form/SV_2n0EWXynD1AZyT4', + EN: "https://eop.gov1.qualtrics.com/jfe/form/SV_51EPev2O6jHiaJ8", + ES: "https://eop.gov1.qualtrics.com/jfe/form/SV_0GTIoUJZu7ywY8S", }; export const SITE_SATISFACTION_SURVEY_LINKS = { - EN: 'https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO', - ES: 'https://eop.gov1.qualtrics.com/jfe/form/SV_bpI7Dn1SBXGOSTY', + EN: "https://eop.gov1.qualtrics.com/jfe/form/SV_eA0ZLaxP8gxLfoO", + ES: "https://eop.gov1.qualtrics.com/jfe/form/SV_bpI7Dn1SBXGOSTY", }; export const CONTACT_SURVEY_LINKS = { - EN: 'https://eop.gov1.qualtrics.com/jfe/form/SV_cCNgWW4OsfaBlTo', - ES: 'https://eop.gov1.qualtrics.com/jfe/form/SV_2n0EWXynD1AZyT4', + EN: "https://eop.gov1.qualtrics.com/jfe/form/SV_cCNgWW4OsfaBlTo", + ES: "https://eop.gov1.qualtrics.com/jfe/form/SV_2n0EWXynD1AZyT4", }; export const CENSUS_TRACT_SURVEY_LINKS = { - EN: 'https://eop.gov1.qualtrics.com/jfe/form/SV_8J5wGa8Ya4dMP9c', - ES: 'https://eop.gov1.qualtrics.com/jfe/form/SV_eJXos5X4yekq6cC', + EN: "https://eop.gov1.qualtrics.com/jfe/form/SV_8J5wGa8Ya4dMP9c", + ES: "https://eop.gov1.qualtrics.com/jfe/form/SV_eJXos5X4yekq6cC", };