@visitscotland/component-library 5.32.0 → 5.32.2

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.
@@ -35435,7 +35435,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
35435
35435
  type: Object,
35436
35436
  default: () => ({
35437
35437
  lat: 56.490153,
35438
- lng: 4.10959
35438
+ lng: -4.10959
35439
35439
  })
35440
35440
  },
35441
35441
  /**
@@ -35735,7 +35735,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
35735
35735
  }));
35736
35736
  }
35737
35737
  function j(W, B) {
35738
- T.value = B, W === "self-catering" ? (Z(), _.value = /* @__PURE__ */ new Set(), _.value.add(W), P.value = $(_.value, W).value, ae(), d.value = P.value, H()) : _.value.has(W) ? (_.value.delete(W), S.value = /* @__PURE__ */ new Set(), w.value = /* @__PURE__ */ new Set(), _.value.forEach((X) => {
35738
+ T.value = B, W === "self-catering" ? (Z(), _.value = /* @__PURE__ */ new Set(), _.value.add(W), P.value = "self-catering accommodation", ae(), d.value = P.value, H(), d.value = "Self Catering") : _.value.has(W) ? (_.value.delete(W), S.value = /* @__PURE__ */ new Set(), w.value = /* @__PURE__ */ new Set(), _.value.forEach((X) => {
35739
35739
  I(X, {
35740
35740
  includeTypes: !0,
35741
35741
  excludeTypes: !0
@@ -35784,7 +35784,7 @@ const _hoisted_1 = { class: "vs-map" }, _hoisted_2 = { class: "vs-map__controls"
35784
35784
  async function H() {
35785
35785
  U(), ae(), F.value = !1, M += 1;
35786
35786
  const W = M;
35787
- D.searchesCount += 1, O.value = "text", P.value = d.value.trim(), P.value && (i.textQuery = P.value, i.locationRestriction = r.getBounds(), i.maxResultCount = NUMBER_OF_RESULTS, o.style.display = "block", o.addEventListener("gmp-load", () => {
35787
+ D.searchesCount += 1, O.value = "text", P.value = d.value.trim(), P.value && (P.value === "self-catering accommodation" ? i.textQuery = P.value : i.textQuery = `${P.value} Scotland`, i.locationBias = r.getCenter(), i.maxResultCount = NUMBER_OF_RESULTS, o.style.display = "block", o.addEventListener("gmp-load", () => {
35788
35788
  W === M && (J(W), n.createDataLayerObject("googleMapSearchEvent", {
35789
35789
  search_query: P.value,
35790
35790
  search_map_location: r.getCenter().toString(),