@getlupa/client 1.14.5 → 1.14.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6318,6 +6318,44 @@ var __async = (__this, __arguments, generator) => {
6318
6318
  return fn(event, ...args);
6319
6319
  };
6320
6320
  };
6321
+ const vShow = {
6322
+ beforeMount(el, { value }, { transition }) {
6323
+ el._vod = el.style.display === "none" ? "" : el.style.display;
6324
+ if (transition && value) {
6325
+ transition.beforeEnter(el);
6326
+ } else {
6327
+ setDisplay(el, value);
6328
+ }
6329
+ },
6330
+ mounted(el, { value }, { transition }) {
6331
+ if (transition && value) {
6332
+ transition.enter(el);
6333
+ }
6334
+ },
6335
+ updated(el, { value, oldValue }, { transition }) {
6336
+ if (!value === !oldValue)
6337
+ return;
6338
+ if (transition) {
6339
+ if (value) {
6340
+ transition.beforeEnter(el);
6341
+ setDisplay(el, true);
6342
+ transition.enter(el);
6343
+ } else {
6344
+ transition.leave(el, () => {
6345
+ setDisplay(el, false);
6346
+ });
6347
+ }
6348
+ } else {
6349
+ setDisplay(el, value);
6350
+ }
6351
+ },
6352
+ beforeUnmount(el, { value }) {
6353
+ setDisplay(el, value);
6354
+ }
6355
+ };
6356
+ function setDisplay(el, value) {
6357
+ el.style.display = value ? el._vod : "none";
6358
+ }
6321
6359
  const rendererOptions = /* @__PURE__ */ extend({ patchProp }, nodeOps);
6322
6360
  let renderer;
6323
6361
  function ensureRenderer() {
@@ -8560,20 +8598,20 @@ var __async = (__this, __arguments, generator) => {
8560
8598
  resetHighlightIndex
8561
8599
  };
8562
8600
  });
8563
- const _hoisted_1$1d = { id: "lupa-search-box-input-container" };
8601
+ const _hoisted_1$1e = { id: "lupa-search-box-input-container" };
8564
8602
  const _hoisted_2$S = { class: "lupa-input-clear" };
8565
8603
  const _hoisted_3$B = { id: "lupa-search-box-input" };
8566
- const _hoisted_4$t = ["value"];
8567
- const _hoisted_5$k = ["aria-label", "placeholder"];
8568
- const _hoisted_6$a = /* @__PURE__ */ createBaseVNode("span", { class: "lupa-search-submit-icon" }, null, -1);
8604
+ const _hoisted_4$s = ["value"];
8605
+ const _hoisted_5$i = ["aria-label", "placeholder"];
8606
+ const _hoisted_6$9 = /* @__PURE__ */ createBaseVNode("span", { class: "lupa-search-submit-icon" }, null, -1);
8569
8607
  const _hoisted_7$7 = [
8570
- _hoisted_6$a
8608
+ _hoisted_6$9
8571
8609
  ];
8572
8610
  const _hoisted_8$3 = {
8573
8611
  key: 0,
8574
8612
  class: "lupa-close-label"
8575
8613
  };
8576
- const _sfc_main$1n = /* @__PURE__ */ defineComponent({
8614
+ const _sfc_main$1p = /* @__PURE__ */ defineComponent({
8577
8615
  __name: "SearchBoxInput",
8578
8616
  props: {
8579
8617
  options: {},
@@ -8657,7 +8695,7 @@ var __async = (__this, __arguments, generator) => {
8657
8695
  };
8658
8696
  __expose({ focus });
8659
8697
  return (_ctx, _cache) => {
8660
- return openBlock(), createElementBlock("div", _hoisted_1$1d, [
8698
+ return openBlock(), createElementBlock("div", _hoisted_1$1e, [
8661
8699
  createBaseVNode("div", _hoisted_2$S, [
8662
8700
  createBaseVNode("div", {
8663
8701
  class: normalizeClass(["lupa-input-clear-content", { "lupa-input-clear-filled": inputValue.value }]),
@@ -8670,7 +8708,7 @@ var __async = (__this, __arguments, generator) => {
8670
8708
  "aria-hidden": "true",
8671
8709
  value: showHint.value ? suggestedValue.value.item.suggestion : "",
8672
8710
  disabled: ""
8673
- }, null, 8, _hoisted_4$t),
8711
+ }, null, 8, _hoisted_4$s),
8674
8712
  withDirectives(createBaseVNode("input", mergeProps({
8675
8713
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => inputValue.value = $event)
8676
8714
  }, inputAttributes.value, {
@@ -8684,7 +8722,7 @@ var __async = (__this, __arguments, generator) => {
8684
8722
  placeholder: labels.value.placeholder,
8685
8723
  onInput: handleInput,
8686
8724
  onFocus: handleFocus
8687
- }), null, 16, _hoisted_5$k), [
8725
+ }), null, 16, _hoisted_5$i), [
8688
8726
  [vModelText, inputValue.value]
8689
8727
  ]),
8690
8728
  _ctx.options.showSubmitButton ? (openBlock(), createElementBlock("button", {
@@ -8703,7 +8741,7 @@ var __async = (__this, __arguments, generator) => {
8703
8741
  };
8704
8742
  }
8705
8743
  });
8706
- const _sfc_main$1m = /* @__PURE__ */ defineComponent({
8744
+ const _sfc_main$1o = /* @__PURE__ */ defineComponent({
8707
8745
  __name: "SearchBoxMoreResults",
8708
8746
  props: {
8709
8747
  labels: {},
@@ -8735,9 +8773,9 @@ var __async = (__this, __arguments, generator) => {
8735
8773
  };
8736
8774
  }
8737
8775
  });
8738
- const _hoisted_1$1c = { class: "lupa-search-box-history-item" };
8776
+ const _hoisted_1$1d = { class: "lupa-search-box-history-item" };
8739
8777
  const _hoisted_2$R = { class: "lupa-search-box-history-item-content" };
8740
- const _sfc_main$1l = /* @__PURE__ */ defineComponent({
8778
+ const _sfc_main$1n = /* @__PURE__ */ defineComponent({
8741
8779
  __name: "SearchBoxHistoryItem",
8742
8780
  props: {
8743
8781
  item: {},
@@ -8753,7 +8791,7 @@ var __async = (__this, __arguments, generator) => {
8753
8791
  emit2("click", { query: props.item });
8754
8792
  };
8755
8793
  return (_ctx, _cache) => {
8756
- return openBlock(), createElementBlock("div", _hoisted_1$1c, [
8794
+ return openBlock(), createElementBlock("div", _hoisted_1$1d, [
8757
8795
  createBaseVNode("div", _hoisted_2$R, [
8758
8796
  createBaseVNode("div", {
8759
8797
  class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
@@ -8768,11 +8806,11 @@ var __async = (__this, __arguments, generator) => {
8768
8806
  };
8769
8807
  }
8770
8808
  });
8771
- const _hoisted_1$1b = {
8809
+ const _hoisted_1$1c = {
8772
8810
  key: 0,
8773
8811
  class: "lupa-search-box-history-panel"
8774
8812
  };
8775
- const _sfc_main$1k = /* @__PURE__ */ defineComponent({
8813
+ const _sfc_main$1m = /* @__PURE__ */ defineComponent({
8776
8814
  __name: "SearchBoxHistoryPanel",
8777
8815
  props: {
8778
8816
  options: {}
@@ -8813,9 +8851,9 @@ var __async = (__this, __arguments, generator) => {
8813
8851
  }
8814
8852
  };
8815
8853
  return (_ctx, _cache) => {
8816
- return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1b, [
8854
+ return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1c, [
8817
8855
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(history), (item, index) => {
8818
- return openBlock(), createBlock(_sfc_main$1l, {
8856
+ return openBlock(), createBlock(_sfc_main$1n, {
8819
8857
  key: item,
8820
8858
  item,
8821
8859
  highlighted: index === highlightIndex.value,
@@ -8831,15 +8869,15 @@ var __async = (__this, __arguments, generator) => {
8831
8869
  };
8832
8870
  }
8833
8871
  });
8834
- const _hoisted_1$1a = { class: "lupa-search-box-no-results" };
8835
- const _sfc_main$1j = /* @__PURE__ */ defineComponent({
8872
+ const _hoisted_1$1b = { class: "lupa-search-box-no-results" };
8873
+ const _sfc_main$1l = /* @__PURE__ */ defineComponent({
8836
8874
  __name: "SearchBoxNoResults",
8837
8875
  props: {
8838
8876
  labels: {}
8839
8877
  },
8840
8878
  setup(__props) {
8841
8879
  return (_ctx, _cache) => {
8842
- return openBlock(), createElementBlock("p", _hoisted_1$1a, toDisplayString(_ctx.labels.noResults), 1);
8880
+ return openBlock(), createElementBlock("p", _hoisted_1$1b, toDisplayString(_ctx.labels.noResults), 1);
8843
8881
  };
8844
8882
  }
8845
8883
  });
@@ -8871,7 +8909,7 @@ var __async = (__this, __arguments, generator) => {
8871
8909
  }
8872
8910
  return gridTemplate.join(" ");
8873
8911
  };
8874
- const _hoisted_1$19 = ["innerHTML"];
8912
+ const _hoisted_1$1a = ["innerHTML"];
8875
8913
  const _hoisted_2$Q = {
8876
8914
  key: 1,
8877
8915
  "data-cy": "lupa-suggestion-value",
@@ -8882,15 +8920,15 @@ var __async = (__this, __arguments, generator) => {
8882
8920
  class: "lupa-suggestion-facet",
8883
8921
  "data-cy": "lupa-suggestion-facet"
8884
8922
  };
8885
- const _hoisted_4$s = {
8923
+ const _hoisted_4$r = {
8886
8924
  class: "lupa-suggestion-facet-label",
8887
8925
  "data-cy": "lupa-suggestion-facet-label"
8888
8926
  };
8889
- const _hoisted_5$j = {
8927
+ const _hoisted_5$h = {
8890
8928
  class: "lupa-suggestion-facet-value",
8891
8929
  "data-cy": "lupa-suggestion-facet-value"
8892
8930
  };
8893
- const _sfc_main$1i = /* @__PURE__ */ defineComponent({
8931
+ const _sfc_main$1k = /* @__PURE__ */ defineComponent({
8894
8932
  __name: "SearchBoxSuggestion",
8895
8933
  props: {
8896
8934
  suggestion: {},
@@ -8926,20 +8964,20 @@ var __async = (__this, __arguments, generator) => {
8926
8964
  class: "lupa-suggestion-value",
8927
8965
  "data-cy": "lupa-suggestion-value",
8928
8966
  innerHTML: _ctx.suggestion.displayHighlight
8929
- }, null, 8, _hoisted_1$19)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(_ctx.suggestion.display), 1)),
8967
+ }, null, 8, _hoisted_1$1a)) : (openBlock(), createElementBlock("div", _hoisted_2$Q, toDisplayString(_ctx.suggestion.display), 1)),
8930
8968
  _ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
8931
- createBaseVNode("span", _hoisted_4$s, toDisplayString(facetLabel.value), 1),
8932
- createBaseVNode("span", _hoisted_5$j, toDisplayString(_ctx.suggestion.facet.title), 1)
8969
+ createBaseVNode("span", _hoisted_4$r, toDisplayString(facetLabel.value), 1),
8970
+ createBaseVNode("span", _hoisted_5$h, toDisplayString(_ctx.suggestion.facet.title), 1)
8933
8971
  ])) : createCommentVNode("", true)
8934
8972
  ]);
8935
8973
  };
8936
8974
  }
8937
8975
  });
8938
- const _hoisted_1$18 = {
8976
+ const _hoisted_1$19 = {
8939
8977
  id: "lupa-search-box-suggestions",
8940
8978
  "data-cy": "lupa-search-box-suggestions"
8941
8979
  };
8942
- const _sfc_main$1h = /* @__PURE__ */ defineComponent({
8980
+ const _sfc_main$1j = /* @__PURE__ */ defineComponent({
8943
8981
  __name: "SearchBoxSuggestions",
8944
8982
  props: {
8945
8983
  items: {},
@@ -8999,9 +9037,9 @@ var __async = (__this, __arguments, generator) => {
8999
9037
  });
9000
9038
  });
9001
9039
  return (_ctx, _cache) => {
9002
- return openBlock(), createElementBlock("div", _hoisted_1$18, [
9040
+ return openBlock(), createElementBlock("div", _hoisted_1$19, [
9003
9041
  (openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
9004
- return openBlock(), createBlock(_sfc_main$1i, {
9042
+ return openBlock(), createBlock(_sfc_main$1k, {
9005
9043
  key: getSuggestionKey(item),
9006
9044
  class: normalizeClass(["lupa-suggestion", index === highlightedIndex.value ? "lupa-suggestion-highlighted" : ""]),
9007
9045
  suggestion: item,
@@ -9029,7 +9067,7 @@ var __async = (__this, __arguments, generator) => {
9029
9067
  }, timeout);
9030
9068
  };
9031
9069
  };
9032
- const _sfc_main$1g = /* @__PURE__ */ defineComponent({
9070
+ const _sfc_main$1i = /* @__PURE__ */ defineComponent({
9033
9071
  __name: "SearchBoxSuggestionsWrapper",
9034
9072
  props: {
9035
9073
  panel: {},
@@ -9071,7 +9109,7 @@ var __async = (__this, __arguments, generator) => {
9071
9109
  const getSuggestionsDebounced = debounce$1(getSuggestions, props.debounce);
9072
9110
  watch(() => props.panel.limit, getSuggestionsDebounced);
9073
9111
  return (_ctx, _cache) => {
9074
- return openBlock(), createBlock(_sfc_main$1h, {
9112
+ return openBlock(), createBlock(_sfc_main$1j, {
9075
9113
  items: searchResult.value,
9076
9114
  highlight: _ctx.panel.highlight,
9077
9115
  queryKey: _ctx.panel.queryKey,
@@ -18145,9 +18183,9 @@ and ensure you are accounting for this risk.
18145
18183
  targetImage.src = placeholder;
18146
18184
  }
18147
18185
  };
18148
- const _hoisted_1$17 = ["src"];
18186
+ const _hoisted_1$18 = ["src"];
18149
18187
  const _hoisted_2$P = ["src"];
18150
- const _sfc_main$1f = /* @__PURE__ */ defineComponent({
18188
+ const _sfc_main$1h = /* @__PURE__ */ defineComponent({
18151
18189
  __name: "ProductImage",
18152
18190
  props: {
18153
18191
  item: {},
@@ -18289,7 +18327,7 @@ and ensure you are accounting for this risk.
18289
18327
  }, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
18290
18328
  onError: replaceWithPlaceholder,
18291
18329
  key: finalUrl.value
18292
- }), null, 16, _hoisted_1$17))
18330
+ }), null, 16, _hoisted_1$18))
18293
18331
  ]),
18294
18332
  _: 1
18295
18333
  })) : (openBlock(), createElementBlock("img", mergeProps({
@@ -18302,7 +18340,7 @@ and ensure you are accounting for this risk.
18302
18340
  };
18303
18341
  }
18304
18342
  });
18305
- const _sfc_main$1e = /* @__PURE__ */ defineComponent({
18343
+ const _sfc_main$1g = /* @__PURE__ */ defineComponent({
18306
18344
  __name: "SearchBoxProductImage",
18307
18345
  props: {
18308
18346
  item: {},
@@ -18310,7 +18348,7 @@ and ensure you are accounting for this risk.
18310
18348
  },
18311
18349
  setup(__props) {
18312
18350
  return (_ctx, _cache) => {
18313
- return openBlock(), createBlock(_sfc_main$1f, {
18351
+ return openBlock(), createBlock(_sfc_main$1h, {
18314
18352
  item: _ctx.item,
18315
18353
  options: _ctx.options,
18316
18354
  "wrapper-class": "lupa-search-box-image-wrapper",
@@ -18319,12 +18357,12 @@ and ensure you are accounting for this risk.
18319
18357
  };
18320
18358
  }
18321
18359
  });
18322
- const _hoisted_1$16 = ["innerHTML"];
18360
+ const _hoisted_1$17 = ["innerHTML"];
18323
18361
  const _hoisted_2$O = {
18324
18362
  key: 1,
18325
18363
  class: "lupa-search-box-product-title"
18326
18364
  };
18327
- const _sfc_main$1d = /* @__PURE__ */ defineComponent({
18365
+ const _sfc_main$1f = /* @__PURE__ */ defineComponent({
18328
18366
  __name: "SearchBoxProductTitle",
18329
18367
  props: {
18330
18368
  item: {},
@@ -18347,18 +18385,18 @@ and ensure you are accounting for this risk.
18347
18385
  key: 0,
18348
18386
  class: "lupa-search-box-product-title",
18349
18387
  innerHTML: sanitizedTitle.value
18350
- }, null, 8, _hoisted_1$16)) : (openBlock(), createElementBlock("div", _hoisted_2$O, [
18388
+ }, null, 8, _hoisted_1$17)) : (openBlock(), createElementBlock("div", _hoisted_2$O, [
18351
18389
  createBaseVNode("strong", null, toDisplayString(title.value), 1)
18352
18390
  ]));
18353
18391
  };
18354
18392
  }
18355
18393
  });
18356
- const _hoisted_1$15 = ["innerHTML"];
18394
+ const _hoisted_1$16 = ["innerHTML"];
18357
18395
  const _hoisted_2$N = {
18358
18396
  key: 1,
18359
18397
  class: "lupa-search-box-product-description"
18360
18398
  };
18361
- const _sfc_main$1c = /* @__PURE__ */ defineComponent({
18399
+ const _sfc_main$1e = /* @__PURE__ */ defineComponent({
18362
18400
  __name: "SearchBoxProductDescription",
18363
18401
  props: {
18364
18402
  item: {},
@@ -18381,12 +18419,12 @@ and ensure you are accounting for this risk.
18381
18419
  key: 0,
18382
18420
  class: "lupa-search-box-product-description",
18383
18421
  innerHTML: sanitizedDescription.value
18384
- }, null, 8, _hoisted_1$15)) : (openBlock(), createElementBlock("div", _hoisted_2$N, toDisplayString(description.value), 1));
18422
+ }, null, 8, _hoisted_1$16)) : (openBlock(), createElementBlock("div", _hoisted_2$N, toDisplayString(description.value), 1));
18385
18423
  };
18386
18424
  }
18387
18425
  });
18388
- const _hoisted_1$14 = { class: "lupa-search-box-product-price" };
18389
- const _sfc_main$1b = /* @__PURE__ */ defineComponent({
18426
+ const _hoisted_1$15 = { class: "lupa-search-box-product-price" };
18427
+ const _sfc_main$1d = /* @__PURE__ */ defineComponent({
18390
18428
  __name: "SearchBoxProductPrice",
18391
18429
  props: {
18392
18430
  item: {},
@@ -18404,13 +18442,13 @@ and ensure you are accounting for this risk.
18404
18442
  );
18405
18443
  });
18406
18444
  return (_ctx, _cache) => {
18407
- return openBlock(), createElementBlock("div", _hoisted_1$14, [
18445
+ return openBlock(), createElementBlock("div", _hoisted_1$15, [
18408
18446
  createBaseVNode("strong", null, toDisplayString(price.value), 1)
18409
18447
  ]);
18410
18448
  };
18411
18449
  }
18412
18450
  });
18413
- const _sfc_main$1a = /* @__PURE__ */ defineComponent({
18451
+ const _sfc_main$1c = /* @__PURE__ */ defineComponent({
18414
18452
  __name: "SearchBoxProductRegularPrice",
18415
18453
  props: {
18416
18454
  item: {},
@@ -18437,12 +18475,12 @@ and ensure you are accounting for this risk.
18437
18475
  };
18438
18476
  }
18439
18477
  });
18440
- const _hoisted_1$13 = ["innerHTML"];
18478
+ const _hoisted_1$14 = ["innerHTML"];
18441
18479
  const _hoisted_2$M = { key: 0 };
18442
18480
  const _hoisted_3$z = { key: 1 };
18443
- const _hoisted_4$r = { class: "lupa-search-box-custom-label" };
18444
- const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
18445
- const _sfc_main$19 = /* @__PURE__ */ defineComponent({
18481
+ const _hoisted_4$q = { class: "lupa-search-box-custom-label" };
18482
+ const _hoisted_5$g = { class: "lupa-search-box-custom-text" };
18483
+ const _sfc_main$1b = /* @__PURE__ */ defineComponent({
18446
18484
  __name: "SearchBoxProductCustom",
18447
18485
  props: {
18448
18486
  item: {},
@@ -18468,20 +18506,20 @@ and ensure you are accounting for this risk.
18468
18506
  key: 0,
18469
18507
  class: [className.value, "lupa-search-box-product-custom"],
18470
18508
  innerHTML: text.value
18471
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$13)) : (openBlock(), createElementBlock("div", mergeProps({
18509
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$14)) : (openBlock(), createElementBlock("div", mergeProps({
18472
18510
  key: 1,
18473
18511
  class: [className.value, "lupa-search-box-product-custom"]
18474
18512
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
18475
18513
  !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$M, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$z, [
18476
- createBaseVNode("div", _hoisted_4$r, toDisplayString(label.value), 1),
18477
- createBaseVNode("div", _hoisted_5$i, toDisplayString(text.value), 1)
18514
+ createBaseVNode("div", _hoisted_4$q, toDisplayString(label.value), 1),
18515
+ createBaseVNode("div", _hoisted_5$g, toDisplayString(text.value), 1)
18478
18516
  ]))
18479
18517
  ], 16));
18480
18518
  };
18481
18519
  }
18482
18520
  });
18483
- const _hoisted_1$12 = ["innerHTML"];
18484
- const _sfc_main$18 = /* @__PURE__ */ defineComponent({
18521
+ const _hoisted_1$13 = ["innerHTML"];
18522
+ const _sfc_main$1a = /* @__PURE__ */ defineComponent({
18485
18523
  __name: "SearchBoxProductCustomHtml",
18486
18524
  props: {
18487
18525
  item: {},
@@ -18506,7 +18544,7 @@ and ensure you are accounting for this risk.
18506
18544
  return openBlock(), createElementBlock("div", mergeProps({
18507
18545
  class: className.value,
18508
18546
  innerHTML: text.value
18509
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$12);
18547
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$13);
18510
18548
  };
18511
18549
  }
18512
18550
  });
@@ -18740,10 +18778,10 @@ and ensure you are accounting for this risk.
18740
18778
  setRelatedCategoryChildren
18741
18779
  };
18742
18780
  });
18743
- const _hoisted_1$11 = { class: "lupa-search-box-add-to-cart-wrapper" };
18781
+ const _hoisted_1$12 = { class: "lupa-search-box-add-to-cart-wrapper" };
18744
18782
  const _hoisted_2$L = { class: "lupa-search-box-product-addtocart" };
18745
18783
  const _hoisted_3$y = ["onClick", "disabled"];
18746
- const _sfc_main$17 = /* @__PURE__ */ defineComponent({
18784
+ const _sfc_main$19 = /* @__PURE__ */ defineComponent({
18747
18785
  __name: "SearchBoxProductAddToCart",
18748
18786
  props: {
18749
18787
  item: {},
@@ -18776,7 +18814,7 @@ and ensure you are accounting for this risk.
18776
18814
  loading.value = false;
18777
18815
  });
18778
18816
  return (_ctx, _cache) => {
18779
- return openBlock(), createElementBlock("div", _hoisted_1$11, [
18817
+ return openBlock(), createElementBlock("div", _hoisted_1$12, [
18780
18818
  createBaseVNode("div", _hoisted_2$L, [
18781
18819
  createBaseVNode("button", {
18782
18820
  onClick: withModifiers(handleClick, ["stop", "prevent"]),
@@ -18790,23 +18828,23 @@ and ensure you are accounting for this risk.
18790
18828
  };
18791
18829
  }
18792
18830
  });
18793
- const _hoisted_1$10 = {
18831
+ const _hoisted_1$11 = {
18794
18832
  key: 1,
18795
18833
  class: "lupa-search-box-element-badge-wrapper"
18796
18834
  };
18797
18835
  const __default__$4 = {
18798
18836
  components: {
18799
- SearchBoxProductImage: _sfc_main$1e,
18800
- SearchBoxProductTitle: _sfc_main$1d,
18801
- SearchBoxProductDescription: _sfc_main$1c,
18802
- SearchBoxProductPrice: _sfc_main$1b,
18803
- SearchBoxProductRegularPrice: _sfc_main$1a,
18804
- SearchBoxProductCustom: _sfc_main$19,
18805
- SearchBoxProductCustomHtml: _sfc_main$18,
18806
- SearchBoxProductAddToCart: _sfc_main$17
18837
+ SearchBoxProductImage: _sfc_main$1g,
18838
+ SearchBoxProductTitle: _sfc_main$1f,
18839
+ SearchBoxProductDescription: _sfc_main$1e,
18840
+ SearchBoxProductPrice: _sfc_main$1d,
18841
+ SearchBoxProductRegularPrice: _sfc_main$1c,
18842
+ SearchBoxProductCustom: _sfc_main$1b,
18843
+ SearchBoxProductCustomHtml: _sfc_main$1a,
18844
+ SearchBoxProductAddToCart: _sfc_main$19
18807
18845
  }
18808
18846
  };
18809
- const _sfc_main$16 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
18847
+ const _sfc_main$18 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
18810
18848
  __name: "SearchBoxProductElement",
18811
18849
  props: {
18812
18850
  item: {},
@@ -18869,7 +18907,7 @@ and ensure you are accounting for this risk.
18869
18907
  class: normalizeClass({ "lupa-loading-dynamic-data": isLoadingDynamicData((_a = _ctx.item) == null ? void 0 : _a.id) }),
18870
18908
  inStock: _ctx.isInStock
18871
18909
  }, null, 8, ["item", "options", "labels", "class", "inStock"])) : createCommentVNode("", true)
18872
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$10, [
18910
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$11, [
18873
18911
  displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
18874
18912
  key: 0,
18875
18913
  item: enhancedItem.value,
@@ -18883,14 +18921,14 @@ and ensure you are accounting for this risk.
18883
18921
  };
18884
18922
  }
18885
18923
  }));
18886
- const _hoisted_1$$ = { class: "lupa-badge-title" };
18924
+ const _hoisted_1$10 = { class: "lupa-badge-title" };
18887
18925
  const _hoisted_2$K = ["src"];
18888
18926
  const _hoisted_3$x = { key: 1 };
18889
- const _hoisted_4$q = {
18927
+ const _hoisted_4$p = {
18890
18928
  key: 0,
18891
18929
  class: "lupa-badge-full-text"
18892
18930
  };
18893
- const _sfc_main$15 = /* @__PURE__ */ defineComponent({
18931
+ const _sfc_main$17 = /* @__PURE__ */ defineComponent({
18894
18932
  __name: "SearchResultGeneratedBadge",
18895
18933
  props: {
18896
18934
  options: {},
@@ -18923,20 +18961,20 @@ and ensure you are accounting for this risk.
18923
18961
  class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
18924
18962
  style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
18925
18963
  }, [
18926
- createBaseVNode("span", _hoisted_1$$, [
18964
+ createBaseVNode("span", _hoisted_1$10, [
18927
18965
  image.value ? (openBlock(), createElementBlock("img", {
18928
18966
  key: 0,
18929
18967
  src: image.value
18930
18968
  }, null, 8, _hoisted_2$K)) : createCommentVNode("", true),
18931
18969
  hasTitleText.value && showTitle.value ? (openBlock(), createElementBlock("span", _hoisted_3$x, toDisplayString(_ctx.badge.titleText), 1)) : createCommentVNode("", true)
18932
18970
  ]),
18933
- hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$q, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
18971
+ hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$p, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
18934
18972
  ], 6);
18935
18973
  };
18936
18974
  }
18937
18975
  });
18938
- const _hoisted_1$_ = { class: "lupa-generated-badges" };
18939
- const _sfc_main$14 = /* @__PURE__ */ defineComponent({
18976
+ const _hoisted_1$$ = { class: "lupa-generated-badges" };
18977
+ const _sfc_main$16 = /* @__PURE__ */ defineComponent({
18940
18978
  __name: "SearchResultGeneratedBadges",
18941
18979
  props: {
18942
18980
  options: {}
@@ -18962,9 +19000,9 @@ and ensure you are accounting for this risk.
18962
19000
  })).filter((b) => Boolean(b.id));
18963
19001
  });
18964
19002
  return (_ctx, _cache) => {
18965
- return openBlock(), createElementBlock("div", _hoisted_1$_, [
19003
+ return openBlock(), createElementBlock("div", _hoisted_1$$, [
18966
19004
  (openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
18967
- return openBlock(), createBlock(_sfc_main$15, {
19005
+ return openBlock(), createBlock(_sfc_main$17, {
18968
19006
  key: badge.id,
18969
19007
  badge,
18970
19008
  options: _ctx.options
@@ -18974,8 +19012,8 @@ and ensure you are accounting for this risk.
18974
19012
  };
18975
19013
  }
18976
19014
  });
18977
- const _hoisted_1$Z = ["innerHTML"];
18978
- const _sfc_main$13 = /* @__PURE__ */ defineComponent({
19015
+ const _hoisted_1$_ = ["innerHTML"];
19016
+ const _sfc_main$15 = /* @__PURE__ */ defineComponent({
18979
19017
  __name: "CustomBadge",
18980
19018
  props: {
18981
19019
  badge: {}
@@ -18996,12 +19034,12 @@ and ensure you are accounting for this risk.
18996
19034
  return openBlock(), createElementBlock("div", {
18997
19035
  class: normalizeClass(className.value),
18998
19036
  innerHTML: text.value
18999
- }, null, 10, _hoisted_1$Z);
19037
+ }, null, 10, _hoisted_1$_);
19000
19038
  };
19001
19039
  }
19002
19040
  });
19003
- const _hoisted_1$Y = { class: "lupa-text-badges" };
19004
- const _sfc_main$12 = /* @__PURE__ */ defineComponent({
19041
+ const _hoisted_1$Z = { class: "lupa-text-badges" };
19042
+ const _sfc_main$14 = /* @__PURE__ */ defineComponent({
19005
19043
  __name: "TextBadge",
19006
19044
  props: {
19007
19045
  badge: {}
@@ -19016,7 +19054,7 @@ and ensure you are accounting for this risk.
19016
19054
  return badges.value.slice(0, props.badge.maxItems);
19017
19055
  });
19018
19056
  return (_ctx, _cache) => {
19019
- return openBlock(), createElementBlock("div", _hoisted_1$Y, [
19057
+ return openBlock(), createElementBlock("div", _hoisted_1$Z, [
19020
19058
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
19021
19059
  return openBlock(), createElementBlock("div", {
19022
19060
  class: "lupa-badge lupa-text-badge",
@@ -19027,9 +19065,9 @@ and ensure you are accounting for this risk.
19027
19065
  };
19028
19066
  }
19029
19067
  });
19030
- const _hoisted_1$X = { class: "lupa-image-badges" };
19068
+ const _hoisted_1$Y = { class: "lupa-image-badges" };
19031
19069
  const _hoisted_2$J = ["src"];
19032
- const _sfc_main$11 = /* @__PURE__ */ defineComponent({
19070
+ const _sfc_main$13 = /* @__PURE__ */ defineComponent({
19033
19071
  __name: "ImageBadge",
19034
19072
  props: {
19035
19073
  badge: {}
@@ -19049,7 +19087,7 @@ and ensure you are accounting for this risk.
19049
19087
  return `${props.badge.rootImageUrl}${src}`;
19050
19088
  };
19051
19089
  return (_ctx, _cache) => {
19052
- return openBlock(), createElementBlock("div", _hoisted_1$X, [
19090
+ return openBlock(), createElementBlock("div", _hoisted_1$Y, [
19053
19091
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
19054
19092
  return openBlock(), createElementBlock("div", {
19055
19093
  class: "lupa-badge lupa-image-badge",
@@ -19064,15 +19102,15 @@ and ensure you are accounting for this risk.
19064
19102
  };
19065
19103
  }
19066
19104
  });
19067
- const _hoisted_1$W = { id: "lupa-search-results-badges" };
19105
+ const _hoisted_1$X = { id: "lupa-search-results-badges" };
19068
19106
  const __default__$3 = {
19069
19107
  components: {
19070
- CustomBadge: _sfc_main$13,
19071
- TextBadge: _sfc_main$12,
19072
- ImageBadge: _sfc_main$11
19108
+ CustomBadge: _sfc_main$15,
19109
+ TextBadge: _sfc_main$14,
19110
+ ImageBadge: _sfc_main$13
19073
19111
  }
19074
19112
  };
19075
- const _sfc_main$10 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
19113
+ const _sfc_main$12 = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
19076
19114
  __name: "SearchResultsBadgeWrapper",
19077
19115
  props: {
19078
19116
  position: {},
@@ -19133,7 +19171,7 @@ and ensure you are accounting for this risk.
19133
19171
  }
19134
19172
  };
19135
19173
  return (_ctx, _cache) => {
19136
- return openBlock(), createElementBlock("div", _hoisted_1$W, [
19174
+ return openBlock(), createElementBlock("div", _hoisted_1$X, [
19137
19175
  createBaseVNode("div", {
19138
19176
  id: "lupa-badges",
19139
19177
  class: normalizeClass(anchorPosition.value)
@@ -19144,7 +19182,7 @@ and ensure you are accounting for this risk.
19144
19182
  badge
19145
19183
  }, null, 8, ["badge"]);
19146
19184
  }), 128)),
19147
- positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$14, {
19185
+ positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$16, {
19148
19186
  key: 0,
19149
19187
  options: _ctx.options
19150
19188
  }, null, 8, ["options"])) : createCommentVNode("", true)
@@ -19153,13 +19191,13 @@ and ensure you are accounting for this risk.
19153
19191
  };
19154
19192
  }
19155
19193
  }));
19156
- const _hoisted_1$V = ["href"];
19194
+ const _hoisted_1$W = ["href"];
19157
19195
  const _hoisted_2$I = { class: "lupa-search-box-product-details-section" };
19158
19196
  const _hoisted_3$w = {
19159
19197
  key: 0,
19160
19198
  class: "lupa-search-box-product-add-to-cart-section"
19161
19199
  };
19162
- const _sfc_main$$ = /* @__PURE__ */ defineComponent({
19200
+ const _sfc_main$11 = /* @__PURE__ */ defineComponent({
19163
19201
  __name: "SearchBoxProduct",
19164
19202
  props: {
19165
19203
  item: {},
@@ -19245,7 +19283,7 @@ and ensure you are accounting for this risk.
19245
19283
  style: normalizeStyle(imageStyleOverride.value)
19246
19284
  }, [
19247
19285
  (openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
19248
- return openBlock(), createBlock(_sfc_main$16, {
19286
+ return openBlock(), createBlock(_sfc_main$18, {
19249
19287
  class: "lupa-search-box-product-element",
19250
19288
  item: _ctx.item,
19251
19289
  element,
@@ -19258,7 +19296,7 @@ and ensure you are accounting for this risk.
19258
19296
  createBaseVNode("div", _hoisted_2$I, [
19259
19297
  (openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
19260
19298
  var _a;
19261
- return openBlock(), createBlock(_sfc_main$16, {
19299
+ return openBlock(), createBlock(_sfc_main$18, {
19262
19300
  key: element.key,
19263
19301
  class: "lupa-search-box-product-element",
19264
19302
  item: _ctx.item,
@@ -19269,7 +19307,7 @@ and ensure you are accounting for this risk.
19269
19307
  badgeOptions.value && ((_a = badgeOptions.value) == null ? void 0 : _a.anchorElementKey) === element.key ? {
19270
19308
  name: "badges",
19271
19309
  fn: withCtx(() => [
19272
- createVNode(_sfc_main$10, {
19310
+ createVNode(_sfc_main$12, {
19273
19311
  options: badgeOptions.value,
19274
19312
  position: "card"
19275
19313
  }, null, 8, ["options"])
@@ -19280,7 +19318,7 @@ and ensure you are accounting for this risk.
19280
19318
  }), 128))
19281
19319
  ]),
19282
19320
  addToCartElement.value ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
19283
- createVNode(_sfc_main$16, {
19321
+ createVNode(_sfc_main$18, {
19284
19322
  class: "lupa-search-box-product-element",
19285
19323
  item: _ctx.item,
19286
19324
  element: addToCartElement.value,
@@ -19289,7 +19327,7 @@ and ensure you are accounting for this risk.
19289
19327
  isInStock: isInStock.value
19290
19328
  }, null, 8, ["item", "element", "labels", "link", "isInStock"])
19291
19329
  ])) : createCommentVNode("", true)
19292
- ], 16, _hoisted_1$V);
19330
+ ], 16, _hoisted_1$W);
19293
19331
  };
19294
19332
  }
19295
19333
  });
@@ -19350,8 +19388,8 @@ and ensure you are accounting for this risk.
19350
19388
  };
19351
19389
  return { trackSearch, trackResults, trackEvent };
19352
19390
  });
19353
- const _hoisted_1$U = { id: "lupa-search-box-products" };
19354
- const _sfc_main$_ = /* @__PURE__ */ defineComponent({
19391
+ const _hoisted_1$V = { id: "lupa-search-box-products" };
19392
+ const _sfc_main$10 = /* @__PURE__ */ defineComponent({
19355
19393
  __name: "SearchBoxProducts",
19356
19394
  props: {
19357
19395
  items: {},
@@ -19412,7 +19450,7 @@ and ensure you are accounting for this risk.
19412
19450
  handleRoutingEvent(link, event, boxRoutingBehavior.value === "event");
19413
19451
  };
19414
19452
  return (_ctx, _cache) => {
19415
- return openBlock(), createElementBlock("div", _hoisted_1$U, [
19453
+ return openBlock(), createElementBlock("div", _hoisted_1$V, [
19416
19454
  _ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(_ctx.items, (item, index) => {
19417
19455
  return renderSlot(_ctx.$slots, "productCard", {
19418
19456
  key: index,
@@ -19424,7 +19462,7 @@ and ensure you are accounting for this risk.
19424
19462
  itemClicked: handleProductClick
19425
19463
  });
19426
19464
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(_ctx.items, (item, index) => {
19427
- return openBlock(), createBlock(_sfc_main$$, {
19465
+ return openBlock(), createBlock(_sfc_main$11, {
19428
19466
  key: index,
19429
19467
  item,
19430
19468
  panelOptions: _ctx.panelOptions,
@@ -19439,9 +19477,9 @@ and ensure you are accounting for this risk.
19439
19477
  };
19440
19478
  }
19441
19479
  });
19442
- const _hoisted_1$T = { class: "lupa-search-box-documents-go-to-results-wrapper" };
19480
+ const _hoisted_1$U = { class: "lupa-search-box-documents-go-to-results-wrapper" };
19443
19481
  const _hoisted_2$H = { key: 0 };
19444
- const _sfc_main$Z = /* @__PURE__ */ defineComponent({
19482
+ const _sfc_main$$ = /* @__PURE__ */ defineComponent({
19445
19483
  __name: "SearchBoxProductsGoToResultsButton",
19446
19484
  props: {
19447
19485
  options: {},
@@ -19471,7 +19509,7 @@ and ensure you are accounting for this risk.
19471
19509
  emit2("goToResults");
19472
19510
  };
19473
19511
  return (_ctx, _cache) => {
19474
- return openBlock(), createElementBlock("div", _hoisted_1$T, [
19512
+ return openBlock(), createElementBlock("div", _hoisted_1$U, [
19475
19513
  createBaseVNode("button", {
19476
19514
  class: "lupa-search-box-documents-go-to-results-button",
19477
19515
  onClick: goToResults
@@ -19483,7 +19521,7 @@ and ensure you are accounting for this risk.
19483
19521
  };
19484
19522
  }
19485
19523
  });
19486
- const _sfc_main$Y = /* @__PURE__ */ defineComponent({
19524
+ const _sfc_main$_ = /* @__PURE__ */ defineComponent({
19487
19525
  __name: "SearchBoxProductsWrapper",
19488
19526
  props: {
19489
19527
  panel: {},
@@ -19540,7 +19578,7 @@ and ensure you are accounting for this risk.
19540
19578
  watch(() => props.panel.limit, getItemsDebounced);
19541
19579
  return (_ctx, _cache) => {
19542
19580
  var _a, _b;
19543
- return openBlock(), createBlock(_sfc_main$_, {
19581
+ return openBlock(), createBlock(_sfc_main$10, {
19544
19582
  items: (_b = (_a = searchResult.value) == null ? void 0 : _a.items) != null ? _b : [],
19545
19583
  panelOptions: _ctx.panel,
19546
19584
  labels: _ctx.labels,
@@ -19550,7 +19588,7 @@ and ensure you are accounting for this risk.
19550
19588
  default: withCtx(() => {
19551
19589
  var _a2;
19552
19590
  return [
19553
- showGoToResultsButton.value && ((_a2 = searchResult.value) == null ? void 0 : _a2.items.length) ? (openBlock(), createBlock(_sfc_main$Z, {
19591
+ showGoToResultsButton.value && ((_a2 = searchResult.value) == null ? void 0 : _a2.items.length) ? (openBlock(), createBlock(_sfc_main$$, {
19554
19592
  key: 0,
19555
19593
  options: _ctx.searchBoxOptions,
19556
19594
  panel: _ctx.panel,
@@ -19571,7 +19609,7 @@ and ensure you are accounting for this risk.
19571
19609
  };
19572
19610
  }
19573
19611
  });
19574
- const _sfc_main$X = /* @__PURE__ */ defineComponent({
19612
+ const _sfc_main$Z = /* @__PURE__ */ defineComponent({
19575
19613
  __name: "SearchBoxRelatedSourceWrapper",
19576
19614
  props: {
19577
19615
  panel: {},
@@ -19643,7 +19681,7 @@ and ensure you are accounting for this risk.
19643
19681
  });
19644
19682
  return (_ctx, _cache) => {
19645
19683
  var _a, _b;
19646
- return openBlock(), createBlock(_sfc_main$_, {
19684
+ return openBlock(), createBlock(_sfc_main$10, {
19647
19685
  items: (_b = (_a = searchResult.value) == null ? void 0 : _a.items) != null ? _b : [],
19648
19686
  panelOptions: documentPanelOptions.value,
19649
19687
  labels: _ctx.labels,
@@ -19661,7 +19699,7 @@ and ensure you are accounting for this risk.
19661
19699
  };
19662
19700
  }
19663
19701
  });
19664
- const _hoisted_1$S = {
19702
+ const _hoisted_1$T = {
19665
19703
  key: 0,
19666
19704
  id: "lupa-search-box-panel"
19667
19705
  };
@@ -19670,22 +19708,22 @@ and ensure you are accounting for this risk.
19670
19708
  key: 0,
19671
19709
  class: "lupa-panel-title lupa-panel-title-top-results"
19672
19710
  };
19673
- const _hoisted_4$p = {
19711
+ const _hoisted_4$o = {
19674
19712
  key: 1,
19675
19713
  class: "lupa-panel-title"
19676
19714
  };
19677
- const _hoisted_5$h = {
19715
+ const _hoisted_5$f = {
19678
19716
  key: 1,
19679
19717
  id: "lupa-search-box-panel"
19680
19718
  };
19681
19719
  const __default__$2 = {
19682
19720
  components: {
19683
- SearchBoxSuggestionsWrapper: _sfc_main$1g,
19684
- SearchBoxProductsWrapper: _sfc_main$Y,
19685
- SearchBoxRelatedSourceWrapper: _sfc_main$X
19721
+ SearchBoxSuggestionsWrapper: _sfc_main$1i,
19722
+ SearchBoxProductsWrapper: _sfc_main$_,
19723
+ SearchBoxRelatedSourceWrapper: _sfc_main$Z
19686
19724
  }
19687
19725
  };
19688
- const _sfc_main$W = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
19726
+ const _sfc_main$Y = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
19689
19727
  __name: "SearchBoxMainPanel",
19690
19728
  props: {
19691
19729
  options: {},
@@ -19841,7 +19879,7 @@ and ensure you are accounting for this risk.
19841
19879
  ref_key: "panelContainer",
19842
19880
  ref: panelContainer
19843
19881
  }, [
19844
- displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$S, [
19882
+ displayResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$T, [
19845
19883
  labels.value.closePanel ? (openBlock(), createElementBlock("a", {
19846
19884
  key: 0,
19847
19885
  class: "lupa-search-box-close-panel",
@@ -19864,7 +19902,7 @@ and ensure you are accounting for this risk.
19864
19902
  "data-cy": "lupa-panel-" + panel.type + "-index"
19865
19903
  }, [
19866
19904
  ((_a2 = panel.labels) == null ? void 0 : _a2.topResultsTitle) && showTopResultsPanelTitle(panel.queryKey) ? (openBlock(), createElementBlock("div", _hoisted_3$v, toDisplayString((_b = panel.labels) == null ? void 0 : _b.topResultsTitle), 1)) : createCommentVNode("", true),
19867
- ((_c = panel.labels) == null ? void 0 : _c.title) && showPanelTitle(panel) ? (openBlock(), createElementBlock("div", _hoisted_4$p, toDisplayString((_d = panel.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
19905
+ ((_c = panel.labels) == null ? void 0 : _c.title) && showPanelTitle(panel) ? (openBlock(), createElementBlock("div", _hoisted_4$o, toDisplayString((_d = panel.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
19868
19906
  panel.queryKey && canShowPanel(panel) ? (openBlock(), createBlock(resolveDynamicComponent(getComponent(panel.type)), {
19869
19907
  key: 2,
19870
19908
  panel,
@@ -19889,18 +19927,18 @@ and ensure you are accounting for this risk.
19889
19927
  ], 14, _hoisted_2$G);
19890
19928
  }), 128))
19891
19929
  ], 4),
19892
- !unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1j, {
19930
+ !unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1l, {
19893
19931
  key: 1,
19894
19932
  labels: labels.value
19895
19933
  }, null, 8, ["labels"])) : createCommentVNode("", true),
19896
- unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1m, {
19934
+ unref(hasAnyResults) || !_ctx.options.hideMoreResultsButtonOnNoResults ? (openBlock(), createBlock(_sfc_main$1o, {
19897
19935
  key: 2,
19898
19936
  labels: labels.value,
19899
19937
  showTotalCount: (_a = _ctx.options.showTotalCount) != null ? _a : false,
19900
19938
  onGoToResults: _cache[4] || (_cache[4] = ($event) => _ctx.$emit("go-to-results"))
19901
19939
  }, null, 8, ["labels", "showTotalCount"])) : createCommentVNode("", true)
19902
- ])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$h, [
19903
- createVNode(_sfc_main$1k, {
19940
+ ])) : displayHistory.value ? (openBlock(), createElementBlock("div", _hoisted_5$f, [
19941
+ createVNode(_sfc_main$1m, {
19904
19942
  options: _ctx.options.history,
19905
19943
  history: history.value,
19906
19944
  onGoToResults: handleGoToResults,
@@ -19925,9 +19963,9 @@ and ensure you are accounting for this risk.
19925
19963
  const elements = getElements(triggers);
19926
19964
  elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
19927
19965
  };
19928
- const _hoisted_1$R = { id: "lupa-search-box" };
19966
+ const _hoisted_1$S = { id: "lupa-search-box" };
19929
19967
  const _hoisted_2$F = { class: "lupa-search-box-wrapper" };
19930
- const _sfc_main$V = /* @__PURE__ */ defineComponent({
19968
+ const _sfc_main$X = /* @__PURE__ */ defineComponent({
19931
19969
  __name: "SearchBox",
19932
19970
  props: {
19933
19971
  options: {},
@@ -20187,9 +20225,9 @@ and ensure you are accounting for this risk.
20187
20225
  };
20188
20226
  return (_ctx, _cache) => {
20189
20227
  var _a2;
20190
- return openBlock(), createElementBlock("div", _hoisted_1$R, [
20228
+ return openBlock(), createElementBlock("div", _hoisted_1$S, [
20191
20229
  createBaseVNode("div", _hoisted_2$F, [
20192
- createVNode(_sfc_main$1n, {
20230
+ createVNode(_sfc_main$1p, {
20193
20231
  options: inputOptions.value,
20194
20232
  suggestedValue: suggestedValue.value,
20195
20233
  "can-close": (_a2 = _ctx.isSearchContainer) != null ? _a2 : false,
@@ -20202,7 +20240,7 @@ and ensure you are accounting for this risk.
20202
20240
  onSearch: handleSearch,
20203
20241
  onClose: _cache[2] || (_cache[2] = ($event) => _ctx.$emit("close"))
20204
20242
  }, null, 8, ["options", "suggestedValue", "can-close", "emit-input-on-focus"]),
20205
- opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$W, {
20243
+ opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$Y, {
20206
20244
  key: 0,
20207
20245
  options: panelOptions.value,
20208
20246
  inputValue: inputValue.value,
@@ -20291,7 +20329,7 @@ and ensure you are accounting for this risk.
20291
20329
  }
20292
20330
  return searchParams;
20293
20331
  };
20294
- const _hoisted_1$Q = {
20332
+ const _hoisted_1$R = {
20295
20333
  key: 0,
20296
20334
  id: "lupa-search-results-did-you-mean"
20297
20335
  };
@@ -20303,8 +20341,8 @@ and ensure you are accounting for this risk.
20303
20341
  key: 1,
20304
20342
  "data-cy": "did-you-mean-label"
20305
20343
  };
20306
- const _hoisted_4$o = { key: 1 };
20307
- const _sfc_main$U = /* @__PURE__ */ defineComponent({
20344
+ const _hoisted_4$n = { key: 1 };
20345
+ const _sfc_main$W = /* @__PURE__ */ defineComponent({
20308
20346
  __name: "SearchResultsDidYouMean",
20309
20347
  props: {
20310
20348
  labels: {}
@@ -20336,7 +20374,7 @@ and ensure you are accounting for this risk.
20336
20374
  paramStore.goToResults({ searchText, facet });
20337
20375
  };
20338
20376
  return (_ctx, _cache) => {
20339
- return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$Q, [
20377
+ return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$R, [
20340
20378
  unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$E, [
20341
20379
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
20342
20380
  return openBlock(), createElementBlock("span", { key: index }, [
@@ -20354,7 +20392,7 @@ and ensure you are accounting for this risk.
20354
20392
  class: "lupa-did-you-mean lupa-highlighted-search-text",
20355
20393
  "data-cy": "did-you-mean-value",
20356
20394
  onClick: _cache[0] || (_cache[0] = ($event) => goToResults({ searchText: didYouMeanValue.value }))
20357
- }, toDisplayString(didYouMeanValue.value) + " ", 1)) : (openBlock(), createElementBlock("span", _hoisted_4$o, toDisplayString(label) + " ", 1))
20395
+ }, toDisplayString(didYouMeanValue.value) + " ", 1)) : (openBlock(), createElementBlock("span", _hoisted_4$n, toDisplayString(label) + " ", 1))
20358
20396
  ]);
20359
20397
  }), 128))
20360
20398
  ])) : createCommentVNode("", true)
@@ -20362,12 +20400,12 @@ and ensure you are accounting for this risk.
20362
20400
  };
20363
20401
  }
20364
20402
  });
20365
- const _hoisted_1$P = {
20403
+ const _hoisted_1$Q = {
20366
20404
  key: 0,
20367
20405
  class: "lupa-search-results-summary"
20368
20406
  };
20369
20407
  const _hoisted_2$D = ["innerHTML"];
20370
- const _sfc_main$T = /* @__PURE__ */ defineComponent({
20408
+ const _sfc_main$V = /* @__PURE__ */ defineComponent({
20371
20409
  __name: "SearchResultsSummary",
20372
20410
  props: {
20373
20411
  label: {},
@@ -20382,7 +20420,7 @@ and ensure you are accounting for this risk.
20382
20420
  return addParamsToLabel(props.label, range, `<span>${totalItems.value}</span>`);
20383
20421
  });
20384
20422
  return (_ctx, _cache) => {
20385
- return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$P, [
20423
+ return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$Q, [
20386
20424
  createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$D),
20387
20425
  _ctx.clearable ? (openBlock(), createElementBlock("span", {
20388
20426
  key: 0,
@@ -20394,7 +20432,7 @@ and ensure you are accounting for this risk.
20394
20432
  };
20395
20433
  }
20396
20434
  });
20397
- const _hoisted_1$O = {
20435
+ const _hoisted_1$P = {
20398
20436
  key: 0,
20399
20437
  class: "lupa-result-page-title",
20400
20438
  "data-cy": "lupa-result-page-title"
@@ -20404,9 +20442,9 @@ and ensure you are accounting for this risk.
20404
20442
  key: 1,
20405
20443
  class: "lupa-results-total-count"
20406
20444
  };
20407
- const _hoisted_4$n = { class: "lupa-results-total-count-number" };
20408
- const _hoisted_5$g = ["innerHTML"];
20409
- const _sfc_main$S = /* @__PURE__ */ defineComponent({
20445
+ const _hoisted_4$m = { class: "lupa-results-total-count-number" };
20446
+ const _hoisted_5$e = ["innerHTML"];
20447
+ const _sfc_main$U = /* @__PURE__ */ defineComponent({
20410
20448
  __name: "SearchResultsTitle",
20411
20449
  props: {
20412
20450
  options: {},
@@ -20445,16 +20483,16 @@ and ensure you are accounting for this risk.
20445
20483
  });
20446
20484
  return (_ctx, _cache) => {
20447
20485
  return openBlock(), createElementBlock("div", null, [
20448
- showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$O, [
20486
+ showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$P, [
20449
20487
  createTextVNode(toDisplayString(_ctx.options.labels.searchResults), 1),
20450
20488
  queryText.value ? (openBlock(), createElementBlock("span", _hoisted_2$C, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
20451
20489
  showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$t, [
20452
20490
  createTextVNode("(" + toDisplayString(searchResultsCountLabel.value), 1),
20453
- createBaseVNode("span", _hoisted_4$n, toDisplayString(unref(totalItems)), 1),
20491
+ createBaseVNode("span", _hoisted_4$m, toDisplayString(unref(totalItems)), 1),
20454
20492
  createTextVNode(")")
20455
20493
  ])) : createCommentVNode("", true)
20456
20494
  ])) : createCommentVNode("", true),
20457
- _ctx.showSummary ? (openBlock(), createBlock(_sfc_main$T, {
20495
+ _ctx.showSummary ? (openBlock(), createBlock(_sfc_main$V, {
20458
20496
  key: 1,
20459
20497
  label: summaryLabel.value
20460
20498
  }, null, 8, ["label"])) : createCommentVNode("", true),
@@ -20462,12 +20500,12 @@ and ensure you are accounting for this risk.
20462
20500
  key: 2,
20463
20501
  class: "lupa-result-page-description-top",
20464
20502
  innerHTML: descriptionTop.value
20465
- }, null, 8, _hoisted_5$g)) : createCommentVNode("", true)
20503
+ }, null, 8, _hoisted_5$e)) : createCommentVNode("", true)
20466
20504
  ]);
20467
20505
  };
20468
20506
  }
20469
20507
  });
20470
- const _hoisted_1$N = { class: "lupa-search-result-filter-value" };
20508
+ const _hoisted_1$O = { class: "lupa-search-result-filter-value" };
20471
20509
  const _hoisted_2$B = {
20472
20510
  class: "lupa-current-filter-label",
20473
20511
  "data-cy": "lupa-current-filter-label"
@@ -20476,7 +20514,7 @@ and ensure you are accounting for this risk.
20476
20514
  class: "lupa-current-filter-value",
20477
20515
  "data-cy": "lupa-current-filter-value"
20478
20516
  };
20479
- const _sfc_main$R = /* @__PURE__ */ defineComponent({
20517
+ const _sfc_main$T = /* @__PURE__ */ defineComponent({
20480
20518
  __name: "CurrentFilterDisplay",
20481
20519
  props: {
20482
20520
  filter: {}
@@ -20488,7 +20526,7 @@ and ensure you are accounting for this risk.
20488
20526
  emit2("remove", { filter: props.filter });
20489
20527
  };
20490
20528
  return (_ctx, _cache) => {
20491
- return openBlock(), createElementBlock("div", _hoisted_1$N, [
20529
+ return openBlock(), createElementBlock("div", _hoisted_1$O, [
20492
20530
  createBaseVNode("div", {
20493
20531
  class: "lupa-current-filter-action",
20494
20532
  onClick: handleClick
@@ -20499,7 +20537,7 @@ and ensure you are accounting for this risk.
20499
20537
  };
20500
20538
  }
20501
20539
  });
20502
- const _hoisted_1$M = { class: "lupa-filter-title-text" };
20540
+ const _hoisted_1$N = { class: "lupa-filter-title-text" };
20503
20541
  const _hoisted_2$A = {
20504
20542
  key: 0,
20505
20543
  class: "lupa-filter-count"
@@ -20508,8 +20546,8 @@ and ensure you are accounting for this risk.
20508
20546
  key: 0,
20509
20547
  class: "filter-values"
20510
20548
  };
20511
- const _hoisted_4$m = { class: "lupa-current-filter-list" };
20512
- const _sfc_main$Q = /* @__PURE__ */ defineComponent({
20549
+ const _hoisted_4$l = { class: "lupa-current-filter-list" };
20550
+ const _sfc_main$S = /* @__PURE__ */ defineComponent({
20513
20551
  __name: "CurrentFilters",
20514
20552
  props: {
20515
20553
  options: {},
@@ -20582,7 +20620,7 @@ and ensure you are accounting for this risk.
20582
20620
  class: "lupa-current-filter-title",
20583
20621
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
20584
20622
  }, [
20585
- createBaseVNode("div", _hoisted_1$M, [
20623
+ createBaseVNode("div", _hoisted_1$N, [
20586
20624
  createTextVNode(toDisplayString((_c = (_b = (_a = _ctx.options) == null ? void 0 : _a.labels) == null ? void 0 : _b.title) != null ? _c : "") + " ", 1),
20587
20625
  _ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$A, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
20588
20626
  ]),
@@ -20592,9 +20630,9 @@ and ensure you are accounting for this risk.
20592
20630
  }, null, 2)) : createCommentVNode("", true)
20593
20631
  ]),
20594
20632
  !_ctx.expandable || isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3$r, [
20595
- createBaseVNode("div", _hoisted_4$m, [
20633
+ createBaseVNode("div", _hoisted_4$l, [
20596
20634
  (openBlock(true), createElementBlock(Fragment, null, renderList(currentDisplayFilters.value, (filter2) => {
20597
- return openBlock(), createBlock(_sfc_main$R, {
20635
+ return openBlock(), createBlock(_sfc_main$T, {
20598
20636
  key: filter2.key + "_" + filter2.value,
20599
20637
  filter: filter2,
20600
20638
  onRemove: handleRemove
@@ -20611,8 +20649,8 @@ and ensure you are accounting for this risk.
20611
20649
  };
20612
20650
  }
20613
20651
  });
20614
- const _hoisted_1$L = ["href"];
20615
- const _sfc_main$P = /* @__PURE__ */ defineComponent({
20652
+ const _hoisted_1$M = ["href"];
20653
+ const _sfc_main$R = /* @__PURE__ */ defineComponent({
20616
20654
  __name: "CategoryFilterItem",
20617
20655
  props: {
20618
20656
  options: {},
@@ -20649,20 +20687,20 @@ and ensure you are accounting for this risk.
20649
20687
  "data-cy": "lupa-child-category-item",
20650
20688
  href: urlLink.value,
20651
20689
  onClick: handleNavigation
20652
- }, toDisplayString(title.value), 9, _hoisted_1$L)
20690
+ }, toDisplayString(title.value), 9, _hoisted_1$M)
20653
20691
  ], 2);
20654
20692
  };
20655
20693
  }
20656
20694
  });
20657
- const _hoisted_1$K = {
20695
+ const _hoisted_1$L = {
20658
20696
  class: "lupa-category-filter",
20659
20697
  "data-cy": "lupa-category-filter"
20660
20698
  };
20661
20699
  const _hoisted_2$z = { class: "lupa-category-back" };
20662
20700
  const _hoisted_3$q = ["href"];
20663
- const _hoisted_4$l = ["href"];
20664
- const _hoisted_5$f = { class: "lupa-child-category-list" };
20665
- const _sfc_main$O = /* @__PURE__ */ defineComponent({
20701
+ const _hoisted_4$k = ["href"];
20702
+ const _hoisted_5$d = { class: "lupa-child-category-list" };
20703
+ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
20666
20704
  __name: "CategoryFilter",
20667
20705
  props: {
20668
20706
  options: {}
@@ -20750,7 +20788,7 @@ and ensure you are accounting for this risk.
20750
20788
  };
20751
20789
  __expose({ fetch: fetch2 });
20752
20790
  return (_ctx, _cache) => {
20753
- return openBlock(), createElementBlock("div", _hoisted_1$K, [
20791
+ return openBlock(), createElementBlock("div", _hoisted_1$L, [
20754
20792
  createBaseVNode("div", _hoisted_2$z, [
20755
20793
  hasBackButton.value ? (openBlock(), createElementBlock("a", {
20756
20794
  key: 0,
@@ -20767,11 +20805,11 @@ and ensure you are accounting for this risk.
20767
20805
  href: parentUrlLink.value,
20768
20806
  class: normalizeClass({ "lupa-title-category": !hasBackButton.value }),
20769
20807
  onClick: handleNavigationParent
20770
- }, toDisplayString(parentTitle.value), 11, _hoisted_4$l)
20808
+ }, toDisplayString(parentTitle.value), 11, _hoisted_4$k)
20771
20809
  ], 2),
20772
- createBaseVNode("div", _hoisted_5$f, [
20810
+ createBaseVNode("div", _hoisted_5$d, [
20773
20811
  (openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
20774
- return openBlock(), createBlock(_sfc_main$P, {
20812
+ return openBlock(), createBlock(_sfc_main$R, {
20775
20813
  key: getCategoryKey(child),
20776
20814
  item: child,
20777
20815
  options: _ctx.options
@@ -20782,15 +20820,15 @@ and ensure you are accounting for this risk.
20782
20820
  };
20783
20821
  }
20784
20822
  });
20785
- const _hoisted_1$J = {
20823
+ const _hoisted_1$K = {
20786
20824
  class: "lupa-search-result-facet-term-values",
20787
20825
  "data-cy": "lupa-search-result-facet-term-values"
20788
20826
  };
20789
20827
  const _hoisted_2$y = ["placeholder"];
20790
20828
  const _hoisted_3$p = { class: "lupa-terms-list" };
20791
- const _hoisted_4$k = ["onClick"];
20792
- const _hoisted_5$e = { class: "lupa-term-checkbox-wrapper" };
20793
- const _hoisted_6$9 = { class: "lupa-term-checkbox-label" };
20829
+ const _hoisted_4$j = ["onClick"];
20830
+ const _hoisted_5$c = { class: "lupa-term-checkbox-wrapper" };
20831
+ const _hoisted_6$8 = { class: "lupa-term-checkbox-label" };
20794
20832
  const _hoisted_7$6 = { class: "lupa-term-label" };
20795
20833
  const _hoisted_8$2 = {
20796
20834
  key: 0,
@@ -20798,7 +20836,7 @@ and ensure you are accounting for this risk.
20798
20836
  };
20799
20837
  const _hoisted_9$2 = { key: 0 };
20800
20838
  const _hoisted_10$1 = { key: 1 };
20801
- const _sfc_main$N = /* @__PURE__ */ defineComponent({
20839
+ const _sfc_main$P = /* @__PURE__ */ defineComponent({
20802
20840
  __name: "TermFacet",
20803
20841
  props: {
20804
20842
  options: {},
@@ -20869,7 +20907,7 @@ and ensure you are accounting for this risk.
20869
20907
  return selectedItems == null ? void 0 : selectedItems.includes((_b = item.title) == null ? void 0 : _b.toString());
20870
20908
  };
20871
20909
  return (_ctx, _cache) => {
20872
- return openBlock(), createElementBlock("div", _hoisted_1$J, [
20910
+ return openBlock(), createElementBlock("div", _hoisted_1$K, [
20873
20911
  isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
20874
20912
  key: 0,
20875
20913
  class: "lupa-term-filter",
@@ -20887,16 +20925,16 @@ and ensure you are accounting for this risk.
20887
20925
  key: item.title,
20888
20926
  onClick: ($event) => handleFacetClick(item)
20889
20927
  }, [
20890
- createBaseVNode("div", _hoisted_5$e, [
20928
+ createBaseVNode("div", _hoisted_5$c, [
20891
20929
  createBaseVNode("span", {
20892
20930
  class: normalizeClass(["lupa-term-checkbox", { checked: isChecked(item) }])
20893
20931
  }, null, 2)
20894
20932
  ]),
20895
- createBaseVNode("div", _hoisted_6$9, [
20933
+ createBaseVNode("div", _hoisted_6$8, [
20896
20934
  createBaseVNode("span", _hoisted_7$6, toDisplayString(item.title), 1),
20897
20935
  _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_8$2, "(" + toDisplayString(item.count) + ")", 1)) : createCommentVNode("", true)
20898
20936
  ])
20899
- ], 10, _hoisted_4$k);
20937
+ ], 10, _hoisted_4$j);
20900
20938
  }), 128))
20901
20939
  ]),
20902
20940
  displayShowMore.value ? (openBlock(), createElementBlock("div", {
@@ -21887,7 +21925,7 @@ and ensure you are accounting for this risk.
21887
21925
  m.render = function(e2, t, r, i, n, o) {
21888
21926
  return openBlock(), createElementBlock("div", mergeProps(e2.sliderProps, { ref: "slider" }), null, 16);
21889
21927
  }, m.__file = "src/Slider.vue";
21890
- const _hoisted_1$I = { class: "lupa-search-result-facet-stats-values" };
21928
+ const _hoisted_1$J = { class: "lupa-search-result-facet-stats-values" };
21891
21929
  const _hoisted_2$x = {
21892
21930
  key: 0,
21893
21931
  class: "lupa-stats-facet-summary"
@@ -21896,12 +21934,12 @@ and ensure you are accounting for this risk.
21896
21934
  key: 1,
21897
21935
  class: "lupa-stats-facet-summary-input"
21898
21936
  };
21899
- const _hoisted_4$j = {
21937
+ const _hoisted_4$i = {
21900
21938
  key: 0,
21901
21939
  class: "lupa-stats-range-label"
21902
21940
  };
21903
- const _hoisted_5$d = { class: "lupa-stats-from" };
21904
- const _hoisted_6$8 = ["max", "min", "pattern", "aria-label"];
21941
+ const _hoisted_5$b = { class: "lupa-stats-from" };
21942
+ const _hoisted_6$7 = ["max", "min", "pattern", "aria-label"];
21905
21943
  const _hoisted_7$5 = { key: 0 };
21906
21944
  const _hoisted_8$1 = /* @__PURE__ */ createBaseVNode("div", { class: "lupa-stats-separator" }, null, -1);
21907
21945
  const _hoisted_9$1 = {
@@ -21915,7 +21953,7 @@ and ensure you are accounting for this risk.
21915
21953
  key: 2,
21916
21954
  class: "lupa-stats-slider-wrapper"
21917
21955
  };
21918
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
21956
+ const _sfc_main$O = /* @__PURE__ */ defineComponent({
21919
21957
  __name: "StatsFacet",
21920
21958
  props: {
21921
21959
  options: {},
@@ -22088,11 +22126,11 @@ and ensure you are accounting for this risk.
22088
22126
  innerSliderRange.value = value;
22089
22127
  };
22090
22128
  return (_ctx, _cache) => {
22091
- return openBlock(), createElementBlock("div", _hoisted_1$I, [
22129
+ return openBlock(), createElementBlock("div", _hoisted_1$J, [
22092
22130
  !isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$x, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$o, [
22093
22131
  createBaseVNode("div", null, [
22094
- rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_4$j, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
22095
- createBaseVNode("div", _hoisted_5$d, [
22132
+ rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_4$i, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
22133
+ createBaseVNode("div", _hoisted_5$b, [
22096
22134
  withDirectives(createBaseVNode("input", {
22097
22135
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => fromValue.value = $event),
22098
22136
  type: "text",
@@ -22101,7 +22139,7 @@ and ensure you are accounting for this risk.
22101
22139
  min: facetMin.value,
22102
22140
  pattern: sliderInputFormat.value,
22103
22141
  "aria-label": ariaLabelFrom.value
22104
- }, null, 8, _hoisted_6$8), [
22142
+ }, null, 8, _hoisted_6$7), [
22105
22143
  [
22106
22144
  vModelText,
22107
22145
  fromValue.value,
@@ -22155,18 +22193,18 @@ and ensure you are accounting for this risk.
22155
22193
  };
22156
22194
  }
22157
22195
  });
22158
- const _hoisted_1$H = { class: "lupa-term-checkbox-wrapper" };
22196
+ const _hoisted_1$I = { class: "lupa-term-checkbox-wrapper" };
22159
22197
  const _hoisted_2$w = { class: "lupa-term-checkbox-label" };
22160
22198
  const _hoisted_3$n = { class: "lupa-term-label" };
22161
- const _hoisted_4$i = {
22199
+ const _hoisted_4$h = {
22162
22200
  key: 0,
22163
22201
  class: "lupa-term-count"
22164
22202
  };
22165
- const _hoisted_5$c = {
22203
+ const _hoisted_5$a = {
22166
22204
  key: 0,
22167
22205
  class: "lupa-facet-level"
22168
22206
  };
22169
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
22207
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
22170
22208
  __name: "HierarchyFacetLevel",
22171
22209
  props: {
22172
22210
  options: {},
@@ -22212,17 +22250,17 @@ and ensure you are accounting for this risk.
22212
22250
  "data-cy": "lupa-facet-term",
22213
22251
  onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
22214
22252
  }, [
22215
- createBaseVNode("div", _hoisted_1$H, [
22253
+ createBaseVNode("div", _hoisted_1$I, [
22216
22254
  createBaseVNode("span", {
22217
22255
  class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
22218
22256
  }, null, 2)
22219
22257
  ]),
22220
22258
  createBaseVNode("div", _hoisted_2$w, [
22221
22259
  createBaseVNode("span", _hoisted_3$n, toDisplayString(_ctx.item.title) + toDisplayString(" "), 1),
22222
- _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_4$i, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
22260
+ _ctx.options.showDocumentCount ? (openBlock(), createElementBlock("span", _hoisted_4$h, "(" + toDisplayString(_ctx.item.count) + ")", 1)) : createCommentVNode("", true)
22223
22261
  ])
22224
22262
  ]),
22225
- showChildren.value ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
22263
+ showChildren.value ? (openBlock(), createElementBlock("div", _hoisted_5$a, [
22226
22264
  (openBlock(true), createElementBlock(Fragment, null, renderList(treeItem.value.children, (itemChild) => {
22227
22265
  return openBlock(), createBlock(_component_HierarchyFacetLevel, {
22228
22266
  key: itemChild.title,
@@ -22238,13 +22276,13 @@ and ensure you are accounting for this risk.
22238
22276
  };
22239
22277
  }
22240
22278
  });
22241
- const _hoisted_1$G = {
22279
+ const _hoisted_1$H = {
22242
22280
  class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
22243
22281
  "data-cy": "lupa-search-result-facet-term-values"
22244
22282
  };
22245
22283
  const _hoisted_2$v = { key: 0 };
22246
22284
  const _hoisted_3$m = ["placeholder"];
22247
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
22285
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
22248
22286
  __name: "HierarchyFacet",
22249
22287
  props: {
22250
22288
  options: {},
@@ -22294,7 +22332,7 @@ and ensure you are accounting for this risk.
22294
22332
  showAll.value = true;
22295
22333
  };
22296
22334
  return (_ctx, _cache) => {
22297
- return openBlock(), createElementBlock("div", _hoisted_1$G, [
22335
+ return openBlock(), createElementBlock("div", _hoisted_1$H, [
22298
22336
  isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$v, [
22299
22337
  withDirectives(createBaseVNode("input", {
22300
22338
  class: "lupa-term-filter",
@@ -22306,7 +22344,7 @@ and ensure you are accounting for this risk.
22306
22344
  ])
22307
22345
  ])) : createCommentVNode("", true),
22308
22346
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayValues.value, (item) => {
22309
- return openBlock(), createBlock(_sfc_main$L, {
22347
+ return openBlock(), createBlock(_sfc_main$N, {
22310
22348
  key: item.title,
22311
22349
  options: _ctx.options,
22312
22350
  item,
@@ -22326,7 +22364,7 @@ and ensure you are accounting for this risk.
22326
22364
  };
22327
22365
  }
22328
22366
  });
22329
- const _hoisted_1$F = { class: "lupa-facet-label-text" };
22367
+ const _hoisted_1$G = { class: "lupa-facet-label-text" };
22330
22368
  const _hoisted_2$u = {
22331
22369
  key: 0,
22332
22370
  class: "lupa-facet-content",
@@ -22334,12 +22372,12 @@ and ensure you are accounting for this risk.
22334
22372
  };
22335
22373
  const __default__$1 = {
22336
22374
  components: {
22337
- TermFacet: _sfc_main$N,
22338
- StatsFacet: _sfc_main$M,
22339
- HierarchyFacet: _sfc_main$K
22375
+ TermFacet: _sfc_main$P,
22376
+ StatsFacet: _sfc_main$O,
22377
+ HierarchyFacet: _sfc_main$M
22340
22378
  }
22341
22379
  };
22342
- const _sfc_main$J = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
22380
+ const _sfc_main$L = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
22343
22381
  __name: "FacetDisplay",
22344
22382
  props: {
22345
22383
  options: {},
@@ -22451,7 +22489,7 @@ and ensure you are accounting for this risk.
22451
22489
  "data-cy": "lupa-search-result-facet-label",
22452
22490
  onClick: toggleFacet
22453
22491
  }, [
22454
- createBaseVNode("div", _hoisted_1$F, toDisplayString(facet.value.label), 1),
22492
+ createBaseVNode("div", _hoisted_1$G, toDisplayString(facet.value.label), 1),
22455
22493
  createBaseVNode("div", {
22456
22494
  class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
22457
22495
  }, null, 2)
@@ -22474,12 +22512,12 @@ and ensure you are accounting for this risk.
22474
22512
  };
22475
22513
  }
22476
22514
  }));
22477
- const _hoisted_1$E = { class: "lupa-search-result-facet-section" };
22515
+ const _hoisted_1$F = { class: "lupa-search-result-facet-section" };
22478
22516
  const _hoisted_2$t = {
22479
22517
  key: 0,
22480
22518
  class: "lupa-facets-title"
22481
22519
  };
22482
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
22520
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
22483
22521
  __name: "FacetList",
22484
22522
  props: {
22485
22523
  options: {},
@@ -22513,14 +22551,14 @@ and ensure you are accounting for this risk.
22513
22551
  };
22514
22552
  return (_ctx, _cache) => {
22515
22553
  var _a;
22516
- return openBlock(), createElementBlock("div", _hoisted_1$E, [
22554
+ return openBlock(), createElementBlock("div", _hoisted_1$F, [
22517
22555
  _ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$t, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
22518
22556
  createBaseVNode("div", {
22519
22557
  class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a = _ctx.facetStyle) != null ? _a : "")])
22520
22558
  }, [
22521
22559
  (openBlock(true), createElementBlock(Fragment, null, renderList(displayFacets.value, (facet) => {
22522
22560
  var _a2;
22523
- return openBlock(), createBlock(_sfc_main$J, {
22561
+ return openBlock(), createBlock(_sfc_main$L, {
22524
22562
  key: facet.key,
22525
22563
  facet,
22526
22564
  currentFilters: currentFiltersValue.value,
@@ -22535,8 +22573,8 @@ and ensure you are accounting for this risk.
22535
22573
  };
22536
22574
  }
22537
22575
  });
22538
- const _hoisted_1$D = ["onClick"];
22539
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
22576
+ const _hoisted_1$E = ["onClick"];
22577
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
22540
22578
  __name: "FacetsButton",
22541
22579
  props: {
22542
22580
  options: {}
@@ -22556,13 +22594,13 @@ and ensure you are accounting for this risk.
22556
22594
  key: 0,
22557
22595
  class: "lupa-facets-button-filter",
22558
22596
  onClick: withModifiers(handleClick, ["stop"])
22559
- }, toDisplayString(label.value), 9, _hoisted_1$D)) : createCommentVNode("", true);
22597
+ }, toDisplayString(label.value), 9, _hoisted_1$E)) : createCommentVNode("", true);
22560
22598
  };
22561
22599
  }
22562
22600
  });
22563
- const _hoisted_1$C = { class: "lupa-search-result-facets" };
22601
+ const _hoisted_1$D = { class: "lupa-search-result-facets" };
22564
22602
  const _hoisted_2$s = { class: "lupa-facets-filter-button-wrapper" };
22565
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
22603
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
22566
22604
  __name: "Facets",
22567
22605
  props: {
22568
22606
  options: {},
@@ -22645,8 +22683,8 @@ and ensure you are accounting for this risk.
22645
22683
  emit2("filter");
22646
22684
  };
22647
22685
  return (_ctx, _cache) => {
22648
- return openBlock(), createElementBlock("div", _hoisted_1$C, [
22649
- regularFacets.value ? (openBlock(), createBlock(_sfc_main$I, {
22686
+ return openBlock(), createElementBlock("div", _hoisted_1$D, [
22687
+ regularFacets.value ? (openBlock(), createBlock(_sfc_main$K, {
22650
22688
  key: 0,
22651
22689
  options: _ctx.options,
22652
22690
  facets: regularFacets.value,
@@ -22657,7 +22695,7 @@ and ensure you are accounting for this risk.
22657
22695
  onClear: clear2
22658
22696
  }, null, 8, ["options", "facets", "currentFilters", "facetStyle", "clearable"])) : createCommentVNode("", true),
22659
22697
  createBaseVNode("div", _hoisted_2$s, [
22660
- showFilterButton.value ? (openBlock(), createBlock(_sfc_main$H, {
22698
+ showFilterButton.value ? (openBlock(), createBlock(_sfc_main$J, {
22661
22699
  key: 0,
22662
22700
  options: _ctx.options,
22663
22701
  onFilter: filter2
@@ -22667,11 +22705,11 @@ and ensure you are accounting for this risk.
22667
22705
  };
22668
22706
  }
22669
22707
  });
22670
- const _hoisted_1$B = {
22708
+ const _hoisted_1$C = {
22671
22709
  id: "lupa-search-result-filters",
22672
22710
  class: "lupa-search-result-filters"
22673
22711
  };
22674
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
22712
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
22675
22713
  __name: "SearchResultsFilters",
22676
22714
  props: {
22677
22715
  options: {},
@@ -22704,19 +22742,19 @@ and ensure you are accounting for this risk.
22704
22742
  __expose({ fetch: fetch2 });
22705
22743
  return (_ctx, _cache) => {
22706
22744
  var _a;
22707
- return openBlock(), createElementBlock("div", _hoisted_1$B, [
22708
- showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$Q, {
22745
+ return openBlock(), createElementBlock("div", _hoisted_1$C, [
22746
+ showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$S, {
22709
22747
  key: 0,
22710
22748
  options: _ctx.options.currentFilters,
22711
22749
  expandable: (_a = _ctx.expandable) != null ? _a : false
22712
22750
  }, null, 8, ["options", "expandable"])) : createCommentVNode("", true),
22713
- _ctx.options.categories ? (openBlock(), createBlock(_sfc_main$O, {
22751
+ _ctx.options.categories ? (openBlock(), createBlock(_sfc_main$Q, {
22714
22752
  key: 1,
22715
22753
  options: _ctx.options.categories,
22716
22754
  ref_key: "categoryFilters",
22717
22755
  ref: categoryFilters
22718
22756
  }, null, 8, ["options"])) : createCommentVNode("", true),
22719
- _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$G, {
22757
+ _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$I, {
22720
22758
  key: 2,
22721
22759
  options: _ctx.options.facets,
22722
22760
  onFilter: filter2
@@ -22725,20 +22763,20 @@ and ensure you are accounting for this risk.
22725
22763
  };
22726
22764
  }
22727
22765
  });
22728
- const _hoisted_1$A = {
22766
+ const _hoisted_1$B = {
22729
22767
  key: 0,
22730
22768
  class: "lupa-mobile-filter-sidebar"
22731
22769
  };
22732
22770
  const _hoisted_2$r = ["onClick"];
22733
22771
  const _hoisted_3$l = { class: "lupa-mobile-sidebar-content" };
22734
- const _hoisted_4$h = { class: "lupa-sidebar-top" };
22735
- const _hoisted_5$b = { class: "lupa-sidebar-title" };
22736
- const _hoisted_6$7 = {
22772
+ const _hoisted_4$g = { class: "lupa-sidebar-top" };
22773
+ const _hoisted_5$9 = { class: "lupa-sidebar-title" };
22774
+ const _hoisted_6$6 = {
22737
22775
  key: 0,
22738
22776
  class: "lupa-sidebar-filter-count"
22739
22777
  };
22740
22778
  const _hoisted_7$4 = { class: "lupa-sidebar-filter-options" };
22741
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
22779
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
22742
22780
  __name: "MobileFilterSidebar",
22743
22781
  props: {
22744
22782
  options: {}
@@ -22769,16 +22807,16 @@ and ensure you are accounting for this risk.
22769
22807
  handleMobileToggle();
22770
22808
  };
22771
22809
  return (_ctx, _cache) => {
22772
- return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$A, [
22810
+ return isMobileSidebarVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$B, [
22773
22811
  createBaseVNode("div", {
22774
22812
  class: "lupa-sidebar-close",
22775
22813
  onClick: withModifiers(handleMobileToggle, ["stop"])
22776
22814
  }, null, 8, _hoisted_2$r),
22777
22815
  createBaseVNode("div", _hoisted_3$l, [
22778
- createBaseVNode("div", _hoisted_4$h, [
22779
- createBaseVNode("div", _hoisted_5$b, [
22816
+ createBaseVNode("div", _hoisted_4$g, [
22817
+ createBaseVNode("div", _hoisted_5$9, [
22780
22818
  createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
22781
- isFilterCountVisible.value ? (openBlock(), createElementBlock("span", _hoisted_6$7, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
22819
+ isFilterCountVisible.value ? (openBlock(), createElementBlock("span", _hoisted_6$6, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
22782
22820
  ]),
22783
22821
  createBaseVNode("div", {
22784
22822
  class: "lupa-filter-toggle-mobile",
@@ -22786,7 +22824,7 @@ and ensure you are accounting for this risk.
22786
22824
  })
22787
22825
  ]),
22788
22826
  createBaseVNode("div", _hoisted_7$4, [
22789
- createVNode(_sfc_main$F, {
22827
+ createVNode(_sfc_main$H, {
22790
22828
  options: _ctx.options,
22791
22829
  expandable: isActiveFiltersExpanded.value,
22792
22830
  onFilter: filter2
@@ -22797,14 +22835,14 @@ and ensure you are accounting for this risk.
22797
22835
  };
22798
22836
  }
22799
22837
  });
22800
- const _hoisted_1$z = { id: "lupa-search-results-breadcrumbs" };
22838
+ const _hoisted_1$A = { id: "lupa-search-results-breadcrumbs" };
22801
22839
  const _hoisted_2$q = ["href", "onClick"];
22802
22840
  const _hoisted_3$k = {
22803
22841
  key: 1,
22804
22842
  class: "lupa-search-results-breadcrumb-text"
22805
22843
  };
22806
- const _hoisted_4$g = { key: 2 };
22807
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
22844
+ const _hoisted_4$f = { key: 2 };
22845
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
22808
22846
  __name: "SearchResultsBreadcrumbs",
22809
22847
  props: {
22810
22848
  breadcrumbs: {}
@@ -22829,7 +22867,7 @@ and ensure you are accounting for this risk.
22829
22867
  handleRoutingEvent(link, event, hasEventRouting.value);
22830
22868
  };
22831
22869
  return (_ctx, _cache) => {
22832
- return openBlock(), createElementBlock("div", _hoisted_1$z, [
22870
+ return openBlock(), createElementBlock("div", _hoisted_1$A, [
22833
22871
  (openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
22834
22872
  return openBlock(), createElementBlock("span", {
22835
22873
  class: "lupa-search-results-breadcrumb",
@@ -22844,18 +22882,18 @@ and ensure you are accounting for this risk.
22844
22882
  return handleNavigation(e2, (_a = breadcrumb == null ? void 0 : breadcrumb.link) != null ? _a : "");
22845
22883
  }
22846
22884
  }, toDisplayString(getLabel(breadcrumb.label)), 9, _hoisted_2$q)) : (openBlock(), createElementBlock("span", _hoisted_3$k, toDisplayString(getLabel(breadcrumb.label)), 1)),
22847
- index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$g, " / ")) : createCommentVNode("", true)
22885
+ index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$f, " / ")) : createCommentVNode("", true)
22848
22886
  ]);
22849
22887
  }), 128))
22850
22888
  ]);
22851
22889
  };
22852
22890
  }
22853
22891
  });
22854
- const _hoisted_1$y = {
22892
+ const _hoisted_1$z = {
22855
22893
  id: "lupa-search-result-filters",
22856
22894
  class: "lupa-search-result-filters lupa-search-result-top-filters"
22857
22895
  };
22858
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
22896
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
22859
22897
  __name: "FiltersTopDropdown",
22860
22898
  props: {
22861
22899
  options: {}
@@ -22867,8 +22905,8 @@ and ensure you are accounting for this risk.
22867
22905
  };
22868
22906
  return (_ctx, _cache) => {
22869
22907
  var _a;
22870
- return openBlock(), createElementBlock("div", _hoisted_1$y, [
22871
- _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$G, {
22908
+ return openBlock(), createElementBlock("div", _hoisted_1$z, [
22909
+ _ctx.options.facets ? (openBlock(), createBlock(_sfc_main$I, {
22872
22910
  key: 0,
22873
22911
  options: _ctx.options.facets,
22874
22912
  "facet-style": (_a = _ctx.options.facets.style) == null ? void 0 : _a.type,
@@ -22879,8 +22917,8 @@ and ensure you are accounting for this risk.
22879
22917
  };
22880
22918
  }
22881
22919
  });
22882
- const _hoisted_1$x = { id: "lupa-search-results-layout-selection" };
22883
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
22920
+ const _hoisted_1$y = { id: "lupa-search-results-layout-selection" };
22921
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
22884
22922
  __name: "SearchResultsLayoutSelection",
22885
22923
  setup(__props) {
22886
22924
  const searchResultStore = useSearchResultStore();
@@ -22891,7 +22929,7 @@ and ensure you are accounting for this risk.
22891
22929
  searchResultStore.setLayout(layout2);
22892
22930
  };
22893
22931
  return (_ctx, _cache) => {
22894
- return openBlock(), createElementBlock("div", _hoisted_1$x, [
22932
+ return openBlock(), createElementBlock("div", _hoisted_1$y, [
22895
22933
  createBaseVNode("div", {
22896
22934
  class: normalizeClass([
22897
22935
  "lupa-layout-selection-grid",
@@ -22913,11 +22951,11 @@ and ensure you are accounting for this risk.
22913
22951
  };
22914
22952
  }
22915
22953
  });
22916
- const _hoisted_1$w = {
22954
+ const _hoisted_1$x = {
22917
22955
  key: 0,
22918
22956
  class: "lupa-mobile-toggle-filter-count"
22919
22957
  };
22920
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
22958
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
22921
22959
  __name: "SearchResultsMobileToggle",
22922
22960
  props: {
22923
22961
  label: {},
@@ -22935,12 +22973,12 @@ and ensure you are accounting for this risk.
22935
22973
  onClick: handleMobileToggle
22936
22974
  }, [
22937
22975
  createTextVNode(toDisplayString(_ctx.label) + " ", 1),
22938
- _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$w, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
22976
+ _ctx.showFilterCount && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$x, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
22939
22977
  ], 2);
22940
22978
  };
22941
22979
  }
22942
22980
  });
22943
- const _hoisted_1$v = {
22981
+ const _hoisted_1$w = {
22944
22982
  key: 0,
22945
22983
  id: "lupa-search-results-page-select",
22946
22984
  "data-cy": "lupa-search-results-page-select"
@@ -22950,11 +22988,11 @@ and ensure you are accounting for this risk.
22950
22988
  class: "lupa-page-number-separator"
22951
22989
  };
22952
22990
  const _hoisted_3$j = ["onClick"];
22953
- const _hoisted_4$f = {
22991
+ const _hoisted_4$e = {
22954
22992
  key: 0,
22955
22993
  class: "lupa-page-number-separator"
22956
22994
  };
22957
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
22995
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
22958
22996
  __name: "SearchResultsPageSelect",
22959
22997
  props: {
22960
22998
  lastPageLabel: {},
@@ -23031,7 +23069,7 @@ and ensure you are accounting for this risk.
23031
23069
  }
23032
23070
  };
23033
23071
  return (_ctx, _cache) => {
23034
- return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$v, [
23072
+ return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$w, [
23035
23073
  showBack.value ? (openBlock(), createElementBlock("div", {
23036
23074
  key: 0,
23037
23075
  class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
@@ -23056,7 +23094,7 @@ and ensure you are accounting for this risk.
23056
23094
  }, toDisplayString(page), 11, _hoisted_3$j);
23057
23095
  }), 128)),
23058
23096
  showLastPage.value ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
23059
- showLastPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_4$f, "...")) : createCommentVNode("", true),
23097
+ showLastPageSeparator.value ? (openBlock(), createElementBlock("div", _hoisted_4$e, "...")) : createCommentVNode("", true),
23060
23098
  createBaseVNode("div", {
23061
23099
  class: "lupa-page-number lupa-page-number-last",
23062
23100
  onClick: _cache[2] || (_cache[2] = () => {
@@ -23075,15 +23113,15 @@ and ensure you are accounting for this risk.
23075
23113
  };
23076
23114
  }
23077
23115
  });
23078
- const _hoisted_1$u = {
23116
+ const _hoisted_1$v = {
23079
23117
  id: "lupa-search-results-page-size",
23080
23118
  "data-cy": "lupa-search-results-page-size"
23081
23119
  };
23082
23120
  const _hoisted_2$o = { id: "lupa-select" };
23083
23121
  const _hoisted_3$i = { class: "lupa-select-label" };
23084
- const _hoisted_4$e = ["aria-label"];
23085
- const _hoisted_5$a = ["value"];
23086
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
23122
+ const _hoisted_4$d = ["aria-label"];
23123
+ const _hoisted_5$8 = ["value"];
23124
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
23087
23125
  __name: "SearchResultsPageSize",
23088
23126
  props: {
23089
23127
  labels: {},
@@ -23111,7 +23149,7 @@ and ensure you are accounting for this risk.
23111
23149
  });
23112
23150
  };
23113
23151
  return (_ctx, _cache) => {
23114
- return openBlock(), createElementBlock("div", _hoisted_1$u, [
23152
+ return openBlock(), createElementBlock("div", _hoisted_1$v, [
23115
23153
  createBaseVNode("div", _hoisted_2$o, [
23116
23154
  createBaseVNode("label", _hoisted_3$i, toDisplayString(label.value), 1),
23117
23155
  createBaseVNode("select", {
@@ -23126,23 +23164,23 @@ and ensure you are accounting for this risk.
23126
23164
  return openBlock(), createElementBlock("option", {
23127
23165
  key: option,
23128
23166
  value: option
23129
- }, toDisplayString(prefixLabel.value) + toDisplayString(option), 9, _hoisted_5$a);
23167
+ }, toDisplayString(prefixLabel.value) + toDisplayString(option), 9, _hoisted_5$8);
23130
23168
  }), 128))
23131
- ], 40, _hoisted_4$e)
23169
+ ], 40, _hoisted_4$d)
23132
23170
  ])
23133
23171
  ]);
23134
23172
  };
23135
23173
  }
23136
23174
  });
23137
- const _hoisted_1$t = {
23175
+ const _hoisted_1$u = {
23138
23176
  id: "lupa-search-results-sort",
23139
23177
  class: "lupa-search-results-sort"
23140
23178
  };
23141
23179
  const _hoisted_2$n = { id: "lupa-select" };
23142
23180
  const _hoisted_3$h = { class: "lupa-select-label" };
23143
- const _hoisted_4$d = ["aria-label"];
23144
- const _hoisted_5$9 = ["value"];
23145
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
23181
+ const _hoisted_4$c = ["aria-label"];
23182
+ const _hoisted_5$7 = ["value"];
23183
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
23146
23184
  __name: "SearchResultsSort",
23147
23185
  props: {
23148
23186
  options: {},
@@ -23191,7 +23229,7 @@ and ensure you are accounting for this risk.
23191
23229
  previousKey.value = selectedKey.value;
23192
23230
  };
23193
23231
  return (_ctx, _cache) => {
23194
- return openBlock(), createElementBlock("div", _hoisted_1$t, [
23232
+ return openBlock(), createElementBlock("div", _hoisted_1$u, [
23195
23233
  createBaseVNode("div", _hoisted_2$n, [
23196
23234
  createBaseVNode("label", _hoisted_3$h, toDisplayString(_ctx.options.label), 1),
23197
23235
  withDirectives(createBaseVNode("select", {
@@ -23206,9 +23244,9 @@ and ensure you are accounting for this risk.
23206
23244
  return openBlock(), createElementBlock("option", {
23207
23245
  key: option.key,
23208
23246
  value: option.key
23209
- }, toDisplayString(option.label), 9, _hoisted_5$9);
23247
+ }, toDisplayString(option.label), 9, _hoisted_5$7);
23210
23248
  }), 128))
23211
- ], 40, _hoisted_4$d), [
23249
+ ], 40, _hoisted_4$c), [
23212
23250
  [vModelSelect, selectedKey.value]
23213
23251
  ])
23214
23252
  ])
@@ -23216,22 +23254,22 @@ and ensure you are accounting for this risk.
23216
23254
  };
23217
23255
  }
23218
23256
  });
23219
- const _hoisted_1$s = { class: "lupa-toolbar-left" };
23257
+ const _hoisted_1$t = { class: "lupa-toolbar-left" };
23220
23258
  const _hoisted_2$m = {
23221
23259
  key: 0,
23222
23260
  class: "lupa-toolbar-right-title"
23223
23261
  };
23224
23262
  const _hoisted_3$g = { key: 2 };
23225
- const _hoisted_4$c = { key: 4 };
23226
- const _hoisted_5$8 = { key: 6 };
23227
- const _hoisted_6$6 = { class: "lupa-toolbar-right" };
23263
+ const _hoisted_4$b = { key: 4 };
23264
+ const _hoisted_5$6 = { key: 6 };
23265
+ const _hoisted_6$5 = { class: "lupa-toolbar-right" };
23228
23266
  const _hoisted_7$3 = {
23229
23267
  key: 0,
23230
23268
  class: "lupa-toolbar-right-title"
23231
23269
  };
23232
23270
  const _hoisted_8 = { key: 2 };
23233
23271
  const _hoisted_9 = { key: 4 };
23234
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
23272
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
23235
23273
  __name: "SearchResultsToolbar",
23236
23274
  props: {
23237
23275
  options: {},
@@ -23338,34 +23376,34 @@ and ensure you are accounting for this risk.
23338
23376
  id: "lupa-search-results-toolbar",
23339
23377
  class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
23340
23378
  }, [
23341
- createBaseVNode("div", _hoisted_1$s, [
23379
+ createBaseVNode("div", _hoisted_1$t, [
23342
23380
  toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$m, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
23343
- showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$B, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$g)),
23344
- showItemSummary.value ? (openBlock(), createBlock(_sfc_main$T, {
23381
+ showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$D, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$g)),
23382
+ showItemSummary.value ? (openBlock(), createBlock(_sfc_main$V, {
23345
23383
  key: 3,
23346
23384
  label: searchSummaryLabel.value,
23347
23385
  clearable: unref(hasAnyFilter) && showFilterClear.value,
23348
23386
  onClear: handleClearAll
23349
- }, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$c)),
23350
- displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$z, {
23387
+ }, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$b)),
23388
+ displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$B, {
23351
23389
  key: 5,
23352
23390
  options: paginationOptions.value.pageSelect,
23353
23391
  "last-page-label": paginationOptions.value.labels.showMore,
23354
23392
  "first-page-label": paginationOptions.value.labels.showLess
23355
- }, null, 8, ["options", "last-page-label", "first-page-label"])) : (openBlock(), createElementBlock("div", _hoisted_5$8))
23393
+ }, null, 8, ["options", "last-page-label", "first-page-label"])) : (openBlock(), createElementBlock("div", _hoisted_5$6))
23356
23394
  ]),
23357
- createBaseVNode("div", _hoisted_6$6, [
23395
+ createBaseVNode("div", _hoisted_6$5, [
23358
23396
  toolbarRightLabel.value ? (openBlock(), createElementBlock("div", _hoisted_7$3, toDisplayString(toolbarRightLabel.value), 1)) : createCommentVNode("", true),
23359
- createVNode(_sfc_main$A, {
23397
+ createVNode(_sfc_main$C, {
23360
23398
  label: optionsValue.value.labels.mobileFilterButton,
23361
23399
  "show-filter-count": showMobileFilterCount.value
23362
23400
  }, null, 8, ["label", "show-filter-count"]),
23363
- paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$y, {
23401
+ paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$A, {
23364
23402
  key: 1,
23365
23403
  options: paginationOptions.value.pageSize,
23366
23404
  labels: paginationOptions.value.labels
23367
23405
  }, null, 8, ["options", "labels"])) : (openBlock(), createElementBlock("div", _hoisted_8)),
23368
- sortOptions.value ? (openBlock(), createBlock(_sfc_main$x, {
23406
+ sortOptions.value ? (openBlock(), createBlock(_sfc_main$z, {
23369
23407
  key: 3,
23370
23408
  options: sortOptions.value,
23371
23409
  callbacks: callbacks.value
@@ -23375,7 +23413,7 @@ and ensure you are accounting for this risk.
23375
23413
  };
23376
23414
  }
23377
23415
  });
23378
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
23416
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
23379
23417
  __name: "SearchResultsProductImage",
23380
23418
  props: {
23381
23419
  item: {},
@@ -23383,7 +23421,7 @@ and ensure you are accounting for this risk.
23383
23421
  },
23384
23422
  setup(__props) {
23385
23423
  return (_ctx, _cache) => {
23386
- return openBlock(), createBlock(_sfc_main$1f, {
23424
+ return openBlock(), createBlock(_sfc_main$1h, {
23387
23425
  item: _ctx.item,
23388
23426
  options: _ctx.options,
23389
23427
  "wrapper-class": "lupa-search-results-image-wrapper",
@@ -23392,16 +23430,16 @@ and ensure you are accounting for this risk.
23392
23430
  };
23393
23431
  }
23394
23432
  });
23395
- const _hoisted_1$r = ["title", "innerHTML"];
23433
+ const _hoisted_1$s = ["title", "innerHTML"];
23396
23434
  const _hoisted_2$l = ["title"];
23397
23435
  const _hoisted_3$f = ["href", "innerHTML"];
23398
- const _hoisted_4$b = ["title"];
23399
- const _hoisted_5$7 = {
23436
+ const _hoisted_4$a = ["title"];
23437
+ const _hoisted_5$5 = {
23400
23438
  key: 0,
23401
23439
  class: "lupa-search-results-product-title-text"
23402
23440
  };
23403
- const _hoisted_6$5 = ["href"];
23404
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
23441
+ const _hoisted_6$4 = ["href"];
23442
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
23405
23443
  __name: "SearchResultsProductTitle",
23406
23444
  props: {
23407
23445
  item: {},
@@ -23438,7 +23476,7 @@ and ensure you are accounting for this risk.
23438
23476
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
23439
23477
  title: sanitizedTitle.value,
23440
23478
  innerHTML: sanitizedTitle.value
23441
- }, null, 12, _hoisted_1$r)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
23479
+ }, null, 12, _hoisted_1$s)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
23442
23480
  key: 1,
23443
23481
  class: "lupa-search-results-product-title",
23444
23482
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
@@ -23456,19 +23494,19 @@ and ensure you are accounting for this risk.
23456
23494
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
23457
23495
  title: title.value
23458
23496
  }, [
23459
- !_ctx.options.link ? (openBlock(), createElementBlock("span", _hoisted_5$7, toDisplayString(title.value), 1)) : createCommentVNode("", true),
23497
+ !_ctx.options.link ? (openBlock(), createElementBlock("span", _hoisted_5$5, toDisplayString(title.value), 1)) : createCommentVNode("", true),
23460
23498
  _ctx.options.link ? (openBlock(), createElementBlock("a", {
23461
23499
  key: 1,
23462
23500
  href: _ctx.link,
23463
23501
  class: "lupa-search-results-product-title-text lupa-title-link",
23464
23502
  onClick: handleNavigation
23465
- }, toDisplayString(title.value), 9, _hoisted_6$5)) : createCommentVNode("", true)
23466
- ], 12, _hoisted_4$b));
23503
+ }, toDisplayString(title.value), 9, _hoisted_6$4)) : createCommentVNode("", true)
23504
+ ], 12, _hoisted_4$a));
23467
23505
  };
23468
23506
  }
23469
23507
  });
23470
- const _hoisted_1$q = ["innerHTML"];
23471
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
23508
+ const _hoisted_1$r = ["innerHTML"];
23509
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
23472
23510
  __name: "SearchResultsProductDescription",
23473
23511
  props: {
23474
23512
  item: {},
@@ -23495,7 +23533,7 @@ and ensure you are accounting for this risk.
23495
23533
  class: "lupa-search-results-product-description",
23496
23534
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
23497
23535
  innerHTML: sanitizedDescription.value
23498
- }, null, 12, _hoisted_1$q)) : (openBlock(), createElementBlock("div", {
23536
+ }, null, 12, _hoisted_1$r)) : (openBlock(), createElementBlock("div", {
23499
23537
  key: 1,
23500
23538
  class: "lupa-search-results-product-description",
23501
23539
  style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
@@ -23503,15 +23541,15 @@ and ensure you are accounting for this risk.
23503
23541
  };
23504
23542
  }
23505
23543
  });
23506
- const _hoisted_1$p = { id: "lupa-search-results-rating" };
23544
+ const _hoisted_1$q = { id: "lupa-search-results-rating" };
23507
23545
  const _hoisted_2$k = { class: "lupa-ratings" };
23508
23546
  const _hoisted_3$e = { class: "lupa-ratings-base" };
23509
- const _hoisted_4$a = ["innerHTML"];
23510
- const _hoisted_5$6 = { class: "lupa-rating-wrapper" };
23511
- const _hoisted_6$4 = ["innerHTML"];
23547
+ const _hoisted_4$9 = ["innerHTML"];
23548
+ const _hoisted_5$4 = { class: "lupa-rating-wrapper" };
23549
+ const _hoisted_6$3 = ["innerHTML"];
23512
23550
  const _hoisted_7$2 = ["href"];
23513
23551
  const STAR_COUNT = 5;
23514
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
23552
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
23515
23553
  __name: "SearchResultsProductRating",
23516
23554
  props: {
23517
23555
  item: {},
@@ -23542,7 +23580,7 @@ and ensure you are accounting for this risk.
23542
23580
  return generateLink(props.options.links.ratingDetails, props.item);
23543
23581
  });
23544
23582
  return (_ctx, _cache) => {
23545
- return openBlock(), createElementBlock("div", _hoisted_1$p, [
23583
+ return openBlock(), createElementBlock("div", _hoisted_1$q, [
23546
23584
  createBaseVNode("div", _hoisted_2$k, [
23547
23585
  createBaseVNode("div", _hoisted_3$e, [
23548
23586
  (openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
@@ -23550,10 +23588,10 @@ and ensure you are accounting for this risk.
23550
23588
  key: index,
23551
23589
  innerHTML: star,
23552
23590
  class: "lupa-rating lupa-rating-not-highlighted"
23553
- }, null, 8, _hoisted_4$a);
23591
+ }, null, 8, _hoisted_4$9);
23554
23592
  }), 128))
23555
23593
  ]),
23556
- createBaseVNode("div", _hoisted_5$6, [
23594
+ createBaseVNode("div", _hoisted_5$4, [
23557
23595
  createBaseVNode("div", {
23558
23596
  class: "lupa-ratings-highlighted",
23559
23597
  style: normalizeStyle({ width: ratingPercentage.value + "%" })
@@ -23563,7 +23601,7 @@ and ensure you are accounting for this risk.
23563
23601
  key: index,
23564
23602
  innerHTML: star,
23565
23603
  class: "lupa-rating lupa-rating-highlighted"
23566
- }, null, 8, _hoisted_6$4);
23604
+ }, null, 8, _hoisted_6$3);
23567
23605
  }), 128))
23568
23606
  ], 4)
23569
23607
  ])
@@ -23576,11 +23614,11 @@ and ensure you are accounting for this risk.
23576
23614
  };
23577
23615
  }
23578
23616
  });
23579
- const _hoisted_1$o = {
23617
+ const _hoisted_1$p = {
23580
23618
  class: "lupa-search-results-product-regular-price",
23581
23619
  "data-cy": "lupa-search-results-product-regular-price"
23582
23620
  };
23583
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
23621
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
23584
23622
  __name: "SearchResultsProductRegularPrice",
23585
23623
  props: {
23586
23624
  item: {},
@@ -23598,11 +23636,11 @@ and ensure you are accounting for this risk.
23598
23636
  );
23599
23637
  });
23600
23638
  return (_ctx, _cache) => {
23601
- return openBlock(), createElementBlock("div", _hoisted_1$o, toDisplayString(price.value), 1);
23639
+ return openBlock(), createElementBlock("div", _hoisted_1$p, toDisplayString(price.value), 1);
23602
23640
  };
23603
23641
  }
23604
23642
  });
23605
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
23643
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
23606
23644
  __name: "SearchResultsProductPrice",
23607
23645
  props: {
23608
23646
  item: {},
@@ -23632,10 +23670,10 @@ and ensure you are accounting for this risk.
23632
23670
  };
23633
23671
  }
23634
23672
  });
23635
- const _hoisted_1$n = { class: "lupa-search-results-add-to-cart-wrapper" };
23673
+ const _hoisted_1$o = { class: "lupa-search-results-add-to-cart-wrapper" };
23636
23674
  const _hoisted_2$j = { class: "lupa-search-results-product-addtocart" };
23637
23675
  const _hoisted_3$d = ["onClick", "disabled"];
23638
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
23676
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
23639
23677
  __name: "SearchResultsProductAddToCart",
23640
23678
  props: {
23641
23679
  item: {},
@@ -23668,7 +23706,7 @@ and ensure you are accounting for this risk.
23668
23706
  loading.value = false;
23669
23707
  });
23670
23708
  return (_ctx, _cache) => {
23671
- return openBlock(), createElementBlock("div", _hoisted_1$n, [
23709
+ return openBlock(), createElementBlock("div", _hoisted_1$o, [
23672
23710
  createBaseVNode("div", _hoisted_2$j, [
23673
23711
  createBaseVNode("button", {
23674
23712
  onClick: withModifiers(handleClick, ["stop"]),
@@ -23681,12 +23719,12 @@ and ensure you are accounting for this risk.
23681
23719
  };
23682
23720
  }
23683
23721
  });
23684
- const _hoisted_1$m = ["innerHTML"];
23722
+ const _hoisted_1$n = ["innerHTML"];
23685
23723
  const _hoisted_2$i = { key: 0 };
23686
23724
  const _hoisted_3$c = { key: 1 };
23687
- const _hoisted_4$9 = { class: "lupa-search-box-custom-label" };
23688
- const _hoisted_5$5 = { class: "lupa-search-box-custom-text" };
23689
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
23725
+ const _hoisted_4$8 = { class: "lupa-search-box-custom-label" };
23726
+ const _hoisted_5$3 = { class: "lupa-search-box-custom-text" };
23727
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
23690
23728
  __name: "SearchResultsProductCustom",
23691
23729
  props: {
23692
23730
  item: {},
@@ -23724,20 +23762,20 @@ and ensure you are accounting for this risk.
23724
23762
  key: 0,
23725
23763
  class: className.value,
23726
23764
  innerHTML: text.value
23727
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$m)) : (openBlock(), createElementBlock("div", mergeProps({
23765
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$n)) : (openBlock(), createElementBlock("div", mergeProps({
23728
23766
  key: 1,
23729
23767
  class: className.value
23730
23768
  }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), [
23731
23769
  !label.value ? (openBlock(), createElementBlock("div", _hoisted_2$i, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$c, [
23732
- createBaseVNode("div", _hoisted_4$9, toDisplayString(label.value), 1),
23733
- createBaseVNode("div", _hoisted_5$5, toDisplayString(text.value), 1)
23770
+ createBaseVNode("div", _hoisted_4$8, toDisplayString(label.value), 1),
23771
+ createBaseVNode("div", _hoisted_5$3, toDisplayString(text.value), 1)
23734
23772
  ]))
23735
23773
  ], 16));
23736
23774
  };
23737
23775
  }
23738
23776
  });
23739
- const _hoisted_1$l = ["innerHTML"];
23740
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
23777
+ const _hoisted_1$m = ["innerHTML"];
23778
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
23741
23779
  __name: "SearchResultsProductCustomHtmlElement",
23742
23780
  props: {
23743
23781
  item: {},
@@ -23768,15 +23806,15 @@ and ensure you are accounting for this risk.
23768
23806
  return openBlock(), createElementBlock("div", mergeProps({
23769
23807
  class: className.value,
23770
23808
  innerHTML: text.value
23771
- }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$l);
23809
+ }, toHandlers(_ctx.options.action ? { click: handleClick } : {}, true)), null, 16, _hoisted_1$m);
23772
23810
  };
23773
23811
  }
23774
23812
  });
23775
- const _hoisted_1$k = { id: "lupa-search-results-rating" };
23813
+ const _hoisted_1$l = { id: "lupa-search-results-rating" };
23776
23814
  const _hoisted_2$h = ["innerHTML"];
23777
23815
  const _hoisted_3$b = { class: "lupa-ratings" };
23778
- const _hoisted_4$8 = ["href"];
23779
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
23816
+ const _hoisted_4$7 = ["href"];
23817
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
23780
23818
  __name: "SearchResultsProductSingleStarRating",
23781
23819
  props: {
23782
23820
  item: {},
@@ -23804,7 +23842,7 @@ and ensure you are accounting for this risk.
23804
23842
  return RATING_STAR_HTML;
23805
23843
  });
23806
23844
  return (_ctx, _cache) => {
23807
- return openBlock(), createElementBlock("div", _hoisted_1$k, [
23845
+ return openBlock(), createElementBlock("div", _hoisted_1$l, [
23808
23846
  createBaseVNode("div", {
23809
23847
  innerHTML: star.value,
23810
23848
  class: "lupa-rating lupa-rating-highlighted"
@@ -23813,26 +23851,26 @@ and ensure you are accounting for this risk.
23813
23851
  createBaseVNode("a", {
23814
23852
  href: ratingLink.value,
23815
23853
  class: "lupa-total-ratings"
23816
- }, toDisplayString(totalRatings.value), 9, _hoisted_4$8)
23854
+ }, toDisplayString(totalRatings.value), 9, _hoisted_4$7)
23817
23855
  ]);
23818
23856
  };
23819
23857
  }
23820
23858
  });
23821
23859
  const __default__ = {
23822
23860
  components: {
23823
- SearchResultsProductImage: _sfc_main$v,
23824
- SearchResultsProductTitle: _sfc_main$u,
23825
- SearchResultsProductDescription: _sfc_main$t,
23826
- SearchResultsProductRating: _sfc_main$s,
23827
- SearchResultsProductRegularPrice: _sfc_main$r,
23828
- SearchResultsProductPrice: _sfc_main$q,
23829
- SearchResultsProductAddToCart: _sfc_main$p,
23830
- SearchResultsProductCustom: _sfc_main$o,
23831
- SearchResultsProductCustomHtmlElement: _sfc_main$n,
23832
- SearchResultsProductSingleStarRating: _sfc_main$m
23833
- }
23834
- };
23835
- const _sfc_main$l = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
23861
+ SearchResultsProductImage: _sfc_main$x,
23862
+ SearchResultsProductTitle: _sfc_main$w,
23863
+ SearchResultsProductDescription: _sfc_main$v,
23864
+ SearchResultsProductRating: _sfc_main$u,
23865
+ SearchResultsProductRegularPrice: _sfc_main$t,
23866
+ SearchResultsProductPrice: _sfc_main$s,
23867
+ SearchResultsProductAddToCart: _sfc_main$r,
23868
+ SearchResultsProductCustom: _sfc_main$q,
23869
+ SearchResultsProductCustomHtmlElement: _sfc_main$p,
23870
+ SearchResultsProductSingleStarRating: _sfc_main$o
23871
+ }
23872
+ };
23873
+ const _sfc_main$n = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
23836
23874
  __name: "SearchResultsProductCardElement",
23837
23875
  props: {
23838
23876
  item: {},
@@ -23908,13 +23946,13 @@ and ensure you are accounting for this risk.
23908
23946
  };
23909
23947
  }
23910
23948
  }));
23911
- const _hoisted_1$j = ["href"];
23949
+ const _hoisted_1$k = ["href"];
23912
23950
  const _hoisted_2$g = {
23913
23951
  key: 0,
23914
23952
  class: "lupa-out-of-stock"
23915
23953
  };
23916
23954
  const _hoisted_3$a = { class: "lupa-search-result-product-details-section" };
23917
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
23955
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
23918
23956
  __name: "SearchResultsProductCard",
23919
23957
  props: {
23920
23958
  product: {},
@@ -24066,7 +24104,7 @@ and ensure you are accounting for this risk.
24066
24104
  "data-cy": "lupa-search-result-product-card",
24067
24105
  class: ["lupa-search-result-product-card", !isInStock.value ? "lupa-out-of-stock" : ""]
24068
24106
  }, customDocumentHtmlAttributes.value, { onClick: handleClick }), [
24069
- createVNode(_sfc_main$10, { options: badgesOptions.value }, null, 8, ["options"]),
24107
+ createVNode(_sfc_main$12, { options: badgesOptions.value }, null, 8, ["options"]),
24070
24108
  createBaseVNode("div", {
24071
24109
  class: normalizeClass(["lupa-search-result-product-contents", listLayoutClass.value])
24072
24110
  }, [
@@ -24076,7 +24114,7 @@ and ensure you are accounting for this risk.
24076
24114
  onClick: handleNavigation
24077
24115
  }, [
24078
24116
  (openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
24079
- return openBlock(), createBlock(_sfc_main$l, {
24117
+ return openBlock(), createBlock(_sfc_main$n, {
24080
24118
  class: "lupa-search-results-product-element",
24081
24119
  item: _ctx.product,
24082
24120
  element,
@@ -24087,16 +24125,16 @@ and ensure you are accounting for this risk.
24087
24125
  onProductEvent: handleProductEvent
24088
24126
  }, null, 8, ["item", "element", "labels", "inStock", "link"]);
24089
24127
  }), 128)),
24090
- createVNode(_sfc_main$10, {
24128
+ createVNode(_sfc_main$12, {
24091
24129
  options: badgesOptions.value,
24092
24130
  position: "image",
24093
24131
  class: "lupa-image-badges"
24094
24132
  }, null, 8, ["options"]),
24095
24133
  ((_a = labels.value) == null ? void 0 : _a.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$g, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
24096
- ], 8, _hoisted_1$j),
24134
+ ], 8, _hoisted_1$k),
24097
24135
  createBaseVNode("div", _hoisted_3$a, [
24098
24136
  (openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
24099
- return openBlock(), createBlock(_sfc_main$l, {
24137
+ return openBlock(), createBlock(_sfc_main$n, {
24100
24138
  class: "lupa-search-results-product-element",
24101
24139
  item: _ctx.product,
24102
24140
  element,
@@ -24114,7 +24152,7 @@ and ensure you are accounting for this risk.
24114
24152
  class: normalizeClass("lupa-element-group-" + group)
24115
24153
  }, [
24116
24154
  (openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
24117
- return openBlock(), createBlock(_sfc_main$l, {
24155
+ return openBlock(), createBlock(_sfc_main$n, {
24118
24156
  class: "lupa-search-results-product-element",
24119
24157
  item: _ctx.product,
24120
24158
  element,
@@ -24132,7 +24170,7 @@ and ensure you are accounting for this risk.
24132
24170
  };
24133
24171
  }
24134
24172
  });
24135
- const _hoisted_1$i = {
24173
+ const _hoisted_1$j = {
24136
24174
  id: "lupa-search-results-similar-queries",
24137
24175
  "data-cy": "lupa-search-results-similar-queries"
24138
24176
  };
@@ -24141,14 +24179,14 @@ and ensure you are accounting for this risk.
24141
24179
  class: "lupa-similar-query-label",
24142
24180
  "data-cy": "lupa-similar-query-label"
24143
24181
  };
24144
- const _hoisted_4$7 = ["onClick"];
24145
- const _hoisted_5$4 = ["innerHTML"];
24146
- const _hoisted_6$3 = { key: 0 };
24182
+ const _hoisted_4$6 = ["onClick"];
24183
+ const _hoisted_5$2 = ["innerHTML"];
24184
+ const _hoisted_6$2 = { key: 0 };
24147
24185
  const _hoisted_7$1 = {
24148
24186
  class: "lupa-products",
24149
24187
  "data-cy": "lupa-products"
24150
24188
  };
24151
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
24189
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
24152
24190
  __name: "SearchResultsSimilarQueries",
24153
24191
  props: {
24154
24192
  labels: {},
@@ -24178,7 +24216,7 @@ and ensure you are accounting for this risk.
24178
24216
  paramsStore.goToResults({ searchText, facet });
24179
24217
  };
24180
24218
  return (_ctx, _cache) => {
24181
- return openBlock(), createElementBlock("div", _hoisted_1$i, [
24219
+ return openBlock(), createElementBlock("div", _hoisted_1$j, [
24182
24220
  createBaseVNode("div", _hoisted_2$f, toDisplayString(_ctx.labels.similarQueries), 1),
24183
24221
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarQueries.value, (similarQuery, index) => {
24184
24222
  return openBlock(), createElementBlock("div", { key: index }, [
@@ -24192,13 +24230,13 @@ and ensure you are accounting for this risk.
24192
24230
  }, [
24193
24231
  createBaseVNode("span", {
24194
24232
  innerHTML: getSimilarQueryContent(similarQuery.displayQuery)
24195
- }, null, 8, _hoisted_5$4),
24196
- similarQuery.count ? (openBlock(), createElementBlock("span", _hoisted_6$3, " (" + toDisplayString(similarQuery.count) + ")", 1)) : createCommentVNode("", true)
24197
- ], 8, _hoisted_4$7)
24233
+ }, null, 8, _hoisted_5$2),
24234
+ similarQuery.count ? (openBlock(), createElementBlock("span", _hoisted_6$2, " (" + toDisplayString(similarQuery.count) + ")", 1)) : createCommentVNode("", true)
24235
+ ], 8, _hoisted_4$6)
24198
24236
  ]),
24199
24237
  createBaseVNode("div", _hoisted_7$1, [
24200
24238
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarQuery.items, (product, index2) => {
24201
- return openBlock(), createBlock(_sfc_main$k, {
24239
+ return openBlock(), createBlock(_sfc_main$m, {
24202
24240
  style: normalizeStyle(_ctx.columnSize),
24203
24241
  key: getDocumentKey(index2, product),
24204
24242
  product,
@@ -24212,7 +24250,7 @@ and ensure you are accounting for this risk.
24212
24250
  };
24213
24251
  }
24214
24252
  });
24215
- const _hoisted_1$h = {
24253
+ const _hoisted_1$i = {
24216
24254
  key: 0,
24217
24255
  class: "lupa-results-additional-panel"
24218
24256
  };
@@ -24220,7 +24258,7 @@ and ensure you are accounting for this risk.
24220
24258
  class: "lupa-results-additional-panel-items",
24221
24259
  "data-cy": "lupa-results-additional-panel-items"
24222
24260
  };
24223
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
24261
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
24224
24262
  __name: "AdditionalPanel",
24225
24263
  props: {
24226
24264
  panel: {},
@@ -24292,10 +24330,10 @@ and ensure you are accounting for this risk.
24292
24330
  handleQueryChange();
24293
24331
  });
24294
24332
  return (_ctx, _cache) => {
24295
- return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
24333
+ return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
24296
24334
  createBaseVNode("div", _hoisted_2$e, [
24297
24335
  (openBlock(true), createElementBlock(Fragment, null, renderList(visibleItems.value, (item, index) => {
24298
- return openBlock(), createBlock(_sfc_main$k, {
24336
+ return openBlock(), createBlock(_sfc_main$m, {
24299
24337
  key: index,
24300
24338
  product: item,
24301
24339
  options: _ctx.panel,
@@ -24313,11 +24351,11 @@ and ensure you are accounting for this risk.
24313
24351
  };
24314
24352
  }
24315
24353
  });
24316
- const _hoisted_1$g = {
24354
+ const _hoisted_1$h = {
24317
24355
  key: 0,
24318
24356
  class: "lupa-results-additional-panels"
24319
24357
  };
24320
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
24358
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
24321
24359
  __name: "AdditionalPanels",
24322
24360
  props: {
24323
24361
  options: {},
@@ -24334,9 +24372,9 @@ and ensure you are accounting for this risk.
24334
24372
  return locationPanels.value.length > 0;
24335
24373
  });
24336
24374
  return (_ctx, _cache) => {
24337
- return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$g, [
24375
+ return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$h, [
24338
24376
  (openBlock(true), createElementBlock(Fragment, null, renderList(locationPanels.value, (panel) => {
24339
- return openBlock(), createBlock(_sfc_main$i, {
24377
+ return openBlock(), createBlock(_sfc_main$k, {
24340
24378
  key: panel.queryKey,
24341
24379
  panel,
24342
24380
  options: _ctx.sdkOptions
@@ -24353,11 +24391,11 @@ and ensure you are accounting for this risk.
24353
24391
  }
24354
24392
  return target;
24355
24393
  };
24356
- const _sfc_main$g = {};
24357
- const _hoisted_1$f = { class: "lupa-spinner-wrapper" };
24394
+ const _sfc_main$i = {};
24395
+ const _hoisted_1$g = { class: "lupa-spinner-wrapper" };
24358
24396
  const _hoisted_2$d = { class: "lupa-spinner" };
24359
24397
  function _sfc_render(_ctx, _cache) {
24360
- return openBlock(), createElementBlock("div", _hoisted_1$f, [
24398
+ return openBlock(), createElementBlock("div", _hoisted_1$g, [
24361
24399
  createBaseVNode("div", _hoisted_2$d, [
24362
24400
  (openBlock(), createElementBlock(Fragment, null, renderList(12, (x2) => {
24363
24401
  return createBaseVNode("div", { key: x2 });
@@ -24365,8 +24403,8 @@ and ensure you are accounting for this risk.
24365
24403
  ])
24366
24404
  ]);
24367
24405
  }
24368
- const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", _sfc_render]]);
24369
- const _hoisted_1$e = {
24406
+ const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["render", _sfc_render]]);
24407
+ const _hoisted_1$f = {
24370
24408
  id: "lupa-search-results-similar-results",
24371
24409
  "data-cy": "lupa-search-results-similar-results"
24372
24410
  };
@@ -24375,7 +24413,7 @@ and ensure you are accounting for this risk.
24375
24413
  class: "lupa-products",
24376
24414
  "data-cy": "lupa-products"
24377
24415
  };
24378
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
24416
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
24379
24417
  __name: "SearchResultsSimilarResults",
24380
24418
  props: {
24381
24419
  columnSize: {},
@@ -24391,11 +24429,11 @@ and ensure you are accounting for this risk.
24391
24429
  return getProductKey(`${index}`, product, props.productCardOptions.idKey);
24392
24430
  };
24393
24431
  return (_ctx, _cache) => {
24394
- return openBlock(), createElementBlock("div", _hoisted_1$e, [
24432
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
24395
24433
  createBaseVNode("div", _hoisted_2$c, toDisplayString(_ctx.labels.similarResultsLabel), 1),
24396
24434
  createBaseVNode("div", _hoisted_3$8, [
24397
24435
  (openBlock(true), createElementBlock(Fragment, null, renderList(similarResults.value.items, (product, index) => {
24398
- return openBlock(), createBlock(_sfc_main$k, {
24436
+ return openBlock(), createBlock(_sfc_main$m, {
24399
24437
  style: normalizeStyle(_ctx.columnSize),
24400
24438
  key: getDocumentKey(index, product),
24401
24439
  product,
@@ -24407,7 +24445,7 @@ and ensure you are accounting for this risk.
24407
24445
  };
24408
24446
  }
24409
24447
  });
24410
- const _hoisted_1$d = { id: "lupa-search-results-products" };
24448
+ const _hoisted_1$e = { id: "lupa-search-results-products" };
24411
24449
  const _hoisted_2$b = {
24412
24450
  class: "lupa-products",
24413
24451
  "data-cy": "lupa-products"
@@ -24417,14 +24455,14 @@ and ensure you are accounting for this risk.
24417
24455
  class: "lupa-empty-results",
24418
24456
  "data-cy": "lupa-no-results-in-page"
24419
24457
  };
24420
- const _hoisted_4$6 = {
24458
+ const _hoisted_4$5 = {
24421
24459
  key: 3,
24422
24460
  class: "lupa-empty-results",
24423
24461
  "data-cy": "lupa-no-results"
24424
24462
  };
24425
- const _hoisted_5$3 = { key: 4 };
24426
- const _hoisted_6$2 = { key: 5 };
24427
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
24463
+ const _hoisted_5$1 = { key: 4 };
24464
+ const _hoisted_6$1 = { key: 5 };
24465
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
24428
24466
  __name: "SearchResultsProducts",
24429
24467
  props: {
24430
24468
  options: {},
@@ -24531,24 +24569,24 @@ and ensure you are accounting for this risk.
24531
24569
  };
24532
24570
  return (_ctx, _cache) => {
24533
24571
  var _a;
24534
- return openBlock(), createElementBlock("div", _hoisted_1$d, [
24572
+ return openBlock(), createElementBlock("div", _hoisted_1$e, [
24535
24573
  unref(loading) && !unref(isMobileSidebarVisible) ? (openBlock(), createBlock(Spinner, {
24536
24574
  key: 0,
24537
24575
  class: "lupa-loader"
24538
24576
  })) : createCommentVNode("", true),
24539
24577
  unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
24540
- showTopFilters.value ? (openBlock(), createBlock(_sfc_main$C, {
24578
+ showTopFilters.value ? (openBlock(), createBlock(_sfc_main$E, {
24541
24579
  key: 0,
24542
24580
  options: (_a = _ctx.options.filters) != null ? _a : {}
24543
24581
  }, null, 8, ["options"])) : createCommentVNode("", true),
24544
- showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$w, {
24582
+ showMobileFilters.value ? (openBlock(), createBlock(_sfc_main$y, {
24545
24583
  key: 1,
24546
24584
  class: "lupa-toolbar-mobile",
24547
24585
  options: _ctx.options,
24548
24586
  "pagination-location": "top",
24549
24587
  onFilter: filter2
24550
24588
  }, null, 8, ["options"])) : createCommentVNode("", true),
24551
- currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$Q, {
24589
+ currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$S, {
24552
24590
  key: 2,
24553
24591
  class: normalizeClass(currentFiltersClass.value),
24554
24592
  "data-cy": "lupa-search-result-filters-mobile-toolbar",
@@ -24556,18 +24594,18 @@ and ensure you are accounting for this risk.
24556
24594
  expandable: !desktopFiltersExpanded.value
24557
24595
  }, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
24558
24596
  ], 64)) : createCommentVNode("", true),
24559
- createVNode(_sfc_main$h, {
24597
+ createVNode(_sfc_main$j, {
24560
24598
  options: _ctx.options,
24561
24599
  location: "top",
24562
24600
  sdkOptions: _ctx.options.options
24563
24601
  }, null, 8, ["options", "sdkOptions"]),
24564
24602
  unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
24565
- createVNode(_sfc_main$w, {
24603
+ createVNode(_sfc_main$y, {
24566
24604
  class: "lupa-toolbar-top",
24567
24605
  options: _ctx.options,
24568
24606
  "pagination-location": "top"
24569
24607
  }, null, 8, ["options"]),
24570
- currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$Q, {
24608
+ currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$S, {
24571
24609
  key: 0,
24572
24610
  class: normalizeClass(currentFiltersClass.value),
24573
24611
  "data-cy": "lupa-search-result-filters-mobile-toolbar",
@@ -24583,7 +24621,7 @@ and ensure you are accounting for this risk.
24583
24621
  options: productCardOptions.value
24584
24622
  });
24585
24623
  }), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(searchResult).items, (product, index) => {
24586
- return openBlock(), createBlock(_sfc_main$k, {
24624
+ return openBlock(), createBlock(_sfc_main$m, {
24587
24625
  style: normalizeStyle(columnSize.value),
24588
24626
  key: getProductKeyAction(index, product),
24589
24627
  product,
@@ -24599,29 +24637,29 @@ and ensure you are accounting for this risk.
24599
24637
  onClick: goToFirstPage
24600
24638
  }, toDisplayString(_ctx.options.labels.backToFirstPage), 1)) : createCommentVNode("", true)
24601
24639
  ])) : createCommentVNode("", true),
24602
- createVNode(_sfc_main$w, {
24640
+ createVNode(_sfc_main$y, {
24603
24641
  class: "lupa-toolbar-bottom",
24604
24642
  options: _ctx.options,
24605
24643
  "pagination-location": "bottom"
24606
24644
  }, null, 8, ["options"]),
24607
- createVNode(_sfc_main$h, {
24645
+ createVNode(_sfc_main$j, {
24608
24646
  options: _ctx.options,
24609
24647
  location: "bottom",
24610
24648
  sdkOptions: _ctx.options.options
24611
24649
  }, null, 8, ["options", "sdkOptions"])
24612
- ], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$6, [
24650
+ ], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
24613
24651
  createTextVNode(toDisplayString(_ctx.options.labels.emptyResults) + " ", 1),
24614
24652
  createBaseVNode("span", null, toDisplayString(unref(currentQueryText)), 1)
24615
24653
  ])) : createCommentVNode("", true),
24616
- hasSimilarQueries.value ? (openBlock(), createElementBlock("div", _hoisted_5$3, [
24617
- createVNode(_sfc_main$j, {
24654
+ hasSimilarQueries.value ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
24655
+ createVNode(_sfc_main$l, {
24618
24656
  labels: similarQueriesLabels.value,
24619
24657
  columnSize: columnSize.value,
24620
24658
  productCardOptions: productCardOptions.value
24621
24659
  }, null, 8, ["labels", "columnSize", "productCardOptions"])
24622
24660
  ])) : createCommentVNode("", true),
24623
- hasSimilarResults.value ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
24624
- createVNode(_sfc_main$f, {
24661
+ hasSimilarResults.value ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
24662
+ createVNode(_sfc_main$h, {
24625
24663
  labels: similarResultsLabels.value,
24626
24664
  columnSize: columnSize.value,
24627
24665
  productCardOptions: productCardOptions.value
@@ -24632,14 +24670,14 @@ and ensure you are accounting for this risk.
24632
24670
  };
24633
24671
  }
24634
24672
  });
24635
- const _hoisted_1$c = { class: "lupa-top-mobile-filter-wrapper" };
24673
+ const _hoisted_1$d = { class: "lupa-top-mobile-filter-wrapper" };
24636
24674
  const _hoisted_2$a = {
24637
24675
  key: 0,
24638
24676
  class: "lupa-category-back"
24639
24677
  };
24640
24678
  const _hoisted_3$6 = ["href"];
24641
- const _hoisted_4$5 = { class: "lupa-child-category-list" };
24642
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
24679
+ const _hoisted_4$4 = { class: "lupa-child-category-list" };
24680
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
24643
24681
  __name: "CategoryTopFilters",
24644
24682
  props: {
24645
24683
  options: {}
@@ -24680,7 +24718,7 @@ and ensure you are accounting for this risk.
24680
24718
  return openBlock(), createElementBlock("div", {
24681
24719
  class: normalizeClass(["lupa-category-top-mobile-filters", { "lupa-has-back-button": hasBackButton.value }])
24682
24720
  }, [
24683
- createBaseVNode("div", _hoisted_1$c, [
24721
+ createBaseVNode("div", _hoisted_1$d, [
24684
24722
  hasBackButton.value ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
24685
24723
  createBaseVNode("a", {
24686
24724
  "data-cy": "lupa-category-back",
@@ -24688,16 +24726,16 @@ and ensure you are accounting for this risk.
24688
24726
  onClick: handleNavigationBack
24689
24727
  }, toDisplayString(backTitle.value), 9, _hoisted_3$6)
24690
24728
  ])) : createCommentVNode("", true),
24691
- createBaseVNode("div", _hoisted_4$5, [
24729
+ createBaseVNode("div", _hoisted_4$4, [
24692
24730
  (openBlock(true), createElementBlock(Fragment, null, renderList(unref(relatedCategoryChildren), (child) => {
24693
- return openBlock(), createBlock(_sfc_main$P, {
24731
+ return openBlock(), createBlock(_sfc_main$R, {
24694
24732
  key: getCategoryKey(child),
24695
24733
  item: child,
24696
24734
  options: categoryOptions.value
24697
24735
  }, null, 8, ["item", "options"]);
24698
24736
  }), 128))
24699
24737
  ]),
24700
- createVNode(_sfc_main$w, {
24738
+ createVNode(_sfc_main$y, {
24701
24739
  class: "lupa-toolbar-mobile",
24702
24740
  "pagination-location": "top",
24703
24741
  options: _ctx.options
@@ -24707,7 +24745,7 @@ and ensure you are accounting for this risk.
24707
24745
  };
24708
24746
  }
24709
24747
  });
24710
- const _hoisted_1$b = {
24748
+ const _hoisted_1$c = {
24711
24749
  key: 0,
24712
24750
  class: "lupa-container-title-summary-mobile"
24713
24751
  };
@@ -24717,8 +24755,8 @@ and ensure you are accounting for this risk.
24717
24755
  class: "top-layout-wrapper"
24718
24756
  };
24719
24757
  const _hoisted_3$5 = { class: "search-content" };
24720
- const _hoisted_4$4 = { id: "lupa-search-results" };
24721
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
24758
+ const _hoisted_4$3 = { id: "lupa-search-results" };
24759
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
24722
24760
  __name: "SearchResults",
24723
24761
  props: {
24724
24762
  options: {},
@@ -24928,29 +24966,29 @@ and ensure you are accounting for this risk.
24928
24966
  return openBlock(), createElementBlock("div", {
24929
24967
  class: normalizeClass(["lupa-search-result-wrapper", { "lupa-search-wrapper-no-results": !unref(hasResults) }])
24930
24968
  }, [
24931
- _ctx.isContainer ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
24932
- createVNode(_sfc_main$U, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
24933
- createVNode(_sfc_main$S, {
24969
+ _ctx.isContainer ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
24970
+ createVNode(_sfc_main$W, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
24971
+ createVNode(_sfc_main$U, {
24934
24972
  "show-summary": true,
24935
24973
  options: _ctx.options,
24936
24974
  "is-product-list": (_a = _ctx.isProductList) != null ? _a : false
24937
24975
  }, null, 8, ["options", "is-product-list"])
24938
24976
  ])) : createCommentVNode("", true),
24939
- isTitleResultTopPosition.value ? (openBlock(), createBlock(_sfc_main$d, {
24977
+ isTitleResultTopPosition.value ? (openBlock(), createBlock(_sfc_main$f, {
24940
24978
  key: 1,
24941
24979
  options: _ctx.options
24942
24980
  }, null, 8, ["options"])) : createCommentVNode("", true),
24943
- _ctx.options.filters ? (openBlock(), createBlock(_sfc_main$E, {
24981
+ _ctx.options.filters ? (openBlock(), createBlock(_sfc_main$G, {
24944
24982
  key: 2,
24945
24983
  options: _ctx.options.filters,
24946
24984
  onFilter: handleParamsChange
24947
24985
  }, null, 8, ["options"])) : createCommentVNode("", true),
24948
- unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$D, {
24986
+ unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$F, {
24949
24987
  key: 3,
24950
24988
  breadcrumbs: _ctx.options.breadcrumbs
24951
24989
  }, null, 8, ["breadcrumbs"])) : createCommentVNode("", true),
24952
24990
  isTitleResultTopPosition.value ? (openBlock(), createElementBlock("div", _hoisted_2$9, [
24953
- showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$F, {
24991
+ showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$H, {
24954
24992
  key: 0,
24955
24993
  options: (_b = _ctx.options.filters) != null ? _b : {},
24956
24994
  ref_key: "searchResultsFilters",
@@ -24958,12 +24996,12 @@ and ensure you are accounting for this risk.
24958
24996
  onFilter: handleParamsChange
24959
24997
  }, null, 8, ["options"])) : createCommentVNode("", true),
24960
24998
  createBaseVNode("div", _hoisted_3$5, [
24961
- createVNode(_sfc_main$U, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
24962
- createVNode(_sfc_main$S, {
24999
+ createVNode(_sfc_main$W, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
25000
+ createVNode(_sfc_main$U, {
24963
25001
  options: _ctx.options,
24964
25002
  "is-product-list": (_c = _ctx.isProductList) != null ? _c : false
24965
25003
  }, null, 8, ["options", "is-product-list"]),
24966
- createVNode(_sfc_main$e, {
25004
+ createVNode(_sfc_main$g, {
24967
25005
  options: _ctx.options,
24968
25006
  ssr: ssrEnabled.value,
24969
25007
  onFilter: handleParamsChange
@@ -24975,20 +25013,20 @@ and ensure you are accounting for this risk.
24975
25013
  }, 8, ["options", "ssr"])
24976
25014
  ])
24977
25015
  ])) : (openBlock(), createElementBlock(Fragment, { key: 5 }, [
24978
- createVNode(_sfc_main$U, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
24979
- createVNode(_sfc_main$S, {
25016
+ createVNode(_sfc_main$W, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
25017
+ createVNode(_sfc_main$U, {
24980
25018
  options: _ctx.options,
24981
25019
  "is-product-list": (_d = _ctx.isProductList) != null ? _d : false
24982
25020
  }, null, 8, ["options", "is-product-list"]),
24983
- createBaseVNode("div", _hoisted_4$4, [
24984
- showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$F, {
25021
+ createBaseVNode("div", _hoisted_4$3, [
25022
+ showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$H, {
24985
25023
  key: 0,
24986
25024
  options: (_e = _ctx.options.filters) != null ? _e : {},
24987
25025
  ref_key: "searchResultsFilters",
24988
25026
  ref: searchResultsFilters,
24989
25027
  onFilter: handleParamsChange
24990
25028
  }, null, 8, ["options"])) : createCommentVNode("", true),
24991
- createVNode(_sfc_main$e, {
25029
+ createVNode(_sfc_main$g, {
24992
25030
  options: _ctx.options,
24993
25031
  ssr: ssrEnabled.value,
24994
25032
  onFilter: handleParamsChange
@@ -25012,12 +25050,12 @@ and ensure you are accounting for this risk.
25012
25050
  };
25013
25051
  }
25014
25052
  });
25015
- const _hoisted_1$a = {
25053
+ const _hoisted_1$b = {
25016
25054
  key: 0,
25017
25055
  class: "lupa-category-overview"
25018
25056
  };
25019
25057
  const _hoisted_2$8 = ["innerHTML"];
25020
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
25058
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
25021
25059
  __name: "CategoryDescription",
25022
25060
  props: {
25023
25061
  options: {}
@@ -25035,7 +25073,7 @@ and ensure you are accounting for this risk.
25035
25073
  return Boolean((_b = (_a = props.options.categories) == null ? void 0 : _a.current) == null ? void 0 : _b.description);
25036
25074
  });
25037
25075
  return (_ctx, _cache) => {
25038
- return overviewVisible.value && unref(hasResults) ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
25076
+ return overviewVisible.value && unref(hasResults) ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
25039
25077
  createBaseVNode("div", {
25040
25078
  class: "lupa-category-description",
25041
25079
  innerHTML: description.value
@@ -25100,7 +25138,7 @@ and ensure you are accounting for this risk.
25100
25138
  }
25101
25139
  return parsedObject;
25102
25140
  };
25103
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
25141
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
25104
25142
  __name: "ProductList",
25105
25143
  props: {
25106
25144
  options: {}
@@ -25125,7 +25163,7 @@ and ensure you are accounting for this risk.
25125
25163
  __expose({ fetch: fetch2 });
25126
25164
  return (_ctx, _cache) => {
25127
25165
  return openBlock(), createElementBlock("div", null, [
25128
- createVNode(_sfc_main$c, {
25166
+ createVNode(_sfc_main$e, {
25129
25167
  options: componentOptions.value,
25130
25168
  "initial-filters": _ctx.options.initialFilters,
25131
25169
  "is-product-list": true,
@@ -25133,7 +25171,7 @@ and ensure you are accounting for this risk.
25133
25171
  ref: searchResults2
25134
25172
  }, {
25135
25173
  default: withCtx(() => [
25136
- createVNode(_sfc_main$b, { options: _ctx.options }, null, 8, ["options"])
25174
+ createVNode(_sfc_main$d, { options: _ctx.options }, null, 8, ["options"])
25137
25175
  ]),
25138
25176
  _: 1
25139
25177
  }, 8, ["options", "initial-filters"])
@@ -30623,9 +30661,9 @@ and ensure you are accounting for this risk.
30623
30661
  }).call(commonjsGlobal$1);
30624
30662
  })(lodash$1, lodash$1.exports);
30625
30663
  var lodashExports$1 = lodash$1.exports;
30626
- const _hoisted_1$9 = ["onClick"];
30664
+ const _hoisted_1$a = ["onClick"];
30627
30665
  const _hoisted_2$7 = { class: "lupa-search-box-container" };
30628
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
30666
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
30629
30667
  __name: "SearchContainer",
30630
30668
  props: {
30631
30669
  options: {}
@@ -30671,7 +30709,7 @@ and ensure you are accounting for this risk.
30671
30709
  onClick: withModifiers(innerClick, ["stop"])
30672
30710
  }, [
30673
30711
  createBaseVNode("div", _hoisted_2$7, [
30674
- createVNode(_sfc_main$V, {
30712
+ createVNode(_sfc_main$X, {
30675
30713
  options: fullSearchBoxOptions.value,
30676
30714
  "is-search-container": true,
30677
30715
  ref_key: "searchBox",
@@ -30679,13 +30717,13 @@ and ensure you are accounting for this risk.
30679
30717
  onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
30680
30718
  }, null, 8, ["options"])
30681
30719
  ]),
30682
- createVNode(_sfc_main$c, {
30720
+ createVNode(_sfc_main$e, {
30683
30721
  options: fullSearchResultsOptions.value,
30684
30722
  "is-container": true,
30685
30723
  ref_key: "searchResults",
30686
30724
  ref: searchResults2
30687
30725
  }, null, 8, ["options"])
30688
- ], 8, _hoisted_1$9)
30726
+ ], 8, _hoisted_1$a)
30689
30727
  ]);
30690
30728
  };
30691
30729
  }
@@ -31388,7 +31426,7 @@ and ensure you are accounting for this risk.
31388
31426
  };
31389
31427
  }
31390
31428
  });
31391
- const _hoisted_1$8 = {
31429
+ const _hoisted_1$9 = {
31392
31430
  key: 0,
31393
31431
  class: "lupa-search-product-recommendations-wrapper"
31394
31432
  };
@@ -31401,12 +31439,12 @@ and ensure you are accounting for this risk.
31401
31439
  class: "lupa-recommended-products",
31402
31440
  "data-cy": "lupa-recommended-products"
31403
31441
  };
31404
- const _hoisted_4$3 = {
31442
+ const _hoisted_4$2 = {
31405
31443
  key: 1,
31406
31444
  class: "lupa-products",
31407
31445
  "data-cy": "lupa-products"
31408
31446
  };
31409
- const _sfc_main$8 = /* @__PURE__ */ defineComponent({
31447
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
31410
31448
  __name: "Recommendations",
31411
31449
  props: {
31412
31450
  options: {}
@@ -31522,7 +31560,7 @@ and ensure you are accounting for this risk.
31522
31560
  });
31523
31561
  __expose({ fetch: fetch2 });
31524
31562
  return (_ctx, _cache) => {
31525
- return hasRecommendations.value ? (openBlock(), createElementBlock("div", _hoisted_1$8, [
31563
+ return hasRecommendations.value ? (openBlock(), createElementBlock("div", _hoisted_1$9, [
31526
31564
  title.value ? (openBlock(), createElementBlock("h2", _hoisted_2$6, toDisplayString(title.value), 1)) : createCommentVNode("", true),
31527
31565
  !loading.value ? (openBlock(), createElementBlock("div", _hoisted_3$4, [
31528
31566
  layoutType.value === "carousel" ? (openBlock(), createBlock(unref(Carousel), mergeProps({ key: 0 }, carouselOptions.value, { "wrap-around": true }), {
@@ -31535,7 +31573,7 @@ and ensure you are accounting for this risk.
31535
31573
  key: getProductKeyAction(index, product)
31536
31574
  }, {
31537
31575
  default: withCtx(() => [
31538
- createVNode(_sfc_main$k, {
31576
+ createVNode(_sfc_main$m, {
31539
31577
  product,
31540
31578
  options: _ctx.options,
31541
31579
  "click-tracking-settings": clickTrackingSettings.value
@@ -31546,9 +31584,9 @@ and ensure you are accounting for this risk.
31546
31584
  }), 128))
31547
31585
  ]),
31548
31586
  _: 1
31549
- }, 16)) : (openBlock(), createElementBlock("div", _hoisted_4$3, [
31587
+ }, 16)) : (openBlock(), createElementBlock("div", _hoisted_4$2, [
31550
31588
  (openBlock(true), createElementBlock(Fragment, null, renderList(recommendations2.value, (product, index) => {
31551
- return openBlock(), createBlock(_sfc_main$k, {
31589
+ return openBlock(), createBlock(_sfc_main$m, {
31552
31590
  style: normalizeStyle(columnSize.value),
31553
31591
  key: getProductKeyAction(index, product),
31554
31592
  product,
@@ -31562,19 +31600,19 @@ and ensure you are accounting for this risk.
31562
31600
  };
31563
31601
  }
31564
31602
  });
31565
- const _hoisted_1$7 = { class: "lupa-chat-spinner" };
31603
+ const _hoisted_1$8 = { class: "lupa-chat-spinner" };
31566
31604
  const _hoisted_2$5 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
31567
31605
  const _hoisted_3$3 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
31568
- const _hoisted_4$2 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
31569
- const _hoisted_5$2 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
31570
- const _hoisted_6$1 = [
31606
+ const _hoisted_4$1 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
31607
+ const _hoisted_5 = /* @__PURE__ */ createBaseVNode("div", null, null, -1);
31608
+ const _hoisted_6 = [
31571
31609
  _hoisted_2$5,
31572
31610
  _hoisted_3$3,
31573
- _hoisted_4$2,
31574
- _hoisted_5$2
31611
+ _hoisted_4$1,
31612
+ _hoisted_5
31575
31613
  ];
31576
31614
  const _hoisted_7 = { class: "lupa-chat-spinner-message" };
31577
- const _sfc_main$7 = /* @__PURE__ */ defineComponent({
31615
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
31578
31616
  __name: "ChatSpinner",
31579
31617
  props: {
31580
31618
  small: { type: Boolean },
@@ -31582,27 +31620,25 @@ and ensure you are accounting for this risk.
31582
31620
  },
31583
31621
  setup(__props) {
31584
31622
  return (_ctx, _cache) => {
31585
- return openBlock(), createElementBlock("section", _hoisted_1$7, [
31623
+ return openBlock(), createElementBlock("section", _hoisted_1$8, [
31586
31624
  createBaseVNode("div", {
31587
31625
  class: normalizeClass([{ small: _ctx.small }, "lds-ring"])
31588
- }, _hoisted_6$1, 2),
31626
+ }, _hoisted_6, 2),
31589
31627
  createBaseVNode("div", _hoisted_7, toDisplayString(_ctx.message), 1)
31590
31628
  ]);
31591
31629
  };
31592
31630
  }
31593
31631
  });
31594
- const _hoisted_1$6 = { class: "lupa-chat-input-container" };
31632
+ const _hoisted_1$7 = { class: "lupa-chat-input-container" };
31595
31633
  const _hoisted_2$4 = { id: "lupa-search-box-input" };
31596
- const _hoisted_3$2 = {
31597
- key: 0,
31598
- class: "lupa-chat-form-submit"
31599
- };
31600
- const _sfc_main$6 = /* @__PURE__ */ defineComponent({
31634
+ const _hoisted_3$2 = { class: "lupa-chat-form-submit" };
31635
+ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
31601
31636
  __name: "ChatInput",
31602
31637
  props: {
31603
- disabled: { type: Boolean }
31638
+ disabled: { type: Boolean },
31639
+ options: {}
31604
31640
  },
31605
- emits: ["submit"],
31641
+ emits: ["submit", "focus", "blur", "clear"],
31606
31642
  setup(__props, { emit: emit2 }) {
31607
31643
  const inputValue = ref("");
31608
31644
  const submit = () => {
@@ -31610,7 +31646,8 @@ and ensure you are accounting for this risk.
31610
31646
  inputValue.value = "";
31611
31647
  };
31612
31648
  return (_ctx, _cache) => {
31613
- return openBlock(), createElementBlock("div", _hoisted_1$6, [
31649
+ var _a, _b, _c, _d, _e, _f;
31650
+ return openBlock(), createElementBlock("div", _hoisted_1$7, [
31614
31651
  createBaseVNode("form", {
31615
31652
  action: "javascript:void(0);",
31616
31653
  class: "chat-input-form",
@@ -31624,12 +31661,22 @@ and ensure you are accounting for this risk.
31624
31661
  class: "lupa-search-box-input-field",
31625
31662
  "data-cy": "lupa-search-box-input-field",
31626
31663
  type: "text",
31627
- placeholder: "Type your request here..."
31628
- }, null, 512), [
31664
+ placeholder: "Type your request here...",
31665
+ onFocus: _cache[1] || (_cache[1] = ($event) => emit2("focus")),
31666
+ onBlur: _cache[2] || (_cache[2] = ($event) => emit2("blur"))
31667
+ }, null, 544), [
31629
31668
  [vModelText, inputValue.value]
31630
31669
  ])
31631
31670
  ]),
31632
- !_ctx.disabled ? (openBlock(), createElementBlock("button", _hoisted_3$2, "Ask LupaChat")) : (openBlock(), createBlock(_sfc_main$7, {
31671
+ !_ctx.disabled ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
31672
+ createBaseVNode("button", _hoisted_3$2, toDisplayString(((_c = (_b = (_a = _ctx.options) == null ? void 0 : _a.chatSettings) == null ? void 0 : _b.labels) == null ? void 0 : _c.ask) || "Ask LupaChat"), 1),
31673
+ !_ctx.disabled ? (openBlock(), createElementBlock("button", {
31674
+ key: 0,
31675
+ type: "button",
31676
+ class: "lupa-chat-form-clear",
31677
+ onClick: _cache[3] || (_cache[3] = ($event) => emit2("clear"))
31678
+ }, toDisplayString(((_f = (_e = (_d = _ctx.options) == null ? void 0 : _d.chatSettings) == null ? void 0 : _e.labels) == null ? void 0 : _f.clear) || "Clear Chat"), 1)) : createCommentVNode("", true)
31679
+ ], 64)) : (openBlock(), createBlock(_sfc_main$9, {
31633
31680
  key: 1,
31634
31681
  small: true
31635
31682
  }))
@@ -31768,8 +31815,9 @@ and ensure you are accounting for this risk.
31768
31815
  prepareChatHistory,
31769
31816
  getTextResponseChunkStream
31770
31817
  };
31771
- const _hoisted_1$5 = { class: "lupa-chat-results" };
31772
- const _sfc_main$5 = /* @__PURE__ */ defineComponent({
31818
+ const _hoisted_1$6 = { class: "lupa-chat-results" };
31819
+ const _hoisted_2$3 = ["href"];
31820
+ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
31773
31821
  __name: "ChatPhraseProductsList",
31774
31822
  props: {
31775
31823
  options: {},
@@ -31780,35 +31828,40 @@ and ensure you are accounting for this risk.
31780
31828
  const getProductKeyAction = (index, product) => {
31781
31829
  return getProductKey(`${index}`, product, props.options.idKey);
31782
31830
  };
31831
+ const image = computed(() => {
31832
+ var _a;
31833
+ return (_a = props.options.elements) == null ? void 0 : _a.find((e2) => e2.type === "image");
31834
+ });
31835
+ const getLink = (item) => {
31836
+ var _a, _b, _c;
31837
+ if (!((_a = props.options.links) == null ? void 0 : _a.details)) {
31838
+ return "";
31839
+ }
31840
+ return generateLink((_c = (_b = props.options.links) == null ? void 0 : _b.details) != null ? _c : "", item);
31841
+ };
31783
31842
  return (_ctx, _cache) => {
31784
- return openBlock(), createElementBlock("section", _hoisted_1$5, [
31843
+ return openBlock(), createElementBlock("section", _hoisted_1$6, [
31785
31844
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchResults, (product, index) => {
31786
- return openBlock(), createBlock(_sfc_main$k, {
31787
- class: "lupa-chat-product-card",
31788
- key: getProductKeyAction(index, product),
31789
- product,
31790
- options: _ctx.options
31791
- }, null, 8, ["product", "options"]);
31845
+ return openBlock(), createElementBlock("div", {
31846
+ class: "lupa-chat-item lupa-chat-product-card-image",
31847
+ key: getProductKeyAction(index, product)
31848
+ }, [
31849
+ createBaseVNode("a", {
31850
+ href: getLink(product)
31851
+ }, [
31852
+ createVNode(_sfc_main$x, {
31853
+ item: product,
31854
+ options: image.value
31855
+ }, null, 8, ["item", "options"])
31856
+ ], 8, _hoisted_2$3)
31857
+ ]);
31792
31858
  }), 128))
31793
31859
  ]);
31794
31860
  };
31795
31861
  }
31796
31862
  });
31797
- const _hoisted_1$4 = { class: "lupa-chat-content-entry-phrase" };
31798
- const _hoisted_2$3 = { class: "lupa-chat-phrase-title" };
31799
- const _hoisted_3$1 = {
31800
- key: 0,
31801
- class: "alert"
31802
- };
31803
- const _hoisted_4$1 = {
31804
- key: 0,
31805
- class: "lupa-chat-no-results"
31806
- };
31807
- const _hoisted_5$1 = /* @__PURE__ */ createBaseVNode("p", null, "We found no matches for this search term", -1);
31808
- const _hoisted_6 = [
31809
- _hoisted_5$1
31810
- ];
31811
- const _sfc_main$4$1 = /* @__PURE__ */ defineComponent({
31863
+ const _hoisted_1$5 = { class: "lupa-chat-phrase-title" };
31864
+ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
31812
31865
  __name: "ChatContentEntryPhrase",
31813
31866
  props: {
31814
31867
  options: {},
@@ -31893,29 +31946,87 @@ and ensure you are accounting for this risk.
31893
31946
  return phrases != null ? phrases : [];
31894
31947
  });
31895
31948
  return (_ctx, _cache) => {
31896
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
31897
- createBaseVNode("div", _hoisted_2$3, [
31898
- createBaseVNode("h3", null, toDisplayString(displayPhrase.value), 1),
31899
- createBaseVNode("sub", null, toDisplayString(usedAlternativePhrases.value.join(", ")), 1),
31900
- usedPartialResults.value ? (openBlock(), createElementBlock("sub", _hoisted_3$1, "Including partial matches - which might not be what you are looking for")) : createCommentVNode("", true)
31949
+ return !loading.value && searchResults2.value.length ? (openBlock(), createElementBlock("div", {
31950
+ key: 0,
31951
+ class: normalizeClass(["lupa-chat-content-entry-phrase", { "lupa-chat-incomplete-results": usedPartialResults.value }])
31952
+ }, [
31953
+ createBaseVNode("div", _hoisted_1$5, [
31954
+ createBaseVNode("h3", null, toDisplayString(displayPhrase.value), 1)
31901
31955
  ]),
31902
31956
  createBaseVNode("div", null, [
31903
- createVNode(_sfc_main$5, {
31957
+ createVNode(_sfc_main$7, {
31904
31958
  "search-results": searchResults2.value,
31905
31959
  options: _ctx.options.displayOptions
31906
31960
  }, null, 8, ["search-results", "options"])
31907
- ]),
31908
- !loading.value && !searchResults2.value.length ? (openBlock(), createElementBlock("div", _hoisted_4$1, _hoisted_6)) : createCommentVNode("", true),
31909
- loading.value ? (openBlock(), createBlock(_sfc_main$7, {
31910
- key: 1,
31911
- message: currentAction.value
31912
- }, null, 8, ["message"])) : createCommentVNode("", true)
31961
+ ])
31962
+ ], 2)) : createCommentVNode("", true);
31963
+ };
31964
+ }
31965
+ });
31966
+ const _hoisted_1$4 = { class: "lupa-chat-text-response" };
31967
+ const _hoisted_2$2 = ["innerHTML"];
31968
+ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
31969
+ __name: "ChatTextEntry",
31970
+ props: {
31971
+ content: {},
31972
+ options: {},
31973
+ history: {}
31974
+ },
31975
+ setup(__props) {
31976
+ const props = __props;
31977
+ const content = ref("");
31978
+ const processChunk = (chunk) => {
31979
+ content.value += chunk;
31980
+ };
31981
+ onMounted(() => {
31982
+ var _a;
31983
+ ChatService.getTextResponseChunkStream(
31984
+ props.options.sdkOptions,
31985
+ {
31986
+ initialQuery: props.content,
31987
+ messageHistory: (_a = props.history) != null ? _a : [],
31988
+ queryKey: props.options.displayOptions.queryKey
31989
+ },
31990
+ processChunk,
31991
+ props.options.chatSettings
31992
+ );
31993
+ });
31994
+ return (_ctx, _cache) => {
31995
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
31996
+ createBaseVNode("p", { innerHTML: content.value }, null, 8, _hoisted_2$2)
31913
31997
  ]);
31914
31998
  };
31915
31999
  }
31916
32000
  });
31917
- const _hoisted_1$3 = { class: "lupa-chat-best-matches lupa-chat-content-entry" };
31918
- const _hoisted_2$2 = /* @__PURE__ */ createBaseVNode("h3", null, "Best matches", -1);
32001
+ const _hoisted_1$3 = { class: "lupa-chat-results" };
32002
+ const _sfc_main$4$1 = /* @__PURE__ */ defineComponent({
32003
+ __name: "ChatPhraseProductsCardList",
32004
+ props: {
32005
+ options: {},
32006
+ searchResults: {}
32007
+ },
32008
+ setup(__props) {
32009
+ const props = __props;
32010
+ const getProductKeyAction = (index, product) => {
32011
+ return getProductKey(`${index}`, product, props.options.idKey);
32012
+ };
32013
+ return (_ctx, _cache) => {
32014
+ return openBlock(), createElementBlock("section", _hoisted_1$3, [
32015
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchResults, (product, index) => {
32016
+ return openBlock(), createBlock(_sfc_main$m, {
32017
+ class: "lupa-chat-product-card",
32018
+ key: getProductKeyAction(index, product),
32019
+ product,
32020
+ options: _ctx.options
32021
+ }, null, 8, ["product", "options"]);
32022
+ }), 128))
32023
+ ]);
32024
+ };
32025
+ }
32026
+ });
32027
+ const _hoisted_1$2 = { class: "lupa-chat-section-content" };
32028
+ const _hoisted_2$1 = { class: "lupa-chat-content-entry-wrapper" };
32029
+ const _hoisted_3$1 = { class: "lupa-chat-best-matches lupa-chat-content-entry" };
31919
32030
  const MAX_SOURCES_FOR_BEST_ITEM_MATCHING = 250;
31920
32031
  const _sfc_main$3$1 = /* @__PURE__ */ defineComponent({
31921
32032
  __name: "ChatContentEntry",
@@ -31974,74 +32085,87 @@ and ensure you are accounting for this risk.
31974
32085
  }).filter(Boolean);
31975
32086
  });
31976
32087
  return (_ctx, _cache) => {
31977
- return openBlock(), createElementBlock("div", null, [
31978
- createBaseVNode("ul", null, [
31979
- (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.entry.allPhrases, (phrase) => {
31980
- return openBlock(), createElementBlock("li", {
31981
- key: phrase,
31982
- class: "lupa-chat-content-entry"
31983
- }, [
31984
- phrase ? (openBlock(), createBlock(_sfc_main$4$1, {
31985
- key: 0,
31986
- phrase,
31987
- options: _ctx.options,
31988
- onLoaded: loaded
31989
- }, null, 8, ["phrase", "options"])) : createCommentVNode("", true)
31990
- ]);
31991
- }), 128))
32088
+ var _a, _b, _c, _d, _e, _f, _g, _h, _i;
32089
+ return openBlock(), createElementBlock(Fragment, null, [
32090
+ createBaseVNode("section", _hoisted_1$2, [
32091
+ createVNode(_sfc_main$5, {
32092
+ content: _ctx.entry.userInput,
32093
+ history: _ctx.history,
32094
+ options: _ctx.options
32095
+ }, null, 8, ["content", "history", "options"]),
32096
+ createBaseVNode("div", _hoisted_2$1, [
32097
+ createBaseVNode("ul", null, [
32098
+ (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.entry.allPhrases, (phrase) => {
32099
+ return openBlock(), createElementBlock("li", {
32100
+ key: phrase,
32101
+ class: "lupa-chat-content-entry"
32102
+ }, [
32103
+ phrase ? (openBlock(), createBlock(_sfc_main$6, {
32104
+ key: 0,
32105
+ phrase,
32106
+ options: _ctx.options,
32107
+ onLoaded: loaded
32108
+ }, null, 8, ["phrase", "options"])) : createCommentVNode("", true)
32109
+ ]);
32110
+ }), 128))
32111
+ ]),
32112
+ loading.value ? (openBlock(), createBlock(_sfc_main$9, {
32113
+ key: 0,
32114
+ message: (_c = (_b = (_a = _ctx.options.chatSettings) == null ? void 0 : _a.labels) == null ? void 0 : _b.bestMatches) != null ? _c : "Checking for more matches..."
32115
+ }, null, 8, ["message"])) : createCommentVNode("", true)
32116
+ ])
31992
32117
  ]),
31993
- createBaseVNode("section", _hoisted_1$3, [
31994
- _hoisted_2$2,
31995
- loading.value ? (openBlock(), createBlock(_sfc_main$7, {
32118
+ createBaseVNode("section", _hoisted_3$1, [
32119
+ createBaseVNode("h3", null, toDisplayString((_f = (_e = (_d = _ctx.options.chatSettings) == null ? void 0 : _d.labels) == null ? void 0 : _e.checkingForMorePhraseMatches) != null ? _f : "Best matches"), 1),
32120
+ loading.value ? (openBlock(), createBlock(_sfc_main$9, {
31996
32121
  key: 0,
31997
- message: "Selecting the best matches for you. This might take a few seconds."
31998
- })) : createCommentVNode("", true),
31999
- bestMatches.value.length ? (openBlock(), createBlock(_sfc_main$5, {
32122
+ message: (_i = (_h = (_g = _ctx.options.chatSettings) == null ? void 0 : _g.labels) == null ? void 0 : _h.selectingBestPhrases) != null ? _i : "Selecting the best matches for you. This might take a few seconds."
32123
+ }, null, 8, ["message"])) : createCommentVNode("", true),
32124
+ bestMatches.value.length ? (openBlock(), createBlock(_sfc_main$4$1, {
32000
32125
  key: 1,
32001
32126
  "search-results": bestMatchProducts.value,
32002
- options: _ctx.options.displayOptions
32127
+ options: _ctx.options.displayOptions,
32128
+ full: true
32003
32129
  }, null, 8, ["search-results", "options"])) : createCommentVNode("", true)
32004
32130
  ])
32005
- ]);
32131
+ ], 64);
32006
32132
  };
32007
32133
  }
32008
32134
  });
32009
- const _hoisted_1$2 = { class: "lupa-chat-text-response" };
32010
- const _hoisted_2$1 = ["innerHTML"];
32135
+ const _hoisted_1$1 = { key: 0 };
32011
32136
  const _sfc_main$2$1 = /* @__PURE__ */ defineComponent({
32012
- __name: "ChatTextEntry",
32137
+ __name: "ChatContentListEntry",
32013
32138
  props: {
32014
- content: {},
32139
+ entry: {},
32015
32140
  options: {},
32016
32141
  history: {}
32017
32142
  },
32018
- setup(__props) {
32019
- const props = __props;
32020
- const content = ref("");
32021
- const processChunk = (chunk) => {
32022
- content.value += chunk;
32143
+ emits: ["loaded"],
32144
+ setup(__props, { emit: emit2 }) {
32145
+ const bestItemsLoaded = (items, key) => {
32146
+ emit2("loaded", { items, key });
32023
32147
  };
32024
- onMounted(() => {
32025
- var _a;
32026
- ChatService.getTextResponseChunkStream(
32027
- props.options.sdkOptions,
32028
- {
32029
- initialQuery: props.content,
32030
- messageHistory: (_a = props.history) != null ? _a : [],
32031
- queryKey: props.options.displayOptions.queryKey
32032
- },
32033
- processChunk,
32034
- props.options.chatSettings
32035
- );
32036
- });
32037
32148
  return (_ctx, _cache) => {
32038
- return openBlock(), createElementBlock("div", _hoisted_1$2, [
32039
- createBaseVNode("p", { innerHTML: content.value }, null, 8, _hoisted_2$1)
32149
+ var _a;
32150
+ return openBlock(), createElementBlock("div", null, [
32151
+ createBaseVNode("h4", {
32152
+ class: "lupa-chat-section-title",
32153
+ onClick: _cache[0] || (_cache[0] = ($event) => _ctx.entry.expanded = !_ctx.entry.expanded)
32154
+ }, toDisplayString(_ctx.entry.userInput), 1),
32155
+ ((_a = _ctx.entry.suggestedPhrases) == null ? void 0 : _a.length) ? withDirectives((openBlock(), createElementBlock("div", _hoisted_1$1, [
32156
+ createVNode(_sfc_main$3$1, {
32157
+ entry: _ctx.entry,
32158
+ options: _ctx.options,
32159
+ history: _ctx.history,
32160
+ onLoaded: _cache[1] || (_cache[1] = (items) => bestItemsLoaded(items, _ctx.entry.key))
32161
+ }, null, 8, ["entry", "options", "history"])
32162
+ ], 512)), [
32163
+ [vShow, _ctx.entry.expanded]
32164
+ ]) : createCommentVNode("", true)
32040
32165
  ]);
32041
32166
  };
32042
32167
  }
32043
32168
  });
32044
- const _hoisted_1$1 = { class: "lupa-chat-section-title" };
32045
32169
  const _sfc_main$1$1 = /* @__PURE__ */ defineComponent({
32046
32170
  __name: "ChatContentList",
32047
32171
  props: {
@@ -32058,23 +32182,16 @@ and ensure you are accounting for this risk.
32058
32182
  return openBlock(), createElementBlock("div", null, [
32059
32183
  createBaseVNode("ul", null, [
32060
32184
  (openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.content, (entry) => {
32061
- var _a;
32062
32185
  return openBlock(), createElementBlock("li", {
32063
- key: entry.key
32186
+ key: entry.key,
32187
+ class: "chat-content-list-entry"
32064
32188
  }, [
32065
- createBaseVNode("h4", _hoisted_1$1, toDisplayString(entry.userInput), 1),
32066
32189
  createVNode(_sfc_main$2$1, {
32067
- content: entry.userInput,
32068
- history: _ctx.history,
32069
- options: _ctx.options
32070
- }, null, 8, ["content", "history", "options"]),
32071
- ((_a = entry.suggestedPhrases) == null ? void 0 : _a.length) ? (openBlock(), createBlock(_sfc_main$3$1, {
32072
- key: 0,
32073
32190
  entry,
32074
32191
  options: _ctx.options,
32075
32192
  history: _ctx.history,
32076
32193
  onLoaded: (items) => bestItemsLoaded(items, entry.key)
32077
- }, null, 8, ["entry", "options", "history", "onLoaded"])) : createCommentVNode("", true)
32194
+ }, null, 8, ["entry", "options", "history", "onLoaded"])
32078
32195
  ]);
32079
32196
  }), 128))
32080
32197
  ])
@@ -32083,19 +32200,13 @@ and ensure you are accounting for this risk.
32083
32200
  }
32084
32201
  });
32085
32202
  const _hoisted_1 = { class: "lupasearch-chat" };
32086
- const _hoisted_2 = /* @__PURE__ */ createBaseVNode("section", { class: "lupa-chat-logo" }, [
32087
- /* @__PURE__ */ createBaseVNode("img", { src: "https://www.lupasearch.com/images/partials/header/lupasearch-logo.svg" })
32088
- ], -1);
32089
- const _hoisted_3 = {
32203
+ const _hoisted_2 = { class: "lupasearch-chat-input" };
32204
+ const _hoisted_3 = { class: "lupasearch-chat-content-wrapper" };
32205
+ const _hoisted_4 = {
32090
32206
  key: 0,
32091
32207
  class: "lupasearch-chat-content"
32092
32208
  };
32093
- const _hoisted_4 = {
32094
- key: 1,
32095
- class: "lupa-chat-spinner-main"
32096
- };
32097
- const _hoisted_5 = { class: "lupasearch-chat-input" };
32098
- const _sfc_main$1o = /* @__PURE__ */ defineComponent({
32209
+ const _sfc_main$1q = /* @__PURE__ */ defineComponent({
32099
32210
  __name: "ChatContainer",
32100
32211
  props: {
32101
32212
  options: {}
@@ -32104,6 +32215,7 @@ and ensure you are accounting for this risk.
32104
32215
  const props = __props;
32105
32216
  const loading = ref(false);
32106
32217
  const error = ref("");
32218
+ const focused = ref(false);
32107
32219
  const chatContent = ref([]);
32108
32220
  const history = computed(() => ChatService.prepareChatHistory(chatContent.value));
32109
32221
  const submitChatInput = (input2) => __async2(this, null, function* () {
@@ -32118,8 +32230,10 @@ and ensure you are accounting for this risk.
32118
32230
  key,
32119
32231
  userInput: input2,
32120
32232
  allPhrases: [],
32121
- suggestedPhrases: []
32233
+ suggestedPhrases: [],
32234
+ expanded: true
32122
32235
  };
32236
+ chatContent.value = chatContent.value.map((c2) => __spreadProps2(__spreadValues2({}, c2), { expanded: false }));
32123
32237
  chatContent.value.push(chatLog);
32124
32238
  const request = {
32125
32239
  userPrompt: input2,
@@ -32150,25 +32264,31 @@ and ensure you are accounting for this risk.
32150
32264
  const entry = chatContent.value.find((c2) => c2.key === key);
32151
32265
  entry.bestItems = items;
32152
32266
  };
32267
+ const clearChatContent = () => {
32268
+ chatContent.value = [];
32269
+ };
32153
32270
  return (_ctx, _cache) => {
32154
32271
  return openBlock(), createElementBlock("section", _hoisted_1, [
32155
- _hoisted_2,
32156
- chatContent.value.length ? (openBlock(), createElementBlock("section", _hoisted_3, [
32157
- createVNode(_sfc_main$1$1, {
32158
- content: chatContent.value,
32159
- options: _ctx.options,
32160
- onLoaded: bestItemsLoaded,
32161
- history: history.value
32162
- }, null, 8, ["content", "options", "history"])
32163
- ])) : createCommentVNode("", true),
32164
- loading.value ? (openBlock(), createElementBlock("section", _hoisted_4, [
32165
- createVNode(_sfc_main$7, { message: "Loading initial recommendations... This might take up to 20s" })
32166
- ])) : createCommentVNode("", true),
32167
- createBaseVNode("section", _hoisted_5, [
32168
- createVNode(_sfc_main$6, {
32272
+ createBaseVNode("section", _hoisted_2, [
32273
+ createVNode(_sfc_main$8, {
32169
32274
  onSubmit: submitChatInput,
32170
- disabled: loading.value
32171
- }, null, 8, ["disabled"])
32275
+ disabled: loading.value,
32276
+ options: _ctx.options,
32277
+ onFocus: _cache[0] || (_cache[0] = ($event) => focused.value = true),
32278
+ onClear: clearChatContent
32279
+ }, null, 8, ["disabled", "options"]),
32280
+ createBaseVNode("div", _hoisted_3, [
32281
+ chatContent.value.length ? withDirectives((openBlock(), createElementBlock("section", _hoisted_4, [
32282
+ createVNode(_sfc_main$1$1, {
32283
+ content: chatContent.value,
32284
+ options: _ctx.options,
32285
+ history: history.value,
32286
+ onLoaded: bestItemsLoaded
32287
+ }, null, 8, ["content", "options", "history"])
32288
+ ], 512)), [
32289
+ [vShow, focused.value]
32290
+ ]) : createCommentVNode("", true)
32291
+ ])
32172
32292
  ])
32173
32293
  ]);
32174
32294
  };
@@ -38104,7 +38224,7 @@ and ensure you are accounting for this risk.
38104
38224
  };
38105
38225
  __expose({ fetch: fetch2 });
38106
38226
  return (_ctx, _cache) => {
38107
- return openBlock(), createBlock(unref(_sfc_main$V), {
38227
+ return openBlock(), createBlock(unref(_sfc_main$X), {
38108
38228
  options: fullSearchBoxOptions.value,
38109
38229
  ref_key: "searchBox",
38110
38230
  ref: searchBox2
@@ -38231,7 +38351,7 @@ and ensure you are accounting for this risk.
38231
38351
  };
38232
38352
  __expose({ fetch: fetch2 });
38233
38353
  return (_ctx, _cache) => {
38234
- return openBlock(), createBlock(unref(_sfc_main$c), {
38354
+ return openBlock(), createBlock(unref(_sfc_main$e), {
38235
38355
  options: fullSearchResultsOptions.value,
38236
38356
  ref_key: "searchResults",
38237
38357
  ref: searchResults2
@@ -38256,7 +38376,7 @@ and ensure you are accounting for this risk.
38256
38376
  };
38257
38377
  __expose({ fetch: fetch2 });
38258
38378
  return (_ctx, _cache) => {
38259
- return openBlock(), createBlock(unref(_sfc_main$a), {
38379
+ return openBlock(), createBlock(unref(_sfc_main$c), {
38260
38380
  options: fullProductListOptions.value,
38261
38381
  ref_key: "productList",
38262
38382
  ref: productList2
@@ -38336,7 +38456,7 @@ and ensure you are accounting for this risk.
38336
38456
  __expose({ fetch: fetch2, reloadOptions });
38337
38457
  return (_ctx, _cache) => {
38338
38458
  return openBlock(), createElementBlock("div", null, [
38339
- containerOptions.value && isOpen.value ? (openBlock(), createBlock(unref(_sfc_main$9), {
38459
+ containerOptions.value && isOpen.value ? (openBlock(), createBlock(unref(_sfc_main$b), {
38340
38460
  key: 0,
38341
38461
  options: containerOptions.value,
38342
38462
  ref_key: "productList",
@@ -38360,7 +38480,7 @@ and ensure you are accounting for this risk.
38360
38480
  };
38361
38481
  __expose({ fetch: fetch2 });
38362
38482
  return (_ctx, _cache) => {
38363
- return openBlock(), createBlock(unref(_sfc_main$8), {
38483
+ return openBlock(), createBlock(unref(_sfc_main$a), {
38364
38484
  options: _ctx.recommendationOptions,
38365
38485
  ref_key: "productRecommendations",
38366
38486
  ref: productRecommendations
@@ -38631,7 +38751,7 @@ and ensure you are accounting for this risk.
38631
38751
  const instance = createVue(
38632
38752
  options.displayOptions.containerSelector,
38633
38753
  mountOptions == null ? void 0 : mountOptions.mountingBehavior,
38634
- _sfc_main$1o,
38754
+ _sfc_main$1q,
38635
38755
  {
38636
38756
  options
38637
38757
  }