@visitscotland/component-library 5.41.5 → 5.41.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -36614,7 +36614,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
36614
36614
  async function X() {
36615
36615
  ae(), ce(), $ += 1;
36616
36616
  const W = $;
36617
- J.searchesCount += 1, j.value = "text", R.value = p.value.trim(), R.value && (c.textQuery = R.value, c.locationRestriction = s.getBounds(), c.maxResultCount = NUMBER_OF_RESULTS, l.style.display = "block", l.addEventListener("gmp-load", () => {
36617
+ J.searchesCount += 1, j.value = "text", R.value = p.value.trim(), R.value && (c.textQuery = `${R.value} in Scotland`, c.locationRestriction = s.getBounds(), c.maxResultCount = NUMBER_OF_RESULTS, l.style.display = "block", l.addEventListener("gmp-load", () => {
36618
36618
  W === $ && (se(W), n.createDataLayerObject("googleMapSearchEvent", {
36619
36619
  search_query: R.value,
36620
36620
  search_map_location: s.getCenter().toString(),