{"s":"https://www.sec.gov/modules/custom/sec_custom_blocks/js/oasb_raising_capital_map/main.js","lines":["            joinBy: [\"hc-key\", \"code\"],","            name: \"County\",","            borderWidth: 0.5,","","            states: {","              hover: {","                color: \"#a4edba\",","              },","            },","            shadow: false,","            colorKey: \"color_code\",","            tooltip: {","              pointFormatter: function () {","                const point = this;","                const [county, state] = this.series.mapMap[point.code].name.split(\",\");","                return `<strong>${county},${state.toUpperCase()}</strong> <br/> <strong>Offerings Count:</strong> ${","                  point.offerings","                } <br/> <strong>USD Raised:</strong> $${formatNumber(point.usd, true)}`;","              },","            },","          },","          {","            type: \"mapline\",","            name: \"State borders\",","            data: borderLines,","            color: \"darkgray\",","            shadow: false,","          },","        ];","        Highcharts.getJSON(mapPath + \"pr-municipalities.json\", function (geojson) {","          // Initiate the chart","          let prConfig = { ...config, title: \"Puerto Rico\" };","","          let mapData = mapType.find((item) => item?.code?.includes(\"us-pr-\"));","          let clonedMapData = mapData ? { ...mapData } : null;","          if (clonedMapData) {","            clonedMapData.code = clonedMapData.code.replace(\"us-pr-\", \"\");","          }","          prConfig.chart = {","            map: geojson,","            height: 135,","            width: 135,","          };","          prConfig.mapNavigation = { enabled: true };","          prConfig.series = [","            {","              data: [clonedMapData],","              joinBy: [\"COUNTY\", \"code\"],","              name: \"County\",","              colorKey: \"color_code\",","              states: {","                hover: {","                  color: \"#a4edba\",","                },","              },","              dataLabels: {","                enabled: true,","              },","              mapNavigation: { enabled: true },","              tooltip: {","                pointFormatter: function () {","                  const point = this;","                  const [county, state] = [point.name, \"PR\"];","                  return `<strong>${county}, ${state.toUpperCase()}</strong> <br/> <strong>Offerings Count:</strong> ${","                    point.offerings","                  } <br/> <strong>USD Raised:</strong> $${formatNumber(point.usd, true)}`;","                },","              },","            },","          ];"]}