{"source":"https://www.sec.gov/modules/custom/sec_custom_blocks/js/oasb_raising_capital_map/main.js?v=1.2","lines":["            let data = window[`${map}_county_${filter.key}`];","            generatedHTML += generateA11yTable(data, `${window[`${map}_mapTitle`]} (County ${filter.text})`, `${map}_county_${filter.key}`, \"county\");","          }","        }","      }","      document.getElementById(\"a11y-data-tables\").innerHTML = generatedHTML;","","      clearA11yTables();","","      document.getElementById(\"regCF_2020\").style.display = \"block\";","    } */","","    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) {"]}