@getlupa/client 1.20.6 → 1.21.0

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.
@@ -19545,7 +19545,7 @@ const getApiUrl = (environment, customBaseUrl) => {
19545
19545
  }
19546
19546
  return Env[environment] || Env["production"];
19547
19547
  };
19548
- const _sfc_main$1z = /* @__PURE__ */ defineComponent({
19548
+ const _sfc_main$1A = /* @__PURE__ */ defineComponent({
19549
19549
  __name: "VoiceSearchProgressCircle",
19550
19550
  props: {
19551
19551
  isRecording: { type: Boolean },
@@ -19758,14 +19758,14 @@ function useVoiceRecorder(options) {
19758
19758
  closeSocket
19759
19759
  };
19760
19760
  }
19761
- const _hoisted_1$1k = {
19761
+ const _hoisted_1$1l = {
19762
19762
  key: 0,
19763
19763
  class: "lupa-dialog-overlay"
19764
19764
  };
19765
- const _hoisted_2$V = { class: "lupa-dialog-content" };
19765
+ const _hoisted_2$W = { class: "lupa-dialog-content" };
19766
19766
  const _hoisted_3$E = { class: "lupa-listening-text" };
19767
19767
  const _hoisted_4$u = { class: "lupa-mic-button-wrapper" };
19768
- const _sfc_main$1y = /* @__PURE__ */ defineComponent({
19768
+ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
19769
19769
  __name: "VoiceSearchDialog",
19770
19770
  props: {
19771
19771
  isOpen: { type: Boolean },
@@ -19869,19 +19869,19 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
19869
19869
  });
19870
19870
  return (_ctx, _cache) => {
19871
19871
  return openBlock(), createElementBlock("div", null, [
19872
- props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$1k, [
19872
+ props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$1l, [
19873
19873
  createBaseVNode("button", {
19874
19874
  class: "lupa-dialog-box-close-button",
19875
19875
  onClick: _cache[0] || (_cache[0] = () => emit2("close"))
19876
19876
  }),
19877
- createBaseVNode("div", _hoisted_2$V, [
19877
+ createBaseVNode("div", _hoisted_2$W, [
19878
19878
  createBaseVNode("p", _hoisted_3$E, toDisplayString(description.value), 1),
19879
19879
  createBaseVNode("div", _hoisted_4$u, [
19880
19880
  createBaseVNode("button", {
19881
19881
  class: normalizeClass(["lupa-mic-button", { recording: unref(isRecording) }]),
19882
19882
  onClick: handleRecordingButtonClick
19883
19883
  }, null, 2),
19884
- createVNode(_sfc_main$1z, {
19884
+ createVNode(_sfc_main$1A, {
19885
19885
  ref_key: "voiceSearchProgressBar",
19886
19886
  ref: voiceSearchProgressBar,
19887
19887
  class: "lupa-progress-circle",
@@ -19896,8 +19896,8 @@ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
19896
19896
  };
19897
19897
  }
19898
19898
  });
19899
- const _hoisted_1$1j = { id: "lupa-search-box-input-container" };
19900
- const _hoisted_2$U = { class: "lupa-input-clear" };
19899
+ const _hoisted_1$1k = { id: "lupa-search-box-input-container" };
19900
+ const _hoisted_2$V = { class: "lupa-input-clear" };
19901
19901
  const _hoisted_3$D = { id: "lupa-search-box-input" };
19902
19902
  const _hoisted_4$t = ["value"];
19903
19903
  const _hoisted_5$k = ["aria-label", "placeholder"];
@@ -19906,7 +19906,7 @@ const _hoisted_6$8 = {
19906
19906
  class: "lupa-close-label"
19907
19907
  };
19908
19908
  const _hoisted_7$5 = { key: 1 };
19909
- const _sfc_main$1x = /* @__PURE__ */ defineComponent({
19909
+ const _sfc_main$1y = /* @__PURE__ */ defineComponent({
19910
19910
  __name: "SearchBoxInput",
19911
19911
  props: {
19912
19912
  options: {},
@@ -20034,8 +20034,8 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
20034
20034
  };
20035
20035
  __expose({ focus });
20036
20036
  return (_ctx, _cache) => {
20037
- return openBlock(), createElementBlock("div", _hoisted_1$1j, [
20038
- createBaseVNode("div", _hoisted_2$U, [
20037
+ return openBlock(), createElementBlock("div", _hoisted_1$1k, [
20038
+ createBaseVNode("div", _hoisted_2$V, [
20039
20039
  createBaseVNode("div", {
20040
20040
  class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
20041
20041
  onClick: clear
@@ -20084,7 +20084,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
20084
20084
  class: "lupa-voice-search-button"
20085
20085
  })
20086
20086
  ])) : createCommentVNode("", true),
20087
- isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$1y, {
20087
+ isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$1z, {
20088
20088
  key: 2,
20089
20089
  ref_key: "voiceDialogOverlay",
20090
20090
  ref: voiceDialogOverlay,
@@ -20098,7 +20098,7 @@ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
20098
20098
  };
20099
20099
  }
20100
20100
  });
20101
- const _sfc_main$1w = /* @__PURE__ */ defineComponent({
20101
+ const _sfc_main$1x = /* @__PURE__ */ defineComponent({
20102
20102
  __name: "SearchBoxMoreResults",
20103
20103
  props: {
20104
20104
  labels: {},
@@ -20136,9 +20136,9 @@ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
20136
20136
  };
20137
20137
  }
20138
20138
  });
20139
- const _hoisted_1$1i = { class: "lupa-search-box-history-item" };
20140
- const _hoisted_2$T = { class: "lupa-search-box-history-item-content" };
20141
- const _sfc_main$1v = /* @__PURE__ */ defineComponent({
20139
+ const _hoisted_1$1j = { class: "lupa-search-box-history-item" };
20140
+ const _hoisted_2$U = { class: "lupa-search-box-history-item-content" };
20141
+ const _sfc_main$1w = /* @__PURE__ */ defineComponent({
20142
20142
  __name: "SearchBoxHistoryItem",
20143
20143
  props: {
20144
20144
  item: {},
@@ -20155,8 +20155,8 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
20155
20155
  emit2("click", { query: props.item });
20156
20156
  };
20157
20157
  return (_ctx, _cache) => {
20158
- return openBlock(), createElementBlock("div", _hoisted_1$1i, [
20159
- createBaseVNode("div", _hoisted_2$T, [
20158
+ return openBlock(), createElementBlock("div", _hoisted_1$1j, [
20159
+ createBaseVNode("div", _hoisted_2$U, [
20160
20160
  createBaseVNode("div", {
20161
20161
  class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
20162
20162
  onClick: click2
@@ -20170,11 +20170,11 @@ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
20170
20170
  };
20171
20171
  }
20172
20172
  });
20173
- const _hoisted_1$1h = {
20173
+ const _hoisted_1$1i = {
20174
20174
  key: 0,
20175
20175
  class: "lupa-search-box-history-panel"
20176
20176
  };
20177
- const _sfc_main$1u = /* @__PURE__ */ defineComponent({
20177
+ const _sfc_main$1v = /* @__PURE__ */ defineComponent({
20178
20178
  __name: "SearchBoxHistoryPanel",
20179
20179
  props: {
20180
20180
  options: {}
@@ -20225,9 +20225,9 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
20225
20225
  }
20226
20226
  };
20227
20227
  return (_ctx, _cache) => {
20228
- return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1h, [
20228
+ return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1i, [
20229
20229
  (openBlock(true), createElementBlock(Fragment, null, renderList(limitedHistory.value, (item, index) => {
20230
- return openBlock(), createBlock(_sfc_main$1v, {
20230
+ return openBlock(), createBlock(_sfc_main$1w, {
20231
20231
  key: item,
20232
20232
  item,
20233
20233
  highlighted: index === highlightIndex.value,
@@ -20243,15 +20243,15 @@ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
20243
20243
  };
20244
20244
  }
20245
20245
  });
20246
- const _hoisted_1$1g = { class: "lupa-search-box-no-results" };
20247
- const _sfc_main$1t = /* @__PURE__ */ defineComponent({
20246
+ const _hoisted_1$1h = { class: "lupa-search-box-no-results" };
20247
+ const _sfc_main$1u = /* @__PURE__ */ defineComponent({
20248
20248
  __name: "SearchBoxNoResults",
20249
20249
  props: {
20250
20250
  labels: {}
20251
20251
  },
20252
20252
  setup(__props) {
20253
20253
  return (_ctx, _cache) => {
20254
- return openBlock(), createElementBlock("p", _hoisted_1$1g, toDisplayString(_ctx.labels.noResults), 1);
20254
+ return openBlock(), createElementBlock("p", _hoisted_1$1h, toDisplayString(_ctx.labels.noResults), 1);
20255
20255
  };
20256
20256
  }
20257
20257
  });
@@ -20283,8 +20283,8 @@ const generateGridTemplate = (elements) => {
20283
20283
  }
20284
20284
  return gridTemplate.join(" ");
20285
20285
  };
20286
- const _hoisted_1$1f = ["innerHTML"];
20287
- const _hoisted_2$S = {
20286
+ const _hoisted_1$1g = ["innerHTML"];
20287
+ const _hoisted_2$T = {
20288
20288
  key: 1,
20289
20289
  "data-cy": "lupa-suggestion-value",
20290
20290
  class: "lupa-suggestion-value"
@@ -20302,7 +20302,7 @@ const _hoisted_5$j = {
20302
20302
  class: "lupa-suggestion-facet-value",
20303
20303
  "data-cy": "lupa-suggestion-facet-value"
20304
20304
  };
20305
- const _sfc_main$1s = /* @__PURE__ */ defineComponent({
20305
+ const _sfc_main$1t = /* @__PURE__ */ defineComponent({
20306
20306
  __name: "SearchBoxSuggestion",
20307
20307
  props: {
20308
20308
  suggestion: {},
@@ -20339,7 +20339,7 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
20339
20339
  class: "lupa-suggestion-value",
20340
20340
  "data-cy": "lupa-suggestion-value",
20341
20341
  innerHTML: _ctx.suggestion.displayHighlight
20342
- }, null, 8, _hoisted_1$1f)) : (openBlock(), createElementBlock("div", _hoisted_2$S, toDisplayString(_ctx.suggestion.display), 1)),
20342
+ }, null, 8, _hoisted_1$1g)) : (openBlock(), createElementBlock("div", _hoisted_2$T, toDisplayString(_ctx.suggestion.display), 1)),
20343
20343
  _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$C, [
20344
20344
  createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
20345
20345
  createBaseVNode("span", _hoisted_5$j, toDisplayString(_ctx.suggestion.facet.title), 1)
@@ -20348,11 +20348,11 @@ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
20348
20348
  };
20349
20349
  }
20350
20350
  });
20351
- const _hoisted_1$1e = {
20351
+ const _hoisted_1$1f = {
20352
20352
  id: "lupa-search-box-suggestions",
20353
20353
  "data-cy": "lupa-search-box-suggestions"
20354
20354
  };
20355
- const _sfc_main$1r = /* @__PURE__ */ defineComponent({
20355
+ const _sfc_main$1s = /* @__PURE__ */ defineComponent({
20356
20356
  __name: "SearchBoxSuggestions",
20357
20357
  props: {
20358
20358
  items: {},
@@ -20419,9 +20419,9 @@ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
20419
20419
  });
20420
20420
  });
20421
20421
  return (_ctx, _cache) => {
20422
- return openBlock(), createElementBlock("div", _hoisted_1$1e, [
20422
+ return openBlock(), createElementBlock("div", _hoisted_1$1f, [
20423
20423
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
20424
- return openBlock(), createBlock(_sfc_main$1s, {
20424
+ return openBlock(), createBlock(_sfc_main$1t, {
20425
20425
  key: getSuggestionKey(item),
20426
20426
  class: normalizeClass([
20427
20427
  "lupa-suggestion",
@@ -20453,7 +20453,7 @@ const debounce = (func, timeout) => {
20453
20453
  }, timeout);
20454
20454
  };
20455
20455
  };
20456
- const _sfc_main$1q = /* @__PURE__ */ defineComponent({
20456
+ const _sfc_main$1r = /* @__PURE__ */ defineComponent({
20457
20457
  __name: "SearchBoxSuggestionsWrapper",
20458
20458
  props: {
20459
20459
  panel: {},
@@ -20496,7 +20496,7 @@ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
20496
20496
  const getSuggestionsDebounced = debounce(getSuggestions, props.debounce);
20497
20497
  watch(() => props.panel.limit, getSuggestionsDebounced);
20498
20498
  return (_ctx, _cache) => {
20499
- return openBlock(), createBlock(_sfc_main$1r, {
20499
+ return openBlock(), createBlock(_sfc_main$1s, {
20500
20500
  items: searchResult.value,
20501
20501
  highlight: _ctx.panel.highlight,
20502
20502
  queryKey: _ctx.panel.queryKey,
@@ -29778,9 +29778,9 @@ const replaceImageWithPlaceholder = (e2, placeholder) => {
29778
29778
  targetImage.src = placeholder;
29779
29779
  }
29780
29780
  };
29781
- const _hoisted_1$1d = ["src"];
29782
- const _hoisted_2$R = ["src"];
29783
- const _sfc_main$1p = /* @__PURE__ */ defineComponent({
29781
+ const _hoisted_1$1e = ["src"];
29782
+ const _hoisted_2$S = ["src"];
29783
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
29784
29784
  __name: "ProductImage",
29785
29785
  props: {
29786
29786
  item: {},
@@ -29922,7 +29922,7 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
29922
29922
  }, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
29923
29923
  onError: replaceWithPlaceholder,
29924
29924
  key: finalUrl.value
29925
- }), null, 16, _hoisted_1$1d))
29925
+ }), null, 16, _hoisted_1$1e))
29926
29926
  ]),
29927
29927
  _: 1
29928
29928
  })) : (openBlock(), createElementBlock("img", mergeProps({
@@ -29930,12 +29930,12 @@ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
29930
29930
  class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
29931
29931
  style: styleOverride.value,
29932
29932
  src: finalMainImageUrl.value
29933
- }, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$R))
29933
+ }, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$S))
29934
29934
  ], 38);
29935
29935
  };
29936
29936
  }
29937
29937
  });
29938
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
29938
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
29939
29939
  __name: "SearchBoxProductImage",
29940
29940
  props: {
29941
29941
  item: {},
@@ -29943,7 +29943,7 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
29943
29943
  },
29944
29944
  setup(__props) {
29945
29945
  return (_ctx, _cache) => {
29946
- return openBlock(), createBlock(_sfc_main$1p, {
29946
+ return openBlock(), createBlock(_sfc_main$1q, {
29947
29947
  item: _ctx.item,
29948
29948
  options: _ctx.options,
29949
29949
  "wrapper-class": "lupa-search-box-image-wrapper",
@@ -29952,12 +29952,12 @@ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
29952
29952
  };
29953
29953
  }
29954
29954
  });
29955
- const _hoisted_1$1c = ["innerHTML"];
29956
- const _hoisted_2$Q = {
29955
+ const _hoisted_1$1d = ["innerHTML"];
29956
+ const _hoisted_2$R = {
29957
29957
  key: 1,
29958
29958
  class: "lupa-search-box-product-title"
29959
29959
  };
29960
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
29960
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
29961
29961
  __name: "SearchBoxProductTitle",
29962
29962
  props: {
29963
29963
  item: {},
@@ -29980,18 +29980,18 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
29980
29980
  key: 0,
29981
29981
  class: "lupa-search-box-product-title",
29982
29982
  innerHTML: sanitizedTitle.value
29983
- }, null, 8, _hoisted_1$1c)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, [
29983
+ }, null, 8, _hoisted_1$1d)) : (openBlock(), createElementBlock("div", _hoisted_2$R, [
29984
29984
  createBaseVNode("strong", null, toDisplayString(title.value), 1)
29985
29985
  ]));
29986
29986
  };
29987
29987
  }
29988
29988
  });
29989
- const _hoisted_1$1b = ["innerHTML"];
29990
- const _hoisted_2$P = {
29989
+ const _hoisted_1$1c = ["innerHTML"];
29990
+ const _hoisted_2$Q = {
29991
29991
  key: 1,
29992
29992
  class: "lupa-search-box-product-description"
29993
29993
  };
29994
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
29994
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
29995
29995
  __name: "SearchBoxProductDescription",
29996
29996
  props: {
29997
29997
  item: {},
@@ -30014,12 +30014,12 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
30014
30014
  key: 0,
30015
30015
  class: "lupa-search-box-product-description",
30016
30016
  innerHTML: sanitizedDescription.value
30017
- }, null, 8, _hoisted_1$1b)) : (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(description.value), 1));
30017
+ }, null, 8, _hoisted_1$1c)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(description.value), 1));
30018
30018
  };
30019
30019
  }
30020
30020
  });
30021
- const _hoisted_1$1a = { class: "lupa-search-box-product-price" };
30022
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
30021
+ const _hoisted_1$1b = { class: "lupa-search-box-product-price" };
30022
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
30023
30023
  __name: "SearchBoxProductPrice",
30024
30024
  props: {
30025
30025
  item: {},
@@ -30041,13 +30041,13 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
30041
30041
  );
30042
30042
  });
30043
30043
  return (_ctx, _cache) => {
30044
- return openBlock(), createElementBlock("div", _hoisted_1$1a, [
30044
+ return openBlock(), createElementBlock("div", _hoisted_1$1b, [
30045
30045
  createBaseVNode("strong", null, toDisplayString(price.value), 1)
30046
30046
  ]);
30047
30047
  };
30048
30048
  }
30049
30049
  });
30050
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
30050
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
30051
30051
  __name: "SearchBoxProductRegularPrice",
30052
30052
  props: {
30053
30053
  item: {},
@@ -30078,12 +30078,12 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
30078
30078
  };
30079
30079
  }
30080
30080
  });
30081
- const _hoisted_1$19 = ["innerHTML"];
30082
- const _hoisted_2$O = { key: 0 };
30081
+ const _hoisted_1$1a = ["innerHTML"];
30082
+ const _hoisted_2$P = { key: 0 };
30083
30083
  const _hoisted_3$B = { key: 1 };
30084
30084
  const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
30085
30085
  const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
30086
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
30086
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
30087
30087
  __name: "SearchBoxProductCustom",
30088
30088
  props: {
30089
30089
  item: {},
@@ -30109,11 +30109,11 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
30109
30109
  key: 0,
30110
30110
  class: [className.value, "lupa-search-box-product-custom"],
30111
30111
  innerHTML: text.value
30112
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$19)) : (openBlock(), createElementBlock("div", mergeProps({
30112
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$1a)) : (openBlock(), createElementBlock("div", mergeProps({
30113
30113
  key: 1,
30114
30114
  class: [className.value, "lupa-search-box-product-custom"]
30115
30115
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
30116
- !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$O, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$B, [
30116
+ !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$B, [
30117
30117
  createBaseVNode("div", _hoisted_4$r, toDisplayString(label.value), 1),
30118
30118
  createBaseVNode("div", _hoisted_5$i, toDisplayString(text.value), 1)
30119
30119
  ]))
@@ -30121,8 +30121,8 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
30121
30121
  };
30122
30122
  }
30123
30123
  });
30124
- const _hoisted_1$18 = ["innerHTML"];
30125
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
30124
+ const _hoisted_1$19 = ["innerHTML"];
30125
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
30126
30126
  __name: "SearchBoxProductCustomHtml",
30127
30127
  props: {
30128
30128
  item: {},
@@ -30147,7 +30147,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
30147
30147
  return openBlock(), createElementBlock("div", mergeProps({
30148
30148
  class: className.value,
30149
30149
  innerHTML: text.value
30150
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$18);
30150
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$19);
30151
30151
  };
30152
30152
  }
30153
30153
  });
@@ -30462,12 +30462,12 @@ const useSearchResultStore = /* @__PURE__ */ defineStore("searchResult", () => {
30462
30462
  setRelatedQueriesApiEnabled
30463
30463
  };
30464
30464
  });
30465
- const _hoisted_1$17 = { class: "lupa-search-box-add-to-cart-wrapper" };
30466
- const _hoisted_2$N = { class: "lupa-search-box-product-addtocart" };
30465
+ const _hoisted_1$18 = { class: "lupa-search-box-add-to-cart-wrapper" };
30466
+ const _hoisted_2$O = { class: "lupa-search-box-product-addtocart" };
30467
30467
  const _hoisted_3$A = ["disabled"];
30468
30468
  const _hoisted_4$q = ["href"];
30469
30469
  const _hoisted_5$h = ["disabled"];
30470
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
30470
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
30471
30471
  __name: "SearchBoxProductAddToCart",
30472
30472
  props: {
30473
30473
  item: {},
@@ -30506,8 +30506,8 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
30506
30506
  return Boolean(props.link && props.options.link);
30507
30507
  });
30508
30508
  return (_ctx, _cache) => {
30509
- return openBlock(), createElementBlock("div", _hoisted_1$17, [
30510
- createBaseVNode("div", _hoisted_2$N, [
30509
+ return openBlock(), createElementBlock("div", _hoisted_1$18, [
30510
+ createBaseVNode("div", _hoisted_2$O, [
30511
30511
  hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
30512
30512
  key: 0,
30513
30513
  class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
@@ -30528,23 +30528,23 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
30528
30528
  };
30529
30529
  }
30530
30530
  });
30531
- const _hoisted_1$16 = {
30531
+ const _hoisted_1$17 = {
30532
30532
  key: 1,
30533
30533
  class: "lupa-search-box-element-badge-wrapper"
30534
30534
  };
30535
30535
  const __default__$4 = {
30536
30536
  components: {
30537
- SearchBoxProductImage: _sfc_main$1o,
30538
- SearchBoxProductTitle: _sfc_main$1n,
30539
- SearchBoxProductDescription: _sfc_main$1m,
30540
- SearchBoxProductPrice: _sfc_main$1l,
30541
- SearchBoxProductRegularPrice: _sfc_main$1k,
30542
- SearchBoxProductCustom: _sfc_main$1j,
30543
- SearchBoxProductCustomHtml: _sfc_main$1i,
30544
- SearchBoxProductAddToCart: _sfc_main$1h
30537
+ SearchBoxProductImage: _sfc_main$1p,
30538
+ SearchBoxProductTitle: _sfc_main$1o,
30539
+ SearchBoxProductDescription: _sfc_main$1n,
30540
+ SearchBoxProductPrice: _sfc_main$1m,
30541
+ SearchBoxProductRegularPrice: _sfc_main$1l,
30542
+ SearchBoxProductCustom: _sfc_main$1k,
30543
+ SearchBoxProductCustomHtml: _sfc_main$1j,
30544
+ SearchBoxProductAddToCart: _sfc_main$1i
30545
30545
  }
30546
30546
  };
30547
- const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
30547
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
30548
30548
  __name: "SearchBoxProductElement",
30549
30549
  props: {
30550
30550
  item: {},
@@ -30616,7 +30616,7 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
30616
30616
  "dynamic-attributes": dynamicAttributes.value,
30617
30617
  link: _ctx.link
30618
30618
  }, renderDynamicAttributesOnParentElement.value && dynamicAttributes.value), null, 16, ["item", "options", "labels", "class", "inStock", "dynamic-attributes", "link"])) : createCommentVNode("", true)
30619
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$16, [
30619
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$17, [
30620
30620
  displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
30621
30621
  key: 0,
30622
30622
  item: enhancedItem.value,
@@ -30631,14 +30631,14 @@ const _sfc_main$1g = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
30631
30631
  };
30632
30632
  }
30633
30633
  }));
30634
- const _hoisted_1$15 = { class: "lupa-badge-title" };
30635
- const _hoisted_2$M = ["src"];
30634
+ const _hoisted_1$16 = { class: "lupa-badge-title" };
30635
+ const _hoisted_2$N = ["src"];
30636
30636
  const _hoisted_3$z = { key: 1 };
30637
30637
  const _hoisted_4$p = {
30638
30638
  key: 0,
30639
30639
  class: "lupa-badge-full-text"
30640
30640
  };
30641
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
30641
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
30642
30642
  __name: "SearchResultGeneratedBadge",
30643
30643
  props: {
30644
30644
  options: {},
@@ -30671,11 +30671,11 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
30671
30671
  class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
30672
30672
  style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
30673
30673
  }, [
30674
- createBaseVNode("span", _hoisted_1$15, [
30674
+ createBaseVNode("span", _hoisted_1$16, [
30675
30675
  image.value ? (openBlock(), createElementBlock("img", {
30676
30676
  key: 0,
30677
30677
  src: image.value
30678
- }, null, 8, _hoisted_2$M)) : createCommentVNode("", true),
30678
+ }, null, 8, _hoisted_2$N)) : createCommentVNode("", true),
30679
30679
  hasTitleText.value && showTitle.value ? (openBlock(), createElementBlock("span", _hoisted_3$z, toDisplayString(_ctx.badge.titleText), 1)) : createCommentVNode("", true)
30680
30680
  ]),
30681
30681
  hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
@@ -30683,8 +30683,8 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
30683
30683
  };
30684
30684
  }
30685
30685
  });
30686
- const _hoisted_1$14 = { class: "lupa-generated-badges" };
30687
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
30686
+ const _hoisted_1$15 = { class: "lupa-generated-badges" };
30687
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
30688
30688
  __name: "SearchResultGeneratedBadges",
30689
30689
  props: {
30690
30690
  options: {}
@@ -30710,9 +30710,9 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
30710
30710
  })).filter((b) => Boolean(b.id));
30711
30711
  });
30712
30712
  return (_ctx, _cache) => {
30713
- return openBlock(), createElementBlock("div", _hoisted_1$14, [
30713
+ return openBlock(), createElementBlock("div", _hoisted_1$15, [
30714
30714
  (openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
30715
- return openBlock(), createBlock(_sfc_main$1f, {
30715
+ return openBlock(), createBlock(_sfc_main$1g, {
30716
30716
  key: badge.id,
30717
30717
  badge,
30718
30718
  options: _ctx.options
@@ -30722,8 +30722,8 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
30722
30722
  };
30723
30723
  }
30724
30724
  });
30725
- const _hoisted_1$13 = ["innerHTML"];
30726
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
30725
+ const _hoisted_1$14 = ["innerHTML"];
30726
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
30727
30727
  __name: "CustomBadge",
30728
30728
  props: {
30729
30729
  badge: {}
@@ -30744,12 +30744,12 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
30744
30744
  return openBlock(), createElementBlock("div", {
30745
30745
  class: normalizeClass(className.value),
30746
30746
  innerHTML: text.value
30747
- }, null, 10, _hoisted_1$13);
30747
+ }, null, 10, _hoisted_1$14);
30748
30748
  };
30749
30749
  }
30750
30750
  });
30751
- const _hoisted_1$12 = { class: "lupa-text-badges" };
30752
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
30751
+ const _hoisted_1$13 = { class: "lupa-text-badges" };
30752
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
30753
30753
  __name: "TextBadge",
30754
30754
  props: {
30755
30755
  badge: {}
@@ -30763,7 +30763,7 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
30763
30763
  return badges.value.slice(0, props.badge.maxItems);
30764
30764
  });
30765
30765
  return (_ctx, _cache) => {
30766
- return openBlock(), createElementBlock("div", _hoisted_1$12, [
30766
+ return openBlock(), createElementBlock("div", _hoisted_1$13, [
30767
30767
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
30768
30768
  return openBlock(), createElementBlock("div", {
30769
30769
  class: "lupa-badge lupa-text-badge",
@@ -30774,9 +30774,9 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
30774
30774
  };
30775
30775
  }
30776
30776
  });
30777
- const _hoisted_1$11 = { class: "lupa-image-badges" };
30778
- const _hoisted_2$L = ["src"];
30779
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
30777
+ const _hoisted_1$12 = { class: "lupa-image-badges" };
30778
+ const _hoisted_2$M = ["src"];
30779
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
30780
30780
  __name: "ImageBadge",
30781
30781
  props: {
30782
30782
  badge: {}
@@ -30796,7 +30796,7 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
30796
30796
  return `${props.badge.rootImageUrl}${src}`;
30797
30797
  };
30798
30798
  return (_ctx, _cache) => {
30799
- return openBlock(), createElementBlock("div", _hoisted_1$11, [
30799
+ return openBlock(), createElementBlock("div", _hoisted_1$12, [
30800
30800
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
30801
30801
  return openBlock(), createElementBlock("div", {
30802
30802
  class: "lupa-badge lupa-image-badge",
@@ -30804,14 +30804,14 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
30804
30804
  }, [
30805
30805
  createBaseVNode("img", {
30806
30806
  src: getImageUrl(item)
30807
- }, null, 8, _hoisted_2$L)
30807
+ }, null, 8, _hoisted_2$M)
30808
30808
  ]);
30809
30809
  }), 128))
30810
30810
  ]);
30811
30811
  };
30812
30812
  }
30813
30813
  });
30814
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
30814
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
30815
30815
  __name: "DiscountBadge",
30816
30816
  props: {
30817
30817
  badge: {}
@@ -30873,16 +30873,16 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
30873
30873
  };
30874
30874
  }
30875
30875
  });
30876
- const _hoisted_1$10 = { id: "lupa-search-results-badges" };
30876
+ const _hoisted_1$11 = { id: "lupa-search-results-badges" };
30877
30877
  const __default__$3 = {
30878
30878
  components: {
30879
- CustomBadge: _sfc_main$1d,
30880
- TextBadge: _sfc_main$1c,
30881
- ImageBadge: _sfc_main$1b,
30882
- DiscountBadge: _sfc_main$1a
30879
+ CustomBadge: _sfc_main$1e,
30880
+ TextBadge: _sfc_main$1d,
30881
+ ImageBadge: _sfc_main$1c,
30882
+ DiscountBadge: _sfc_main$1b
30883
30883
  }
30884
30884
  };
30885
- const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
30885
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
30886
30886
  __name: "SearchResultsBadgeWrapper",
30887
30887
  props: {
30888
30888
  position: {},
@@ -30945,7 +30945,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
30945
30945
  }
30946
30946
  };
30947
30947
  return (_ctx, _cache) => {
30948
- return openBlock(), createElementBlock("div", _hoisted_1$10, [
30948
+ return openBlock(), createElementBlock("div", _hoisted_1$11, [
30949
30949
  createBaseVNode("div", {
30950
30950
  id: "lupa-badges",
30951
30951
  class: normalizeClass(anchorPosition.value)
@@ -30956,7 +30956,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
30956
30956
  badge
30957
30957
  }, null, 8, ["badge"]);
30958
30958
  }), 128)),
30959
- positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$1e, {
30959
+ positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$1f, {
30960
30960
  key: 0,
30961
30961
  options: _ctx.options
30962
30962
  }, null, 8, ["options"])) : createCommentVNode("", true)
@@ -30965,13 +30965,13 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
30965
30965
  };
30966
30966
  }
30967
30967
  }));
30968
- const _hoisted_1$$ = ["href"];
30969
- const _hoisted_2$K = { class: "lupa-search-box-product-details-section" };
30968
+ const _hoisted_1$10 = ["href"];
30969
+ const _hoisted_2$L = { class: "lupa-search-box-product-details-section" };
30970
30970
  const _hoisted_3$y = {
30971
30971
  key: 0,
30972
30972
  class: "lupa-search-box-product-add-to-cart-section"
30973
30973
  };
30974
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
30974
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
30975
30975
  __name: "SearchBoxProduct",
30976
30976
  props: {
30977
30977
  item: {},
@@ -31077,7 +31077,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31077
31077
  style: normalizeStyle(imageStyleOverride.value)
31078
31078
  }, [
31079
31079
  (openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
31080
- return openBlock(), createBlock(_sfc_main$1g, {
31080
+ return openBlock(), createBlock(_sfc_main$1h, {
31081
31081
  class: "lupa-search-box-product-element",
31082
31082
  key: element.key,
31083
31083
  item: _ctx.item,
@@ -31087,10 +31087,10 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31087
31087
  }, null, 8, ["item", "element", "labels", "link"]);
31088
31088
  }), 128))
31089
31089
  ], 4),
31090
- createBaseVNode("div", _hoisted_2$K, [
31090
+ createBaseVNode("div", _hoisted_2$L, [
31091
31091
  (openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
31092
31092
  var _a25;
31093
- return openBlock(), createBlock(_sfc_main$1g, {
31093
+ return openBlock(), createBlock(_sfc_main$1h, {
31094
31094
  class: "lupa-search-box-product-element",
31095
31095
  key: element.key,
31096
31096
  item: _ctx.item,
@@ -31101,7 +31101,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31101
31101
  ((_a25 = badgeOptions.value) == null ? void 0 : _a25.anchorElementKey) === element.key ? {
31102
31102
  name: "badges",
31103
31103
  fn: withCtx(() => [
31104
- createVNode(_sfc_main$19, {
31104
+ createVNode(_sfc_main$1a, {
31105
31105
  options: badgeOptions.value,
31106
31106
  position: "card"
31107
31107
  }, null, 8, ["options"])
@@ -31117,7 +31117,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31117
31117
  class: normalizeClass(`lupa-search-box-group-${group}`)
31118
31118
  }, [
31119
31119
  (openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
31120
- return openBlock(), createBlock(_sfc_main$1g, {
31120
+ return openBlock(), createBlock(_sfc_main$1h, {
31121
31121
  class: "lupa-search-box-product-element",
31122
31122
  key: element.key,
31123
31123
  item: _ctx.item,
@@ -31130,7 +31130,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31130
31130
  ], 2);
31131
31131
  }), 128)),
31132
31132
  addToCartElement.value ? (openBlock(), createElementBlock("div", _hoisted_3$y, [
31133
- createVNode(_sfc_main$1g, {
31133
+ createVNode(_sfc_main$1h, {
31134
31134
  class: "lupa-search-box-product-element",
31135
31135
  item: _ctx.item,
31136
31136
  element: addToCartElement.value,
@@ -31139,7 +31139,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31139
31139
  isInStock: isInStock.value
31140
31140
  }, null, 8, ["item", "element", "labels", "link", "isInStock"])
31141
31141
  ])) : createCommentVNode("", true)
31142
- ], 16, _hoisted_1$$);
31142
+ ], 16, _hoisted_1$10);
31143
31143
  };
31144
31144
  }
31145
31145
  });
@@ -31211,8 +31211,8 @@ const useTrackingStore = /* @__PURE__ */ defineStore("tracking", () => {
31211
31211
  };
31212
31212
  return { trackSearch, trackResults, trackEvent, trackDelayedEvent };
31213
31213
  });
31214
- const _hoisted_1$_ = { id: "lupa-search-box-products" };
31215
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31214
+ const _hoisted_1$$ = { id: "lupa-search-box-products" };
31215
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
31216
31216
  __name: "SearchBoxProducts",
31217
31217
  props: {
31218
31218
  items: {},
@@ -31284,7 +31284,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31284
31284
  }
31285
31285
  };
31286
31286
  return (_ctx, _cache) => {
31287
- return openBlock(), createElementBlock("div", _hoisted_1$_, [
31287
+ return openBlock(), createElementBlock("div", _hoisted_1$$, [
31288
31288
  _ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index) => {
31289
31289
  return renderSlot(_ctx.$slots, "productCard", {
31290
31290
  key: index,
@@ -31296,7 +31296,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31296
31296
  itemClicked: handleProductClick
31297
31297
  });
31298
31298
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.items, (item, index) => {
31299
- return openBlock(), createBlock(_sfc_main$18, {
31299
+ return openBlock(), createBlock(_sfc_main$19, {
31300
31300
  key: index,
31301
31301
  item,
31302
31302
  panelOptions: _ctx.panelOptions,
@@ -31311,9 +31311,9 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31311
31311
  };
31312
31312
  }
31313
31313
  });
31314
- const _hoisted_1$Z = { class: "lupa-search-box-documents-go-to-results-wrapper" };
31315
- const _hoisted_2$J = { key: 0 };
31316
- const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31314
+ const _hoisted_1$_ = { class: "lupa-search-box-documents-go-to-results-wrapper" };
31315
+ const _hoisted_2$K = { key: 0 };
31316
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
31317
31317
  __name: "SearchBoxProductsGoToResultsButton",
31318
31318
  props: {
31319
31319
  options: {},
@@ -31344,13 +31344,13 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31344
31344
  emit2("goToResults");
31345
31345
  };
31346
31346
  return (_ctx, _cache) => {
31347
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
31347
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
31348
31348
  createBaseVNode("button", {
31349
31349
  class: "lupa-search-box-documents-go-to-results-button",
31350
31350
  onClick: goToResults
31351
31351
  }, [
31352
31352
  createTextVNode(toDisplayString(goToResultsLabel.value) + " ", 1),
31353
- totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$J, " " + toDisplayString(totalCount.value), 1)) : createCommentVNode("", true)
31353
+ totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$K, " " + toDisplayString(totalCount.value), 1)) : createCommentVNode("", true)
31354
31354
  ])
31355
31355
  ]);
31356
31356
  };
@@ -31437,7 +31437,7 @@ const processExtractionObject = (value = {}) => {
31437
31437
  }
31438
31438
  return parsedObject;
31439
31439
  };
31440
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31440
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
31441
31441
  __name: "SearchBoxProductsWrapper",
31442
31442
  props: {
31443
31443
  panel: {},
@@ -31507,7 +31507,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31507
31507
  watch(() => props.panel.limit, getItemsDebounced);
31508
31508
  return (_ctx, _cache) => {
31509
31509
  var _a25, _b25;
31510
- return openBlock(), createBlock(_sfc_main$17, {
31510
+ return openBlock(), createBlock(_sfc_main$18, {
31511
31511
  items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
31512
31512
  panelOptions: _ctx.panel,
31513
31513
  labels: _ctx.labels,
@@ -31517,7 +31517,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31517
31517
  default: withCtx(() => {
31518
31518
  var _a26;
31519
31519
  return [
31520
- showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$16, {
31520
+ showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$17, {
31521
31521
  key: 0,
31522
31522
  options: _ctx.searchBoxOptions,
31523
31523
  panel: _ctx.panel,
@@ -31538,7 +31538,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31538
31538
  };
31539
31539
  }
31540
31540
  });
31541
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
31541
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
31542
31542
  __name: "SearchBoxRelatedSourceWrapper",
31543
31543
  props: {
31544
31544
  panel: {},
@@ -31610,7 +31610,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
31610
31610
  });
31611
31611
  return (_ctx, _cache) => {
31612
31612
  var _a25, _b25;
31613
- return openBlock(), createBlock(_sfc_main$17, {
31613
+ return openBlock(), createBlock(_sfc_main$18, {
31614
31614
  items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
31615
31615
  panelOptions: documentPanelOptions.value,
31616
31616
  labels: _ctx.labels,
@@ -31628,11 +31628,11 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
31628
31628
  };
31629
31629
  }
31630
31630
  });
31631
- const _hoisted_1$Y = {
31631
+ const _hoisted_1$Z = {
31632
31632
  key: 0,
31633
31633
  id: "lupa-search-box-panel"
31634
31634
  };
31635
- const _hoisted_2$I = ["data-cy"];
31635
+ const _hoisted_2$J = ["data-cy"];
31636
31636
  const _hoisted_3$x = {
31637
31637
  key: 0,
31638
31638
  class: "lupa-panel-title lupa-panel-title-top-results"
@@ -31647,12 +31647,12 @@ const _hoisted_5$g = {
31647
31647
  };
31648
31648
  const __default__$2 = {
31649
31649
  components: {
31650
- SearchBoxSuggestionsWrapper: _sfc_main$1q,
31651
- SearchBoxProductsWrapper: _sfc_main$15,
31652
- SearchBoxRelatedSourceWrapper: _sfc_main$14
31650
+ SearchBoxSuggestionsWrapper: _sfc_main$1r,
31651
+ SearchBoxProductsWrapper: _sfc_main$16,
31652
+ SearchBoxRelatedSourceWrapper: _sfc_main$15
31653
31653
  }
31654
31654
  };
31655
- const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
31655
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
31656
31656
  __name: "SearchBoxMainPanel",
31657
31657
  props: {
31658
31658
  options: {},
@@ -31810,7 +31810,7 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
31810
31810
  ref_key: "panelContainer",
31811
31811
  ref: panelContainer
31812
31812
  }, [
31813
- displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$Y, [
31813
+ displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$Z, [
31814
31814
  labels.value.closePanel ? (openBlock(), createElementBlock("a", {
31815
31815
  key: 0,
31816
31816
  class: "lupa-search-box-close-panel",
@@ -31855,21 +31855,21 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValu
31855
31855
  key: "0"
31856
31856
  } : void 0
31857
31857
  ]), 1064, ["panel", "search-box-options", "options", "debounce", "inputValue", "labels"])) : createCommentVNode("", true)
31858
- ], 14, _hoisted_2$I);
31858
+ ], 14, _hoisted_2$J);
31859
31859
  }), 128))
31860
31860
  ], 4),
31861
- !unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1t, {
31861
+ !unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1u, {
31862
31862
  key: 1,
31863
31863
  labels: labels.value
31864
31864
  }, null, 8, ["labels"])) : createCommentVNode("", true),
31865
- unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1w, {
31865
+ unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1x, {
31866
31866
  key: 2,
31867
31867
  labels: labels.value,
31868
31868
  options: _ctx.options,
31869
31869
  onGoToResults: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("go-to-results"))
31870
31870
  }, null, 8, ["labels", "options"])) : createCommentVNode("", true)
31871
31871
  ])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$g, [
31872
- createVNode(_sfc_main$1u, {
31872
+ createVNode(_sfc_main$1v, {
31873
31873
  options: _ctx.options.history,
31874
31874
  history: history.value,
31875
31875
  onGoToResults: handleGoToResults,
@@ -31894,8 +31894,8 @@ const unbindSearchTriggers = (triggers = [], event) => {
31894
31894
  const elements = getElements(triggers);
31895
31895
  elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
31896
31896
  };
31897
- const _hoisted_1$X = { class: "lupa-search-box-wrapper" };
31898
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
31897
+ const _hoisted_1$Y = { class: "lupa-search-box-wrapper" };
31898
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
31899
31899
  __name: "SearchBox",
31900
31900
  props: {
31901
31901
  options: {},
@@ -32217,8 +32217,8 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32217
32217
  id: "lupa-search-box",
32218
32218
  class: normalizeClass({ "lupa-search-box-opened": opened.value })
32219
32219
  }, [
32220
- createBaseVNode("div", _hoisted_1$X, [
32221
- createVNode(_sfc_main$1x, {
32220
+ createBaseVNode("div", _hoisted_1$Y, [
32221
+ createVNode(_sfc_main$1y, {
32222
32222
  options: inputOptions.value,
32223
32223
  suggestedValue: suggestedValue.value,
32224
32224
  "can-close": (_a26 = _ctx.isSearchContainer) != null ? _a26 : false,
@@ -32231,7 +32231,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32231
32231
  onSearch: handleSearch,
32232
32232
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
32233
32233
  }, null, 8, ["options", "suggestedValue", "can-close", "emit-input-on-focus"]),
32234
- opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$13, {
32234
+ opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$14, {
32235
32235
  key: 0,
32236
32236
  options: panelOptions.value,
32237
32237
  inputValue: inputValue.value,
@@ -32319,11 +32319,11 @@ const getSearchParams = (url, params, baseUrl) => {
32319
32319
  }
32320
32320
  return searchParams;
32321
32321
  };
32322
- const _hoisted_1$W = {
32322
+ const _hoisted_1$X = {
32323
32323
  key: 0,
32324
32324
  id: "lupa-search-results-did-you-mean"
32325
32325
  };
32326
- const _hoisted_2$H = {
32326
+ const _hoisted_2$I = {
32327
32327
  key: 0,
32328
32328
  "data-cy": "suggested-search-text-label"
32329
32329
  };
@@ -32332,7 +32332,7 @@ const _hoisted_3$w = {
32332
32332
  "data-cy": "did-you-mean-label"
32333
32333
  };
32334
32334
  const _hoisted_4$n = { key: 1 };
32335
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32335
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
32336
32336
  __name: "SearchResultsDidYouMean",
32337
32337
  props: {
32338
32338
  labels: {}
@@ -32364,8 +32364,8 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32364
32364
  paramStore.goToResults({ searchText, facet });
32365
32365
  };
32366
32366
  return (_ctx, _cache) => {
32367
- return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$W, [
32368
- unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$H, [
32367
+ return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$X, [
32368
+ unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$I, [
32369
32369
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
32370
32370
  return openBlock(), createElementBlock("span", { key: index }, [
32371
32371
  createBaseVNode("span", {
@@ -32390,12 +32390,12 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32390
32390
  };
32391
32391
  }
32392
32392
  });
32393
- const _hoisted_1$V = {
32393
+ const _hoisted_1$W = {
32394
32394
  key: 0,
32395
32395
  class: "lupa-search-results-summary"
32396
32396
  };
32397
- const _hoisted_2$G = ["innerHTML"];
32398
- const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32397
+ const _hoisted_2$H = ["innerHTML"];
32398
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
32399
32399
  __name: "SearchResultsSummary",
32400
32400
  props: {
32401
32401
  label: {},
@@ -32410,8 +32410,8 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32410
32410
  return addParamsToLabel(props.label, range2, `<span>${totalItems.value}</span>`);
32411
32411
  });
32412
32412
  return (_ctx, _cache) => {
32413
- return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$V, [
32414
- createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$G),
32413
+ return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$W, [
32414
+ createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$H),
32415
32415
  _ctx.clearable ? (openBlock(), createElementBlock("span", {
32416
32416
  key: 0,
32417
32417
  class: "lupa-filter-clear",
@@ -32422,19 +32422,19 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32422
32422
  };
32423
32423
  }
32424
32424
  });
32425
- const _hoisted_1$U = {
32425
+ const _hoisted_1$V = {
32426
32426
  key: 0,
32427
32427
  class: "lupa-result-page-title",
32428
32428
  "data-cy": "lupa-result-page-title"
32429
32429
  };
32430
- const _hoisted_2$F = { key: 0 };
32430
+ const _hoisted_2$G = { key: 0 };
32431
32431
  const _hoisted_3$v = {
32432
32432
  key: 1,
32433
32433
  class: "lupa-results-total-count"
32434
32434
  };
32435
32435
  const _hoisted_4$m = { class: "lupa-results-total-count-number" };
32436
32436
  const _hoisted_5$f = ["innerHTML"];
32437
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32437
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
32438
32438
  __name: "SearchResultsTitle",
32439
32439
  props: {
32440
32440
  options: {},
@@ -32477,16 +32477,16 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32477
32477
  });
32478
32478
  return (_ctx, _cache) => {
32479
32479
  return openBlock(), createElementBlock("div", null, [
32480
- showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$U, [
32480
+ showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$V, [
32481
32481
  createTextVNode(toDisplayString(searchResultsTitleTemplate.value || _ctx.options.labels.searchResults), 1),
32482
- queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$F, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
32482
+ queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$G, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
32483
32483
  showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$v, [
32484
32484
  createTextVNode("(" + toDisplayString(searchResultsCountLabel.value), 1),
32485
32485
  createBaseVNode("span", _hoisted_4$m, toDisplayString(unref(totalItems)), 1),
32486
32486
  _cache[0] || (_cache[0] = createTextVNode(")"))
32487
32487
  ])) : createCommentVNode("", true)
32488
32488
  ])) : createCommentVNode("", true),
32489
- _ctx.showSummary ? (openBlock(), createBlock(_sfc_main$10, {
32489
+ _ctx.showSummary ? (openBlock(), createBlock(_sfc_main$11, {
32490
32490
  key: 1,
32491
32491
  label: summaryLabel.value
32492
32492
  }, null, 8, ["label"])) : createCommentVNode("", true),
@@ -32499,15 +32499,15 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32499
32499
  };
32500
32500
  }
32501
32501
  });
32502
- const _hoisted_1$T = {
32502
+ const _hoisted_1$U = {
32503
32503
  class: "lupa-current-filter-label",
32504
32504
  "data-cy": "lupa-current-filter-label"
32505
32505
  };
32506
- const _hoisted_2$E = {
32506
+ const _hoisted_2$F = {
32507
32507
  class: "lupa-current-filter-value",
32508
32508
  "data-cy": "lupa-current-filter-value"
32509
32509
  };
32510
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32510
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
32511
32511
  __name: "CurrentFilterDisplay",
32512
32512
  props: {
32513
32513
  filter: {}
@@ -32549,14 +32549,14 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32549
32549
  onClick: handleClick,
32550
32550
  "aria-label": "Remove filter"
32551
32551
  }, "⨉"),
32552
- createBaseVNode("div", _hoisted_1$T, toDisplayString(_ctx.filter.label) + ": ", 1),
32553
- createBaseVNode("div", _hoisted_2$E, toDisplayString(formatFilterValue(props.filter)), 1)
32552
+ createBaseVNode("div", _hoisted_1$U, toDisplayString(_ctx.filter.label) + ": ", 1),
32553
+ createBaseVNode("div", _hoisted_2$F, toDisplayString(formatFilterValue(props.filter)), 1)
32554
32554
  ], 2);
32555
32555
  };
32556
32556
  }
32557
32557
  });
32558
- const _hoisted_1$S = { class: "lupa-filter-title-text" };
32559
- const _hoisted_2$D = {
32558
+ const _hoisted_1$T = { class: "lupa-filter-title-text" };
32559
+ const _hoisted_2$E = {
32560
32560
  key: 0,
32561
32561
  class: "lupa-filter-count"
32562
32562
  };
@@ -32565,7 +32565,7 @@ const _hoisted_3$u = {
32565
32565
  class: "filter-values"
32566
32566
  };
32567
32567
  const _hoisted_4$l = { class: "lupa-current-filter-list" };
32568
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32568
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
32569
32569
  __name: "CurrentFilters",
32570
32570
  props: {
32571
32571
  options: {},
@@ -32646,9 +32646,9 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32646
32646
  class: "lupa-current-filter-title",
32647
32647
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
32648
32648
  }, [
32649
- createBaseVNode("div", _hoisted_1$S, [
32649
+ createBaseVNode("div", _hoisted_1$T, [
32650
32650
  createTextVNode(toDisplayString((_c = (_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) != null ? _c : "") + " ", 1),
32651
- _ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$D, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
32651
+ _ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$E, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
32652
32652
  ]),
32653
32653
  _ctx.expandable ? (openBlock(), createElementBlock("div", {
32654
32654
  key: 0,
@@ -32658,7 +32658,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32658
32658
  !_ctx.expandable || isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
32659
32659
  createBaseVNode("div", _hoisted_4$l, [
32660
32660
  (openBlock(true), createElementBlock(Fragment, null, renderList(currentDisplayFilters.value, (filter) => {
32661
- return openBlock(), createBlock(_sfc_main$_, {
32661
+ return openBlock(), createBlock(_sfc_main$$, {
32662
32662
  key: filter.key + "_" + filter.value,
32663
32663
  filter,
32664
32664
  units: units.value,
@@ -32676,8 +32676,8 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32676
32676
  };
32677
32677
  }
32678
32678
  });
32679
- const _hoisted_1$R = ["href"];
32680
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32679
+ const _hoisted_1$S = ["href"];
32680
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
32681
32681
  __name: "CategoryFilterItem",
32682
32682
  props: {
32683
32683
  options: {},
@@ -32714,20 +32714,20 @@ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32714
32714
  "data-cy": "lupa-child-category-item",
32715
32715
  href: urlLink.value,
32716
32716
  onClick: handleNavigation
32717
- }, toDisplayString(title.value), 9, _hoisted_1$R)
32717
+ }, toDisplayString(title.value), 9, _hoisted_1$S)
32718
32718
  ], 2);
32719
32719
  };
32720
32720
  }
32721
32721
  });
32722
- const _hoisted_1$Q = {
32722
+ const _hoisted_1$R = {
32723
32723
  class: "lupa-category-filter",
32724
32724
  "data-cy": "lupa-category-filter"
32725
32725
  };
32726
- const _hoisted_2$C = { class: "lupa-category-back" };
32726
+ const _hoisted_2$D = { class: "lupa-category-back" };
32727
32727
  const _hoisted_3$t = ["href"];
32728
32728
  const _hoisted_4$k = ["href"];
32729
32729
  const _hoisted_5$e = { class: "lupa-child-category-list" };
32730
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
32730
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent({
32731
32731
  __name: "CategoryFilter",
32732
32732
  props: {
32733
32733
  options: {}
@@ -32815,8 +32815,8 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
32815
32815
  };
32816
32816
  __expose({ fetch: fetch2 });
32817
32817
  return (_ctx, _cache) => {
32818
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
32819
- createBaseVNode("div", _hoisted_2$C, [
32818
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
32819
+ createBaseVNode("div", _hoisted_2$D, [
32820
32820
  hasBackButton.value ? (openBlock(), createElementBlock("a", {
32821
32821
  key: 0,
32822
32822
  "data-cy": "lupa-category-back",
@@ -32836,7 +32836,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
32836
32836
  ], 2),
32837
32837
  createBaseVNode("div", _hoisted_5$e, [
32838
32838
  (openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
32839
- return openBlock(), createBlock(_sfc_main$Y, {
32839
+ return openBlock(), createBlock(_sfc_main$Z, {
32840
32840
  key: getCategoryKey(child),
32841
32841
  item: child,
32842
32842
  options: _ctx.options
@@ -32847,11 +32847,11 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
32847
32847
  };
32848
32848
  }
32849
32849
  });
32850
- const _hoisted_1$P = {
32850
+ const _hoisted_1$Q = {
32851
32851
  class: "lupa-search-result-facet-term-values",
32852
32852
  "data-cy": "lupa-search-result-facet-term-values"
32853
32853
  };
32854
- const _hoisted_2$B = ["placeholder"];
32854
+ const _hoisted_2$C = ["placeholder"];
32855
32855
  const _hoisted_3$s = { class: "lupa-terms-list" };
32856
32856
  const _hoisted_4$j = ["onClick"];
32857
32857
  const _hoisted_5$d = { class: "lupa-term-checkbox-wrapper" };
@@ -32862,7 +32862,7 @@ const _hoisted_7$4 = {
32862
32862
  };
32863
32863
  const _hoisted_8$2 = { key: 0 };
32864
32864
  const _hoisted_9$2 = { key: 1 };
32865
- const _sfc_main$W = /* @__PURE__ */ defineComponent({
32865
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
32866
32866
  __name: "TermFacet",
32867
32867
  props: {
32868
32868
  options: {},
@@ -32952,14 +32952,14 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent({
32952
32952
  }
32953
32953
  };
32954
32954
  return (_ctx, _cache) => {
32955
- return openBlock(), createElementBlock("div", _hoisted_1$P, [
32955
+ return openBlock(), createElementBlock("div", _hoisted_1$Q, [
32956
32956
  isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
32957
32957
  key: 0,
32958
32958
  class: "lupa-term-filter",
32959
32959
  "data-cy": "lupa-term-filter",
32960
32960
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => termFilter.value = $event),
32961
32961
  placeholder: _ctx.options.labels.facetFilter
32962
- }, null, 8, _hoisted_2$B)), [
32962
+ }, null, 8, _hoisted_2$C)), [
32963
32963
  [vModelText, termFilter.value]
32964
32964
  ]) : createCommentVNode("", true),
32965
32965
  createBaseVNode("div", _hoisted_3$s, [
@@ -33889,8 +33889,8 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
33889
33889
  m.render = function(e2, t, r, i, n, o) {
33890
33890
  return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
33891
33891
  }, m.__file = "src/Slider.vue";
33892
- const _hoisted_1$O = { class: "lupa-search-result-facet-stats-values" };
33893
- const _hoisted_2$A = {
33892
+ const _hoisted_1$P = { class: "lupa-search-result-facet-stats-values" };
33893
+ const _hoisted_2$B = {
33894
33894
  key: 0,
33895
33895
  class: "lupa-stats-facet-summary"
33896
33896
  };
@@ -33918,7 +33918,7 @@ const _hoisted_14 = {
33918
33918
  key: 2,
33919
33919
  class: "lupa-stats-slider-wrapper"
33920
33920
  };
33921
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
33921
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
33922
33922
  __name: "StatsFacet",
33923
33923
  props: {
33924
33924
  options: {},
@@ -34134,8 +34134,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
34134
34134
  }
34135
34135
  );
34136
34136
  return (_ctx, _cache) => {
34137
- return openBlock(), createElementBlock("div", _hoisted_1$O, [
34138
- !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$A, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$r, [
34137
+ return openBlock(), createElementBlock("div", _hoisted_1$P, [
34138
+ !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$B, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$r, [
34139
34139
  createBaseVNode("div", _hoisted_4$i, [
34140
34140
  rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
34141
34141
  withDirectives(createBaseVNode("input", {
@@ -34199,8 +34199,8 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
34199
34199
  };
34200
34200
  }
34201
34201
  });
34202
- const _hoisted_1$N = { class: "lupa-term-checkbox-wrapper" };
34203
- const _hoisted_2$z = { class: "lupa-term-label" };
34202
+ const _hoisted_1$O = { class: "lupa-term-checkbox-wrapper" };
34203
+ const _hoisted_2$A = { class: "lupa-term-label" };
34204
34204
  const _hoisted_3$q = {
34205
34205
  key: 0,
34206
34206
  class: "lupa-term-count"
@@ -34209,7 +34209,7 @@ const _hoisted_4$h = {
34209
34209
  key: 0,
34210
34210
  class: "lupa-facet-level"
34211
34211
  };
34212
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
34212
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
34213
34213
  __name: "HierarchyFacetLevel",
34214
34214
  props: {
34215
34215
  options: {},
@@ -34263,7 +34263,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
34263
34263
  "data-cy": "lupa-facet-term",
34264
34264
  onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
34265
34265
  }, [
34266
- createBaseVNode("div", _hoisted_1$N, [
34266
+ createBaseVNode("div", _hoisted_1$O, [
34267
34267
  createBaseVNode("span", {
34268
34268
  class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
34269
34269
  }, null, 2)
@@ -34271,7 +34271,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
34271
34271
  createBaseVNode("div", {
34272
34272
  class: normalizeClass(["lupa-term-checkbox-label", { [getFacetValueClass(_ctx.item)]: true }])
34273
34273
  }, [
34274
- createBaseVNode("span", _hoisted_2$z, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
34274
+ createBaseVNode("span", _hoisted_2$A, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
34275
34275
  _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_3$q, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
34276
34276
  ], 2)
34277
34277
  ]),
@@ -34291,13 +34291,13 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
34291
34291
  };
34292
34292
  }
34293
34293
  });
34294
- const _hoisted_1$M = {
34294
+ const _hoisted_1$N = {
34295
34295
  class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
34296
34296
  "data-cy": "lupa-search-result-facet-term-values"
34297
34297
  };
34298
- const _hoisted_2$y = { key: 0 };
34298
+ const _hoisted_2$z = { key: 0 };
34299
34299
  const _hoisted_3$p = ["placeholder"];
34300
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
34300
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
34301
34301
  __name: "HierarchyFacet",
34302
34302
  props: {
34303
34303
  options: {},
@@ -34353,8 +34353,8 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
34353
34353
  showAll.value = false;
34354
34354
  };
34355
34355
  return (_ctx, _cache) => {
34356
- return openBlock(), createElementBlock("div", _hoisted_1$M, [
34357
- isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
34356
+ return openBlock(), createElementBlock("div", _hoisted_1$N, [
34357
+ isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$z, [
34358
34358
  withDirectives(createBaseVNode("input", {
34359
34359
  class: "lupa-term-filter",
34360
34360
  "data-cy": "lupa-term-filter",
@@ -34365,7 +34365,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
34365
34365
  ])
34366
34366
  ])) : createCommentVNode("", true),
34367
34367
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayValues.value, (item) => {
34368
- return openBlock(), createBlock(_sfc_main$U, {
34368
+ return openBlock(), createBlock(_sfc_main$V, {
34369
34369
  key: item.title,
34370
34370
  options: _ctx.options,
34371
34371
  item,
@@ -34389,20 +34389,20 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
34389
34389
  };
34390
34390
  }
34391
34391
  });
34392
- const _hoisted_1$L = { class: "lupa-facet-label-text" };
34393
- const _hoisted_2$x = {
34392
+ const _hoisted_1$M = { class: "lupa-facet-label-text" };
34393
+ const _hoisted_2$y = {
34394
34394
  key: 0,
34395
34395
  class: "lupa-facet-content",
34396
34396
  "data-cy": "lupa-facet-content"
34397
34397
  };
34398
34398
  const __default__$1 = {
34399
34399
  components: {
34400
- TermFacet: _sfc_main$W,
34401
- StatsFacet: _sfc_main$V,
34402
- HierarchyFacet: _sfc_main$T
34400
+ TermFacet: _sfc_main$X,
34401
+ StatsFacet: _sfc_main$W,
34402
+ HierarchyFacet: _sfc_main$U
34403
34403
  }
34404
34404
  };
34405
- const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
34405
+ const _sfc_main$T = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
34406
34406
  __name: "FacetDisplay",
34407
34407
  props: {
34408
34408
  options: {},
@@ -34524,12 +34524,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
34524
34524
  "data-cy": "lupa-search-result-facet-label",
34525
34525
  onClick: toggleFacet
34526
34526
  }, [
34527
- createBaseVNode("div", _hoisted_1$L, toDisplayString(facetLabel.value), 1),
34527
+ createBaseVNode("div", _hoisted_1$M, toDisplayString(facetLabel.value), 1),
34528
34528
  createBaseVNode("div", {
34529
34529
  class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
34530
34530
  }, null, 2)
34531
34531
  ], 2),
34532
- isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, [
34532
+ isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$y, [
34533
34533
  (openBlock(), createBlock(resolveDynamicComponent(facetType.value), {
34534
34534
  facet: facet.value,
34535
34535
  currentFilters: currentFilters.value[facet.value.key],
@@ -34547,12 +34547,12 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
34547
34547
  };
34548
34548
  }
34549
34549
  }));
34550
- const _hoisted_1$K = { class: "lupa-search-result-facet-section" };
34551
- const _hoisted_2$w = {
34550
+ const _hoisted_1$L = { class: "lupa-search-result-facet-section" };
34551
+ const _hoisted_2$x = {
34552
34552
  key: 0,
34553
34553
  class: "lupa-facets-title"
34554
34554
  };
34555
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
34555
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
34556
34556
  __name: "FacetList",
34557
34557
  props: {
34558
34558
  options: {},
@@ -34587,14 +34587,14 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
34587
34587
  };
34588
34588
  return (_ctx, _cache) => {
34589
34589
  var _a25;
34590
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
34591
- _ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$w, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
34590
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
34591
+ _ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
34592
34592
  createBaseVNode("div", {
34593
34593
  class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a25 = _ctx.facetStyle) != null ? _a25 : "")])
34594
34594
  }, [
34595
34595
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayFacets.value, (facet) => {
34596
34596
  var _a26;
34597
- return openBlock(), createBlock(_sfc_main$S, {
34597
+ return openBlock(), createBlock(_sfc_main$T, {
34598
34598
  key: facet.key,
34599
34599
  facet,
34600
34600
  currentFilters: currentFiltersValue.value,
@@ -34609,7 +34609,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
34609
34609
  };
34610
34610
  }
34611
34611
  });
34612
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
34612
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
34613
34613
  __name: "FacetsButton",
34614
34614
  props: {
34615
34615
  options: {}
@@ -34634,8 +34634,8 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
34634
34634
  };
34635
34635
  }
34636
34636
  });
34637
- const _hoisted_1$J = { class: "lupa-facets-filter-button-wrapper" };
34638
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
34637
+ const _hoisted_1$K = { class: "lupa-facets-filter-button-wrapper" };
34638
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
34639
34639
  __name: "Facets",
34640
34640
  props: {
34641
34641
  options: {},
@@ -34722,7 +34722,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
34722
34722
  return openBlock(), createElementBlock("div", {
34723
34723
  class: normalizeClass(["lupa-search-result-facets", { "lupa-search-result-facets-loading": unref(loadingFacets) }])
34724
34724
  }, [
34725
- regularFacets.value ? (openBlock(), createBlock(_sfc_main$R, {
34725
+ regularFacets.value ? (openBlock(), createBlock(_sfc_main$S, {
34726
34726
  key: 0,
34727
34727
  options: _ctx.options,
34728
34728
  facets: regularFacets.value,
@@ -34732,8 +34732,8 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
34732
34732
  onSelect: handleFacetSelect,
34733
34733
  onClear: clear
34734
34734
  }, null, 8, ["options", "facets", "currentFilters", "facetStyle", "clearable"])) : createCommentVNode("", true),
34735
- createBaseVNode("div", _hoisted_1$J, [
34736
- showFilterButton.value ? (openBlock(), createBlock(_sfc_main$Q, {
34735
+ createBaseVNode("div", _hoisted_1$K, [
34736
+ showFilterButton.value ? (openBlock(), createBlock(_sfc_main$R, {
34737
34737
  key: 0,
34738
34738
  options: _ctx.options,
34739
34739
  onFilter: filter
@@ -34743,12 +34743,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
34743
34743
  };
34744
34744
  }
34745
34745
  });
34746
- const _hoisted_1$I = {
34746
+ const _hoisted_1$J = {
34747
34747
  key: 0,
34748
34748
  id: "lupa-search-result-filters",
34749
34749
  class: "lupa-search-result-filters"
34750
34750
  };
34751
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
34751
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
34752
34752
  __name: "SearchResultsFilters",
34753
34753
  props: {
34754
34754
  options: {},
@@ -34786,19 +34786,19 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
34786
34786
  __expose({ fetch: fetch2 });
34787
34787
  return (_ctx, _cache) => {
34788
34788
  var _a25;
34789
- return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
34790
- showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$Z, {
34789
+ return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
34790
+ showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$_, {
34791
34791
  key: 0,
34792
34792
  options: _ctx.options.currentFilters,
34793
34793
  expandable: (_a25 = _ctx.expandable) != null ? _a25 : false
34794
34794
  }, null, 8, ["options", "expandable"])) : createCommentVNode("", true),
34795
- _ctx.options.categories ? (openBlock(), createBlock(_sfc_main$X, {
34795
+ _ctx.options.categories ? (openBlock(), createBlock(_sfc_main$Y, {
34796
34796
  key: 1,
34797
34797
  options: _ctx.options.categories,
34798
34798
  ref_key: "categoryFilters",
34799
34799
  ref: categoryFilters
34800
34800
  }, null, 8, ["options"])) : createCommentVNode("", true),
34801
- _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$P, {
34801
+ _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
34802
34802
  key: 2,
34803
34803
  options: _ctx.options.facets,
34804
34804
  onFilter: filter
@@ -34807,11 +34807,11 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
34807
34807
  };
34808
34808
  }
34809
34809
  });
34810
- const _hoisted_1$H = {
34810
+ const _hoisted_1$I = {
34811
34811
  key: 0,
34812
34812
  class: "lupa-mobile-filter-sidebar"
34813
34813
  };
34814
- const _hoisted_2$v = { class: "lupa-mobile-sidebar-content" };
34814
+ const _hoisted_2$w = { class: "lupa-mobile-sidebar-content" };
34815
34815
  const _hoisted_3$o = { class: "lupa-sidebar-top" };
34816
34816
  const _hoisted_4$g = { class: "lupa-sidebar-title" };
34817
34817
  const _hoisted_5$b = {
@@ -34819,7 +34819,7 @@ const _hoisted_5$b = {
34819
34819
  class: "lupa-sidebar-filter-count"
34820
34820
  };
34821
34821
  const _hoisted_6$5 = { class: "lupa-sidebar-filter-options" };
34822
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
34822
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
34823
34823
  __name: "MobileFilterSidebar",
34824
34824
  props: {
34825
34825
  options: {}
@@ -34851,12 +34851,12 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
34851
34851
  handleMobileToggle();
34852
34852
  };
34853
34853
  return (_ctx, _cache) => {
34854
- return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$H, [
34854
+ return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$I, [
34855
34855
  createBaseVNode("div", {
34856
34856
  class: "lupa-sidebar-close",
34857
34857
  onClick: withModifiers(handleMobileToggle, ["stop"])
34858
34858
  }),
34859
- createBaseVNode("div", _hoisted_2$v, [
34859
+ createBaseVNode("div", _hoisted_2$w, [
34860
34860
  createBaseVNode("div", _hoisted_3$o, [
34861
34861
  createBaseVNode("div", _hoisted_4$g, [
34862
34862
  createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
@@ -34868,7 +34868,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
34868
34868
  })
34869
34869
  ]),
34870
34870
  createBaseVNode("div", _hoisted_6$5, [
34871
- createVNode(_sfc_main$O, {
34871
+ createVNode(_sfc_main$P, {
34872
34872
  options: _ctx.options,
34873
34873
  expandable: isActiveFiltersExpanded.value,
34874
34874
  onFilter: filter
@@ -34879,14 +34879,14 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
34879
34879
  };
34880
34880
  }
34881
34881
  });
34882
- const _hoisted_1$G = { id: "lupa-search-results-breadcrumbs" };
34883
- const _hoisted_2$u = ["href", "onClick"];
34882
+ const _hoisted_1$H = { id: "lupa-search-results-breadcrumbs" };
34883
+ const _hoisted_2$v = ["href", "onClick"];
34884
34884
  const _hoisted_3$n = {
34885
34885
  key: 1,
34886
34886
  class: "lupa-search-results-breadcrumb-text"
34887
34887
  };
34888
34888
  const _hoisted_4$f = { key: 2 };
34889
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
34889
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
34890
34890
  __name: "SearchResultsBreadcrumbs",
34891
34891
  props: {
34892
34892
  breadcrumbs: {}
@@ -34911,7 +34911,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
34911
34911
  handleRoutingEvent(link, event, hasEventRouting.value);
34912
34912
  };
34913
34913
  return (_ctx, _cache) => {
34914
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
34914
+ return openBlock(), createElementBlock("div", _hoisted_1$H, [
34915
34915
  (openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
34916
34916
  var _a25;
34917
34917
  return openBlock(), createElementBlock("span", {
@@ -34926,7 +34926,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
34926
34926
  var _a26;
34927
34927
  return handleNavigation(e2, (_a26 = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a26 : "");
34928
34928
  }
34929
- }, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$u)) : (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(getLabel(breadcrumb.label)), 1)),
34929
+ }, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$v)) : (openBlock(), createElementBlock("span", _hoisted_3$n, toDisplayString(getLabel(breadcrumb.label)), 1)),
34930
34930
  index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$f, toDisplayString((_a25 = breadcrumb.separator) != null ? _a25 : "/"), 1)) : createCommentVNode("", true)
34931
34931
  ]);
34932
34932
  }), 128))
@@ -34934,12 +34934,12 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
34934
34934
  };
34935
34935
  }
34936
34936
  });
34937
- const _hoisted_1$F = {
34937
+ const _hoisted_1$G = {
34938
34938
  key: 0,
34939
34939
  id: "lupa-search-result-filters",
34940
34940
  class: "lupa-search-result-filters lupa-search-result-top-filters"
34941
34941
  };
34942
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
34942
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
34943
34943
  __name: "FiltersTopDropdown",
34944
34944
  props: {
34945
34945
  options: {}
@@ -34957,8 +34957,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
34957
34957
  });
34958
34958
  return (_ctx, _cache) => {
34959
34959
  var _a25;
34960
- return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$F, [
34961
- _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$P, {
34960
+ return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
34961
+ _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$Q, {
34962
34962
  key: 0,
34963
34963
  options: _ctx.options.facets,
34964
34964
  "facet-style": (_a25 = _ctx.options.facets.style) == null ? void 0 : _a25.type,
@@ -34969,8 +34969,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
34969
34969
  };
34970
34970
  }
34971
34971
  });
34972
- const _hoisted_1$E = { id: "lupa-search-results-layout-selection" };
34973
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
34972
+ const _hoisted_1$F = { id: "lupa-search-results-layout-selection" };
34973
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
34974
34974
  __name: "SearchResultsLayoutSelection",
34975
34975
  setup(__props) {
34976
34976
  const searchResultStore = useSearchResultStore();
@@ -34981,7 +34981,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
34981
34981
  searchResultStore.setLayout(layout2);
34982
34982
  };
34983
34983
  return (_ctx, _cache) => {
34984
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
34984
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
34985
34985
  createBaseVNode("div", {
34986
34986
  class: normalizeClass([
34987
34987
  "lupa-layout-selection-grid",
@@ -35003,11 +35003,11 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
35003
35003
  };
35004
35004
  }
35005
35005
  });
35006
- const _hoisted_1$D = {
35006
+ const _hoisted_1$E = {
35007
35007
  key: 0,
35008
35008
  class: "lupa-mobile-toggle-filter-count"
35009
35009
  };
35010
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
35010
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
35011
35011
  __name: "SearchResultsMobileToggle",
35012
35012
  props: {
35013
35013
  labels: {},
@@ -35055,12 +35055,12 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
35055
35055
  onClick: handleMobileToggle
35056
35056
  }, [
35057
35057
  createTextVNode(toDisplayString(label.value) + " ", 1),
35058
- _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$D, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
35058
+ _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$E, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
35059
35059
  ], 2);
35060
35060
  };
35061
35061
  }
35062
35062
  });
35063
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
35063
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
35064
35064
  __name: "SearchResultsMobileFilterClose",
35065
35065
  props: {
35066
35066
  label: {}
@@ -35080,12 +35080,12 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
35080
35080
  };
35081
35081
  }
35082
35082
  });
35083
- const _hoisted_1$C = {
35083
+ const _hoisted_1$D = {
35084
35084
  key: 0,
35085
35085
  id: "lupa-search-results-page-select",
35086
35086
  "data-cy": "lupa-search-results-page-select"
35087
35087
  };
35088
- const _hoisted_2$t = {
35088
+ const _hoisted_2$u = {
35089
35089
  key: 0,
35090
35090
  class: "lupa-page-number-separator"
35091
35091
  };
@@ -35094,7 +35094,7 @@ const _hoisted_4$e = {
35094
35094
  key: 0,
35095
35095
  class: "lupa-page-number-separator"
35096
35096
  };
35097
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
35097
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
35098
35098
  __name: "SearchResultsPageSelect",
35099
35099
  props: {
35100
35100
  lastPageLabel: {},
@@ -35171,7 +35171,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
35171
35171
  }
35172
35172
  };
35173
35173
  return (_ctx, _cache) => {
35174
- return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$C, [
35174
+ return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$D, [
35175
35175
  showBack.value ? (openBlock(), createElementBlock("div", {
35176
35176
  key: 0,
35177
35177
  class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
@@ -35182,7 +35182,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
35182
35182
  class: "lupa-page-number lupa-page-number-first",
35183
35183
  onClick: _cache[1] || (_cache[1] = () => handlePageChange(1))
35184
35184
  }, " 1 "),
35185
- showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$t, "...")) : createCommentVNode("", true)
35185
+ showFirstPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_2$u, "...")) : createCommentVNode("", true)
35186
35186
  ], 64)) : createCommentVNode("", true),
35187
35187
  (openBlock(true), createElementBlock(Fragment, null, renderList(pages.value, (page) => {
35188
35188
  return openBlock(), createElementBlock("div", {
@@ -35215,15 +35215,15 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
35215
35215
  };
35216
35216
  }
35217
35217
  });
35218
- const _hoisted_1$B = {
35218
+ const _hoisted_1$C = {
35219
35219
  id: "lupa-search-results-page-size",
35220
35220
  "data-cy": "lupa-search-results-page-size"
35221
35221
  };
35222
- const _hoisted_2$s = { id: "lupa-select" };
35222
+ const _hoisted_2$t = { id: "lupa-select" };
35223
35223
  const _hoisted_3$l = { class: "lupa-select-label" };
35224
35224
  const _hoisted_4$d = ["aria-label"];
35225
35225
  const _hoisted_5$a = ["value"];
35226
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
35226
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
35227
35227
  __name: "SearchResultsPageSize",
35228
35228
  props: {
35229
35229
  labels: {},
@@ -35251,8 +35251,8 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
35251
35251
  });
35252
35252
  };
35253
35253
  return (_ctx, _cache) => {
35254
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
35255
- createBaseVNode("div", _hoisted_2$s, [
35254
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
35255
+ createBaseVNode("div", _hoisted_2$t, [
35256
35256
  createBaseVNode("label", _hoisted_3$l, toDisplayString(label.value), 1),
35257
35257
  createBaseVNode("select", {
35258
35258
  class: "lupa-select-dropdown",
@@ -35274,15 +35274,15 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
35274
35274
  };
35275
35275
  }
35276
35276
  });
35277
- const _hoisted_1$A = {
35277
+ const _hoisted_1$B = {
35278
35278
  id: "lupa-search-results-sort",
35279
35279
  class: "lupa-search-results-sort"
35280
35280
  };
35281
- const _hoisted_2$r = { id: "lupa-select" };
35281
+ const _hoisted_2$s = { id: "lupa-select" };
35282
35282
  const _hoisted_3$k = { class: "lupa-select-label" };
35283
35283
  const _hoisted_4$c = ["aria-label"];
35284
35284
  const _hoisted_5$9 = ["value"];
35285
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
35285
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
35286
35286
  __name: "SearchResultsSort",
35287
35287
  props: {
35288
35288
  options: {},
@@ -35331,8 +35331,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
35331
35331
  previousKey.value = selectedKey.value;
35332
35332
  };
35333
35333
  return (_ctx, _cache) => {
35334
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
35335
- createBaseVNode("div", _hoisted_2$r, [
35334
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
35335
+ createBaseVNode("div", _hoisted_2$s, [
35336
35336
  createBaseVNode("label", _hoisted_3$k, toDisplayString(_ctx.options.label), 1),
35337
35337
  withDirectives(createBaseVNode("select", {
35338
35338
  class: "lupa-select-dropdown",
@@ -35356,8 +35356,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
35356
35356
  };
35357
35357
  }
35358
35358
  });
35359
- const _hoisted_1$z = { class: "lupa-toolbar-left" };
35360
- const _hoisted_2$q = {
35359
+ const _hoisted_1$A = { class: "lupa-toolbar-left" };
35360
+ const _hoisted_2$r = {
35361
35361
  key: 0,
35362
35362
  class: "lupa-toolbar-right-title"
35363
35363
  };
@@ -35371,7 +35371,7 @@ const _hoisted_7$2 = {
35371
35371
  };
35372
35372
  const _hoisted_8 = { key: 2 };
35373
35373
  const _hoisted_9 = { key: 4 };
35374
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
35374
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
35375
35375
  __name: "SearchResultsToolbar",
35376
35376
  props: {
35377
35377
  options: {},
@@ -35482,16 +35482,16 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
35482
35482
  id: "lupa-search-results-toolbar",
35483
35483
  class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
35484
35484
  }, [
35485
- createBaseVNode("div", _hoisted_1$z, [
35486
- toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$q, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
35487
- showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$K, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$j)),
35488
- showItemSummary.value ? (openBlock(), createBlock(_sfc_main$10, {
35485
+ createBaseVNode("div", _hoisted_1$A, [
35486
+ toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$r, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
35487
+ showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$L, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$j)),
35488
+ showItemSummary.value ? (openBlock(), createBlock(_sfc_main$11, {
35489
35489
  key: 3,
35490
35490
  label: searchSummaryLabel.value,
35491
35491
  clearable: unref(hasAnyFilter) && showFilterClear.value,
35492
35492
  onClear: handleClearAll
35493
35493
  }, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$b)),
35494
- displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$H, {
35494
+ displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$I, {
35495
35495
  key: 5,
35496
35496
  options: paginationOptions.value.pageSelect,
35497
35497
  "last-page-label": paginationOptions.value.labels.showMore,
@@ -35500,21 +35500,21 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
35500
35500
  ]),
35501
35501
  createBaseVNode("div", _hoisted_6$4, [
35502
35502
  toolbarRightLabel.value ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(toolbarRightLabel.value), 1)) : createCommentVNode("", true),
35503
- createVNode(_sfc_main$J, {
35503
+ createVNode(_sfc_main$K, {
35504
35504
  labels: optionsValue.value.labels,
35505
35505
  "show-filter-count": showMobileFilterCount.value
35506
35506
  }, null, 8, ["labels", "show-filter-count"]),
35507
- paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$G, {
35507
+ paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$H, {
35508
35508
  key: 1,
35509
35509
  options: paginationOptions.value.pageSize,
35510
35510
  labels: paginationOptions.value.labels
35511
35511
  }, null, 8, ["options", "labels"])) : (openBlock(), createElementBlock("div", _hoisted_8)),
35512
- sortOptions.value ? (openBlock(), createBlock(_sfc_main$F, {
35512
+ sortOptions.value ? (openBlock(), createBlock(_sfc_main$G, {
35513
35513
  key: 3,
35514
35514
  options: sortOptions.value,
35515
35515
  callbacks: callbacks.value
35516
35516
  }, null, 8, ["options", "callbacks"])) : (openBlock(), createElementBlock("div", _hoisted_9)),
35517
- showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$I, {
35517
+ showFiltersCloseButton.value && unref(isMobileSidebarVisible) ? (openBlock(), createBlock(_sfc_main$J, {
35518
35518
  key: 5,
35519
35519
  label: optionsValue.value.labels.mobileFilterCloseButton
35520
35520
  }, null, 8, ["label"])) : createCommentVNode("", true)
@@ -35523,7 +35523,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
35523
35523
  };
35524
35524
  }
35525
35525
  });
35526
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
35526
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
35527
35527
  __name: "SearchResultsProductImage",
35528
35528
  props: {
35529
35529
  item: {},
@@ -35531,7 +35531,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
35531
35531
  },
35532
35532
  setup(__props) {
35533
35533
  return (_ctx, _cache) => {
35534
- return openBlock(), createBlock(_sfc_main$1p, {
35534
+ return openBlock(), createBlock(_sfc_main$1q, {
35535
35535
  item: _ctx.item,
35536
35536
  options: _ctx.options,
35537
35537
  "wrapper-class": "lupa-search-results-image-wrapper",
@@ -35540,8 +35540,8 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
35540
35540
  };
35541
35541
  }
35542
35542
  });
35543
- const _hoisted_1$y = ["title", "innerHTML"];
35544
- const _hoisted_2$p = ["title"];
35543
+ const _hoisted_1$z = ["title", "innerHTML"];
35544
+ const _hoisted_2$q = ["title"];
35545
35545
  const _hoisted_3$i = ["href", "innerHTML"];
35546
35546
  const _hoisted_4$a = ["title"];
35547
35547
  const _hoisted_5$7 = {
@@ -35549,7 +35549,7 @@ const _hoisted_5$7 = {
35549
35549
  class: "lupa-search-results-product-title-text"
35550
35550
  };
35551
35551
  const _hoisted_6$3 = ["href"];
35552
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
35552
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
35553
35553
  __name: "SearchResultsProductTitle",
35554
35554
  props: {
35555
35555
  item: {},
@@ -35586,7 +35586,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
35586
35586
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
35587
35587
  title: sanitizedTitle.value,
35588
35588
  innerHTML: sanitizedTitle.value
35589
- }, null, 12, _hoisted_1$y)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
35589
+ }, null, 12, _hoisted_1$z)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
35590
35590
  key: 1,
35591
35591
  class: "lupa-search-results-product-title",
35592
35592
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
@@ -35598,7 +35598,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
35598
35598
  innerHTML: sanitizedTitle.value,
35599
35599
  onClick: handleNavigation
35600
35600
  }, null, 8, _hoisted_3$i)
35601
- ], 12, _hoisted_2$p)) : (openBlock(), createElementBlock("div", {
35601
+ ], 12, _hoisted_2$q)) : (openBlock(), createElementBlock("div", {
35602
35602
  key: 2,
35603
35603
  class: "lupa-search-results-product-title",
35604
35604
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
@@ -35615,8 +35615,8 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
35615
35615
  };
35616
35616
  }
35617
35617
  });
35618
- const _hoisted_1$x = ["innerHTML"];
35619
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
35618
+ const _hoisted_1$y = ["innerHTML"];
35619
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
35620
35620
  __name: "SearchResultsProductDescription",
35621
35621
  props: {
35622
35622
  item: {},
@@ -35643,7 +35643,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
35643
35643
  class: "lupa-search-results-product-description",
35644
35644
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
35645
35645
  innerHTML: sanitizedDescription.value
35646
- }, null, 12, _hoisted_1$x)) : (openBlock(), createElementBlock("div", {
35646
+ }, null, 12, _hoisted_1$y)) : (openBlock(), createElementBlock("div", {
35647
35647
  key: 1,
35648
35648
  class: "lupa-search-results-product-description",
35649
35649
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
@@ -35651,15 +35651,15 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
35651
35651
  };
35652
35652
  }
35653
35653
  });
35654
- const _hoisted_1$w = { id: "lupa-search-results-rating" };
35655
- const _hoisted_2$o = { class: "lupa-ratings" };
35654
+ const _hoisted_1$x = { id: "lupa-search-results-rating" };
35655
+ const _hoisted_2$p = { class: "lupa-ratings" };
35656
35656
  const _hoisted_3$h = { class: "lupa-ratings-base" };
35657
35657
  const _hoisted_4$9 = ["innerHTML"];
35658
35658
  const _hoisted_5$6 = { class: "lupa-rating-wrapper" };
35659
35659
  const _hoisted_6$2 = ["innerHTML"];
35660
35660
  const _hoisted_7$1 = ["href"];
35661
35661
  const STAR_COUNT = 5;
35662
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
35662
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
35663
35663
  __name: "SearchResultsProductRating",
35664
35664
  props: {
35665
35665
  item: {},
@@ -35696,8 +35696,8 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
35696
35696
  return generateLink(props.options.links.ratingDetails, props.item);
35697
35697
  });
35698
35698
  return (_ctx, _cache) => {
35699
- return openBlock(), createElementBlock("div", _hoisted_1$w, [
35700
- createBaseVNode("div", _hoisted_2$o, [
35699
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
35700
+ createBaseVNode("div", _hoisted_2$p, [
35701
35701
  createBaseVNode("div", _hoisted_3$h, [
35702
35702
  (openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
35703
35703
  return openBlock(), createElementBlock("div", {
@@ -35730,11 +35730,11 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
35730
35730
  };
35731
35731
  }
35732
35732
  });
35733
- const _hoisted_1$v = {
35733
+ const _hoisted_1$w = {
35734
35734
  class: "lupa-search-results-product-regular-price",
35735
35735
  "data-cy": "lupa-search-results-product-regular-price"
35736
35736
  };
35737
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
35737
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
35738
35738
  __name: "SearchResultsProductRegularPrice",
35739
35739
  props: {
35740
35740
  item: {},
@@ -35756,11 +35756,11 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
35756
35756
  );
35757
35757
  });
35758
35758
  return (_ctx, _cache) => {
35759
- return openBlock(), createElementBlock("div", _hoisted_1$v, toDisplayString(price.value), 1);
35759
+ return openBlock(), createElementBlock("div", _hoisted_1$w, toDisplayString(price.value), 1);
35760
35760
  };
35761
35761
  }
35762
35762
  });
35763
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
35763
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
35764
35764
  __name: "SearchResultsProductPrice",
35765
35765
  props: {
35766
35766
  item: {},
@@ -35794,12 +35794,12 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35794
35794
  };
35795
35795
  }
35796
35796
  });
35797
- const _hoisted_1$u = { class: "lupa-search-results-add-to-cart-wrapper" };
35798
- const _hoisted_2$n = { class: "lupa-search-results-product-addtocart" };
35797
+ const _hoisted_1$v = { class: "lupa-search-results-add-to-cart-wrapper" };
35798
+ const _hoisted_2$o = { class: "lupa-search-results-product-addtocart" };
35799
35799
  const _hoisted_3$g = ["disabled"];
35800
35800
  const _hoisted_4$8 = ["href"];
35801
35801
  const _hoisted_5$5 = ["id", "disabled"];
35802
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
35802
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
35803
35803
  __name: "SearchResultsProductAddToCart",
35804
35804
  props: {
35805
35805
  item: {},
@@ -35851,8 +35851,8 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
35851
35851
  loading.value = false;
35852
35852
  });
35853
35853
  return (_ctx, _cache) => {
35854
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
35855
- createBaseVNode("div", _hoisted_2$n, [
35854
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
35855
+ createBaseVNode("div", _hoisted_2$o, [
35856
35856
  hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
35857
35857
  key: 0,
35858
35858
  class: loading.value ? "lupa-add-to-cart-loading" : "lupa-add-to-cart",
@@ -35874,12 +35874,12 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
35874
35874
  };
35875
35875
  }
35876
35876
  });
35877
- const _hoisted_1$t = ["innerHTML"];
35878
- const _hoisted_2$m = { key: 0 };
35877
+ const _hoisted_1$u = ["innerHTML"];
35878
+ const _hoisted_2$n = { key: 0 };
35879
35879
  const _hoisted_3$f = { key: 1 };
35880
35880
  const _hoisted_4$7 = { class: "lupa-search-box-custom-label" };
35881
35881
  const _hoisted_5$4 = { class: "lupa-search-box-custom-text" };
35882
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
35882
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
35883
35883
  __name: "SearchResultsProductCustom",
35884
35884
  props: {
35885
35885
  item: {},
@@ -35917,11 +35917,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
35917
35917
  key: 0,
35918
35918
  class: className.value,
35919
35919
  innerHTML: text.value
35920
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$t)) : (openBlock(), createElementBlock("div", mergeProps({
35920
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$u)) : (openBlock(), createElementBlock("div", mergeProps({
35921
35921
  key: 1,
35922
35922
  class: className.value
35923
35923
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
35924
- !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$f, [
35924
+ !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$n, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$f, [
35925
35925
  createBaseVNode("div", _hoisted_4$7, toDisplayString(label.value), 1),
35926
35926
  createBaseVNode("div", _hoisted_5$4, toDisplayString(text.value), 1)
35927
35927
  ]))
@@ -35929,8 +35929,8 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
35929
35929
  };
35930
35930
  }
35931
35931
  });
35932
- const _hoisted_1$s = ["innerHTML"];
35933
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
35932
+ const _hoisted_1$t = ["innerHTML"];
35933
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
35934
35934
  __name: "SearchResultsProductCustomHtmlElement",
35935
35935
  props: {
35936
35936
  item: {},
@@ -35962,15 +35962,15 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
35962
35962
  return openBlock(), createElementBlock("div", mergeProps({
35963
35963
  class: className.value,
35964
35964
  innerHTML: text.value
35965
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$s);
35965
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$t);
35966
35966
  };
35967
35967
  }
35968
35968
  });
35969
- const _hoisted_1$r = { id: "lupa-search-results-rating" };
35970
- const _hoisted_2$l = ["innerHTML"];
35969
+ const _hoisted_1$s = { id: "lupa-search-results-rating" };
35970
+ const _hoisted_2$m = ["innerHTML"];
35971
35971
  const _hoisted_3$e = { class: "lupa-ratings" };
35972
35972
  const _hoisted_4$6 = ["href"];
35973
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
35973
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
35974
35974
  __name: "SearchResultsProductSingleStarRating",
35975
35975
  props: {
35976
35976
  item: {},
@@ -35998,11 +35998,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
35998
35998
  return RATING_STAR_HTML;
35999
35999
  });
36000
36000
  return (_ctx, _cache) => {
36001
- return openBlock(), createElementBlock("div", _hoisted_1$r, [
36001
+ return openBlock(), createElementBlock("div", _hoisted_1$s, [
36002
36002
  createBaseVNode("div", {
36003
36003
  innerHTML: star.value,
36004
36004
  class: "lupa-rating lupa-rating-highlighted"
36005
- }, null, 8, _hoisted_2$l),
36005
+ }, null, 8, _hoisted_2$m),
36006
36006
  createBaseVNode("div", _hoisted_3$e, toDisplayString(rating.value), 1),
36007
36007
  createBaseVNode("a", {
36008
36008
  href: ratingLink.value,
@@ -36014,19 +36014,19 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
36014
36014
  });
36015
36015
  const __default__ = {
36016
36016
  components: {
36017
- SearchResultsProductImage: _sfc_main$D,
36018
- SearchResultsProductTitle: _sfc_main$C,
36019
- SearchResultsProductDescription: _sfc_main$B,
36020
- SearchResultsProductRating: _sfc_main$A,
36021
- SearchResultsProductRegularPrice: _sfc_main$z,
36022
- SearchResultsProductPrice: _sfc_main$y,
36023
- SearchResultsProductAddToCart: _sfc_main$x,
36024
- SearchResultsProductCustom: _sfc_main$w,
36025
- SearchResultsProductCustomHtmlElement: _sfc_main$v,
36026
- SearchResultsProductSingleStarRating: _sfc_main$u
36027
- }
36028
- };
36029
- const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
36017
+ SearchResultsProductImage: _sfc_main$E,
36018
+ SearchResultsProductTitle: _sfc_main$D,
36019
+ SearchResultsProductDescription: _sfc_main$C,
36020
+ SearchResultsProductRating: _sfc_main$B,
36021
+ SearchResultsProductRegularPrice: _sfc_main$A,
36022
+ SearchResultsProductPrice: _sfc_main$z,
36023
+ SearchResultsProductAddToCart: _sfc_main$y,
36024
+ SearchResultsProductCustom: _sfc_main$x,
36025
+ SearchResultsProductCustomHtmlElement: _sfc_main$w,
36026
+ SearchResultsProductSingleStarRating: _sfc_main$v
36027
+ }
36028
+ };
36029
+ const _sfc_main$u = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
36030
36030
  __name: "SearchResultsProductCardElement",
36031
36031
  props: {
36032
36032
  item: {},
@@ -36104,13 +36104,13 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValue
36104
36104
  };
36105
36105
  }
36106
36106
  }));
36107
- const _hoisted_1$q = ["href"];
36108
- const _hoisted_2$k = {
36107
+ const _hoisted_1$r = ["href"];
36108
+ const _hoisted_2$l = {
36109
36109
  key: 0,
36110
36110
  class: "lupa-out-of-stock"
36111
36111
  };
36112
36112
  const _hoisted_3$d = { class: "lupa-search-result-product-details-section" };
36113
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
36113
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
36114
36114
  __name: "SearchResultsProductCard",
36115
36115
  props: {
36116
36116
  product: {},
@@ -36286,7 +36286,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36286
36286
  default: withCtx(() => {
36287
36287
  var _a25;
36288
36288
  return [
36289
- createVNode(_sfc_main$19, { options: badgesOptions.value }, null, 8, ["options"]),
36289
+ createVNode(_sfc_main$1a, { options: badgesOptions.value }, null, 8, ["options"]),
36290
36290
  createBaseVNode("div", {
36291
36291
  class: normalizeClass(["lupa-search-result-product-contents", listLayoutClass.value])
36292
36292
  }, [
@@ -36296,7 +36296,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36296
36296
  onClick: handleNavigation
36297
36297
  }, [
36298
36298
  (openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
36299
- return openBlock(), createBlock(_sfc_main$t, {
36299
+ return openBlock(), createBlock(_sfc_main$u, {
36300
36300
  class: "lupa-search-results-product-element",
36301
36301
  item: _ctx.product,
36302
36302
  element,
@@ -36307,16 +36307,16 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36307
36307
  onProductEvent: handleProductEvent
36308
36308
  }, null, 8, ["item", "element", "labels", "inStock", "link"]);
36309
36309
  }), 128)),
36310
- createVNode(_sfc_main$19, {
36310
+ createVNode(_sfc_main$1a, {
36311
36311
  options: badgesOptions.value,
36312
36312
  position: "image",
36313
36313
  class: "lupa-image-badges"
36314
36314
  }, null, 8, ["options"]),
36315
- ((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$k, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
36316
- ], 8, _hoisted_1$q),
36315
+ ((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$l, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
36316
+ ], 8, _hoisted_1$r),
36317
36317
  createBaseVNode("div", _hoisted_3$d, [
36318
36318
  (openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
36319
- return openBlock(), createBlock(_sfc_main$t, {
36319
+ return openBlock(), createBlock(_sfc_main$u, {
36320
36320
  class: "lupa-search-results-product-element",
36321
36321
  item: _ctx.product,
36322
36322
  element,
@@ -36334,7 +36334,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36334
36334
  class: normalizeClass("lupa-element-group-" + group)
36335
36335
  }, [
36336
36336
  (openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
36337
- return openBlock(), createBlock(_sfc_main$t, {
36337
+ return openBlock(), createBlock(_sfc_main$u, {
36338
36338
  class: "lupa-search-results-product-element",
36339
36339
  item: _ctx.product,
36340
36340
  element,
@@ -36355,11 +36355,11 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36355
36355
  };
36356
36356
  }
36357
36357
  });
36358
- const _hoisted_1$p = {
36358
+ const _hoisted_1$q = {
36359
36359
  id: "lupa-search-results-similar-queries",
36360
36360
  "data-cy": "lupa-search-results-similar-queries"
36361
36361
  };
36362
- const _hoisted_2$j = { class: "lupa-similar-queries-label" };
36362
+ const _hoisted_2$k = { class: "lupa-similar-queries-label" };
36363
36363
  const _hoisted_3$c = {
36364
36364
  class: "lupa-similar-query-label",
36365
36365
  "data-cy": "lupa-similar-query-label"
@@ -36371,7 +36371,7 @@ const _hoisted_7 = {
36371
36371
  class: "lupa-products",
36372
36372
  "data-cy": "lupa-products"
36373
36373
  };
36374
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
36374
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
36375
36375
  __name: "SearchResultsSimilarQueries",
36376
36376
  props: {
36377
36377
  labels: {},
@@ -36409,8 +36409,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
36409
36409
  };
36410
36410
  };
36411
36411
  return (_ctx, _cache) => {
36412
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
36413
- createBaseVNode("div", _hoisted_2$j, toDisplayString(_ctx.labels.similarQueries), 1),
36412
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
36413
+ createBaseVNode("div", _hoisted_2$k, toDisplayString(_ctx.labels.similarQueries), 1),
36414
36414
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarQueries.value, (similarQuery, index) => {
36415
36415
  return openBlock(), createElementBlock("div", { key: index }, [
36416
36416
  createBaseVNode("div", _hoisted_3$c, [
@@ -36429,7 +36429,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
36429
36429
  ]),
36430
36430
  createBaseVNode("div", _hoisted_7, [
36431
36431
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarQuery.items, (product, index2) => {
36432
- return openBlock(), createBlock(_sfc_main$s, {
36432
+ return openBlock(), createBlock(_sfc_main$t, {
36433
36433
  style: normalizeStyle(_ctx.columnSize),
36434
36434
  key: getDocumentKey(index2, product),
36435
36435
  product,
@@ -36444,15 +36444,15 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
36444
36444
  };
36445
36445
  }
36446
36446
  });
36447
- const _hoisted_1$o = {
36447
+ const _hoisted_1$p = {
36448
36448
  key: 0,
36449
36449
  class: "lupa-results-additional-panel"
36450
36450
  };
36451
- const _hoisted_2$i = {
36451
+ const _hoisted_2$j = {
36452
36452
  class: "lupa-results-additional-panel-items",
36453
36453
  "data-cy": "lupa-results-additional-panel-items"
36454
36454
  };
36455
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
36455
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
36456
36456
  __name: "AdditionalPanel",
36457
36457
  props: {
36458
36458
  panel: {},
@@ -36525,10 +36525,10 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
36525
36525
  handleQueryChange();
36526
36526
  });
36527
36527
  return (_ctx, _cache) => {
36528
- return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
36529
- createBaseVNode("div", _hoisted_2$i, [
36528
+ return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$p, [
36529
+ createBaseVNode("div", _hoisted_2$j, [
36530
36530
  (openBlock(true), createElementBlock(Fragment, null, renderList(visibleItems.value, (item, index) => {
36531
- return openBlock(), createBlock(_sfc_main$s, {
36531
+ return openBlock(), createBlock(_sfc_main$t, {
36532
36532
  key: index,
36533
36533
  product: item,
36534
36534
  options: _ctx.panel,
@@ -36546,11 +36546,11 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
36546
36546
  };
36547
36547
  }
36548
36548
  });
36549
- const _hoisted_1$n = {
36549
+ const _hoisted_1$o = {
36550
36550
  key: 0,
36551
36551
  class: "lupa-results-additional-panels"
36552
36552
  };
36553
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
36553
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
36554
36554
  __name: "AdditionalPanels",
36555
36555
  props: {
36556
36556
  options: {},
@@ -36567,9 +36567,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
36567
36567
  return locationPanels.value.length > 0;
36568
36568
  });
36569
36569
  return (_ctx, _cache) => {
36570
- return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
36570
+ return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$o, [
36571
36571
  (openBlock(true), createElementBlock(Fragment, null, renderList(locationPanels.value, (panel) => {
36572
- return openBlock(), createBlock(_sfc_main$q, {
36572
+ return openBlock(), createBlock(_sfc_main$r, {
36573
36573
  key: panel.queryKey,
36574
36574
  panel,
36575
36575
  options: _ctx.sdkOptions
@@ -36586,29 +36586,29 @@ const _export_sfc = (sfc, props) => {
36586
36586
  }
36587
36587
  return target2;
36588
36588
  };
36589
- const _sfc_main$o = {};
36590
- const _hoisted_1$m = { class: "lupa-spinner-wrapper" };
36591
- const _hoisted_2$h = { class: "lupa-spinner" };
36589
+ const _sfc_main$p = {};
36590
+ const _hoisted_1$n = { class: "lupa-spinner-wrapper" };
36591
+ const _hoisted_2$i = { class: "lupa-spinner" };
36592
36592
  function _sfc_render(_ctx, _cache) {
36593
- return openBlock(), createElementBlock("div", _hoisted_1$m, [
36594
- createBaseVNode("div", _hoisted_2$h, [
36593
+ return openBlock(), createElementBlock("div", _hoisted_1$n, [
36594
+ createBaseVNode("div", _hoisted_2$i, [
36595
36595
  (openBlock(), createElementBlock(Fragment, null, renderList(12, (x) => {
36596
36596
  return createBaseVNode("div", { key: x });
36597
36597
  }), 64))
36598
36598
  ])
36599
36599
  ]);
36600
36600
  }
36601
- const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$o, [["render", _sfc_render]]);
36602
- const _hoisted_1$l = {
36601
+ const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["render", _sfc_render]]);
36602
+ const _hoisted_1$m = {
36603
36603
  id: "lupa-search-results-similar-results",
36604
36604
  "data-cy": "lupa-search-results-similar-results"
36605
36605
  };
36606
- const _hoisted_2$g = { class: "lupa-similar-results-label" };
36606
+ const _hoisted_2$h = { class: "lupa-similar-results-label" };
36607
36607
  const _hoisted_3$b = {
36608
36608
  class: "lupa-products",
36609
36609
  "data-cy": "lupa-products"
36610
36610
  };
36611
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
36611
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
36612
36612
  __name: "SearchResultsSimilarResults",
36613
36613
  props: {
36614
36614
  columnSize: {},
@@ -36629,11 +36629,11 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
36629
36629
  };
36630
36630
  });
36631
36631
  return (_ctx, _cache) => {
36632
- return openBlock(), createElementBlock("div", _hoisted_1$l, [
36633
- createBaseVNode("div", _hoisted_2$g, toDisplayString(_ctx.labels.similarResultsLabel), 1),
36632
+ return openBlock(), createElementBlock("div", _hoisted_1$m, [
36633
+ createBaseVNode("div", _hoisted_2$h, toDisplayString(_ctx.labels.similarResultsLabel), 1),
36634
36634
  createBaseVNode("div", _hoisted_3$b, [
36635
36635
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarResults.value.items, (product, index) => {
36636
- return openBlock(), createBlock(_sfc_main$s, {
36636
+ return openBlock(), createBlock(_sfc_main$t, {
36637
36637
  style: normalizeStyle(_ctx.columnSize),
36638
36638
  key: getDocumentKey(index, product),
36639
36639
  product,
@@ -36754,15 +36754,15 @@ const extractRelatedSource = (source, searchResults2, options, activeFilters) =>
36754
36754
  return extractFacetsRelatedSource(source, searchResults2, options, activeFilters);
36755
36755
  }
36756
36756
  });
36757
- const _hoisted_1$k = { class: "lupa-related-query-item" };
36758
- const _hoisted_2$f = { class: "lupa-related-query-image" };
36757
+ const _hoisted_1$l = { class: "lupa-related-query-item" };
36758
+ const _hoisted_2$g = { class: "lupa-related-query-image" };
36759
36759
  const _hoisted_3$a = { class: "lupa-related-query-label" };
36760
36760
  const _hoisted_4$4 = { class: "lupa-related-query-title" };
36761
36761
  const _hoisted_5$2 = {
36762
36762
  key: 0,
36763
36763
  class: "lupa-related-query-count"
36764
36764
  };
36765
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
36765
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
36766
36766
  __name: "RelatedQueryPanel",
36767
36767
  props: {
36768
36768
  query: {},
@@ -36858,9 +36858,9 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
36858
36858
  });
36859
36859
  return (_ctx, _cache) => {
36860
36860
  var _a25;
36861
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
36862
- createBaseVNode("div", _hoisted_2$f, [
36863
- itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1p, {
36861
+ return openBlock(), createElementBlock("div", _hoisted_1$l, [
36862
+ createBaseVNode("div", _hoisted_2$g, [
36863
+ itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
36864
36864
  key: 0,
36865
36865
  "wrapper-class": "lupa-related-query-image-wrapper",
36866
36866
  "image-class": "lupa-related-query-image",
@@ -36876,16 +36876,16 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
36876
36876
  };
36877
36877
  }
36878
36878
  });
36879
- const _hoisted_1$j = {
36879
+ const _hoisted_1$k = {
36880
36880
  key: 0,
36881
36881
  class: "lupa-related-queries"
36882
36882
  };
36883
- const _hoisted_2$e = {
36883
+ const _hoisted_2$f = {
36884
36884
  key: 0,
36885
36885
  class: "lupa-related-queries-title"
36886
36886
  };
36887
36887
  const _hoisted_3$9 = ["onClick"];
36888
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
36888
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
36889
36889
  __name: "RelatedQueries",
36890
36890
  props: {
36891
36891
  options: {}
@@ -36979,8 +36979,8 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
36979
36979
  };
36980
36980
  return (_ctx, _cache) => {
36981
36981
  var _a25, _b25, _c, _d;
36982
- return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
36983
- ((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$e, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
36982
+ return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$k, [
36983
+ ((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$f, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
36984
36984
  createBaseVNode("ul", null, [
36985
36985
  (openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
36986
36986
  return withDirectives((openBlock(), createElementBlock("li", {
@@ -36990,7 +36990,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
36990
36990
  createBaseVNode("a", {
36991
36991
  onClick: ($event) => handleRelatedQueryClick(query)
36992
36992
  }, [
36993
- createVNode(_sfc_main$m, {
36993
+ createVNode(_sfc_main$n, {
36994
36994
  "source-key": query.key,
36995
36995
  options: _ctx.options,
36996
36996
  query: query.value,
@@ -37034,13 +37034,13 @@ const extractRedirectionSuggestion = (searchText = "", options) => {
37034
37034
  }
37035
37035
  return null;
37036
37036
  };
37037
- const _hoisted_1$i = {
37037
+ const _hoisted_1$j = {
37038
37038
  key: 0,
37039
37039
  class: "lupa-redirection-suggestion"
37040
37040
  };
37041
- const _hoisted_2$d = { class: "lupa-redirections-suggestion-label" };
37041
+ const _hoisted_2$e = { class: "lupa-redirections-suggestion-label" };
37042
37042
  const _hoisted_3$8 = ["href"];
37043
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
37043
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
37044
37044
  __name: "RedirectionSuggestions",
37045
37045
  props: {
37046
37046
  options: {}
@@ -37063,19 +37063,19 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
37063
37063
  )
37064
37064
  );
37065
37065
  return (_ctx, _cache) => {
37066
- return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
37067
- createBaseVNode("h4", _hoisted_2$d, [
37066
+ return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
37067
+ createBaseVNode("h4", _hoisted_2$e, [
37068
37068
  createBaseVNode("a", { href: link.value }, toDisplayString(label.value), 9, _hoisted_3$8)
37069
37069
  ])
37070
37070
  ])) : createCommentVNode("", true);
37071
37071
  };
37072
37072
  }
37073
37073
  });
37074
- const _hoisted_1$h = {
37074
+ const _hoisted_1$i = {
37075
37075
  key: 0,
37076
37076
  class: "lupa-refiners-loading-notice"
37077
37077
  };
37078
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
37078
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
37079
37079
  __name: "RefinersLoadingNotice",
37080
37080
  props: {
37081
37081
  labels: {}
@@ -37086,22 +37086,22 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
37086
37086
  const props = __props;
37087
37087
  const label = computed(() => props.labels.refinersLoadingNotice);
37088
37088
  return (_ctx, _cache) => {
37089
- return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
37089
+ return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
37090
37090
  createBaseVNode("p", null, toDisplayString(label.value), 1),
37091
37091
  createVNode(Spinner)
37092
37092
  ])) : createCommentVNode("", true);
37093
37093
  };
37094
37094
  }
37095
37095
  });
37096
- const _hoisted_1$g = { class: "lupa-related-query-item" };
37097
- const _hoisted_2$c = { class: "lupa-related-query-image" };
37096
+ const _hoisted_1$h = { class: "lupa-related-query-item" };
37097
+ const _hoisted_2$d = { class: "lupa-related-query-image" };
37098
37098
  const _hoisted_3$7 = { class: "lupa-related-query-label" };
37099
37099
  const _hoisted_4$3 = { class: "lupa-related-query-title" };
37100
37100
  const _hoisted_5$1 = {
37101
37101
  key: 0,
37102
37102
  class: "lupa-related-query-count"
37103
37103
  };
37104
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
37104
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
37105
37105
  __name: "RelatedQueryPanelApi",
37106
37106
  props: {
37107
37107
  relatedQuery: {},
@@ -37133,9 +37133,9 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37133
37133
  });
37134
37134
  return (_ctx, _cache) => {
37135
37135
  var _a25;
37136
- return openBlock(), createElementBlock("div", _hoisted_1$g, [
37137
- createBaseVNode("div", _hoisted_2$c, [
37138
- itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1p, {
37136
+ return openBlock(), createElementBlock("div", _hoisted_1$h, [
37137
+ createBaseVNode("div", _hoisted_2$d, [
37138
+ itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1q, {
37139
37139
  key: 0,
37140
37140
  "wrapper-class": "lupa-related-query-image-wrapper",
37141
37141
  "image-class": "lupa-related-query-image",
@@ -37151,16 +37151,16 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37151
37151
  };
37152
37152
  }
37153
37153
  });
37154
- const _hoisted_1$f = {
37154
+ const _hoisted_1$g = {
37155
37155
  key: 0,
37156
37156
  class: "lupa-related-queries"
37157
37157
  };
37158
- const _hoisted_2$b = {
37158
+ const _hoisted_2$c = {
37159
37159
  key: 0,
37160
37160
  class: "lupa-related-queries-title"
37161
37161
  };
37162
37162
  const _hoisted_3$6 = ["onClick"];
37163
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
37163
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
37164
37164
  __name: "RelatedQueriesApi",
37165
37165
  props: {
37166
37166
  options: {}
@@ -37212,8 +37212,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37212
37212
  };
37213
37213
  return (_ctx, _cache) => {
37214
37214
  var _a25, _b25, _c, _d;
37215
- return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
37216
- ((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$b, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
37215
+ return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
37216
+ ((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$c, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
37217
37217
  createBaseVNode("ul", null, [
37218
37218
  (openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
37219
37219
  return openBlock(), createElementBlock("li", {
@@ -37223,7 +37223,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37223
37223
  createBaseVNode("a", {
37224
37224
  onClick: ($event) => handleRelatedQueryClick(query)
37225
37225
  }, [
37226
- createVNode(_sfc_main$i, {
37226
+ createVNode(_sfc_main$j, {
37227
37227
  relatedQuery: query,
37228
37228
  options: _ctx.options
37229
37229
  }, null, 8, ["relatedQuery", "options"])
@@ -37235,6 +37235,49 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37235
37235
  };
37236
37236
  }
37237
37237
  });
37238
+ const _hoisted_1$f = { key: 0 };
37239
+ const _hoisted_2$b = ["innerHTML"];
37240
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
37241
+ __name: "ZeroResults",
37242
+ props: {
37243
+ emptyResultsLabel: {},
37244
+ currentQueryText: {},
37245
+ hasSimilarQueries: { type: Boolean },
37246
+ zeroResults: {}
37247
+ },
37248
+ setup(__props) {
37249
+ const props = __props;
37250
+ const searchResultStore = useSearchResultStore();
37251
+ const { searchResult } = storeToRefs(searchResultStore);
37252
+ const showDefaultZeroResultsTemplate = computed(() => {
37253
+ var _a25, _b25;
37254
+ return props.emptyResultsLabel && ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) === void 0 || props.hasSimilarQueries && !((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries);
37255
+ });
37256
+ const showCustomZeroResultsTemplate = computed(() => {
37257
+ var _a25, _b25;
37258
+ return ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) !== void 0 && (!props.hasSimilarQueries || ((_b25 = props.zeroResults) == null ? void 0 : _b25.showWithSimilarQueries));
37259
+ });
37260
+ const htmlTemplate = computed(() => {
37261
+ var _a25;
37262
+ if ((_a25 = props.zeroResults) == null ? void 0 : _a25.customHtml) {
37263
+ return props.zeroResults.customHtml(searchResult.value);
37264
+ }
37265
+ return "";
37266
+ });
37267
+ return (_ctx, _cache) => {
37268
+ return openBlock(), createElementBlock(Fragment, null, [
37269
+ showDefaultZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", _hoisted_1$f, [
37270
+ createTextVNode(toDisplayString(_ctx.emptyResultsLabel) + " ", 1),
37271
+ createBaseVNode("span", null, toDisplayString(_ctx.currentQueryText), 1)
37272
+ ])) : createCommentVNode("", true),
37273
+ showCustomZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", {
37274
+ key: 1,
37275
+ innerHTML: htmlTemplate.value
37276
+ }, null, 8, _hoisted_2$b)) : createCommentVNode("", true)
37277
+ ], 64);
37278
+ };
37279
+ }
37280
+ });
37238
37281
  const _hoisted_1$e = { id: "lupa-search-results-products" };
37239
37282
  const _hoisted_2$a = {
37240
37283
  class: "lupa-products",
@@ -37375,41 +37418,41 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
37375
37418
  emit2("filter");
37376
37419
  };
37377
37420
  return (_ctx, _cache) => {
37378
- var _a25;
37421
+ var _a25, _b25, _c;
37379
37422
  return openBlock(), createElementBlock("div", _hoisted_1$e, [
37380
37423
  unref(loading) && !unref(isMobileSidebarVisible) ? (openBlock(), createBlock(Spinner, {
37381
37424
  key: 0,
37382
37425
  class: "lupa-loader"
37383
37426
  })) : createCommentVNode("", true),
37384
- createVNode(_sfc_main$k, {
37427
+ createVNode(_sfc_main$l, {
37385
37428
  options: _ctx.options.redirectionSuggestions
37386
37429
  }, null, 8, ["options"]),
37387
- createVNode(_sfc_main$p, {
37430
+ createVNode(_sfc_main$q, {
37388
37431
  options: _ctx.options,
37389
37432
  location: "top",
37390
37433
  sdkOptions: _ctx.options.options
37391
37434
  }, null, 8, ["options", "sdkOptions"]),
37392
- showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$l, {
37435
+ showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$m, {
37393
37436
  key: 1,
37394
37437
  options: _ctx.options.relatedQueries
37395
37438
  }, null, 8, ["options"])) : createCommentVNode("", true),
37396
- showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$h, {
37439
+ showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$i, {
37397
37440
  key: 2,
37398
37441
  options: _ctx.options.relatedQueries
37399
37442
  }, null, 8, ["options"])) : createCommentVNode("", true),
37400
37443
  unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 3 }, [
37401
- showTopFilters.value ? (openBlock(), createBlock(_sfc_main$L, {
37444
+ showTopFilters.value ? (openBlock(), createBlock(_sfc_main$M, {
37402
37445
  key: 0,
37403
37446
  options: (_a25 = _ctx.options.filters) != null ? _a25 : {}
37404
37447
  }, null, 8, ["options"])) : createCommentVNode("", true),
37405
- showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$E, {
37448
+ showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$F, {
37406
37449
  key: 1,
37407
37450
  class: "lupa-toolbar-mobile",
37408
37451
  options: _ctx.options,
37409
37452
  "pagination-location": "top",
37410
37453
  onFilter: filter
37411
37454
  }, null, 8, ["options"])) : createCommentVNode("", true),
37412
- currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$Z, {
37455
+ currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$_, {
37413
37456
  key: 2,
37414
37457
  class: normalizeClass(currentFiltersClass.value),
37415
37458
  "data-cy": "lupa-search-result-filters-mobile-toolbar",
@@ -37418,12 +37461,12 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
37418
37461
  }, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
37419
37462
  ], 64)) : createCommentVNode("", true),
37420
37463
  unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 4 }, [
37421
- createVNode(_sfc_main$E, {
37464
+ createVNode(_sfc_main$F, {
37422
37465
  class: "lupa-toolbar-top",
37423
37466
  options: _ctx.options,
37424
37467
  "pagination-location": "top"
37425
37468
  }, null, 8, ["options"]),
37426
- currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$Z, {
37469
+ currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$_, {
37427
37470
  key: 0,
37428
37471
  class: normalizeClass(currentFiltersClass.value),
37429
37472
  "data-cy": "lupa-search-result-filters-mobile-toolbar",
@@ -37439,7 +37482,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
37439
37482
  options: productCardOptions.value
37440
37483
  });
37441
37484
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(searchResult).items, (product, index) => {
37442
- return openBlock(), createBlock(_sfc_main$s, {
37485
+ return openBlock(), createBlock(_sfc_main$t, {
37443
37486
  style: normalizeStyle(columnSize.value),
37444
37487
  key: getProductKeyAction(index, product),
37445
37488
  product,
@@ -37456,32 +37499,36 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
37456
37499
  onClick: goToFirstPage
37457
37500
  }, toDisplayString(_ctx.options.labels.backToFirstPage), 1)) : createCommentVNode("", true)
37458
37501
  ])) : createCommentVNode("", true),
37459
- createVNode(_sfc_main$E, {
37502
+ createVNode(_sfc_main$F, {
37460
37503
  class: "lupa-toolbar-bottom",
37461
37504
  options: _ctx.options,
37462
37505
  "pagination-location": "bottom"
37463
37506
  }, null, 8, ["options"]),
37464
- createVNode(_sfc_main$p, {
37507
+ createVNode(_sfc_main$q, {
37465
37508
  options: _ctx.options,
37466
37509
  location: "bottom",
37467
37510
  sdkOptions: _ctx.options.options
37468
37511
  }, null, 8, ["options", "sdkOptions"])
37469
37512
  ], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$2, [
37470
- createTextVNode(toDisplayString(_ctx.options.labels.emptyResults) + " ", 1),
37471
- createBaseVNode("span", null, toDisplayString(unref(currentQueryText)), 1)
37513
+ createVNode(_sfc_main$h, {
37514
+ emptyResultsLabel: (_b25 = _ctx.options.labels) == null ? void 0 : _b25.emptyResults,
37515
+ currentQueryText: unref(currentQueryText),
37516
+ hasSimilarQueries: hasSimilarQueries.value || hasSimilarResults.value,
37517
+ zeroResults: (_c = _ctx.options) == null ? void 0 : _c.zeroResults
37518
+ }, null, 8, ["emptyResultsLabel", "currentQueryText", "hasSimilarQueries", "zeroResults"])
37472
37519
  ])) : createCommentVNode("", true),
37473
- createVNode(_sfc_main$j, {
37520
+ createVNode(_sfc_main$k, {
37474
37521
  labels: _ctx.options.labels
37475
37522
  }, null, 8, ["labels"]),
37476
37523
  hasSimilarQueries.value ? (openBlock(), createElementBlock("div", _hoisted_5, [
37477
- createVNode(_sfc_main$r, {
37524
+ createVNode(_sfc_main$s, {
37478
37525
  labels: similarQueriesLabels.value,
37479
37526
  columnSize: columnSize.value,
37480
37527
  productCardOptions: productCardOptions.value
37481
37528
  }, null, 8, ["labels", "columnSize", "productCardOptions"])
37482
37529
  ])) : createCommentVNode("", true),
37483
37530
  hasSimilarResults.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
37484
- createVNode(_sfc_main$n, {
37531
+ createVNode(_sfc_main$o, {
37485
37532
  labels: similarResultsLabels.value,
37486
37533
  columnSize: columnSize.value,
37487
37534
  productCardOptions: productCardOptions.value
@@ -37560,14 +37607,14 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
37560
37607
  ])) : createCommentVNode("", true),
37561
37608
  hasRelatedCategoryChildren.value ? (openBlock(), createElementBlock("div", _hoisted_4$1, [
37562
37609
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(relatedCategoryChildren), (child) => {
37563
- return openBlock(), createBlock(_sfc_main$Y, {
37610
+ return openBlock(), createBlock(_sfc_main$Z, {
37564
37611
  key: getCategoryKey(child),
37565
37612
  item: child,
37566
37613
  options: categoryOptions.value
37567
37614
  }, null, 8, ["item", "options"]);
37568
37615
  }), 128))
37569
37616
  ])) : createCommentVNode("", true),
37570
- createVNode(_sfc_main$E, {
37617
+ createVNode(_sfc_main$F, {
37571
37618
  class: "lupa-toolbar-mobile",
37572
37619
  "pagination-location": "top",
37573
37620
  options: _ctx.options
@@ -37875,8 +37922,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37875
37922
  class: normalizeClass(["lupa-search-result-wrapper", { "lupa-search-wrapper-no-results": !unref(hasResults) }])
37876
37923
  }, [
37877
37924
  _ctx.isContainer ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
37878
- createVNode(_sfc_main$11, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37879
- createVNode(_sfc_main$$, {
37925
+ createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37926
+ createVNode(_sfc_main$10, {
37880
37927
  "show-summary": true,
37881
37928
  options: _ctx.options,
37882
37929
  "is-product-list": (_a25 = _ctx.isProductList) != null ? _a25 : false
@@ -37886,12 +37933,12 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37886
37933
  key: 1,
37887
37934
  options: _ctx.options
37888
37935
  }, null, 8, ["options"])) : createCommentVNode("", true),
37889
- _ctx.options.filters ? (openBlock(), createBlock(_sfc_main$N, {
37936
+ _ctx.options.filters ? (openBlock(), createBlock(_sfc_main$O, {
37890
37937
  key: 2,
37891
37938
  options: _ctx.options.filters,
37892
37939
  onFilter: handleParamsChange
37893
37940
  }, null, 8, ["options"])) : createCommentVNode("", true),
37894
- unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$M, {
37941
+ unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$N, {
37895
37942
  key: 3,
37896
37943
  breadcrumbs: _ctx.options.breadcrumbs
37897
37944
  }, null, 8, ["breadcrumbs"])) : createCommentVNode("", true),
@@ -37900,7 +37947,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37900
37947
  id: "lupa-search-results",
37901
37948
  class: normalizeClass(["top-layout-wrapper", indicatorClasses.value])
37902
37949
  }, [
37903
- showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$O, {
37950
+ showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
37904
37951
  key: 0,
37905
37952
  options: (_b25 = _ctx.options.filters) != null ? _b25 : {},
37906
37953
  ref_key: "searchResultsFilters",
@@ -37908,8 +37955,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37908
37955
  onFilter: handleParamsChange
37909
37956
  }, null, 8, ["options"])) : createCommentVNode("", true),
37910
37957
  createBaseVNode("div", _hoisted_2$8, [
37911
- createVNode(_sfc_main$11, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37912
- createVNode(_sfc_main$$, {
37958
+ createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37959
+ createVNode(_sfc_main$10, {
37913
37960
  options: _ctx.options,
37914
37961
  "is-product-list": (_c = _ctx.isProductList) != null ? _c : false
37915
37962
  }, null, 8, ["options", "is-product-list"]),
@@ -37925,8 +37972,8 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37925
37972
  }, 8, ["options", "ssr"])
37926
37973
  ])
37927
37974
  ], 2)) : (openBlock(), createElementBlock(Fragment, { key: 5 }, [
37928
- createVNode(_sfc_main$11, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37929
- createVNode(_sfc_main$$, {
37975
+ createVNode(_sfc_main$12, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
37976
+ createVNode(_sfc_main$10, {
37930
37977
  options: _ctx.options,
37931
37978
  "is-product-list": (_d = _ctx.isProductList) != null ? _d : false
37932
37979
  }, null, 8, ["options", "is-product-list"]),
@@ -37934,7 +37981,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
37934
37981
  id: "lupa-search-results",
37935
37982
  class: normalizeClass(indicatorClasses.value)
37936
37983
  }, [
37937
- showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$O, {
37984
+ showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$P, {
37938
37985
  key: 0,
37939
37986
  options: (_e = _ctx.options.filters) != null ? _e : {},
37940
37987
  ref_key: "searchResultsFilters",
@@ -38085,7 +38132,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
38085
38132
  onClick: withModifiers(innerClick, ["stop"])
38086
38133
  }, [
38087
38134
  createBaseVNode("div", _hoisted_1$a, [
38088
- createVNode(_sfc_main$12, {
38135
+ createVNode(_sfc_main$13, {
38089
38136
  options: fullSearchBoxOptions.value,
38090
38137
  "is-search-container": true,
38091
38138
  ref_key: "searchBox",
@@ -39653,7 +39700,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
39653
39700
  key: getProductKeyAction(index, product)
39654
39701
  }, {
39655
39702
  default: withCtx(() => [
39656
- createVNode(_sfc_main$s, {
39703
+ createVNode(_sfc_main$t, {
39657
39704
  product,
39658
39705
  options: _ctx.options,
39659
39706
  "click-tracking-settings": clickTrackingSettings.value,
@@ -39668,7 +39715,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
39668
39715
  _: 1
39669
39716
  }, 16)) : (openBlock(), createElementBlock("div", _hoisted_3$3, [
39670
39717
  (openBlock(true), createElementBlock(Fragment, null, renderList(recommendations2.value, (product, index) => {
39671
- return openBlock(), createBlock(_sfc_main$s, {
39718
+ return openBlock(), createBlock(_sfc_main$t, {
39672
39719
  style: normalizeStyle(columnSize.value),
39673
39720
  key: getProductKeyAction(index, product),
39674
39721
  product,
@@ -39914,7 +39961,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
39914
39961
  createBaseVNode("a", {
39915
39962
  href: getLink(product)
39916
39963
  }, [
39917
- createVNode(_sfc_main$D, {
39964
+ createVNode(_sfc_main$E, {
39918
39965
  item: product,
39919
39966
  options: image.value
39920
39967
  }, null, 8, ["item", "options"])
@@ -40079,7 +40126,7 @@ const _sfc_main$4$1 = /* @__PURE__ */ defineComponent({
40079
40126
  return (_ctx, _cache) => {
40080
40127
  return openBlock(), createElementBlock("section", _hoisted_1$3, [
40081
40128
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchResults, (product, index) => {
40082
- return openBlock(), createBlock(_sfc_main$s, {
40129
+ return openBlock(), createBlock(_sfc_main$t, {
40083
40130
  class: "lupa-chat-product-card",
40084
40131
  key: getProductKeyAction(index, product),
40085
40132
  product,
@@ -40275,7 +40322,7 @@ const _hoisted_4 = {
40275
40322
  key: 0,
40276
40323
  class: "lupasearch-chat-content"
40277
40324
  };
40278
- const _sfc_main$1A = /* @__PURE__ */ defineComponent({
40325
+ const _sfc_main$1B = /* @__PURE__ */ defineComponent({
40279
40326
  __name: "ChatContainer",
40280
40327
  props: {
40281
40328
  options: {}
@@ -46299,7 +46346,7 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
46299
46346
  };
46300
46347
  __expose({ fetch: fetch2 });
46301
46348
  return (_ctx, _cache) => {
46302
- return openBlock(), createBlock(unref(_sfc_main$12), {
46349
+ return openBlock(), createBlock(unref(_sfc_main$13), {
46303
46350
  ref_key: "searchBox",
46304
46351
  ref: searchBox2,
46305
46352
  options: fullSearchBoxOptions.value
@@ -46960,7 +47007,7 @@ const chat = (options, mountOptions) => {
46960
47007
  const instance = createVue(
46961
47008
  options.displayOptions.containerSelector,
46962
47009
  mountOptions == null ? void 0 : mountOptions.mountingBehavior,
46963
- _sfc_main$1A,
47010
+ _sfc_main$1B,
46964
47011
  {
46965
47012
  options
46966
47013
  }