["    } */","","    function generateA11yTable(mapData, title, tableName, type = \"state\") {","      let renderedHTML = `<table id=\"${tableName}\">`;","","      renderedHTML += `<caption>${title}</caption>`;","","      renderedHTML += type === \"state\" ? `<tr><th>State</th><th>Offerings Count</th><th>USD Raised</th></tr>` : `<tr><th>State</th><th>County</th><th>Offerings Count</th><th>USD Raised</th></tr>`;","      if (type === \"state\") {","      let stateMap = Highcharts.geojson(Highcharts.maps[\"countries/us/custom/us-all-territories\"]);","      for (let row of mapData) {","      let { code, offerings, usd } = row;","      const { name = code } = stateMap.find((state) => state.properties[\"hc-key\"] === code) ?? {};","      if (name) {","      renderedHTML += `<tr><td>${name}</td><td>${offerings}</td><td>${formatNumber(usd)}</td></tr>`;","      }","      }","      } else {","      let countiesMap = Highcharts.geojson(Highcharts.maps[\"countries/us/us-all-all-highres\"]);","      for (let row of mapData) {","      let { code, offerings, usd } = row;","      let st_name = code;","      if (st_name.startsWith(\"us-\")) st_name = st_name.substr(3,2).toUpperCase();","","      const { name = code } = countiesMap.find((county) => county.properties[\"hc-key\"] === code) ?? {};","      if (name) {","        if (name) name2 = name;","        if (name === \"us-pr-127\") name2 = \"San Juan\";","","      renderedHTML += `<tr><td>${st_name}</td><td>${name2}</td><td>${offerings}</td><td>${formatNumber(usd, true)}</td></tr>`;","      }","      }","      }","      renderedHTML += \"</table>\";","      return renderedHTML;","      }","","    /* function clearA11yTables() {","      document.getElementById(`regCF_2019`).style.display = \"none\";","      document.getElementById(`regCF_2020`).style.display = \"none\";"]