@getlupa/client 1.13.0 → 1.13.3

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.
@@ -8541,7 +8541,7 @@ const useSearchBoxStore = defineStore("searchBox", () => {
8541
8541
  resetHighlightIndex
8542
8542
  };
8543
8543
  });
8544
- const _hoisted_1$1f = { id: "lupa-search-box-input-container" };
8544
+ const _hoisted_1$1d = { id: "lupa-search-box-input-container" };
8545
8545
  const _hoisted_2$R = { class: "lupa-input-clear" };
8546
8546
  const _hoisted_3$B = { id: "lupa-search-box-input" };
8547
8547
  const _hoisted_4$t = ["value"];
@@ -8638,7 +8638,7 @@ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
8638
8638
  };
8639
8639
  __expose({ focus });
8640
8640
  return (_ctx, _cache) => {
8641
- return openBlock(), createElementBlock("div", _hoisted_1$1f, [
8641
+ return openBlock(), createElementBlock("div", _hoisted_1$1d, [
8642
8642
  createBaseVNode("div", _hoisted_2$R, [
8643
8643
  createBaseVNode("div", {
8644
8644
  class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
@@ -8716,7 +8716,7 @@ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
8716
8716
  };
8717
8717
  }
8718
8718
  });
8719
- const _hoisted_1$1e = { class: "lupa-search-box-history-item" };
8719
+ const _hoisted_1$1c = { class: "lupa-search-box-history-item" };
8720
8720
  const _hoisted_2$Q = { class: "lupa-search-box-history-item-content" };
8721
8721
  const _sfc_main$1l = /* @__PURE__ */ defineComponent({
8722
8722
  __name: "SearchBoxHistoryItem",
@@ -8734,7 +8734,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
8734
8734
  emit2("click", { query: props.item });
8735
8735
  };
8736
8736
  return (_ctx, _cache) => {
8737
- return openBlock(), createElementBlock("div", _hoisted_1$1e, [
8737
+ return openBlock(), createElementBlock("div", _hoisted_1$1c, [
8738
8738
  createBaseVNode("div", _hoisted_2$Q, [
8739
8739
  createBaseVNode("div", {
8740
8740
  class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
@@ -8749,7 +8749,7 @@ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
8749
8749
  };
8750
8750
  }
8751
8751
  });
8752
- const _hoisted_1$1d = {
8752
+ const _hoisted_1$1b = {
8753
8753
  key: 0,
8754
8754
  class: "lupa-search-box-history-panel"
8755
8755
  };
@@ -8794,7 +8794,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
8794
8794
  }
8795
8795
  };
8796
8796
  return (_ctx, _cache) => {
8797
- return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1d, [
8797
+ return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
8798
8798
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(history), (item, index) => {
8799
8799
  return openBlock(), createBlock(_sfc_main$1l, {
8800
8800
  key: item,
@@ -8812,7 +8812,7 @@ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
8812
8812
  };
8813
8813
  }
8814
8814
  });
8815
- const _hoisted_1$1c = { class: "lupa-search-box-no-results" };
8815
+ const _hoisted_1$1a = { class: "lupa-search-box-no-results" };
8816
8816
  const _sfc_main$1j = /* @__PURE__ */ defineComponent({
8817
8817
  __name: "SearchBoxNoResults",
8818
8818
  props: {
@@ -8820,11 +8820,11 @@ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
8820
8820
  },
8821
8821
  setup(__props) {
8822
8822
  return (_ctx, _cache) => {
8823
- return openBlock(), createElementBlock("p", _hoisted_1$1c, toDisplayString(_ctx.labels.noResults), 1);
8823
+ return openBlock(), createElementBlock("p", _hoisted_1$1a, toDisplayString(_ctx.labels.noResults), 1);
8824
8824
  };
8825
8825
  }
8826
8826
  });
8827
- const _hoisted_1$1b = ["innerHTML"];
8827
+ const _hoisted_1$19 = ["innerHTML"];
8828
8828
  const _hoisted_2$P = {
8829
8829
  key: 1,
8830
8830
  "data-cy": "lupa-suggestion-value",
@@ -8879,7 +8879,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
8879
8879
  class: "lupa-suggestion-value",
8880
8880
  "data-cy": "lupa-suggestion-value",
8881
8881
  innerHTML: _ctx.suggestion.displayHighlight
8882
- }, null, 8, _hoisted_1$1b)) : (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(_ctx.suggestion.display), 1)),
8882
+ }, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$P, toDisplayString(_ctx.suggestion.display), 1)),
8883
8883
  _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
8884
8884
  createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
8885
8885
  createBaseVNode("span", _hoisted_5$i, toDisplayString(_ctx.suggestion.facet.title), 1)
@@ -8888,7 +8888,7 @@ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
8888
8888
  };
8889
8889
  }
8890
8890
  });
8891
- const _hoisted_1$1a = {
8891
+ const _hoisted_1$18 = {
8892
8892
  id: "lupa-search-box-suggestions",
8893
8893
  "data-cy": "lupa-search-box-suggestions"
8894
8894
  };
@@ -8952,7 +8952,7 @@ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
8952
8952
  });
8953
8953
  });
8954
8954
  return (_ctx, _cache) => {
8955
- return openBlock(), createElementBlock("div", _hoisted_1$1a, [
8955
+ return openBlock(), createElementBlock("div", _hoisted_1$18, [
8956
8956
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
8957
8957
  return openBlock(), createBlock(_sfc_main$1i, {
8958
8958
  key: getSuggestionKey(item),
@@ -9127,7 +9127,7 @@ const replaceImageWithPlaceholder = (e2, placeholder) => {
9127
9127
  targetImage.src = placeholder;
9128
9128
  }
9129
9129
  };
9130
- const _hoisted_1$19 = ["src"];
9130
+ const _hoisted_1$17 = ["src"];
9131
9131
  const _sfc_main$1f = /* @__PURE__ */ defineComponent({
9132
9132
  __name: "ProductImage",
9133
9133
  props: {
@@ -9246,7 +9246,7 @@ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
9246
9246
  }, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
9247
9247
  onError: replaceWithPlaceholder,
9248
9248
  key: finalUrl.value
9249
- }), null, 16, _hoisted_1$19))
9249
+ }), null, 16, _hoisted_1$17))
9250
9250
  ]),
9251
9251
  _: 1
9252
9252
  })
@@ -9271,7 +9271,7 @@ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
9271
9271
  };
9272
9272
  }
9273
9273
  });
9274
- const _hoisted_1$18 = ["innerHTML"];
9274
+ const _hoisted_1$16 = ["innerHTML"];
9275
9275
  const _hoisted_2$O = {
9276
9276
  key: 1,
9277
9277
  class: "lupa-search-box-product-title"
@@ -9296,13 +9296,13 @@ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
9296
9296
  key: 0,
9297
9297
  class: "lupa-search-box-product-title",
9298
9298
  innerHTML: title.value
9299
- }, null, 8, _hoisted_1$18)) : (openBlock(), createElementBlock("div", _hoisted_2$O, [
9299
+ }, null, 8, _hoisted_1$16)) : (openBlock(), createElementBlock("div", _hoisted_2$O, [
9300
9300
  createBaseVNode("strong", null, toDisplayString(title.value), 1)
9301
9301
  ]));
9302
9302
  };
9303
9303
  }
9304
9304
  });
9305
- const _hoisted_1$17 = ["innerHTML"];
9305
+ const _hoisted_1$15 = ["innerHTML"];
9306
9306
  const _hoisted_2$N = {
9307
9307
  key: 1,
9308
9308
  class: "lupa-search-box-product-description"
@@ -9327,11 +9327,11 @@ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
9327
9327
  key: 0,
9328
9328
  class: "lupa-search-box-product-description",
9329
9329
  innerHTML: description.value
9330
- }, null, 8, _hoisted_1$17)) : (openBlock(), createElementBlock("div", _hoisted_2$N, toDisplayString(description.value), 1));
9330
+ }, null, 8, _hoisted_1$15)) : (openBlock(), createElementBlock("div", _hoisted_2$N, toDisplayString(description.value), 1));
9331
9331
  };
9332
9332
  }
9333
9333
  });
9334
- const _hoisted_1$16 = { class: "lupa-search-box-product-price" };
9334
+ const _hoisted_1$14 = { class: "lupa-search-box-product-price" };
9335
9335
  const _sfc_main$1b = /* @__PURE__ */ defineComponent({
9336
9336
  __name: "SearchBoxProductPrice",
9337
9337
  props: {
@@ -9350,13 +9350,12 @@ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
9350
9350
  );
9351
9351
  });
9352
9352
  return (_ctx, _cache) => {
9353
- return openBlock(), createElementBlock("div", _hoisted_1$16, [
9353
+ return openBlock(), createElementBlock("div", _hoisted_1$14, [
9354
9354
  createBaseVNode("strong", null, toDisplayString(price.value), 1)
9355
9355
  ]);
9356
9356
  };
9357
9357
  }
9358
9358
  });
9359
- const _hoisted_1$15 = { class: "lupa-search-box-product-regular-price" };
9360
9359
  const _sfc_main$1a = /* @__PURE__ */ defineComponent({
9361
9360
  __name: "SearchBoxProductRegularPrice",
9362
9361
  props: {
@@ -9366,6 +9365,9 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
9366
9365
  },
9367
9366
  setup(__props) {
9368
9367
  const props = __props;
9368
+ const className = computed(() => {
9369
+ return props.options.className;
9370
+ });
9369
9371
  const price = computed(() => {
9370
9372
  var _a, _b;
9371
9373
  return formatPrice(
@@ -9375,11 +9377,13 @@ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
9375
9377
  );
9376
9378
  });
9377
9379
  return (_ctx, _cache) => {
9378
- return openBlock(), createElementBlock("div", _hoisted_1$15, toDisplayString(price.value), 1);
9380
+ return openBlock(), createElementBlock("div", {
9381
+ class: normalizeClass([className.value, "lupa-search-box-product-regular-price"])
9382
+ }, toDisplayString(price.value), 3);
9379
9383
  };
9380
9384
  }
9381
9385
  });
9382
- const _hoisted_1$14 = ["innerHTML"];
9386
+ const _hoisted_1$13 = ["innerHTML"];
9383
9387
  const _hoisted_2$M = { key: 0 };
9384
9388
  const _hoisted_3$z = { key: 1 };
9385
9389
  const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
@@ -9410,7 +9414,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
9410
9414
  key: 0,
9411
9415
  class: [className.value, "lupa-search-box-product-custom"],
9412
9416
  innerHTML: text.value
9413
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$14)) : (openBlock(), createElementBlock("div", mergeProps({
9417
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$13)) : (openBlock(), createElementBlock("div", mergeProps({
9414
9418
  key: 1,
9415
9419
  class: [className.value, "lupa-search-box-product-custom"]
9416
9420
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
@@ -9422,7 +9426,7 @@ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
9422
9426
  };
9423
9427
  }
9424
9428
  });
9425
- const _hoisted_1$13 = ["innerHTML"];
9429
+ const _hoisted_1$12 = ["innerHTML"];
9426
9430
  const _sfc_main$18 = /* @__PURE__ */ defineComponent({
9427
9431
  __name: "SearchBoxProductCustomHtml",
9428
9432
  props: {
@@ -9443,7 +9447,7 @@ const _sfc_main$18 = /* @__PURE__ */ defineComponent({
9443
9447
  return openBlock(), createElementBlock("div", mergeProps({
9444
9448
  class: className.value,
9445
9449
  innerHTML: text.value
9446
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$13);
9450
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$12);
9447
9451
  };
9448
9452
  }
9449
9453
  });
@@ -9671,7 +9675,7 @@ const useSearchResultStore = defineStore("searchResult", () => {
9671
9675
  filterVisibleFilterValues
9672
9676
  };
9673
9677
  });
9674
- const _hoisted_1$12 = { class: "lupa-search-box-add-to-cart-wrapper" };
9678
+ const _hoisted_1$11 = { class: "lupa-search-box-add-to-cart-wrapper" };
9675
9679
  const _hoisted_2$L = { class: "lupa-search-box-product-addtocart" };
9676
9680
  const _hoisted_3$y = ["onClick", "disabled"];
9677
9681
  const _sfc_main$17 = /* @__PURE__ */ defineComponent({
@@ -9701,7 +9705,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
9701
9705
  loading.value = false;
9702
9706
  });
9703
9707
  return (_ctx, _cache) => {
9704
- return openBlock(), createElementBlock("div", _hoisted_1$12, [
9708
+ return openBlock(), createElementBlock("div", _hoisted_1$11, [
9705
9709
  createBaseVNode("div", _hoisted_2$L, [
9706
9710
  createBaseVNode("button", {
9707
9711
  onClick: withModifiers(handleClick, ["stop", "prevent"]),
@@ -9715,7 +9719,7 @@ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
9715
9719
  };
9716
9720
  }
9717
9721
  });
9718
- const _hoisted_1$11 = {
9722
+ const _hoisted_1$10 = {
9719
9723
  key: 1,
9720
9724
  class: "lupa-search-box-element-badge-wrapper"
9721
9725
  };
@@ -9789,7 +9793,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
9789
9793
  class: normalizeClass({ "lupa-loading-dynamic-data": isLoadingDynamicData((_a = _ctx.item) == null ? void 0 : _a.id) }),
9790
9794
  inStock: _ctx.isInStock
9791
9795
  }, null, 8, ["item", "options", "labels", "class", "inStock"])) : createCommentVNode("", true)
9792
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$11, [
9796
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$10, [
9793
9797
  displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
9794
9798
  key: 0,
9795
9799
  item: enhancedItem.value,
@@ -9803,7 +9807,7 @@ const _sfc_main$16 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
9803
9807
  };
9804
9808
  }
9805
9809
  }));
9806
- const _hoisted_1$10 = { class: "lupa-badge-title" };
9810
+ const _hoisted_1$$ = { class: "lupa-badge-title" };
9807
9811
  const _hoisted_2$K = ["src"];
9808
9812
  const _hoisted_3$x = { key: 1 };
9809
9813
  const _hoisted_4$q = {
@@ -9843,7 +9847,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
9843
9847
  class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
9844
9848
  style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
9845
9849
  }, [
9846
- createBaseVNode("span", _hoisted_1$10, [
9850
+ createBaseVNode("span", _hoisted_1$$, [
9847
9851
  image.value ? (openBlock(), createElementBlock("img", {
9848
9852
  key: 0,
9849
9853
  src: image.value
@@ -9855,7 +9859,7 @@ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
9855
9859
  };
9856
9860
  }
9857
9861
  });
9858
- const _hoisted_1$$ = { class: "lupa-generated-badges" };
9862
+ const _hoisted_1$_ = { class: "lupa-generated-badges" };
9859
9863
  const _sfc_main$14 = /* @__PURE__ */ defineComponent({
9860
9864
  __name: "SearchResultGeneratedBadges",
9861
9865
  props: {
@@ -9882,7 +9886,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
9882
9886
  })).filter((b) => Boolean(b.id));
9883
9887
  });
9884
9888
  return (_ctx, _cache) => {
9885
- return openBlock(), createElementBlock("div", _hoisted_1$$, [
9889
+ return openBlock(), createElementBlock("div", _hoisted_1$_, [
9886
9890
  (openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
9887
9891
  return openBlock(), createBlock(_sfc_main$15, {
9888
9892
  key: badge.id,
@@ -9894,7 +9898,7 @@ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
9894
9898
  };
9895
9899
  }
9896
9900
  });
9897
- const _hoisted_1$_ = ["innerHTML"];
9901
+ const _hoisted_1$Z = ["innerHTML"];
9898
9902
  const _sfc_main$13 = /* @__PURE__ */ defineComponent({
9899
9903
  __name: "CustomBadge",
9900
9904
  props: {
@@ -9914,11 +9918,11 @@ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
9914
9918
  return openBlock(), createElementBlock("div", {
9915
9919
  class: normalizeClass(className.value),
9916
9920
  innerHTML: text.value
9917
- }, null, 10, _hoisted_1$_);
9921
+ }, null, 10, _hoisted_1$Z);
9918
9922
  };
9919
9923
  }
9920
9924
  });
9921
- const _hoisted_1$Z = { class: "lupa-text-badges" };
9925
+ const _hoisted_1$Y = { class: "lupa-text-badges" };
9922
9926
  const _sfc_main$12 = /* @__PURE__ */ defineComponent({
9923
9927
  __name: "TextBadge",
9924
9928
  props: {
@@ -9934,7 +9938,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
9934
9938
  return badges.value.slice(0, props.badge.maxItems);
9935
9939
  });
9936
9940
  return (_ctx, _cache) => {
9937
- return openBlock(), createElementBlock("div", _hoisted_1$Z, [
9941
+ return openBlock(), createElementBlock("div", _hoisted_1$Y, [
9938
9942
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
9939
9943
  return openBlock(), createElementBlock("div", {
9940
9944
  class: "lupa-badge lupa-text-badge",
@@ -9945,7 +9949,7 @@ const _sfc_main$12 = /* @__PURE__ */ defineComponent({
9945
9949
  };
9946
9950
  }
9947
9951
  });
9948
- const _hoisted_1$Y = { class: "lupa-image-badges" };
9952
+ const _hoisted_1$X = { class: "lupa-image-badges" };
9949
9953
  const _hoisted_2$J = ["src"];
9950
9954
  const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9951
9955
  __name: "ImageBadge",
@@ -9967,7 +9971,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9967
9971
  return `${props.badge.rootImageUrl}${src}`;
9968
9972
  };
9969
9973
  return (_ctx, _cache) => {
9970
- return openBlock(), createElementBlock("div", _hoisted_1$Y, [
9974
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
9971
9975
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
9972
9976
  return openBlock(), createElementBlock("div", {
9973
9977
  class: "lupa-badge lupa-image-badge",
@@ -9982,7 +9986,7 @@ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
9982
9986
  };
9983
9987
  }
9984
9988
  });
9985
- const _hoisted_1$X = { id: "lupa-search-results-badges" };
9989
+ const _hoisted_1$W = { id: "lupa-search-results-badges" };
9986
9990
  const __default__$3 = {
9987
9991
  components: {
9988
9992
  CustomBadge: _sfc_main$13,
@@ -10046,7 +10050,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
10046
10050
  }
10047
10051
  };
10048
10052
  return (_ctx, _cache) => {
10049
- return openBlock(), createElementBlock("div", _hoisted_1$X, [
10053
+ return openBlock(), createElementBlock("div", _hoisted_1$W, [
10050
10054
  createBaseVNode("div", {
10051
10055
  id: "lupa-badges",
10052
10056
  class: normalizeClass(anchorPosition.value)
@@ -10066,7 +10070,7 @@ const _sfc_main$10 = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValue
10066
10070
  };
10067
10071
  }
10068
10072
  }));
10069
- const _hoisted_1$W = ["href"];
10073
+ const _hoisted_1$V = ["href"];
10070
10074
  const _hoisted_2$I = { class: "lupa-search-box-product-image-section" };
10071
10075
  const _hoisted_3$w = { class: "lupa-search-box-product-details-section" };
10072
10076
  const _hoisted_4$p = {
@@ -10178,7 +10182,7 @@ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
10178
10182
  isInStock: isInStock.value
10179
10183
  }, null, 8, ["item", "element", "labels", "link", "isInStock"])
10180
10184
  ])) : createCommentVNode("", true)
10181
- ], 16, _hoisted_1$W);
10185
+ ], 16, _hoisted_1$V);
10182
10186
  };
10183
10187
  }
10184
10188
  });
@@ -10239,7 +10243,7 @@ const useTrackingStore = defineStore("tracking", () => {
10239
10243
  };
10240
10244
  return { trackSearch, trackResults, trackEvent };
10241
10245
  });
10242
- const _hoisted_1$V = { id: "lupa-search-box-products" };
10246
+ const _hoisted_1$U = { id: "lupa-search-box-products" };
10243
10247
  const _sfc_main$_ = /* @__PURE__ */ defineComponent({
10244
10248
  __name: "SearchBoxProducts",
10245
10249
  props: {
@@ -10301,7 +10305,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
10301
10305
  handleRoutingEvent(link, event, boxRoutingBehavior.value === "event");
10302
10306
  };
10303
10307
  return (_ctx, _cache) => {
10304
- return openBlock(), createElementBlock("div", _hoisted_1$V, [
10308
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
10305
10309
  _ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index) => {
10306
10310
  return renderSlot(_ctx.$slots, "productCard", {
10307
10311
  key: index,
@@ -10328,7 +10332,7 @@ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
10328
10332
  };
10329
10333
  }
10330
10334
  });
10331
- const _hoisted_1$U = { class: "lupa-search-box-documents-go-to-results-wrapper" };
10335
+ const _hoisted_1$T = { class: "lupa-search-box-documents-go-to-results-wrapper" };
10332
10336
  const _hoisted_2$H = { key: 0 };
10333
10337
  const _sfc_main$Z = /* @__PURE__ */ defineComponent({
10334
10338
  __name: "SearchBoxProductsGoToResultsButton",
@@ -10360,7 +10364,7 @@ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
10360
10364
  emit2("goToResults");
10361
10365
  };
10362
10366
  return (_ctx, _cache) => {
10363
- return openBlock(), createElementBlock("div", _hoisted_1$U, [
10367
+ return openBlock(), createElementBlock("div", _hoisted_1$T, [
10364
10368
  createBaseVNode("button", {
10365
10369
  class: "lupa-search-box-documents-go-to-results-button",
10366
10370
  onClick: goToResults
@@ -10549,7 +10553,7 @@ const _sfc_main$X = /* @__PURE__ */ defineComponent({
10549
10553
  };
10550
10554
  }
10551
10555
  });
10552
- const _hoisted_1$T = {
10556
+ const _hoisted_1$S = {
10553
10557
  key: 0,
10554
10558
  id: "lupa-search-box-panel"
10555
10559
  };
@@ -10719,7 +10723,7 @@ const _sfc_main$W = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
10719
10723
  ref_key: "panelContainer",
10720
10724
  ref: panelContainer
10721
10725
  }, [
10722
- displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$T, [
10726
+ displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$S, [
10723
10727
  labels.value.closePanel ? (openBlock(), createElementBlock("a", {
10724
10728
  key: 0,
10725
10729
  class: "lupa-search-box-close-panel",
@@ -10802,7 +10806,7 @@ const unbindSearchTriggers = (triggers = [], event) => {
10802
10806
  const elements = getElements(triggers);
10803
10807
  elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
10804
10808
  };
10805
- const _hoisted_1$S = { id: "lupa-search-box" };
10809
+ const _hoisted_1$R = { id: "lupa-search-box" };
10806
10810
  const _hoisted_2$F = { class: "lupa-search-box-wrapper" };
10807
10811
  const _sfc_main$V = /* @__PURE__ */ defineComponent({
10808
10812
  __name: "SearchBox",
@@ -10919,6 +10923,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
10919
10923
  opened.value = true;
10920
10924
  inputValue.value = (_a2 = value == null ? void 0 : value.replace(/\s+$/, "")) != null ? _a2 : "";
10921
10925
  suggestedValue.value = defaultSuggestedValue;
10926
+ searchBoxStore.resetHighlightIndex();
10922
10927
  trackSearchQuery(value);
10923
10928
  if (props.isSearchContainer) {
10924
10929
  goToResultsDebounced({
@@ -11055,7 +11060,7 @@ const _sfc_main$V = /* @__PURE__ */ defineComponent({
11055
11060
  };
11056
11061
  return (_ctx, _cache) => {
11057
11062
  var _a2;
11058
- return openBlock(), createElementBlock("div", _hoisted_1$S, [
11063
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
11059
11064
  createBaseVNode("div", _hoisted_2$F, [
11060
11065
  createVNode(_sfc_main$1n, {
11061
11066
  options: inputOptions.value,
@@ -11157,7 +11162,7 @@ const getSearchParams = (url, params, baseUrl) => {
11157
11162
  }
11158
11163
  return searchParams;
11159
11164
  };
11160
- const _hoisted_1$R = {
11165
+ const _hoisted_1$Q = {
11161
11166
  key: 0,
11162
11167
  id: "lupa-search-results-did-you-mean"
11163
11168
  };
@@ -11202,7 +11207,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
11202
11207
  paramStore.goToResults({ searchText, facet });
11203
11208
  };
11204
11209
  return (_ctx, _cache) => {
11205
- return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$R, [
11210
+ return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$Q, [
11206
11211
  unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$E, [
11207
11212
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
11208
11213
  return openBlock(), createElementBlock("span", { key: index }, [
@@ -11228,7 +11233,7 @@ const _sfc_main$U = /* @__PURE__ */ defineComponent({
11228
11233
  };
11229
11234
  }
11230
11235
  });
11231
- const _hoisted_1$Q = {
11236
+ const _hoisted_1$P = {
11232
11237
  key: 0,
11233
11238
  class: "lupa-search-results-summary"
11234
11239
  };
@@ -11248,7 +11253,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
11248
11253
  return addParamsToLabel(props.label, range, `<span>${totalItems.value}</span>`);
11249
11254
  });
11250
11255
  return (_ctx, _cache) => {
11251
- return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$Q, [
11256
+ return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
11252
11257
  createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$D),
11253
11258
  _ctx.clearable ? (openBlock(), createElementBlock("span", {
11254
11259
  key: 0,
@@ -11260,7 +11265,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
11260
11265
  };
11261
11266
  }
11262
11267
  });
11263
- const _hoisted_1$P = {
11268
+ const _hoisted_1$O = {
11264
11269
  key: 0,
11265
11270
  class: "lupa-result-page-title",
11266
11271
  "data-cy": "lupa-result-page-title"
@@ -11311,7 +11316,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
11311
11316
  });
11312
11317
  return (_ctx, _cache) => {
11313
11318
  return openBlock(), createElementBlock("div", null, [
11314
- showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$P, [
11319
+ showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$O, [
11315
11320
  createTextVNode(toDisplayString(_ctx.options.labels.searchResults), 1),
11316
11321
  queryText.value ? (openBlock(), createElementBlock("span", _hoisted_2$C, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
11317
11322
  showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$t, [
@@ -11333,7 +11338,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
11333
11338
  };
11334
11339
  }
11335
11340
  });
11336
- const _hoisted_1$O = { class: "lupa-search-result-filter-value" };
11341
+ const _hoisted_1$N = { class: "lupa-search-result-filter-value" };
11337
11342
  const _hoisted_2$B = {
11338
11343
  class: "lupa-current-filter-label",
11339
11344
  "data-cy": "lupa-current-filter-label"
@@ -11354,7 +11359,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11354
11359
  emit2("remove", { filter: props.filter });
11355
11360
  };
11356
11361
  return (_ctx, _cache) => {
11357
- return openBlock(), createElementBlock("div", _hoisted_1$O, [
11362
+ return openBlock(), createElementBlock("div", _hoisted_1$N, [
11358
11363
  createBaseVNode("div", {
11359
11364
  class: "lupa-current-filter-action",
11360
11365
  onClick: handleClick
@@ -11365,7 +11370,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
11365
11370
  };
11366
11371
  }
11367
11372
  });
11368
- const _hoisted_1$N = { class: "lupa-filter-title-text" };
11373
+ const _hoisted_1$M = { class: "lupa-filter-title-text" };
11369
11374
  const _hoisted_2$A = {
11370
11375
  key: 0,
11371
11376
  class: "lupa-filter-count"
@@ -11448,7 +11453,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
11448
11453
  class: "lupa-current-filter-title",
11449
11454
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
11450
11455
  }, [
11451
- createBaseVNode("div", _hoisted_1$N, [
11456
+ createBaseVNode("div", _hoisted_1$M, [
11452
11457
  createTextVNode(toDisplayString((_c = (_b = (_a = _ctx.options) == null ? void 0 : _a.labels) == null ? void 0 : _b.title) != null ? _c : "") + " ", 1),
11453
11458
  _ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$A, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
11454
11459
  ]),
@@ -11477,7 +11482,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
11477
11482
  };
11478
11483
  }
11479
11484
  });
11480
- const _hoisted_1$M = ["href"];
11485
+ const _hoisted_1$L = ["href"];
11481
11486
  const _sfc_main$P = /* @__PURE__ */ defineComponent({
11482
11487
  __name: "CategoryFilterItem",
11483
11488
  props: {
@@ -11515,12 +11520,12 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
11515
11520
  "data-cy": "lupa-child-category-item",
11516
11521
  href: urlLink.value,
11517
11522
  onClick: handleNavigation
11518
- }, toDisplayString(title.value), 9, _hoisted_1$M)
11523
+ }, toDisplayString(title.value), 9, _hoisted_1$L)
11519
11524
  ], 2);
11520
11525
  };
11521
11526
  }
11522
11527
  });
11523
- const _hoisted_1$L = {
11528
+ const _hoisted_1$K = {
11524
11529
  class: "lupa-category-filter",
11525
11530
  "data-cy": "lupa-category-filter"
11526
11531
  };
@@ -11614,7 +11619,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
11614
11619
  };
11615
11620
  __expose({ fetch: fetch2 });
11616
11621
  return (_ctx, _cache) => {
11617
- return openBlock(), createElementBlock("div", _hoisted_1$L, [
11622
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
11618
11623
  createBaseVNode("div", _hoisted_2$z, [
11619
11624
  hasBackButton.value ? (openBlock(), createElementBlock("a", {
11620
11625
  key: 0,
@@ -11646,7 +11651,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
11646
11651
  };
11647
11652
  }
11648
11653
  });
11649
- const _hoisted_1$K = {
11654
+ const _hoisted_1$J = {
11650
11655
  class: "lupa-search-result-facet-term-values",
11651
11656
  "data-cy": "lupa-search-result-facet-term-values"
11652
11657
  };
@@ -11733,7 +11738,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
11733
11738
  return selectedItems == null ? void 0 : selectedItems.includes((_b = item.title) == null ? void 0 : _b.toString());
11734
11739
  };
11735
11740
  return (_ctx, _cache) => {
11736
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
11741
+ return openBlock(), createElementBlock("div", _hoisted_1$J, [
11737
11742
  isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
11738
11743
  key: 0,
11739
11744
  class: "lupa-term-filter",
@@ -12751,7 +12756,7 @@ var m = { name: "Slider", emits: ["input", "update:modelValue", "start", "slide"
12751
12756
  m.render = function(e2, t, r, i, n, o) {
12752
12757
  return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
12753
12758
  }, m.__file = "src/Slider.vue";
12754
- const _hoisted_1$J = { class: "lupa-search-result-facet-stats-values" };
12759
+ const _hoisted_1$I = { class: "lupa-search-result-facet-stats-values" };
12755
12760
  const _hoisted_2$x = {
12756
12761
  key: 0,
12757
12762
  class: "lupa-stats-facet-summary"
@@ -12952,7 +12957,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
12952
12957
  innerSliderRange.value = value;
12953
12958
  };
12954
12959
  return (_ctx, _cache) => {
12955
- return openBlock(), createElementBlock("div", _hoisted_1$J, [
12960
+ return openBlock(), createElementBlock("div", _hoisted_1$I, [
12956
12961
  !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$o, [
12957
12962
  createBaseVNode("div", null, [
12958
12963
  rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_4$i, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
@@ -13019,7 +13024,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
13019
13024
  };
13020
13025
  }
13021
13026
  });
13022
- const _hoisted_1$I = { class: "lupa-term-checkbox-wrapper" };
13027
+ const _hoisted_1$H = { class: "lupa-term-checkbox-wrapper" };
13023
13028
  const _hoisted_2$w = { class: "lupa-term-checkbox-label" };
13024
13029
  const _hoisted_3$n = { class: "lupa-term-label" };
13025
13030
  const _hoisted_4$h = {
@@ -13076,7 +13081,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
13076
13081
  "data-cy": "lupa-facet-term",
13077
13082
  onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
13078
13083
  }, [
13079
- createBaseVNode("div", _hoisted_1$I, [
13084
+ createBaseVNode("div", _hoisted_1$H, [
13080
13085
  createBaseVNode("span", {
13081
13086
  class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
13082
13087
  }, null, 2)
@@ -13102,7 +13107,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
13102
13107
  };
13103
13108
  }
13104
13109
  });
13105
- const _hoisted_1$H = {
13110
+ const _hoisted_1$G = {
13106
13111
  class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
13107
13112
  "data-cy": "lupa-search-result-facet-term-values"
13108
13113
  };
@@ -13158,7 +13163,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
13158
13163
  showAll.value = true;
13159
13164
  };
13160
13165
  return (_ctx, _cache) => {
13161
- return openBlock(), createElementBlock("div", _hoisted_1$H, [
13166
+ return openBlock(), createElementBlock("div", _hoisted_1$G, [
13162
13167
  isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$v, [
13163
13168
  withDirectives(createBaseVNode("input", {
13164
13169
  class: "lupa-term-filter",
@@ -13190,7 +13195,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
13190
13195
  };
13191
13196
  }
13192
13197
  });
13193
- const _hoisted_1$G = { class: "lupa-facet-label-text" };
13198
+ const _hoisted_1$F = { class: "lupa-facet-label-text" };
13194
13199
  const _hoisted_2$u = {
13195
13200
  key: 0,
13196
13201
  class: "lupa-facet-content",
@@ -13315,7 +13320,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
13315
13320
  "data-cy": "lupa-search-result-facet-label",
13316
13321
  onClick: toggleFacet
13317
13322
  }, [
13318
- createBaseVNode("div", _hoisted_1$G, toDisplayString(facet.value.label), 1),
13323
+ createBaseVNode("div", _hoisted_1$F, toDisplayString(facet.value.label), 1),
13319
13324
  createBaseVNode("div", {
13320
13325
  class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
13321
13326
  }, null, 2)
@@ -13338,7 +13343,7 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent(__spreadProps(__spreadValues
13338
13343
  };
13339
13344
  }
13340
13345
  }));
13341
- const _hoisted_1$F = { class: "lupa-search-result-facet-section" };
13346
+ const _hoisted_1$E = { class: "lupa-search-result-facet-section" };
13342
13347
  const _hoisted_2$t = {
13343
13348
  key: 0,
13344
13349
  class: "lupa-facets-title"
@@ -13377,7 +13382,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
13377
13382
  };
13378
13383
  return (_ctx, _cache) => {
13379
13384
  var _a;
13380
- return openBlock(), createElementBlock("div", _hoisted_1$F, [
13385
+ return openBlock(), createElementBlock("div", _hoisted_1$E, [
13381
13386
  _ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$t, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
13382
13387
  createBaseVNode("div", {
13383
13388
  class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a = _ctx.facetStyle) != null ? _a : "")])
@@ -13399,7 +13404,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
13399
13404
  };
13400
13405
  }
13401
13406
  });
13402
- const _hoisted_1$E = ["onClick"];
13407
+ const _hoisted_1$D = ["onClick"];
13403
13408
  const _sfc_main$H = /* @__PURE__ */ defineComponent({
13404
13409
  __name: "FacetsButton",
13405
13410
  props: {
@@ -13420,11 +13425,11 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
13420
13425
  key: 0,
13421
13426
  class: "lupa-facets-button-filter",
13422
13427
  onClick: withModifiers(handleClick, ["stop"])
13423
- }, toDisplayString(label.value), 9, _hoisted_1$E)) : createCommentVNode("", true);
13428
+ }, toDisplayString(label.value), 9, _hoisted_1$D)) : createCommentVNode("", true);
13424
13429
  };
13425
13430
  }
13426
13431
  });
13427
- const _hoisted_1$D = { class: "lupa-search-result-facets" };
13432
+ const _hoisted_1$C = { class: "lupa-search-result-facets" };
13428
13433
  const _hoisted_2$s = { class: "lupa-facets-filter-button-wrapper" };
13429
13434
  const _sfc_main$G = /* @__PURE__ */ defineComponent({
13430
13435
  __name: "Facets",
@@ -13509,7 +13514,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
13509
13514
  emit2("filter");
13510
13515
  };
13511
13516
  return (_ctx, _cache) => {
13512
- return openBlock(), createElementBlock("div", _hoisted_1$D, [
13517
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
13513
13518
  regularFacets.value ? (openBlock(), createBlock(_sfc_main$I, {
13514
13519
  key: 0,
13515
13520
  options: _ctx.options,
@@ -13531,7 +13536,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
13531
13536
  };
13532
13537
  }
13533
13538
  });
13534
- const _hoisted_1$C = {
13539
+ const _hoisted_1$B = {
13535
13540
  id: "lupa-search-result-filters",
13536
13541
  class: "lupa-search-result-filters"
13537
13542
  };
@@ -13568,7 +13573,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
13568
13573
  __expose({ fetch: fetch2 });
13569
13574
  return (_ctx, _cache) => {
13570
13575
  var _a;
13571
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
13576
+ return openBlock(), createElementBlock("div", _hoisted_1$B, [
13572
13577
  showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$Q, {
13573
13578
  key: 0,
13574
13579
  options: _ctx.options.currentFilters,
@@ -13589,7 +13594,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
13589
13594
  };
13590
13595
  }
13591
13596
  });
13592
- const _hoisted_1$B = {
13597
+ const _hoisted_1$A = {
13593
13598
  key: 0,
13594
13599
  class: "lupa-mobile-filter-sidebar"
13595
13600
  };
@@ -13633,7 +13638,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
13633
13638
  handleMobileToggle();
13634
13639
  };
13635
13640
  return (_ctx, _cache) => {
13636
- return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
13641
+ return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
13637
13642
  createBaseVNode("div", {
13638
13643
  class: "lupa-sidebar-close",
13639
13644
  onClick: withModifiers(handleMobileToggle, ["stop"])
@@ -13661,7 +13666,7 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
13661
13666
  };
13662
13667
  }
13663
13668
  });
13664
- const _hoisted_1$A = { id: "lupa-search-results-breadcrumbs" };
13669
+ const _hoisted_1$z = { id: "lupa-search-results-breadcrumbs" };
13665
13670
  const _hoisted_2$q = ["href", "onClick"];
13666
13671
  const _hoisted_3$k = {
13667
13672
  key: 1,
@@ -13693,7 +13698,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
13693
13698
  handleRoutingEvent(link, event, hasEventRouting.value);
13694
13699
  };
13695
13700
  return (_ctx, _cache) => {
13696
- return openBlock(), createElementBlock("div", _hoisted_1$A, [
13701
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
13697
13702
  (openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
13698
13703
  return openBlock(), createElementBlock("span", {
13699
13704
  class: "lupa-search-results-breadcrumb",
@@ -13715,9 +13720,9 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
13715
13720
  };
13716
13721
  }
13717
13722
  });
13718
- const _hoisted_1$z = {
13723
+ const _hoisted_1$y = {
13719
13724
  id: "lupa-search-result-filters",
13720
- class: "lupa-search-result-filters"
13725
+ class: "lupa-search-result-filters lupa-search-result-top-filters"
13721
13726
  };
13722
13727
  const _sfc_main$C = /* @__PURE__ */ defineComponent({
13723
13728
  __name: "FiltersTopDropdown",
@@ -13731,7 +13736,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
13731
13736
  };
13732
13737
  return (_ctx, _cache) => {
13733
13738
  var _a;
13734
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
13739
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
13735
13740
  _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$G, {
13736
13741
  key: 0,
13737
13742
  options: _ctx.options.facets,
@@ -13743,7 +13748,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
13743
13748
  };
13744
13749
  }
13745
13750
  });
13746
- const _hoisted_1$y = { id: "lupa-search-results-layout-selection" };
13751
+ const _hoisted_1$x = { id: "lupa-search-results-layout-selection" };
13747
13752
  const _sfc_main$B = /* @__PURE__ */ defineComponent({
13748
13753
  __name: "SearchResultsLayoutSelection",
13749
13754
  setup(__props) {
@@ -13755,7 +13760,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
13755
13760
  searchResultStore.setLayout(layout2);
13756
13761
  };
13757
13762
  return (_ctx, _cache) => {
13758
- return openBlock(), createElementBlock("div", _hoisted_1$y, [
13763
+ return openBlock(), createElementBlock("div", _hoisted_1$x, [
13759
13764
  createBaseVNode("div", {
13760
13765
  class: normalizeClass([
13761
13766
  "lupa-layout-selection-grid",
@@ -13777,7 +13782,7 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
13777
13782
  };
13778
13783
  }
13779
13784
  });
13780
- const _hoisted_1$x = {
13785
+ const _hoisted_1$w = {
13781
13786
  key: 0,
13782
13787
  class: "lupa-mobile-toggle-filter-count"
13783
13788
  };
@@ -13799,12 +13804,12 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
13799
13804
  onClick: handleMobileToggle
13800
13805
  }, [
13801
13806
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
13802
- _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$x, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
13807
+ _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$w, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
13803
13808
  ], 2);
13804
13809
  };
13805
13810
  }
13806
13811
  });
13807
- const _hoisted_1$w = {
13812
+ const _hoisted_1$v = {
13808
13813
  key: 0,
13809
13814
  id: "lupa-search-results-page-select",
13810
13815
  "data-cy": "lupa-search-results-page-select"
@@ -13895,7 +13900,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
13895
13900
  }
13896
13901
  };
13897
13902
  return (_ctx, _cache) => {
13898
- return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
13903
+ return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
13899
13904
  showBack.value ? (openBlock(), createElementBlock("div", {
13900
13905
  key: 0,
13901
13906
  class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
@@ -13939,7 +13944,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
13939
13944
  };
13940
13945
  }
13941
13946
  });
13942
- const _hoisted_1$v = {
13947
+ const _hoisted_1$u = {
13943
13948
  id: "lupa-search-results-page-size",
13944
13949
  "data-cy": "lupa-search-results-page-size"
13945
13950
  };
@@ -13975,7 +13980,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
13975
13980
  });
13976
13981
  };
13977
13982
  return (_ctx, _cache) => {
13978
- return openBlock(), createElementBlock("div", _hoisted_1$v, [
13983
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
13979
13984
  createBaseVNode("div", _hoisted_2$o, [
13980
13985
  createBaseVNode("label", _hoisted_3$i, toDisplayString(label.value), 1),
13981
13986
  createBaseVNode("select", {
@@ -13998,7 +14003,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
13998
14003
  };
13999
14004
  }
14000
14005
  });
14001
- const _hoisted_1$u = {
14006
+ const _hoisted_1$t = {
14002
14007
  id: "lupa-search-results-sort",
14003
14008
  class: "lupa-search-results-sort"
14004
14009
  };
@@ -14055,7 +14060,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
14055
14060
  previousKey.value = selectedKey.value;
14056
14061
  };
14057
14062
  return (_ctx, _cache) => {
14058
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
14063
+ return openBlock(), createElementBlock("div", _hoisted_1$t, [
14059
14064
  createBaseVNode("div", _hoisted_2$n, [
14060
14065
  createBaseVNode("label", _hoisted_3$h, toDisplayString(_ctx.options.label), 1),
14061
14066
  withDirectives(createBaseVNode("select", {
@@ -14080,7 +14085,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
14080
14085
  };
14081
14086
  }
14082
14087
  });
14083
- const _hoisted_1$t = { class: "lupa-toolbar-left" };
14088
+ const _hoisted_1$s = { class: "lupa-toolbar-left" };
14084
14089
  const _hoisted_2$m = {
14085
14090
  key: 0,
14086
14091
  class: "lupa-toolbar-right-title"
@@ -14202,7 +14207,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
14202
14207
  id: "lupa-search-results-toolbar",
14203
14208
  class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
14204
14209
  }, [
14205
- createBaseVNode("div", _hoisted_1$t, [
14210
+ createBaseVNode("div", _hoisted_1$s, [
14206
14211
  toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
14207
14212
  showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$B, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$g)),
14208
14213
  showItemSummary.value ? (openBlock(), createBlock(_sfc_main$T, {
@@ -14256,7 +14261,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
14256
14261
  };
14257
14262
  }
14258
14263
  });
14259
- const _hoisted_1$s = ["innerHTML"];
14264
+ const _hoisted_1$r = ["innerHTML"];
14260
14265
  const _hoisted_2$l = ["title"];
14261
14266
  const _hoisted_3$f = {
14262
14267
  key: 0,
@@ -14296,7 +14301,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
14296
14301
  class: "lupa-search-results-product-title",
14297
14302
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
14298
14303
  innerHTML: title.value
14299
- }, null, 12, _hoisted_1$s)) : (openBlock(), createElementBlock("div", {
14304
+ }, null, 12, _hoisted_1$r)) : (openBlock(), createElementBlock("div", {
14300
14305
  key: 1,
14301
14306
  class: "lupa-search-results-product-title",
14302
14307
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
@@ -14313,7 +14318,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
14313
14318
  };
14314
14319
  }
14315
14320
  });
14316
- const _hoisted_1$r = ["innerHTML"];
14321
+ const _hoisted_1$q = ["innerHTML"];
14317
14322
  const _sfc_main$t = /* @__PURE__ */ defineComponent({
14318
14323
  __name: "SearchResultsProductDescription",
14319
14324
  props: {
@@ -14338,7 +14343,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
14338
14343
  class: "lupa-search-results-product-description",
14339
14344
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
14340
14345
  innerHTML: description.value
14341
- }, null, 12, _hoisted_1$r)) : (openBlock(), createElementBlock("div", {
14346
+ }, null, 12, _hoisted_1$q)) : (openBlock(), createElementBlock("div", {
14342
14347
  key: 1,
14343
14348
  class: "lupa-search-results-product-description",
14344
14349
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
@@ -14346,7 +14351,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
14346
14351
  };
14347
14352
  }
14348
14353
  });
14349
- const _hoisted_1$q = { id: "lupa-search-results-rating" };
14354
+ const _hoisted_1$p = { id: "lupa-search-results-rating" };
14350
14355
  const _hoisted_2$k = { class: "lupa-ratings" };
14351
14356
  const _hoisted_3$e = { class: "lupa-ratings-base" };
14352
14357
  const _hoisted_4$9 = ["innerHTML"];
@@ -14385,7 +14390,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
14385
14390
  return generateLink(props.options.links.ratingDetails, props.item);
14386
14391
  });
14387
14392
  return (_ctx, _cache) => {
14388
- return openBlock(), createElementBlock("div", _hoisted_1$q, [
14393
+ return openBlock(), createElementBlock("div", _hoisted_1$p, [
14389
14394
  createBaseVNode("div", _hoisted_2$k, [
14390
14395
  createBaseVNode("div", _hoisted_3$e, [
14391
14396
  (openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
@@ -14419,7 +14424,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
14419
14424
  };
14420
14425
  }
14421
14426
  });
14422
- const _hoisted_1$p = {
14427
+ const _hoisted_1$o = {
14423
14428
  class: "lupa-search-results-product-regular-price",
14424
14429
  "data-cy": "lupa-search-results-product-regular-price"
14425
14430
  };
@@ -14441,14 +14446,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
14441
14446
  );
14442
14447
  });
14443
14448
  return (_ctx, _cache) => {
14444
- return openBlock(), createElementBlock("div", _hoisted_1$p, toDisplayString(price.value), 1);
14449
+ return openBlock(), createElementBlock("div", _hoisted_1$o, toDisplayString(price.value), 1);
14445
14450
  };
14446
14451
  }
14447
14452
  });
14448
- const _hoisted_1$o = {
14449
- class: "lupa-search-results-product-price",
14450
- "data-cy": "lupa-search-results-product-price"
14451
- };
14452
14453
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
14453
14454
  __name: "SearchResultsProductPrice",
14454
14455
  props: {
@@ -14458,6 +14459,9 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14458
14459
  },
14459
14460
  setup(__props) {
14460
14461
  const props = __props;
14462
+ const className = computed(() => {
14463
+ return props.options.className;
14464
+ });
14461
14465
  const price = computed(() => {
14462
14466
  var _a, _b;
14463
14467
  return formatPrice(
@@ -14467,9 +14471,12 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
14467
14471
  );
14468
14472
  });
14469
14473
  return (_ctx, _cache) => {
14470
- return openBlock(), createElementBlock("div", _hoisted_1$o, [
14474
+ return openBlock(), createElementBlock("div", {
14475
+ class: normalizeClass([className.value, "lupa-search-results-product-price"]),
14476
+ "data-cy": "lupa-search-results-product-price"
14477
+ }, [
14471
14478
  createBaseVNode("strong", null, toDisplayString(price.value), 1)
14472
- ]);
14479
+ ], 2);
14473
14480
  };
14474
14481
  }
14475
14482
  });
@@ -29586,7 +29593,8 @@ const applyStyles = (configuration2) => __async2(void 0, null, function* () {
29586
29593
  styleElement.innerHTML = `
29587
29594
  @import url('${baseStyleLink}');
29588
29595
  @import url('https://cdn.jsdelivr.net/npm/@mdi/font@latest/css/materialdesignicons.min.css')
29589
- ${(_a = configuration2.customStyles) != null ? _a : ""}`;
29596
+ ${(_a = configuration2.customStyles) != null ? _a : ""}
29597
+ `;
29590
29598
  }
29591
29599
  document.head.appendChild(styleElement);
29592
29600
  });