@getlupa/client 0.7.0 → 0.8.0-alpha-1

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.
Files changed (53) hide show
  1. package/dist/cjs/ProductListEntry.vue.d.ts +1 -0
  2. package/dist/cjs/SearchBoxEntry.vue.d.ts +1 -0
  3. package/dist/cjs/SearchResultsEntry.vue.d.ts +1 -0
  4. package/dist/cjs/components/product-list/ProductList.vue.d.ts +1 -0
  5. package/dist/cjs/components/search-results/SearchResultsTitle.vue.d.ts +1 -0
  6. package/dist/cjs/components/search-results/filters/facets/StatsFacet.vue.d.ts +2 -0
  7. package/dist/cjs/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +2 -1
  8. package/dist/cjs/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +9 -0
  9. package/dist/cjs/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +9 -0
  10. package/dist/cjs/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +2 -0
  11. package/dist/cjs/index.d.ts +12 -9
  12. package/dist/cjs/index.min.js +1092 -728
  13. package/dist/cjs/types/DocumentElement.d.ts +16 -15
  14. package/dist/cjs/types/product-list/ProductListOptions.d.ts +5 -4
  15. package/dist/cjs/types/search-results/BadgeOptions.d.ts +29 -12
  16. package/dist/cjs/types/search-results/SearchResultsOptions.d.ts +6 -1
  17. package/dist/cjs/types/search-results/SearchResultsProductCardOptions.d.ts +2 -1
  18. package/dist/es/ProductListEntry.vue.d.ts +1 -0
  19. package/dist/es/SearchBoxEntry.vue.d.ts +1 -0
  20. package/dist/es/SearchResultsEntry.vue.d.ts +1 -0
  21. package/dist/es/components/product-list/ProductList.vue.d.ts +1 -0
  22. package/dist/es/components/search-results/SearchResultsTitle.vue.d.ts +1 -0
  23. package/dist/es/components/search-results/filters/facets/StatsFacet.vue.d.ts +2 -0
  24. package/dist/es/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +2 -1
  25. package/dist/es/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +9 -0
  26. package/dist/es/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +9 -0
  27. package/dist/es/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +2 -0
  28. package/dist/es/index.d.ts +12 -9
  29. package/dist/es/index.min.js +1092 -728
  30. package/dist/es/types/DocumentElement.d.ts +16 -15
  31. package/dist/es/types/product-list/ProductListOptions.d.ts +5 -4
  32. package/dist/es/types/search-results/BadgeOptions.d.ts +29 -12
  33. package/dist/es/types/search-results/SearchResultsOptions.d.ts +6 -1
  34. package/dist/es/types/search-results/SearchResultsProductCardOptions.d.ts +2 -1
  35. package/dist/iife/ProductListEntry.vue.d.ts +1 -0
  36. package/dist/iife/SearchBoxEntry.vue.d.ts +1 -0
  37. package/dist/iife/SearchResultsEntry.vue.d.ts +1 -0
  38. package/dist/iife/components/product-list/ProductList.vue.d.ts +1 -0
  39. package/dist/iife/components/search-results/SearchResultsTitle.vue.d.ts +1 -0
  40. package/dist/iife/components/search-results/filters/facets/StatsFacet.vue.d.ts +2 -0
  41. package/dist/iife/components/search-results/products/product-card/SearchResultsProductCard.vue.d.ts +2 -1
  42. package/dist/iife/components/search-results/products/product-card/badges/SearchResultGeneratedBadge.vue.d.ts +9 -0
  43. package/dist/iife/components/search-results/products/product-card/badges/SearchResultGeneratedBadges.vue.d.ts +9 -0
  44. package/dist/iife/components/search-results/products/product-card/badges/SearchResultsBadgeWrapper.vue.d.ts +2 -0
  45. package/dist/iife/index.d.ts +12 -9
  46. package/dist/iife/index.min.js +1 -1
  47. package/dist/iife/types/DocumentElement.d.ts +16 -15
  48. package/dist/iife/types/product-list/ProductListOptions.d.ts +5 -4
  49. package/dist/iife/types/search-results/BadgeOptions.d.ts +29 -12
  50. package/dist/iife/types/search-results/SearchResultsOptions.d.ts +6 -1
  51. package/dist/iife/types/search-results/SearchResultsProductCardOptions.d.ts +2 -1
  52. package/dist/style.css +1 -1
  53. package/package.json +1 -1
@@ -11007,7 +11007,7 @@ SearchBoxInput = __decorate([
11007
11007
  name: "searchBoxInput",
11008
11008
  })
11009
11009
  ], SearchBoxInput);
11010
- var script$16 = SearchBoxInput;
11010
+ var script$18 = SearchBoxInput;
11011
11011
 
11012
11012
  function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier /* server only */, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) {
11013
11013
  if (typeof shadowMode !== 'boolean') {
@@ -11138,10 +11138,10 @@ function addStyle(id, css) {
11138
11138
  }
11139
11139
 
11140
11140
  /* script */
11141
- const __vue_script__$17 = script$16;
11141
+ const __vue_script__$19 = script$18;
11142
11142
 
11143
11143
  /* template */
11144
- var __vue_render__$17 = function () {
11144
+ var __vue_render__$19 = function () {
11145
11145
  var _vm = this;
11146
11146
  var _h = _vm.$createElement;
11147
11147
  var _c = _vm._self._c || _h;
@@ -11194,34 +11194,34 @@ var __vue_render__$17 = function () {
11194
11194
  ),
11195
11195
  ])
11196
11196
  };
11197
- var __vue_staticRenderFns__$17 = [];
11198
- __vue_render__$17._withStripped = true;
11197
+ var __vue_staticRenderFns__$19 = [];
11198
+ __vue_render__$19._withStripped = true;
11199
11199
 
11200
11200
  /* style */
11201
- const __vue_inject_styles__$17 = function (inject) {
11201
+ const __vue_inject_styles__$19 = function (inject) {
11202
11202
  if (!inject) return
11203
11203
  inject("data-v-7759bf15_0", { source: "\n.lupa-search-box-input-field,\n.lupa-hint {\n width: 100%;\n}\n.lupa-search-box-input-field {\n position: relative !important;\n background: transparent !important;\n}\n.lupa-hint {\n opacity: 0.5;\n position: absolute !important;\n pointer-events: none;\n}\n", map: undefined, media: undefined });
11204
11204
 
11205
11205
  };
11206
11206
  /* scoped */
11207
- const __vue_scope_id__$17 = undefined;
11207
+ const __vue_scope_id__$19 = undefined;
11208
11208
  /* module identifier */
11209
- const __vue_module_identifier__$17 = undefined;
11209
+ const __vue_module_identifier__$19 = undefined;
11210
11210
  /* functional template */
11211
- const __vue_is_functional_template__$17 = false;
11211
+ const __vue_is_functional_template__$19 = false;
11212
11212
  /* style inject SSR */
11213
11213
 
11214
11214
  /* style inject shadow dom */
11215
11215
 
11216
11216
 
11217
11217
 
11218
- const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
11219
- { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
11220
- __vue_inject_styles__$17,
11221
- __vue_script__$17,
11222
- __vue_scope_id__$17,
11223
- __vue_is_functional_template__$17,
11224
- __vue_module_identifier__$17,
11218
+ const __vue_component__$19 = /*#__PURE__*/normalizeComponent(
11219
+ { render: __vue_render__$19, staticRenderFns: __vue_staticRenderFns__$19 },
11220
+ __vue_inject_styles__$19,
11221
+ __vue_script__$19,
11222
+ __vue_scope_id__$19,
11223
+ __vue_is_functional_template__$19,
11224
+ __vue_module_identifier__$19,
11225
11225
  false,
11226
11226
  createInjector,
11227
11227
  undefined,
@@ -11286,13 +11286,13 @@ __decorate([
11286
11286
  SearchBoxProductImage = __decorate([
11287
11287
  Component
11288
11288
  ], SearchBoxProductImage);
11289
- var script$15 = SearchBoxProductImage;
11289
+ var script$17 = SearchBoxProductImage;
11290
11290
 
11291
11291
  /* script */
11292
- const __vue_script__$16 = script$15;
11292
+ const __vue_script__$18 = script$17;
11293
11293
 
11294
11294
  /* template */
11295
- var __vue_render__$16 = function () {
11295
+ var __vue_render__$18 = function () {
11296
11296
  var _vm = this;
11297
11297
  var _h = _vm.$createElement;
11298
11298
  var _c = _vm._self._c || _h;
@@ -11304,17 +11304,17 @@ var __vue_render__$16 = function () {
11304
11304
  }),
11305
11305
  ])
11306
11306
  };
11307
- var __vue_staticRenderFns__$16 = [];
11308
- __vue_render__$16._withStripped = true;
11307
+ var __vue_staticRenderFns__$18 = [];
11308
+ __vue_render__$18._withStripped = true;
11309
11309
 
11310
11310
  /* style */
11311
- const __vue_inject_styles__$16 = undefined;
11311
+ const __vue_inject_styles__$18 = undefined;
11312
11312
  /* scoped */
11313
- const __vue_scope_id__$16 = undefined;
11313
+ const __vue_scope_id__$18 = undefined;
11314
11314
  /* module identifier */
11315
- const __vue_module_identifier__$16 = undefined;
11315
+ const __vue_module_identifier__$18 = undefined;
11316
11316
  /* functional template */
11317
- const __vue_is_functional_template__$16 = false;
11317
+ const __vue_is_functional_template__$18 = false;
11318
11318
  /* style inject */
11319
11319
 
11320
11320
  /* style inject SSR */
@@ -11323,13 +11323,13 @@ __vue_render__$16._withStripped = true;
11323
11323
 
11324
11324
 
11325
11325
 
11326
- const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
11327
- { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
11328
- __vue_inject_styles__$16,
11329
- __vue_script__$16,
11330
- __vue_scope_id__$16,
11331
- __vue_is_functional_template__$16,
11332
- __vue_module_identifier__$16,
11326
+ const __vue_component__$18 = /*#__PURE__*/normalizeComponent(
11327
+ { render: __vue_render__$18, staticRenderFns: __vue_staticRenderFns__$18 },
11328
+ __vue_inject_styles__$18,
11329
+ __vue_script__$18,
11330
+ __vue_scope_id__$18,
11331
+ __vue_is_functional_template__$18,
11332
+ __vue_module_identifier__$18,
11333
11333
  false,
11334
11334
  undefined,
11335
11335
  undefined,
@@ -11354,13 +11354,13 @@ __decorate([
11354
11354
  SearchBoxProductTitle = __decorate([
11355
11355
  Component
11356
11356
  ], SearchBoxProductTitle);
11357
- var script$14 = SearchBoxProductTitle;
11357
+ var script$16 = SearchBoxProductTitle;
11358
11358
 
11359
11359
  /* script */
11360
- const __vue_script__$15 = script$14;
11360
+ const __vue_script__$17 = script$16;
11361
11361
 
11362
11362
  /* template */
11363
- var __vue_render__$15 = function () {
11363
+ var __vue_render__$17 = function () {
11364
11364
  var _vm = this;
11365
11365
  var _h = _vm.$createElement;
11366
11366
  var _c = _vm._self._c || _h;
@@ -11373,17 +11373,17 @@ var __vue_render__$15 = function () {
11373
11373
  _c("strong", [_vm._v(_vm._s(_vm.title))]),
11374
11374
  ])
11375
11375
  };
11376
- var __vue_staticRenderFns__$15 = [];
11377
- __vue_render__$15._withStripped = true;
11376
+ var __vue_staticRenderFns__$17 = [];
11377
+ __vue_render__$17._withStripped = true;
11378
11378
 
11379
11379
  /* style */
11380
- const __vue_inject_styles__$15 = undefined;
11380
+ const __vue_inject_styles__$17 = undefined;
11381
11381
  /* scoped */
11382
- const __vue_scope_id__$15 = undefined;
11382
+ const __vue_scope_id__$17 = undefined;
11383
11383
  /* module identifier */
11384
- const __vue_module_identifier__$15 = undefined;
11384
+ const __vue_module_identifier__$17 = undefined;
11385
11385
  /* functional template */
11386
- const __vue_is_functional_template__$15 = false;
11386
+ const __vue_is_functional_template__$17 = false;
11387
11387
  /* style inject */
11388
11388
 
11389
11389
  /* style inject SSR */
@@ -11392,13 +11392,13 @@ __vue_render__$15._withStripped = true;
11392
11392
 
11393
11393
 
11394
11394
 
11395
- const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
11396
- { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
11397
- __vue_inject_styles__$15,
11398
- __vue_script__$15,
11399
- __vue_scope_id__$15,
11400
- __vue_is_functional_template__$15,
11401
- __vue_module_identifier__$15,
11395
+ const __vue_component__$17 = /*#__PURE__*/normalizeComponent(
11396
+ { render: __vue_render__$17, staticRenderFns: __vue_staticRenderFns__$17 },
11397
+ __vue_inject_styles__$17,
11398
+ __vue_script__$17,
11399
+ __vue_scope_id__$17,
11400
+ __vue_is_functional_template__$17,
11401
+ __vue_module_identifier__$17,
11402
11402
  false,
11403
11403
  undefined,
11404
11404
  undefined,
@@ -11423,13 +11423,13 @@ __decorate([
11423
11423
  SearchBoxProductDescription = __decorate([
11424
11424
  Component
11425
11425
  ], SearchBoxProductDescription);
11426
- var script$13 = SearchBoxProductDescription;
11426
+ var script$15 = SearchBoxProductDescription;
11427
11427
 
11428
11428
  /* script */
11429
- const __vue_script__$14 = script$13;
11429
+ const __vue_script__$16 = script$15;
11430
11430
 
11431
11431
  /* template */
11432
- var __vue_render__$14 = function () {
11432
+ var __vue_render__$16 = function () {
11433
11433
  var _vm = this;
11434
11434
  var _h = _vm.$createElement;
11435
11435
  var _c = _vm._self._c || _h;
@@ -11442,17 +11442,17 @@ var __vue_render__$14 = function () {
11442
11442
  _vm._v("\n " + _vm._s(_vm.description) + "\n"),
11443
11443
  ])
11444
11444
  };
11445
- var __vue_staticRenderFns__$14 = [];
11446
- __vue_render__$14._withStripped = true;
11445
+ var __vue_staticRenderFns__$16 = [];
11446
+ __vue_render__$16._withStripped = true;
11447
11447
 
11448
11448
  /* style */
11449
- const __vue_inject_styles__$14 = undefined;
11449
+ const __vue_inject_styles__$16 = undefined;
11450
11450
  /* scoped */
11451
- const __vue_scope_id__$14 = undefined;
11451
+ const __vue_scope_id__$16 = undefined;
11452
11452
  /* module identifier */
11453
- const __vue_module_identifier__$14 = undefined;
11453
+ const __vue_module_identifier__$16 = undefined;
11454
11454
  /* functional template */
11455
- const __vue_is_functional_template__$14 = false;
11455
+ const __vue_is_functional_template__$16 = false;
11456
11456
  /* style inject */
11457
11457
 
11458
11458
  /* style inject SSR */
@@ -11461,13 +11461,13 @@ __vue_render__$14._withStripped = true;
11461
11461
 
11462
11462
 
11463
11463
 
11464
- const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
11465
- { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
11466
- __vue_inject_styles__$14,
11467
- __vue_script__$14,
11468
- __vue_scope_id__$14,
11469
- __vue_is_functional_template__$14,
11470
- __vue_module_identifier__$14,
11464
+ const __vue_component__$16 = /*#__PURE__*/normalizeComponent(
11465
+ { render: __vue_render__$16, staticRenderFns: __vue_staticRenderFns__$16 },
11466
+ __vue_inject_styles__$16,
11467
+ __vue_script__$16,
11468
+ __vue_scope_id__$16,
11469
+ __vue_is_functional_template__$16,
11470
+ __vue_module_identifier__$16,
11471
11471
  false,
11472
11472
  undefined,
11473
11473
  undefined,
@@ -11523,13 +11523,13 @@ __decorate([
11523
11523
  SearchBoxProductPrice = __decorate([
11524
11524
  Component
11525
11525
  ], SearchBoxProductPrice);
11526
- var script$12 = SearchBoxProductPrice;
11526
+ var script$14 = SearchBoxProductPrice;
11527
11527
 
11528
11528
  /* script */
11529
- const __vue_script__$13 = script$12;
11529
+ const __vue_script__$15 = script$14;
11530
11530
 
11531
11531
  /* template */
11532
- var __vue_render__$13 = function () {
11532
+ var __vue_render__$15 = function () {
11533
11533
  var _vm = this;
11534
11534
  var _h = _vm.$createElement;
11535
11535
  var _c = _vm._self._c || _h;
@@ -11537,17 +11537,17 @@ var __vue_render__$13 = function () {
11537
11537
  _c("strong", [_vm._v(_vm._s(_vm.price))]),
11538
11538
  ])
11539
11539
  };
11540
- var __vue_staticRenderFns__$13 = [];
11541
- __vue_render__$13._withStripped = true;
11540
+ var __vue_staticRenderFns__$15 = [];
11541
+ __vue_render__$15._withStripped = true;
11542
11542
 
11543
11543
  /* style */
11544
- const __vue_inject_styles__$13 = undefined;
11544
+ const __vue_inject_styles__$15 = undefined;
11545
11545
  /* scoped */
11546
- const __vue_scope_id__$13 = undefined;
11546
+ const __vue_scope_id__$15 = undefined;
11547
11547
  /* module identifier */
11548
- const __vue_module_identifier__$13 = undefined;
11548
+ const __vue_module_identifier__$15 = undefined;
11549
11549
  /* functional template */
11550
- const __vue_is_functional_template__$13 = false;
11550
+ const __vue_is_functional_template__$15 = false;
11551
11551
  /* style inject */
11552
11552
 
11553
11553
  /* style inject SSR */
@@ -11556,13 +11556,13 @@ __vue_render__$13._withStripped = true;
11556
11556
 
11557
11557
 
11558
11558
 
11559
- const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
11560
- { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
11561
- __vue_inject_styles__$13,
11562
- __vue_script__$13,
11563
- __vue_scope_id__$13,
11564
- __vue_is_functional_template__$13,
11565
- __vue_module_identifier__$13,
11559
+ const __vue_component__$15 = /*#__PURE__*/normalizeComponent(
11560
+ { render: __vue_render__$15, staticRenderFns: __vue_staticRenderFns__$15 },
11561
+ __vue_inject_styles__$15,
11562
+ __vue_script__$15,
11563
+ __vue_scope_id__$15,
11564
+ __vue_is_functional_template__$15,
11565
+ __vue_module_identifier__$15,
11566
11566
  false,
11567
11567
  undefined,
11568
11568
  undefined,
@@ -11587,13 +11587,13 @@ __decorate([
11587
11587
  SearchBoxProductRegularPrice = __decorate([
11588
11588
  Component
11589
11589
  ], SearchBoxProductRegularPrice);
11590
- var script$11 = SearchBoxProductRegularPrice;
11590
+ var script$13 = SearchBoxProductRegularPrice;
11591
11591
 
11592
11592
  /* script */
11593
- const __vue_script__$12 = script$11;
11593
+ const __vue_script__$14 = script$13;
11594
11594
 
11595
11595
  /* template */
11596
- var __vue_render__$12 = function () {
11596
+ var __vue_render__$14 = function () {
11597
11597
  var _vm = this;
11598
11598
  var _h = _vm.$createElement;
11599
11599
  var _c = _vm._self._c || _h;
@@ -11601,17 +11601,17 @@ var __vue_render__$12 = function () {
11601
11601
  _vm._v(_vm._s(_vm.price)),
11602
11602
  ])
11603
11603
  };
11604
- var __vue_staticRenderFns__$12 = [];
11605
- __vue_render__$12._withStripped = true;
11604
+ var __vue_staticRenderFns__$14 = [];
11605
+ __vue_render__$14._withStripped = true;
11606
11606
 
11607
11607
  /* style */
11608
- const __vue_inject_styles__$12 = undefined;
11608
+ const __vue_inject_styles__$14 = undefined;
11609
11609
  /* scoped */
11610
- const __vue_scope_id__$12 = undefined;
11610
+ const __vue_scope_id__$14 = undefined;
11611
11611
  /* module identifier */
11612
- const __vue_module_identifier__$12 = undefined;
11612
+ const __vue_module_identifier__$14 = undefined;
11613
11613
  /* functional template */
11614
- const __vue_is_functional_template__$12 = false;
11614
+ const __vue_is_functional_template__$14 = false;
11615
11615
  /* style inject */
11616
11616
 
11617
11617
  /* style inject SSR */
@@ -11620,13 +11620,13 @@ __vue_render__$12._withStripped = true;
11620
11620
 
11621
11621
 
11622
11622
 
11623
- const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
11624
- { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
11625
- __vue_inject_styles__$12,
11626
- __vue_script__$12,
11627
- __vue_scope_id__$12,
11628
- __vue_is_functional_template__$12,
11629
- __vue_module_identifier__$12,
11623
+ const __vue_component__$14 = /*#__PURE__*/normalizeComponent(
11624
+ { render: __vue_render__$14, staticRenderFns: __vue_staticRenderFns__$14 },
11625
+ __vue_inject_styles__$14,
11626
+ __vue_script__$14,
11627
+ __vue_scope_id__$14,
11628
+ __vue_is_functional_template__$14,
11629
+ __vue_module_identifier__$14,
11630
11630
  false,
11631
11631
  undefined,
11632
11632
  undefined,
@@ -11654,13 +11654,13 @@ __decorate([
11654
11654
  SearchBoxProductCustom = __decorate([
11655
11655
  Component
11656
11656
  ], SearchBoxProductCustom);
11657
- var script$10 = SearchBoxProductCustom;
11657
+ var script$12 = SearchBoxProductCustom;
11658
11658
 
11659
11659
  /* script */
11660
- const __vue_script__$11 = script$10;
11660
+ const __vue_script__$13 = script$12;
11661
11661
 
11662
11662
  /* template */
11663
- var __vue_render__$11 = function () {
11663
+ var __vue_render__$13 = function () {
11664
11664
  var _vm = this;
11665
11665
  var _h = _vm.$createElement;
11666
11666
  var _c = _vm._self._c || _h;
@@ -11673,17 +11673,17 @@ var __vue_render__$11 = function () {
11673
11673
  _vm._v("\n " + _vm._s(_vm.text) + "\n"),
11674
11674
  ])
11675
11675
  };
11676
- var __vue_staticRenderFns__$11 = [];
11677
- __vue_render__$11._withStripped = true;
11676
+ var __vue_staticRenderFns__$13 = [];
11677
+ __vue_render__$13._withStripped = true;
11678
11678
 
11679
11679
  /* style */
11680
- const __vue_inject_styles__$11 = undefined;
11680
+ const __vue_inject_styles__$13 = undefined;
11681
11681
  /* scoped */
11682
- const __vue_scope_id__$11 = undefined;
11682
+ const __vue_scope_id__$13 = undefined;
11683
11683
  /* module identifier */
11684
- const __vue_module_identifier__$11 = undefined;
11684
+ const __vue_module_identifier__$13 = undefined;
11685
11685
  /* functional template */
11686
- const __vue_is_functional_template__$11 = false;
11686
+ const __vue_is_functional_template__$13 = false;
11687
11687
  /* style inject */
11688
11688
 
11689
11689
  /* style inject SSR */
@@ -11692,13 +11692,13 @@ __vue_render__$11._withStripped = true;
11692
11692
 
11693
11693
 
11694
11694
 
11695
- const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
11696
- { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
11697
- __vue_inject_styles__$11,
11698
- __vue_script__$11,
11699
- __vue_scope_id__$11,
11700
- __vue_is_functional_template__$11,
11701
- __vue_module_identifier__$11,
11695
+ const __vue_component__$13 = /*#__PURE__*/normalizeComponent(
11696
+ { render: __vue_render__$13, staticRenderFns: __vue_staticRenderFns__$13 },
11697
+ __vue_inject_styles__$13,
11698
+ __vue_script__$13,
11699
+ __vue_scope_id__$13,
11700
+ __vue_is_functional_template__$13,
11701
+ __vue_module_identifier__$13,
11702
11702
  false,
11703
11703
  undefined,
11704
11704
  undefined,
@@ -11724,13 +11724,13 @@ SearchBoxProductCustomHtml = __decorate([
11724
11724
  name: "SearchBoxProductCustomHtml",
11725
11725
  })
11726
11726
  ], SearchBoxProductCustomHtml);
11727
- var script$$ = SearchBoxProductCustomHtml;
11727
+ var script$11 = SearchBoxProductCustomHtml;
11728
11728
 
11729
11729
  /* script */
11730
- const __vue_script__$10 = script$$;
11730
+ const __vue_script__$12 = script$11;
11731
11731
 
11732
11732
  /* template */
11733
- var __vue_render__$10 = function () {
11733
+ var __vue_render__$12 = function () {
11734
11734
  var _vm = this;
11735
11735
  var _h = _vm.$createElement;
11736
11736
  var _c = _vm._self._c || _h;
@@ -11739,17 +11739,17 @@ var __vue_render__$10 = function () {
11739
11739
  domProps: { innerHTML: _vm._s(_vm.text) },
11740
11740
  })
11741
11741
  };
11742
- var __vue_staticRenderFns__$10 = [];
11743
- __vue_render__$10._withStripped = true;
11742
+ var __vue_staticRenderFns__$12 = [];
11743
+ __vue_render__$12._withStripped = true;
11744
11744
 
11745
11745
  /* style */
11746
- const __vue_inject_styles__$10 = undefined;
11746
+ const __vue_inject_styles__$12 = undefined;
11747
11747
  /* scoped */
11748
- const __vue_scope_id__$10 = undefined;
11748
+ const __vue_scope_id__$12 = undefined;
11749
11749
  /* module identifier */
11750
- const __vue_module_identifier__$10 = undefined;
11750
+ const __vue_module_identifier__$12 = undefined;
11751
11751
  /* functional template */
11752
- const __vue_is_functional_template__$10 = false;
11752
+ const __vue_is_functional_template__$12 = false;
11753
11753
  /* style inject */
11754
11754
 
11755
11755
  /* style inject SSR */
@@ -11758,19 +11758,20 @@ __vue_render__$10._withStripped = true;
11758
11758
 
11759
11759
 
11760
11760
 
11761
- const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
11762
- { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
11763
- __vue_inject_styles__$10,
11764
- __vue_script__$10,
11765
- __vue_scope_id__$10,
11766
- __vue_is_functional_template__$10,
11767
- __vue_module_identifier__$10,
11761
+ const __vue_component__$12 = /*#__PURE__*/normalizeComponent(
11762
+ { render: __vue_render__$12, staticRenderFns: __vue_staticRenderFns__$12 },
11763
+ __vue_inject_styles__$12,
11764
+ __vue_script__$12,
11765
+ __vue_scope_id__$12,
11766
+ __vue_is_functional_template__$12,
11767
+ __vue_module_identifier__$12,
11768
11768
  false,
11769
11769
  undefined,
11770
11770
  undefined,
11771
11771
  undefined
11772
11772
  );
11773
11773
 
11774
+ /* eslint-disable @typescript-eslint/no-explicit-any */
11774
11775
  exports.DocumentElementType = void 0;
11775
11776
  (function (DocumentElementType) {
11776
11777
  DocumentElementType["IMAGE"] = "image";
@@ -11820,23 +11821,23 @@ __decorate([
11820
11821
  SearchBoxProductElement = __decorate([
11821
11822
  Component({
11822
11823
  components: {
11823
- SearchBoxProductImage: __vue_component__$16,
11824
- SearchBoxProductTitle: __vue_component__$15,
11825
- SearchBoxProductDescription: __vue_component__$14,
11826
- SearchBoxProductPrice: __vue_component__$13,
11827
- SearchBoxProductRegularPrice: __vue_component__$12,
11828
- SearchBoxProductCustom: __vue_component__$11,
11829
- SearchBoxProductCustomHtml: __vue_component__$10,
11824
+ SearchBoxProductImage: __vue_component__$18,
11825
+ SearchBoxProductTitle: __vue_component__$17,
11826
+ SearchBoxProductDescription: __vue_component__$16,
11827
+ SearchBoxProductPrice: __vue_component__$15,
11828
+ SearchBoxProductRegularPrice: __vue_component__$14,
11829
+ SearchBoxProductCustom: __vue_component__$13,
11830
+ SearchBoxProductCustomHtml: __vue_component__$12,
11830
11831
  },
11831
11832
  })
11832
11833
  ], SearchBoxProductElement);
11833
- var script$_ = SearchBoxProductElement;
11834
+ var script$10 = SearchBoxProductElement;
11834
11835
 
11835
11836
  /* script */
11836
- const __vue_script__$$ = script$_;
11837
+ const __vue_script__$11 = script$10;
11837
11838
 
11838
11839
  /* template */
11839
- var __vue_render__$$ = function () {
11840
+ var __vue_render__$11 = function () {
11840
11841
  var _vm = this;
11841
11842
  var _h = _vm.$createElement;
11842
11843
  var _c = _vm._self._c || _h;
@@ -11847,17 +11848,17 @@ var __vue_render__$$ = function () {
11847
11848
  })
11848
11849
  : _vm._e()
11849
11850
  };
11850
- var __vue_staticRenderFns__$$ = [];
11851
- __vue_render__$$._withStripped = true;
11851
+ var __vue_staticRenderFns__$11 = [];
11852
+ __vue_render__$11._withStripped = true;
11852
11853
 
11853
11854
  /* style */
11854
- const __vue_inject_styles__$$ = undefined;
11855
+ const __vue_inject_styles__$11 = undefined;
11855
11856
  /* scoped */
11856
- const __vue_scope_id__$$ = undefined;
11857
+ const __vue_scope_id__$11 = undefined;
11857
11858
  /* module identifier */
11858
- const __vue_module_identifier__$$ = undefined;
11859
+ const __vue_module_identifier__$11 = undefined;
11859
11860
  /* functional template */
11860
- const __vue_is_functional_template__$$ = false;
11861
+ const __vue_is_functional_template__$11 = false;
11861
11862
  /* style inject */
11862
11863
 
11863
11864
  /* style inject SSR */
@@ -11866,13 +11867,13 @@ __vue_render__$$._withStripped = true;
11866
11867
 
11867
11868
 
11868
11869
 
11869
- const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
11870
- { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
11871
- __vue_inject_styles__$$,
11872
- __vue_script__$$,
11873
- __vue_scope_id__$$,
11874
- __vue_is_functional_template__$$,
11875
- __vue_module_identifier__$$,
11870
+ const __vue_component__$11 = /*#__PURE__*/normalizeComponent(
11871
+ { render: __vue_render__$11, staticRenderFns: __vue_staticRenderFns__$11 },
11872
+ __vue_inject_styles__$11,
11873
+ __vue_script__$11,
11874
+ __vue_scope_id__$11,
11875
+ __vue_is_functional_template__$11,
11876
+ __vue_module_identifier__$11,
11876
11877
  false,
11877
11878
  undefined,
11878
11879
  undefined,
@@ -12025,7 +12026,13 @@ const parseParam = (key, params) => {
12025
12026
  if (!value) {
12026
12027
  return undefined;
12027
12028
  }
12028
- return decodeURIComponent(value);
12029
+ try {
12030
+ return decodeURIComponent(value);
12031
+ }
12032
+ catch (_a) {
12033
+ // Invalid parameter, possibly out of LupaSearch plugin scope, return undefined
12034
+ return undefined;
12035
+ }
12029
12036
  };
12030
12037
  const parseRegularKeys = (regularKeys, searchParams) => {
12031
12038
  const params = Object.create({});
@@ -12155,7 +12162,10 @@ const generateResultLink = (link, searchText, facet) => {
12155
12162
  const getRelativePath = (link) => {
12156
12163
  try {
12157
12164
  const url = new URL(link);
12158
- return url.toString().substring(url.origin.length);
12165
+ const partialUrl = url.toString().substring(url.origin.length);
12166
+ return partialUrl.endsWith("/")
12167
+ ? partialUrl.slice(0, partialUrl.length - 1)
12168
+ : partialUrl;
12159
12169
  }
12160
12170
  catch (_a) {
12161
12171
  // Invalid url, let's return original string
@@ -12271,17 +12281,17 @@ __decorate([
12271
12281
  SearchBoxProduct = __decorate([
12272
12282
  Component({
12273
12283
  components: {
12274
- SearchBoxProductElement: __vue_component__$$,
12284
+ SearchBoxProductElement: __vue_component__$11,
12275
12285
  },
12276
12286
  })
12277
12287
  ], SearchBoxProduct);
12278
- var script$Z = SearchBoxProduct;
12288
+ var script$$ = SearchBoxProduct;
12279
12289
 
12280
12290
  /* script */
12281
- const __vue_script__$_ = script$Z;
12291
+ const __vue_script__$10 = script$$;
12282
12292
 
12283
12293
  /* template */
12284
- var __vue_render__$_ = function () {
12294
+ var __vue_render__$10 = function () {
12285
12295
  var _vm = this;
12286
12296
  var _h = _vm.$createElement;
12287
12297
  var _c = _vm._self._c || _h;
@@ -12332,17 +12342,17 @@ var __vue_render__$_ = function () {
12332
12342
  ]
12333
12343
  )
12334
12344
  };
12335
- var __vue_staticRenderFns__$_ = [];
12336
- __vue_render__$_._withStripped = true;
12345
+ var __vue_staticRenderFns__$10 = [];
12346
+ __vue_render__$10._withStripped = true;
12337
12347
 
12338
12348
  /* style */
12339
- const __vue_inject_styles__$_ = undefined;
12349
+ const __vue_inject_styles__$10 = undefined;
12340
12350
  /* scoped */
12341
- const __vue_scope_id__$_ = undefined;
12351
+ const __vue_scope_id__$10 = undefined;
12342
12352
  /* module identifier */
12343
- const __vue_module_identifier__$_ = undefined;
12353
+ const __vue_module_identifier__$10 = undefined;
12344
12354
  /* functional template */
12345
- const __vue_is_functional_template__$_ = false;
12355
+ const __vue_is_functional_template__$10 = false;
12346
12356
  /* style inject */
12347
12357
 
12348
12358
  /* style inject SSR */
@@ -12351,13 +12361,13 @@ __vue_render__$_._withStripped = true;
12351
12361
 
12352
12362
 
12353
12363
 
12354
- const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
12355
- { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
12356
- __vue_inject_styles__$_,
12357
- __vue_script__$_,
12358
- __vue_scope_id__$_,
12359
- __vue_is_functional_template__$_,
12360
- __vue_module_identifier__$_,
12364
+ const __vue_component__$10 = /*#__PURE__*/normalizeComponent(
12365
+ { render: __vue_render__$10, staticRenderFns: __vue_staticRenderFns__$10 },
12366
+ __vue_inject_styles__$10,
12367
+ __vue_script__$10,
12368
+ __vue_scope_id__$10,
12369
+ __vue_is_functional_template__$10,
12370
+ __vue_module_identifier__$10,
12361
12371
  false,
12362
12372
  undefined,
12363
12373
  undefined,
@@ -12391,16 +12401,16 @@ __decorate([
12391
12401
  ], SearchBoxProducts.prototype, "highlightedItem", void 0);
12392
12402
  SearchBoxProducts = __decorate([
12393
12403
  Component({
12394
- components: { SearchBoxProduct: __vue_component__$_ },
12404
+ components: { SearchBoxProduct: __vue_component__$10 },
12395
12405
  })
12396
12406
  ], SearchBoxProducts);
12397
- var script$Y = SearchBoxProducts;
12407
+ var script$_ = SearchBoxProducts;
12398
12408
 
12399
12409
  /* script */
12400
- const __vue_script__$Z = script$Y;
12410
+ const __vue_script__$$ = script$_;
12401
12411
 
12402
12412
  /* template */
12403
- var __vue_render__$Z = function () {
12413
+ var __vue_render__$$ = function () {
12404
12414
  var _vm = this;
12405
12415
  var _h = _vm.$createElement;
12406
12416
  var _c = _vm._self._c || _h;
@@ -12422,17 +12432,17 @@ var __vue_render__$Z = function () {
12422
12432
  1
12423
12433
  )
12424
12434
  };
12425
- var __vue_staticRenderFns__$Z = [];
12426
- __vue_render__$Z._withStripped = true;
12435
+ var __vue_staticRenderFns__$$ = [];
12436
+ __vue_render__$$._withStripped = true;
12427
12437
 
12428
12438
  /* style */
12429
- const __vue_inject_styles__$Z = undefined;
12439
+ const __vue_inject_styles__$$ = undefined;
12430
12440
  /* scoped */
12431
- const __vue_scope_id__$Z = undefined;
12441
+ const __vue_scope_id__$$ = undefined;
12432
12442
  /* module identifier */
12433
- const __vue_module_identifier__$Z = undefined;
12443
+ const __vue_module_identifier__$$ = undefined;
12434
12444
  /* functional template */
12435
- const __vue_is_functional_template__$Z = false;
12445
+ const __vue_is_functional_template__$$ = false;
12436
12446
  /* style inject */
12437
12447
 
12438
12448
  /* style inject SSR */
@@ -12441,13 +12451,13 @@ __vue_render__$Z._withStripped = true;
12441
12451
 
12442
12452
 
12443
12453
 
12444
- const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
12445
- { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
12446
- __vue_inject_styles__$Z,
12447
- __vue_script__$Z,
12448
- __vue_scope_id__$Z,
12449
- __vue_is_functional_template__$Z,
12450
- __vue_module_identifier__$Z,
12454
+ const __vue_component__$$ = /*#__PURE__*/normalizeComponent(
12455
+ { render: __vue_render__$$, staticRenderFns: __vue_staticRenderFns__$$ },
12456
+ __vue_inject_styles__$$,
12457
+ __vue_script__$$,
12458
+ __vue_scope_id__$$,
12459
+ __vue_is_functional_template__$$,
12460
+ __vue_module_identifier__$$,
12451
12461
  false,
12452
12462
  undefined,
12453
12463
  undefined,
@@ -12514,17 +12524,17 @@ SearchBoxProductsWrapper = __decorate([
12514
12524
  Component({
12515
12525
  name: "searchBoxProductsWrapper",
12516
12526
  components: {
12517
- SearchBoxProducts: __vue_component__$Z,
12527
+ SearchBoxProducts: __vue_component__$$,
12518
12528
  },
12519
12529
  })
12520
12530
  ], SearchBoxProductsWrapper);
12521
- var script$X = SearchBoxProductsWrapper;
12531
+ var script$Z = SearchBoxProductsWrapper;
12522
12532
 
12523
12533
  /* script */
12524
- const __vue_script__$Y = script$X;
12534
+ const __vue_script__$_ = script$Z;
12525
12535
 
12526
12536
  /* template */
12527
- var __vue_render__$Y = function () {
12537
+ var __vue_render__$_ = function () {
12528
12538
  var _vm = this;
12529
12539
  var _h = _vm.$createElement;
12530
12540
  var _c = _vm._self._c || _h;
@@ -12537,34 +12547,34 @@ var __vue_render__$Y = function () {
12537
12547
  },
12538
12548
  })
12539
12549
  };
12540
- var __vue_staticRenderFns__$Y = [];
12541
- __vue_render__$Y._withStripped = true;
12550
+ var __vue_staticRenderFns__$_ = [];
12551
+ __vue_render__$_._withStripped = true;
12542
12552
 
12543
12553
  /* style */
12544
- const __vue_inject_styles__$Y = function (inject) {
12554
+ const __vue_inject_styles__$_ = function (inject) {
12545
12555
  if (!inject) return
12546
12556
  inject("data-v-45bb68b4_0", { source: "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", map: undefined, media: undefined });
12547
12557
 
12548
12558
  };
12549
12559
  /* scoped */
12550
- const __vue_scope_id__$Y = undefined;
12560
+ const __vue_scope_id__$_ = undefined;
12551
12561
  /* module identifier */
12552
- const __vue_module_identifier__$Y = undefined;
12562
+ const __vue_module_identifier__$_ = undefined;
12553
12563
  /* functional template */
12554
- const __vue_is_functional_template__$Y = false;
12564
+ const __vue_is_functional_template__$_ = false;
12555
12565
  /* style inject SSR */
12556
12566
 
12557
12567
  /* style inject shadow dom */
12558
12568
 
12559
12569
 
12560
12570
 
12561
- const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
12562
- { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
12563
- __vue_inject_styles__$Y,
12564
- __vue_script__$Y,
12565
- __vue_scope_id__$Y,
12566
- __vue_is_functional_template__$Y,
12567
- __vue_module_identifier__$Y,
12571
+ const __vue_component__$_ = /*#__PURE__*/normalizeComponent(
12572
+ { render: __vue_render__$_, staticRenderFns: __vue_staticRenderFns__$_ },
12573
+ __vue_inject_styles__$_,
12574
+ __vue_script__$_,
12575
+ __vue_scope_id__$_,
12576
+ __vue_is_functional_template__$_,
12577
+ __vue_module_identifier__$_,
12568
12578
  false,
12569
12579
  createInjector,
12570
12580
  undefined,
@@ -12599,13 +12609,13 @@ SearchBoxSuggestion = __decorate([
12599
12609
  name: "searchBoxSuggestion",
12600
12610
  })
12601
12611
  ], SearchBoxSuggestion);
12602
- var script$W = SearchBoxSuggestion;
12612
+ var script$Y = SearchBoxSuggestion;
12603
12613
 
12604
12614
  /* script */
12605
- const __vue_script__$X = script$W;
12615
+ const __vue_script__$Z = script$Y;
12606
12616
 
12607
12617
  /* template */
12608
- var __vue_render__$X = function () {
12618
+ var __vue_render__$Z = function () {
12609
12619
  var _vm = this;
12610
12620
  var _h = _vm.$createElement;
12611
12621
  var _c = _vm._self._c || _h;
@@ -12674,17 +12684,17 @@ var __vue_render__$X = function () {
12674
12684
  ]
12675
12685
  )
12676
12686
  };
12677
- var __vue_staticRenderFns__$X = [];
12678
- __vue_render__$X._withStripped = true;
12687
+ var __vue_staticRenderFns__$Z = [];
12688
+ __vue_render__$Z._withStripped = true;
12679
12689
 
12680
12690
  /* style */
12681
- const __vue_inject_styles__$X = undefined;
12691
+ const __vue_inject_styles__$Z = undefined;
12682
12692
  /* scoped */
12683
- const __vue_scope_id__$X = undefined;
12693
+ const __vue_scope_id__$Z = undefined;
12684
12694
  /* module identifier */
12685
- const __vue_module_identifier__$X = undefined;
12695
+ const __vue_module_identifier__$Z = undefined;
12686
12696
  /* functional template */
12687
- const __vue_is_functional_template__$X = false;
12697
+ const __vue_is_functional_template__$Z = false;
12688
12698
  /* style inject */
12689
12699
 
12690
12700
  /* style inject SSR */
@@ -12693,13 +12703,13 @@ __vue_render__$X._withStripped = true;
12693
12703
 
12694
12704
 
12695
12705
 
12696
- const __vue_component__$X = /*#__PURE__*/normalizeComponent(
12697
- { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
12698
- __vue_inject_styles__$X,
12699
- __vue_script__$X,
12700
- __vue_scope_id__$X,
12701
- __vue_is_functional_template__$X,
12702
- __vue_module_identifier__$X,
12706
+ const __vue_component__$Z = /*#__PURE__*/normalizeComponent(
12707
+ { render: __vue_render__$Z, staticRenderFns: __vue_staticRenderFns__$Z },
12708
+ __vue_inject_styles__$Z,
12709
+ __vue_script__$Z,
12710
+ __vue_scope_id__$Z,
12711
+ __vue_is_functional_template__$Z,
12712
+ __vue_module_identifier__$Z,
12703
12713
  false,
12704
12714
  undefined,
12705
12715
  undefined,
@@ -12764,17 +12774,17 @@ SearchBoxSuggestions = __decorate([
12764
12774
  Component({
12765
12775
  name: "searchBoxSuggestions",
12766
12776
  components: {
12767
- SearchBoxSuggestion: __vue_component__$X,
12777
+ SearchBoxSuggestion: __vue_component__$Z,
12768
12778
  },
12769
12779
  })
12770
12780
  ], SearchBoxSuggestions);
12771
- var script$V = SearchBoxSuggestions;
12781
+ var script$X = SearchBoxSuggestions;
12772
12782
 
12773
12783
  /* script */
12774
- const __vue_script__$W = script$V;
12784
+ const __vue_script__$Y = script$X;
12775
12785
 
12776
12786
  /* template */
12777
- var __vue_render__$W = function () {
12787
+ var __vue_render__$Y = function () {
12778
12788
  var _vm = this;
12779
12789
  var _h = _vm.$createElement;
12780
12790
  var _c = _vm._self._c || _h;
@@ -12805,17 +12815,17 @@ var __vue_render__$W = function () {
12805
12815
  1
12806
12816
  )
12807
12817
  };
12808
- var __vue_staticRenderFns__$W = [];
12809
- __vue_render__$W._withStripped = true;
12818
+ var __vue_staticRenderFns__$Y = [];
12819
+ __vue_render__$Y._withStripped = true;
12810
12820
 
12811
12821
  /* style */
12812
- const __vue_inject_styles__$W = undefined;
12822
+ const __vue_inject_styles__$Y = undefined;
12813
12823
  /* scoped */
12814
- const __vue_scope_id__$W = undefined;
12824
+ const __vue_scope_id__$Y = undefined;
12815
12825
  /* module identifier */
12816
- const __vue_module_identifier__$W = undefined;
12826
+ const __vue_module_identifier__$Y = undefined;
12817
12827
  /* functional template */
12818
- const __vue_is_functional_template__$W = false;
12828
+ const __vue_is_functional_template__$Y = false;
12819
12829
  /* style inject */
12820
12830
 
12821
12831
  /* style inject SSR */
@@ -12824,13 +12834,13 @@ __vue_render__$W._withStripped = true;
12824
12834
 
12825
12835
 
12826
12836
 
12827
- const __vue_component__$W = /*#__PURE__*/normalizeComponent(
12828
- { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
12829
- __vue_inject_styles__$W,
12830
- __vue_script__$W,
12831
- __vue_scope_id__$W,
12832
- __vue_is_functional_template__$W,
12833
- __vue_module_identifier__$W,
12837
+ const __vue_component__$Y = /*#__PURE__*/normalizeComponent(
12838
+ { render: __vue_render__$Y, staticRenderFns: __vue_staticRenderFns__$Y },
12839
+ __vue_inject_styles__$Y,
12840
+ __vue_script__$Y,
12841
+ __vue_scope_id__$Y,
12842
+ __vue_is_functional_template__$Y,
12843
+ __vue_module_identifier__$Y,
12834
12844
  false,
12835
12845
  undefined,
12836
12846
  undefined,
@@ -12899,17 +12909,17 @@ SearchBoxSuggestionsWrapper = __decorate([
12899
12909
  Component({
12900
12910
  name: "searchBoxSuggestionsWrapper",
12901
12911
  components: {
12902
- SearchBoxSuggestions: __vue_component__$W,
12912
+ SearchBoxSuggestions: __vue_component__$Y,
12903
12913
  },
12904
12914
  })
12905
12915
  ], SearchBoxSuggestionsWrapper);
12906
- var script$U = SearchBoxSuggestionsWrapper;
12916
+ var script$W = SearchBoxSuggestionsWrapper;
12907
12917
 
12908
12918
  /* script */
12909
- const __vue_script__$V = script$U;
12919
+ const __vue_script__$X = script$W;
12910
12920
 
12911
12921
  /* template */
12912
- var __vue_render__$V = function () {
12922
+ var __vue_render__$X = function () {
12913
12923
  var _vm = this;
12914
12924
  var _h = _vm.$createElement;
12915
12925
  var _c = _vm._self._c || _h;
@@ -12927,34 +12937,34 @@ var __vue_render__$V = function () {
12927
12937
  },
12928
12938
  })
12929
12939
  };
12930
- var __vue_staticRenderFns__$V = [];
12931
- __vue_render__$V._withStripped = true;
12940
+ var __vue_staticRenderFns__$X = [];
12941
+ __vue_render__$X._withStripped = true;
12932
12942
 
12933
12943
  /* style */
12934
- const __vue_inject_styles__$V = function (inject) {
12944
+ const __vue_inject_styles__$X = function (inject) {
12935
12945
  if (!inject) return
12936
12946
  inject("data-v-e3079fb6_0", { source: "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n", map: undefined, media: undefined });
12937
12947
 
12938
12948
  };
12939
12949
  /* scoped */
12940
- const __vue_scope_id__$V = undefined;
12950
+ const __vue_scope_id__$X = undefined;
12941
12951
  /* module identifier */
12942
- const __vue_module_identifier__$V = undefined;
12952
+ const __vue_module_identifier__$X = undefined;
12943
12953
  /* functional template */
12944
- const __vue_is_functional_template__$V = false;
12954
+ const __vue_is_functional_template__$X = false;
12945
12955
  /* style inject SSR */
12946
12956
 
12947
12957
  /* style inject shadow dom */
12948
12958
 
12949
12959
 
12950
12960
 
12951
- const __vue_component__$V = /*#__PURE__*/normalizeComponent(
12952
- { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
12953
- __vue_inject_styles__$V,
12954
- __vue_script__$V,
12955
- __vue_scope_id__$V,
12956
- __vue_is_functional_template__$V,
12957
- __vue_module_identifier__$V,
12961
+ const __vue_component__$X = /*#__PURE__*/normalizeComponent(
12962
+ { render: __vue_render__$X, staticRenderFns: __vue_staticRenderFns__$X },
12963
+ __vue_inject_styles__$X,
12964
+ __vue_script__$X,
12965
+ __vue_scope_id__$X,
12966
+ __vue_is_functional_template__$X,
12967
+ __vue_module_identifier__$X,
12958
12968
  false,
12959
12969
  createInjector,
12960
12970
  undefined,
@@ -12993,13 +13003,13 @@ SearchBoxMoreResults = __decorate([
12993
13003
  name: "searchBoxMoreResults",
12994
13004
  })
12995
13005
  ], SearchBoxMoreResults);
12996
- var script$T = SearchBoxMoreResults;
13006
+ var script$V = SearchBoxMoreResults;
12997
13007
 
12998
13008
  /* script */
12999
- const __vue_script__$U = script$T;
13009
+ const __vue_script__$W = script$V;
13000
13010
 
13001
13011
  /* template */
13002
- var __vue_render__$U = function () {
13012
+ var __vue_render__$W = function () {
13003
13013
  var _vm = this;
13004
13014
  var _h = _vm.$createElement;
13005
13015
  var _c = _vm._self._c || _h;
@@ -13013,17 +13023,17 @@ var __vue_render__$U = function () {
13013
13023
  [_vm._v(_vm._s(_vm.labels.moreResults) + " " + _vm._s(_vm.totalCount))]
13014
13024
  )
13015
13025
  };
13016
- var __vue_staticRenderFns__$U = [];
13017
- __vue_render__$U._withStripped = true;
13026
+ var __vue_staticRenderFns__$W = [];
13027
+ __vue_render__$W._withStripped = true;
13018
13028
 
13019
13029
  /* style */
13020
- const __vue_inject_styles__$U = undefined;
13030
+ const __vue_inject_styles__$W = undefined;
13021
13031
  /* scoped */
13022
- const __vue_scope_id__$U = undefined;
13032
+ const __vue_scope_id__$W = undefined;
13023
13033
  /* module identifier */
13024
- const __vue_module_identifier__$U = undefined;
13034
+ const __vue_module_identifier__$W = undefined;
13025
13035
  /* functional template */
13026
- const __vue_is_functional_template__$U = false;
13036
+ const __vue_is_functional_template__$W = false;
13027
13037
  /* style inject */
13028
13038
 
13029
13039
  /* style inject SSR */
@@ -13032,13 +13042,13 @@ __vue_render__$U._withStripped = true;
13032
13042
 
13033
13043
 
13034
13044
 
13035
- const __vue_component__$U = /*#__PURE__*/normalizeComponent(
13036
- { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
13037
- __vue_inject_styles__$U,
13038
- __vue_script__$U,
13039
- __vue_scope_id__$U,
13040
- __vue_is_functional_template__$U,
13041
- __vue_module_identifier__$U,
13045
+ const __vue_component__$W = /*#__PURE__*/normalizeComponent(
13046
+ { render: __vue_render__$W, staticRenderFns: __vue_staticRenderFns__$W },
13047
+ __vue_inject_styles__$W,
13048
+ __vue_script__$W,
13049
+ __vue_scope_id__$W,
13050
+ __vue_is_functional_template__$W,
13051
+ __vue_module_identifier__$W,
13042
13052
  false,
13043
13053
  undefined,
13044
13054
  undefined,
@@ -13064,13 +13074,13 @@ SearchBoxHistoryItem = __decorate([
13064
13074
  name: "SearchBoxHistoryItem",
13065
13075
  })
13066
13076
  ], SearchBoxHistoryItem);
13067
- var script$S = SearchBoxHistoryItem;
13077
+ var script$U = SearchBoxHistoryItem;
13068
13078
 
13069
13079
  /* script */
13070
- const __vue_script__$T = script$S;
13080
+ const __vue_script__$V = script$U;
13071
13081
 
13072
13082
  /* template */
13073
- var __vue_render__$T = function () {
13083
+ var __vue_render__$V = function () {
13074
13084
  var _vm = this;
13075
13085
  var _h = _vm.$createElement;
13076
13086
  var _c = _vm._self._c || _h;
@@ -13099,17 +13109,17 @@ var __vue_render__$T = function () {
13099
13109
  ]),
13100
13110
  ])
13101
13111
  };
13102
- var __vue_staticRenderFns__$T = [];
13103
- __vue_render__$T._withStripped = true;
13112
+ var __vue_staticRenderFns__$V = [];
13113
+ __vue_render__$V._withStripped = true;
13104
13114
 
13105
13115
  /* style */
13106
- const __vue_inject_styles__$T = undefined;
13116
+ const __vue_inject_styles__$V = undefined;
13107
13117
  /* scoped */
13108
- const __vue_scope_id__$T = undefined;
13118
+ const __vue_scope_id__$V = undefined;
13109
13119
  /* module identifier */
13110
- const __vue_module_identifier__$T = undefined;
13120
+ const __vue_module_identifier__$V = undefined;
13111
13121
  /* functional template */
13112
- const __vue_is_functional_template__$T = false;
13122
+ const __vue_is_functional_template__$V = false;
13113
13123
  /* style inject */
13114
13124
 
13115
13125
  /* style inject SSR */
@@ -13118,13 +13128,13 @@ __vue_render__$T._withStripped = true;
13118
13128
 
13119
13129
 
13120
13130
 
13121
- const __vue_component__$T = /*#__PURE__*/normalizeComponent(
13122
- { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
13123
- __vue_inject_styles__$T,
13124
- __vue_script__$T,
13125
- __vue_scope_id__$T,
13126
- __vue_is_functional_template__$T,
13127
- __vue_module_identifier__$T,
13131
+ const __vue_component__$V = /*#__PURE__*/normalizeComponent(
13132
+ { render: __vue_render__$V, staticRenderFns: __vue_staticRenderFns__$V },
13133
+ __vue_inject_styles__$V,
13134
+ __vue_script__$V,
13135
+ __vue_scope_id__$V,
13136
+ __vue_is_functional_template__$V,
13137
+ __vue_module_identifier__$V,
13128
13138
  false,
13129
13139
  undefined,
13130
13140
  undefined,
@@ -13185,17 +13195,17 @@ SearchBoxHistoryPanel = __decorate([
13185
13195
  Component({
13186
13196
  name: "searchBoxHistoryPanel",
13187
13197
  components: {
13188
- SearchBoxHistoryItem: __vue_component__$T,
13198
+ SearchBoxHistoryItem: __vue_component__$V,
13189
13199
  },
13190
13200
  })
13191
13201
  ], SearchBoxHistoryPanel);
13192
- var script$R = SearchBoxHistoryPanel;
13202
+ var script$T = SearchBoxHistoryPanel;
13193
13203
 
13194
13204
  /* script */
13195
- const __vue_script__$S = script$R;
13205
+ const __vue_script__$U = script$T;
13196
13206
 
13197
13207
  /* template */
13198
- var __vue_render__$S = function () {
13208
+ var __vue_render__$U = function () {
13199
13209
  var _vm = this;
13200
13210
  var _h = _vm.$createElement;
13201
13211
  var _c = _vm._self._c || _h;
@@ -13225,17 +13235,17 @@ var __vue_render__$S = function () {
13225
13235
  )
13226
13236
  : _vm._e()
13227
13237
  };
13228
- var __vue_staticRenderFns__$S = [];
13229
- __vue_render__$S._withStripped = true;
13238
+ var __vue_staticRenderFns__$U = [];
13239
+ __vue_render__$U._withStripped = true;
13230
13240
 
13231
13241
  /* style */
13232
- const __vue_inject_styles__$S = undefined;
13242
+ const __vue_inject_styles__$U = undefined;
13233
13243
  /* scoped */
13234
- const __vue_scope_id__$S = undefined;
13244
+ const __vue_scope_id__$U = undefined;
13235
13245
  /* module identifier */
13236
- const __vue_module_identifier__$S = undefined;
13246
+ const __vue_module_identifier__$U = undefined;
13237
13247
  /* functional template */
13238
- const __vue_is_functional_template__$S = false;
13248
+ const __vue_is_functional_template__$U = false;
13239
13249
  /* style inject */
13240
13250
 
13241
13251
  /* style inject SSR */
@@ -13244,13 +13254,13 @@ __vue_render__$S._withStripped = true;
13244
13254
 
13245
13255
 
13246
13256
 
13247
- const __vue_component__$S = /*#__PURE__*/normalizeComponent(
13248
- { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
13249
- __vue_inject_styles__$S,
13250
- __vue_script__$S,
13251
- __vue_scope_id__$S,
13252
- __vue_is_functional_template__$S,
13253
- __vue_module_identifier__$S,
13257
+ const __vue_component__$U = /*#__PURE__*/normalizeComponent(
13258
+ { render: __vue_render__$U, staticRenderFns: __vue_staticRenderFns__$U },
13259
+ __vue_inject_styles__$U,
13260
+ __vue_script__$U,
13261
+ __vue_scope_id__$U,
13262
+ __vue_is_functional_template__$U,
13263
+ __vue_module_identifier__$U,
13254
13264
  false,
13255
13265
  undefined,
13256
13266
  undefined,
@@ -13357,20 +13367,20 @@ SearchBoxMainPanel = __decorate([
13357
13367
  Component({
13358
13368
  name: "searchBoxMainPanel",
13359
13369
  components: {
13360
- SearchBoxSuggestionsWrapper: __vue_component__$V,
13361
- SearchBoxProductsWrapper: __vue_component__$Y,
13362
- SearchBoxMoreResults: __vue_component__$U,
13363
- SearchBoxHistoryPanel: __vue_component__$S,
13370
+ SearchBoxSuggestionsWrapper: __vue_component__$X,
13371
+ SearchBoxProductsWrapper: __vue_component__$_,
13372
+ SearchBoxMoreResults: __vue_component__$W,
13373
+ SearchBoxHistoryPanel: __vue_component__$U,
13364
13374
  },
13365
13375
  })
13366
13376
  ], SearchBoxMainPanel);
13367
- var script$Q = SearchBoxMainPanel;
13377
+ var script$S = SearchBoxMainPanel;
13368
13378
 
13369
13379
  /* script */
13370
- const __vue_script__$R = script$Q;
13380
+ const __vue_script__$T = script$S;
13371
13381
 
13372
13382
  /* template */
13373
- var __vue_render__$R = function () {
13383
+ var __vue_render__$T = function () {
13374
13384
  var _vm = this;
13375
13385
  var _h = _vm.$createElement;
13376
13386
  var _c = _vm._self._c || _h;
@@ -13457,34 +13467,34 @@ var __vue_render__$R = function () {
13457
13467
  )
13458
13468
  : _vm._e()
13459
13469
  };
13460
- var __vue_staticRenderFns__$R = [];
13461
- __vue_render__$R._withStripped = true;
13470
+ var __vue_staticRenderFns__$T = [];
13471
+ __vue_render__$T._withStripped = true;
13462
13472
 
13463
13473
  /* style */
13464
- const __vue_inject_styles__$R = function (inject) {
13474
+ const __vue_inject_styles__$T = function (inject) {
13465
13475
  if (!inject) return
13466
13476
  inject("data-v-0b92689b_0", { source: "#lupa-search-box-panel {\n display: flex;\n justify-content: space-between;\n flex-direction: column;\n}\n.lupa-more-results {\n text-align: center;\n}", map: undefined, media: undefined });
13467
13477
 
13468
13478
  };
13469
13479
  /* scoped */
13470
- const __vue_scope_id__$R = undefined;
13480
+ const __vue_scope_id__$T = undefined;
13471
13481
  /* module identifier */
13472
- const __vue_module_identifier__$R = undefined;
13482
+ const __vue_module_identifier__$T = undefined;
13473
13483
  /* functional template */
13474
- const __vue_is_functional_template__$R = false;
13484
+ const __vue_is_functional_template__$T = false;
13475
13485
  /* style inject SSR */
13476
13486
 
13477
13487
  /* style inject shadow dom */
13478
13488
 
13479
13489
 
13480
13490
 
13481
- const __vue_component__$R = /*#__PURE__*/normalizeComponent(
13482
- { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
13483
- __vue_inject_styles__$R,
13484
- __vue_script__$R,
13485
- __vue_scope_id__$R,
13486
- __vue_is_functional_template__$R,
13487
- __vue_module_identifier__$R,
13491
+ const __vue_component__$T = /*#__PURE__*/normalizeComponent(
13492
+ { render: __vue_render__$T, staticRenderFns: __vue_staticRenderFns__$T },
13493
+ __vue_inject_styles__$T,
13494
+ __vue_script__$T,
13495
+ __vue_scope_id__$T,
13496
+ __vue_is_functional_template__$T,
13497
+ __vue_module_identifier__$T,
13488
13498
  false,
13489
13499
  createInjector,
13490
13500
  undefined,
@@ -13740,18 +13750,18 @@ SearchBox = __decorate([
13740
13750
  Component({
13741
13751
  name: "searchBox",
13742
13752
  components: {
13743
- SearchBoxInput: __vue_component__$17,
13744
- SearchBoxMainPanel: __vue_component__$R,
13753
+ SearchBoxInput: __vue_component__$19,
13754
+ SearchBoxMainPanel: __vue_component__$T,
13745
13755
  },
13746
13756
  })
13747
13757
  ], SearchBox);
13748
- var script$P = SearchBox;
13758
+ var script$R = SearchBox;
13749
13759
 
13750
13760
  /* script */
13751
- const __vue_script__$Q = script$P;
13761
+ const __vue_script__$S = script$R;
13752
13762
 
13753
13763
  /* template */
13754
- var __vue_render__$Q = function () {
13764
+ var __vue_render__$S = function () {
13755
13765
  var _vm = this;
13756
13766
  var _h = _vm.$createElement;
13757
13767
  var _c = _vm._self._c || _h;
@@ -13788,34 +13798,34 @@ var __vue_render__$Q = function () {
13788
13798
  ),
13789
13799
  ])
13790
13800
  };
13791
- var __vue_staticRenderFns__$Q = [];
13792
- __vue_render__$Q._withStripped = true;
13801
+ var __vue_staticRenderFns__$S = [];
13802
+ __vue_render__$S._withStripped = true;
13793
13803
 
13794
13804
  /* style */
13795
- const __vue_inject_styles__$Q = function (inject) {
13805
+ const __vue_inject_styles__$S = function (inject) {
13796
13806
  if (!inject) return
13797
13807
  inject("data-v-73ed57d5_0", { source: "\n#lupa-search-box {\n width: 100%;\n}\n.lupa-search-box-wrapper {\n position: relative;\n}\n", map: undefined, media: undefined });
13798
13808
 
13799
13809
  };
13800
13810
  /* scoped */
13801
- const __vue_scope_id__$Q = undefined;
13811
+ const __vue_scope_id__$S = undefined;
13802
13812
  /* module identifier */
13803
- const __vue_module_identifier__$Q = undefined;
13813
+ const __vue_module_identifier__$S = undefined;
13804
13814
  /* functional template */
13805
- const __vue_is_functional_template__$Q = false;
13815
+ const __vue_is_functional_template__$S = false;
13806
13816
  /* style inject SSR */
13807
13817
 
13808
13818
  /* style inject shadow dom */
13809
13819
 
13810
13820
 
13811
13821
 
13812
- const __vue_component__$Q = /*#__PURE__*/normalizeComponent(
13813
- { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
13814
- __vue_inject_styles__$Q,
13815
- __vue_script__$Q,
13816
- __vue_scope_id__$Q,
13817
- __vue_is_functional_template__$Q,
13818
- __vue_module_identifier__$Q,
13822
+ const __vue_component__$S = /*#__PURE__*/normalizeComponent(
13823
+ { render: __vue_render__$S, staticRenderFns: __vue_staticRenderFns__$S },
13824
+ __vue_inject_styles__$S,
13825
+ __vue_script__$S,
13826
+ __vue_scope_id__$S,
13827
+ __vue_is_functional_template__$S,
13828
+ __vue_module_identifier__$S,
13819
13829
  false,
13820
13830
  createInjector,
13821
13831
  undefined,
@@ -13889,6 +13899,11 @@ let SearchBoxEntry = class SearchBoxEntry extends Vue$1 {
13889
13899
  const options = cloneDeep(this.searchBoxOptions);
13890
13900
  return merge(DEFAULT_SEARCH_BOX_OPTIONS, options);
13891
13901
  }
13902
+ fetch() {
13903
+ var _a;
13904
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
13905
+ (_a = this.$refs.searchBox) === null || _a === void 0 ? void 0 : _a.handleCurrentValueSearch();
13906
+ }
13892
13907
  };
13893
13908
  __decorate([
13894
13909
  Prop()
@@ -13897,33 +13912,36 @@ SearchBoxEntry = __decorate([
13897
13912
  Component({
13898
13913
  name: "searchBox",
13899
13914
  components: {
13900
- SearchBox: __vue_component__$Q,
13915
+ SearchBox: __vue_component__$S,
13901
13916
  },
13902
13917
  })
13903
13918
  ], SearchBoxEntry);
13904
- var script$O = SearchBoxEntry;
13919
+ var script$Q = SearchBoxEntry;
13905
13920
 
13906
13921
  /* script */
13907
- const __vue_script__$P = script$O;
13922
+ const __vue_script__$R = script$Q;
13908
13923
 
13909
13924
  /* template */
13910
- var __vue_render__$P = function () {
13925
+ var __vue_render__$R = function () {
13911
13926
  var _vm = this;
13912
13927
  var _h = _vm.$createElement;
13913
13928
  var _c = _vm._self._c || _h;
13914
- return _c("SearchBox", { attrs: { options: _vm.fullSearchBoxOptions } })
13929
+ return _c("SearchBox", {
13930
+ ref: "searchBox",
13931
+ attrs: { options: _vm.fullSearchBoxOptions },
13932
+ })
13915
13933
  };
13916
- var __vue_staticRenderFns__$P = [];
13917
- __vue_render__$P._withStripped = true;
13934
+ var __vue_staticRenderFns__$R = [];
13935
+ __vue_render__$R._withStripped = true;
13918
13936
 
13919
13937
  /* style */
13920
- const __vue_inject_styles__$P = undefined;
13938
+ const __vue_inject_styles__$R = undefined;
13921
13939
  /* scoped */
13922
- const __vue_scope_id__$P = undefined;
13940
+ const __vue_scope_id__$R = undefined;
13923
13941
  /* module identifier */
13924
- const __vue_module_identifier__$P = undefined;
13942
+ const __vue_module_identifier__$R = undefined;
13925
13943
  /* functional template */
13926
- const __vue_is_functional_template__$P = false;
13944
+ const __vue_is_functional_template__$R = false;
13927
13945
  /* style inject */
13928
13946
 
13929
13947
  /* style inject SSR */
@@ -13932,13 +13950,13 @@ __vue_render__$P._withStripped = true;
13932
13950
 
13933
13951
 
13934
13952
 
13935
- const __vue_component__$P = /*#__PURE__*/normalizeComponent(
13936
- { render: __vue_render__$P, staticRenderFns: __vue_staticRenderFns__$P },
13937
- __vue_inject_styles__$P,
13938
- __vue_script__$P,
13939
- __vue_scope_id__$P,
13940
- __vue_is_functional_template__$P,
13941
- __vue_module_identifier__$P,
13953
+ const __vue_component__$R = /*#__PURE__*/normalizeComponent(
13954
+ { render: __vue_render__$R, staticRenderFns: __vue_staticRenderFns__$R },
13955
+ __vue_inject_styles__$R,
13956
+ __vue_script__$R,
13957
+ __vue_scope_id__$R,
13958
+ __vue_is_functional_template__$R,
13959
+ __vue_module_identifier__$R,
13942
13960
  false,
13943
13961
  undefined,
13944
13962
  undefined,
@@ -14203,13 +14221,13 @@ CurrentFilterDisplay = __decorate([
14203
14221
  name: "currentFilterDisplay",
14204
14222
  })
14205
14223
  ], CurrentFilterDisplay);
14206
- var script$N = CurrentFilterDisplay;
14224
+ var script$P = CurrentFilterDisplay;
14207
14225
 
14208
14226
  /* script */
14209
- const __vue_script__$O = script$N;
14227
+ const __vue_script__$Q = script$P;
14210
14228
 
14211
14229
  /* template */
14212
- var __vue_render__$O = function () {
14230
+ var __vue_render__$Q = function () {
14213
14231
  var _vm = this;
14214
14232
  var _h = _vm.$createElement;
14215
14233
  var _c = _vm._self._c || _h;
@@ -14242,17 +14260,17 @@ var __vue_render__$O = function () {
14242
14260
  ),
14243
14261
  ])
14244
14262
  };
14245
- var __vue_staticRenderFns__$O = [];
14246
- __vue_render__$O._withStripped = true;
14263
+ var __vue_staticRenderFns__$Q = [];
14264
+ __vue_render__$Q._withStripped = true;
14247
14265
 
14248
14266
  /* style */
14249
- const __vue_inject_styles__$O = undefined;
14267
+ const __vue_inject_styles__$Q = undefined;
14250
14268
  /* scoped */
14251
- const __vue_scope_id__$O = undefined;
14269
+ const __vue_scope_id__$Q = undefined;
14252
14270
  /* module identifier */
14253
- const __vue_module_identifier__$O = undefined;
14271
+ const __vue_module_identifier__$Q = undefined;
14254
14272
  /* functional template */
14255
- const __vue_is_functional_template__$O = false;
14273
+ const __vue_is_functional_template__$Q = false;
14256
14274
  /* style inject */
14257
14275
 
14258
14276
  /* style inject SSR */
@@ -14261,13 +14279,13 @@ __vue_render__$O._withStripped = true;
14261
14279
 
14262
14280
 
14263
14281
 
14264
- const __vue_component__$O = /*#__PURE__*/normalizeComponent(
14265
- { render: __vue_render__$O, staticRenderFns: __vue_staticRenderFns__$O },
14266
- __vue_inject_styles__$O,
14267
- __vue_script__$O,
14268
- __vue_scope_id__$O,
14269
- __vue_is_functional_template__$O,
14270
- __vue_module_identifier__$O,
14282
+ const __vue_component__$Q = /*#__PURE__*/normalizeComponent(
14283
+ { render: __vue_render__$Q, staticRenderFns: __vue_staticRenderFns__$Q },
14284
+ __vue_inject_styles__$Q,
14285
+ __vue_script__$Q,
14286
+ __vue_scope_id__$Q,
14287
+ __vue_is_functional_template__$Q,
14288
+ __vue_module_identifier__$Q,
14271
14289
  false,
14272
14290
  undefined,
14273
14291
  undefined,
@@ -14409,17 +14427,17 @@ CurrentFilters = __decorate([
14409
14427
  Component({
14410
14428
  name: "currentFilters",
14411
14429
  components: {
14412
- CurrentFilterDisplay: __vue_component__$O,
14430
+ CurrentFilterDisplay: __vue_component__$Q,
14413
14431
  },
14414
14432
  })
14415
14433
  ], CurrentFilters);
14416
- var script$M = CurrentFilters;
14434
+ var script$O = CurrentFilters;
14417
14435
 
14418
14436
  /* script */
14419
- const __vue_script__$N = script$M;
14437
+ const __vue_script__$P = script$O;
14420
14438
 
14421
14439
  /* template */
14422
- var __vue_render__$N = function () {
14440
+ var __vue_render__$P = function () {
14423
14441
  var _vm = this;
14424
14442
  var _h = _vm.$createElement;
14425
14443
  var _c = _vm._self._c || _h;
@@ -14503,17 +14521,17 @@ var __vue_render__$N = function () {
14503
14521
  )
14504
14522
  : _vm._e()
14505
14523
  };
14506
- var __vue_staticRenderFns__$N = [];
14507
- __vue_render__$N._withStripped = true;
14524
+ var __vue_staticRenderFns__$P = [];
14525
+ __vue_render__$P._withStripped = true;
14508
14526
 
14509
14527
  /* style */
14510
- const __vue_inject_styles__$N = undefined;
14528
+ const __vue_inject_styles__$P = undefined;
14511
14529
  /* scoped */
14512
- const __vue_scope_id__$N = undefined;
14530
+ const __vue_scope_id__$P = undefined;
14513
14531
  /* module identifier */
14514
- const __vue_module_identifier__$N = undefined;
14532
+ const __vue_module_identifier__$P = undefined;
14515
14533
  /* functional template */
14516
- const __vue_is_functional_template__$N = false;
14534
+ const __vue_is_functional_template__$P = false;
14517
14535
  /* style inject */
14518
14536
 
14519
14537
  /* style inject SSR */
@@ -14522,13 +14540,13 @@ __vue_render__$N._withStripped = true;
14522
14540
 
14523
14541
 
14524
14542
 
14525
- const __vue_component__$N = /*#__PURE__*/normalizeComponent(
14526
- { render: __vue_render__$N, staticRenderFns: __vue_staticRenderFns__$N },
14527
- __vue_inject_styles__$N,
14528
- __vue_script__$N,
14529
- __vue_scope_id__$N,
14530
- __vue_is_functional_template__$N,
14531
- __vue_module_identifier__$N,
14543
+ const __vue_component__$P = /*#__PURE__*/normalizeComponent(
14544
+ { render: __vue_render__$P, staticRenderFns: __vue_staticRenderFns__$P },
14545
+ __vue_inject_styles__$P,
14546
+ __vue_script__$P,
14547
+ __vue_scope_id__$P,
14548
+ __vue_is_functional_template__$P,
14549
+ __vue_module_identifier__$P,
14532
14550
  false,
14533
14551
  undefined,
14534
14552
  undefined,
@@ -14613,13 +14631,13 @@ TermFacet$1 = __decorate([
14613
14631
  name: "termFacet",
14614
14632
  })
14615
14633
  ], TermFacet$1);
14616
- var script$L = TermFacet$1;
14634
+ var script$N = TermFacet$1;
14617
14635
 
14618
14636
  /* script */
14619
- const __vue_script__$M = script$L;
14637
+ const __vue_script__$O = script$N;
14620
14638
 
14621
14639
  /* template */
14622
- var __vue_render__$M = function () {
14640
+ var __vue_render__$O = function () {
14623
14641
  var _vm = this;
14624
14642
  var _h = _vm.$createElement;
14625
14643
  var _c = _vm._self._c || _h;
@@ -14721,17 +14739,17 @@ var __vue_render__$M = function () {
14721
14739
  ]
14722
14740
  )
14723
14741
  };
14724
- var __vue_staticRenderFns__$M = [];
14725
- __vue_render__$M._withStripped = true;
14742
+ var __vue_staticRenderFns__$O = [];
14743
+ __vue_render__$O._withStripped = true;
14726
14744
 
14727
14745
  /* style */
14728
- const __vue_inject_styles__$M = undefined;
14746
+ const __vue_inject_styles__$O = undefined;
14729
14747
  /* scoped */
14730
- const __vue_scope_id__$M = undefined;
14748
+ const __vue_scope_id__$O = undefined;
14731
14749
  /* module identifier */
14732
- const __vue_module_identifier__$M = undefined;
14750
+ const __vue_module_identifier__$O = undefined;
14733
14751
  /* functional template */
14734
- const __vue_is_functional_template__$M = false;
14752
+ const __vue_is_functional_template__$O = false;
14735
14753
  /* style inject */
14736
14754
 
14737
14755
  /* style inject SSR */
@@ -14740,13 +14758,13 @@ __vue_render__$M._withStripped = true;
14740
14758
 
14741
14759
 
14742
14760
 
14743
- const __vue_component__$M = /*#__PURE__*/normalizeComponent(
14744
- { render: __vue_render__$M, staticRenderFns: __vue_staticRenderFns__$M },
14745
- __vue_inject_styles__$M,
14746
- __vue_script__$M,
14747
- __vue_scope_id__$M,
14748
- __vue_is_functional_template__$M,
14749
- __vue_module_identifier__$M,
14761
+ const __vue_component__$O = /*#__PURE__*/normalizeComponent(
14762
+ { render: __vue_render__$O, staticRenderFns: __vue_staticRenderFns__$O },
14763
+ __vue_inject_styles__$O,
14764
+ __vue_script__$O,
14765
+ __vue_scope_id__$O,
14766
+ __vue_is_functional_template__$O,
14767
+ __vue_module_identifier__$O,
14750
14768
  false,
14751
14769
  undefined,
14752
14770
  undefined,
@@ -14796,7 +14814,7 @@ let TermFacet = class TermFacet extends Vue$1 {
14796
14814
  }
14797
14815
  get fromValue() {
14798
14816
  return this.isPrice
14799
- ? this.sliderRange[0].toFixed(2)
14817
+ ? this.sliderRange[0].toFixed(2).replace(".", this.separator)
14800
14818
  : `${this.sliderRange[0]}`;
14801
14819
  }
14802
14820
  set fromValue(stringValue) {
@@ -14812,7 +14830,7 @@ let TermFacet = class TermFacet extends Vue$1 {
14812
14830
  }
14813
14831
  get toValue() {
14814
14832
  return this.isPrice
14815
- ? this.sliderRange[1].toFixed(2)
14833
+ ? this.sliderRange[1].toFixed(2).replace(".", this.separator)
14816
14834
  : `${this.sliderRange[1]}`;
14817
14835
  }
14818
14836
  set toValue(stringValue) {
@@ -14871,9 +14889,16 @@ let TermFacet = class TermFacet extends Vue$1 {
14871
14889
  get statsSummary() {
14872
14890
  const [min, max] = this.sliderRange;
14873
14891
  return this.isPrice
14874
- ? formatPriceSummary([min, max], this.currency, this.searchResultOptions.labels.priceSeparator)
14892
+ ? formatPriceSummary([min, max], this.currency, this.separator)
14875
14893
  : formatRange({ gte: min, lte: max });
14876
14894
  }
14895
+ get separator() {
14896
+ var _a, _b, _c;
14897
+ return (_c = (_b = (_a = this.searchResultOptions) === null || _a === void 0 ? void 0 : _a.labels) === null || _b === void 0 ? void 0 : _b.priceSeparator) !== null && _c !== void 0 ? _c : ",";
14898
+ }
14899
+ get sliderInputFormat() {
14900
+ return this.isPrice ? `[0-9]+([${this.separator}][0-9]{1,2})?` : undefined;
14901
+ }
14877
14902
  onMinValueChange() {
14878
14903
  this.innerSliderRange = [];
14879
14904
  }
@@ -14927,13 +14952,13 @@ TermFacet = __decorate([
14927
14952
  },
14928
14953
  })
14929
14954
  ], TermFacet);
14930
- var script$K = TermFacet;
14955
+ var script$M = TermFacet;
14931
14956
 
14932
14957
  /* script */
14933
- const __vue_script__$L = script$K;
14958
+ const __vue_script__$N = script$M;
14934
14959
 
14935
14960
  /* template */
14936
- var __vue_render__$L = function () {
14961
+ var __vue_render__$N = function () {
14937
14962
  var _vm = this;
14938
14963
  var _h = _vm.$createElement;
14939
14964
  var _c = _vm._self._c || _h;
@@ -14964,10 +14989,10 @@ var __vue_render__$L = function () {
14964
14989
  },
14965
14990
  ],
14966
14991
  attrs: {
14967
- type: "number",
14992
+ type: "text",
14968
14993
  max: _vm.facetMax,
14969
14994
  min: _vm.facetMin,
14970
- step: _vm.isPrice ? "0.01" : "1",
14995
+ pattern: _vm.sliderInputFormat,
14971
14996
  },
14972
14997
  domProps: { value: _vm.fromValue },
14973
14998
  on: {
@@ -15004,10 +15029,10 @@ var __vue_render__$L = function () {
15004
15029
  },
15005
15030
  ],
15006
15031
  attrs: {
15007
- type: "number",
15032
+ type: "text",
15008
15033
  max: _vm.facetMax,
15009
15034
  min: _vm.facetMin,
15010
- step: _vm.isPrice ? "0.01" : "1",
15035
+ pattern: _vm.sliderInputFormat,
15011
15036
  },
15012
15037
  domProps: { value: _vm.toValue },
15013
15038
  on: {
@@ -15058,17 +15083,17 @@ var __vue_render__$L = function () {
15058
15083
  : _vm._e(),
15059
15084
  ])
15060
15085
  };
15061
- var __vue_staticRenderFns__$L = [];
15062
- __vue_render__$L._withStripped = true;
15086
+ var __vue_staticRenderFns__$N = [];
15087
+ __vue_render__$N._withStripped = true;
15063
15088
 
15064
15089
  /* style */
15065
- const __vue_inject_styles__$L = undefined;
15090
+ const __vue_inject_styles__$N = undefined;
15066
15091
  /* scoped */
15067
- const __vue_scope_id__$L = undefined;
15092
+ const __vue_scope_id__$N = undefined;
15068
15093
  /* module identifier */
15069
- const __vue_module_identifier__$L = undefined;
15094
+ const __vue_module_identifier__$N = undefined;
15070
15095
  /* functional template */
15071
- const __vue_is_functional_template__$L = false;
15096
+ const __vue_is_functional_template__$N = false;
15072
15097
  /* style inject */
15073
15098
 
15074
15099
  /* style inject SSR */
@@ -15077,13 +15102,13 @@ __vue_render__$L._withStripped = true;
15077
15102
 
15078
15103
 
15079
15104
 
15080
- const __vue_component__$L = /*#__PURE__*/normalizeComponent(
15081
- { render: __vue_render__$L, staticRenderFns: __vue_staticRenderFns__$L },
15082
- __vue_inject_styles__$L,
15083
- __vue_script__$L,
15084
- __vue_scope_id__$L,
15085
- __vue_is_functional_template__$L,
15086
- __vue_module_identifier__$L,
15105
+ const __vue_component__$N = /*#__PURE__*/normalizeComponent(
15106
+ { render: __vue_render__$N, staticRenderFns: __vue_staticRenderFns__$N },
15107
+ __vue_inject_styles__$N,
15108
+ __vue_script__$N,
15109
+ __vue_scope_id__$N,
15110
+ __vue_is_functional_template__$N,
15111
+ __vue_module_identifier__$N,
15087
15112
  false,
15088
15113
  undefined,
15089
15114
  undefined,
@@ -15123,13 +15148,13 @@ HierarchyFacetLevel = __decorate([
15123
15148
  name: "HierarchyFacetLevel",
15124
15149
  })
15125
15150
  ], HierarchyFacetLevel);
15126
- var script$J = HierarchyFacetLevel;
15151
+ var script$L = HierarchyFacetLevel;
15127
15152
 
15128
15153
  /* script */
15129
- const __vue_script__$K = script$J;
15154
+ const __vue_script__$M = script$L;
15130
15155
 
15131
15156
  /* template */
15132
- var __vue_render__$K = function () {
15157
+ var __vue_render__$M = function () {
15133
15158
  var _vm = this;
15134
15159
  var _h = _vm.$createElement;
15135
15160
  var _c = _vm._self._c || _h;
@@ -15199,34 +15224,34 @@ var __vue_render__$K = function () {
15199
15224
  ]
15200
15225
  )
15201
15226
  };
15202
- var __vue_staticRenderFns__$K = [];
15203
- __vue_render__$K._withStripped = true;
15227
+ var __vue_staticRenderFns__$M = [];
15228
+ __vue_render__$M._withStripped = true;
15204
15229
 
15205
15230
  /* style */
15206
- const __vue_inject_styles__$K = function (inject) {
15231
+ const __vue_inject_styles__$M = function (inject) {
15207
15232
  if (!inject) return
15208
15233
  inject("data-v-1cc23c16_0", { source: ".lupa-facet-level {\n margin-left: 25px;\n}", map: undefined, media: undefined });
15209
15234
 
15210
15235
  };
15211
15236
  /* scoped */
15212
- const __vue_scope_id__$K = undefined;
15237
+ const __vue_scope_id__$M = undefined;
15213
15238
  /* module identifier */
15214
- const __vue_module_identifier__$K = undefined;
15239
+ const __vue_module_identifier__$M = undefined;
15215
15240
  /* functional template */
15216
- const __vue_is_functional_template__$K = false;
15241
+ const __vue_is_functional_template__$M = false;
15217
15242
  /* style inject SSR */
15218
15243
 
15219
15244
  /* style inject shadow dom */
15220
15245
 
15221
15246
 
15222
15247
 
15223
- const __vue_component__$K = /*#__PURE__*/normalizeComponent(
15224
- { render: __vue_render__$K, staticRenderFns: __vue_staticRenderFns__$K },
15225
- __vue_inject_styles__$K,
15226
- __vue_script__$K,
15227
- __vue_scope_id__$K,
15228
- __vue_is_functional_template__$K,
15229
- __vue_module_identifier__$K,
15248
+ const __vue_component__$M = /*#__PURE__*/normalizeComponent(
15249
+ { render: __vue_render__$M, staticRenderFns: __vue_staticRenderFns__$M },
15250
+ __vue_inject_styles__$M,
15251
+ __vue_script__$M,
15252
+ __vue_scope_id__$M,
15253
+ __vue_is_functional_template__$M,
15254
+ __vue_module_identifier__$M,
15230
15255
  false,
15231
15256
  createInjector,
15232
15257
  undefined,
@@ -15293,17 +15318,17 @@ HierarchyFacet = __decorate([
15293
15318
  Component({
15294
15319
  name: "hierarchyFacet",
15295
15320
  components: {
15296
- HierarchyFacetLevel: __vue_component__$K,
15321
+ HierarchyFacetLevel: __vue_component__$M,
15297
15322
  },
15298
15323
  })
15299
15324
  ], HierarchyFacet);
15300
- var script$I = HierarchyFacet;
15325
+ var script$K = HierarchyFacet;
15301
15326
 
15302
15327
  /* script */
15303
- const __vue_script__$J = script$I;
15328
+ const __vue_script__$L = script$K;
15304
15329
 
15305
15330
  /* template */
15306
- var __vue_render__$J = function () {
15331
+ var __vue_render__$L = function () {
15307
15332
  var _vm = this;
15308
15333
  var _h = _vm.$createElement;
15309
15334
  var _c = _vm._self._c || _h;
@@ -15373,17 +15398,17 @@ var __vue_render__$J = function () {
15373
15398
  2
15374
15399
  )
15375
15400
  };
15376
- var __vue_staticRenderFns__$J = [];
15377
- __vue_render__$J._withStripped = true;
15401
+ var __vue_staticRenderFns__$L = [];
15402
+ __vue_render__$L._withStripped = true;
15378
15403
 
15379
15404
  /* style */
15380
- const __vue_inject_styles__$J = undefined;
15405
+ const __vue_inject_styles__$L = undefined;
15381
15406
  /* scoped */
15382
- const __vue_scope_id__$J = undefined;
15407
+ const __vue_scope_id__$L = undefined;
15383
15408
  /* module identifier */
15384
- const __vue_module_identifier__$J = undefined;
15409
+ const __vue_module_identifier__$L = undefined;
15385
15410
  /* functional template */
15386
- const __vue_is_functional_template__$J = false;
15411
+ const __vue_is_functional_template__$L = false;
15387
15412
  /* style inject */
15388
15413
 
15389
15414
  /* style inject SSR */
@@ -15392,17 +15417,17 @@ __vue_render__$J._withStripped = true;
15392
15417
 
15393
15418
 
15394
15419
 
15395
- const __vue_component__$J = /*#__PURE__*/normalizeComponent(
15396
- { render: __vue_render__$J, staticRenderFns: __vue_staticRenderFns__$J },
15397
- __vue_inject_styles__$J,
15398
- __vue_script__$J,
15399
- __vue_scope_id__$J,
15400
- __vue_is_functional_template__$J,
15401
- __vue_module_identifier__$J,
15402
- false,
15403
- undefined,
15404
- undefined,
15405
- undefined
15420
+ const __vue_component__$L = /*#__PURE__*/normalizeComponent(
15421
+ { render: __vue_render__$L, staticRenderFns: __vue_staticRenderFns__$L },
15422
+ __vue_inject_styles__$L,
15423
+ __vue_script__$L,
15424
+ __vue_scope_id__$L,
15425
+ __vue_is_functional_template__$L,
15426
+ __vue_module_identifier__$L,
15427
+ false,
15428
+ undefined,
15429
+ undefined,
15430
+ undefined
15406
15431
  );
15407
15432
 
15408
15433
  const searchResult$h = namespace("searchResult");
@@ -15515,19 +15540,19 @@ FacetDisplay = __decorate([
15515
15540
  Component({
15516
15541
  name: "facetDisplay",
15517
15542
  components: {
15518
- TermFacet: __vue_component__$M,
15519
- StatsFacet: __vue_component__$L,
15520
- HierarchyFacet: __vue_component__$J,
15543
+ TermFacet: __vue_component__$O,
15544
+ StatsFacet: __vue_component__$N,
15545
+ HierarchyFacet: __vue_component__$L,
15521
15546
  },
15522
15547
  })
15523
15548
  ], FacetDisplay);
15524
- var script$H = FacetDisplay;
15549
+ var script$J = FacetDisplay;
15525
15550
 
15526
15551
  /* script */
15527
- const __vue_script__$I = script$H;
15552
+ const __vue_script__$K = script$J;
15528
15553
 
15529
15554
  /* template */
15530
- var __vue_render__$I = function () {
15555
+ var __vue_render__$K = function () {
15531
15556
  var _vm = this;
15532
15557
  var _h = _vm.$createElement;
15533
15558
  var _c = _vm._self._c || _h;
@@ -15603,17 +15628,17 @@ var __vue_render__$I = function () {
15603
15628
  )
15604
15629
  : _vm._e()
15605
15630
  };
15606
- var __vue_staticRenderFns__$I = [];
15607
- __vue_render__$I._withStripped = true;
15631
+ var __vue_staticRenderFns__$K = [];
15632
+ __vue_render__$K._withStripped = true;
15608
15633
 
15609
15634
  /* style */
15610
- const __vue_inject_styles__$I = undefined;
15635
+ const __vue_inject_styles__$K = undefined;
15611
15636
  /* scoped */
15612
- const __vue_scope_id__$I = undefined;
15637
+ const __vue_scope_id__$K = undefined;
15613
15638
  /* module identifier */
15614
- const __vue_module_identifier__$I = undefined;
15639
+ const __vue_module_identifier__$K = undefined;
15615
15640
  /* functional template */
15616
- const __vue_is_functional_template__$I = false;
15641
+ const __vue_is_functional_template__$K = false;
15617
15642
  /* style inject */
15618
15643
 
15619
15644
  /* style inject SSR */
@@ -15622,13 +15647,13 @@ __vue_render__$I._withStripped = true;
15622
15647
 
15623
15648
 
15624
15649
 
15625
- const __vue_component__$I = /*#__PURE__*/normalizeComponent(
15626
- { render: __vue_render__$I, staticRenderFns: __vue_staticRenderFns__$I },
15627
- __vue_inject_styles__$I,
15628
- __vue_script__$I,
15629
- __vue_scope_id__$I,
15630
- __vue_is_functional_template__$I,
15631
- __vue_module_identifier__$I,
15650
+ const __vue_component__$K = /*#__PURE__*/normalizeComponent(
15651
+ { render: __vue_render__$K, staticRenderFns: __vue_staticRenderFns__$K },
15652
+ __vue_inject_styles__$K,
15653
+ __vue_script__$K,
15654
+ __vue_scope_id__$K,
15655
+ __vue_is_functional_template__$K,
15656
+ __vue_module_identifier__$K,
15632
15657
  false,
15633
15658
  undefined,
15634
15659
  undefined,
@@ -15667,17 +15692,17 @@ FacetList = __decorate([
15667
15692
  Component({
15668
15693
  name: "facetList",
15669
15694
  components: {
15670
- FacetDisplay: __vue_component__$I,
15695
+ FacetDisplay: __vue_component__$K,
15671
15696
  },
15672
15697
  })
15673
15698
  ], FacetList);
15674
- var script$G = FacetList;
15699
+ var script$I = FacetList;
15675
15700
 
15676
15701
  /* script */
15677
- const __vue_script__$H = script$G;
15702
+ const __vue_script__$J = script$I;
15678
15703
 
15679
15704
  /* template */
15680
- var __vue_render__$H = function () {
15705
+ var __vue_render__$J = function () {
15681
15706
  var _vm = this;
15682
15707
  var _h = _vm.$createElement;
15683
15708
  var _c = _vm._self._c || _h;
@@ -15710,17 +15735,17 @@ var __vue_render__$H = function () {
15710
15735
  ),
15711
15736
  ])
15712
15737
  };
15713
- var __vue_staticRenderFns__$H = [];
15714
- __vue_render__$H._withStripped = true;
15738
+ var __vue_staticRenderFns__$J = [];
15739
+ __vue_render__$J._withStripped = true;
15715
15740
 
15716
15741
  /* style */
15717
- const __vue_inject_styles__$H = undefined;
15742
+ const __vue_inject_styles__$J = undefined;
15718
15743
  /* scoped */
15719
- const __vue_scope_id__$H = undefined;
15744
+ const __vue_scope_id__$J = undefined;
15720
15745
  /* module identifier */
15721
- const __vue_module_identifier__$H = undefined;
15746
+ const __vue_module_identifier__$J = undefined;
15722
15747
  /* functional template */
15723
- const __vue_is_functional_template__$H = false;
15748
+ const __vue_is_functional_template__$J = false;
15724
15749
  /* style inject */
15725
15750
 
15726
15751
  /* style inject SSR */
@@ -15729,13 +15754,13 @@ __vue_render__$H._withStripped = true;
15729
15754
 
15730
15755
 
15731
15756
 
15732
- const __vue_component__$H = /*#__PURE__*/normalizeComponent(
15733
- { render: __vue_render__$H, staticRenderFns: __vue_staticRenderFns__$H },
15734
- __vue_inject_styles__$H,
15735
- __vue_script__$H,
15736
- __vue_scope_id__$H,
15737
- __vue_is_functional_template__$H,
15738
- __vue_module_identifier__$H,
15757
+ const __vue_component__$J = /*#__PURE__*/normalizeComponent(
15758
+ { render: __vue_render__$J, staticRenderFns: __vue_staticRenderFns__$J },
15759
+ __vue_inject_styles__$J,
15760
+ __vue_script__$J,
15761
+ __vue_scope_id__$J,
15762
+ __vue_is_functional_template__$J,
15763
+ __vue_module_identifier__$J,
15739
15764
  false,
15740
15765
  undefined,
15741
15766
  undefined,
@@ -15828,17 +15853,17 @@ Facets = __decorate([
15828
15853
  Component({
15829
15854
  name: "facets",
15830
15855
  components: {
15831
- FacetList: __vue_component__$H,
15856
+ FacetList: __vue_component__$J,
15832
15857
  },
15833
15858
  })
15834
15859
  ], Facets);
15835
- var script$F = Facets;
15860
+ var script$H = Facets;
15836
15861
 
15837
15862
  /* script */
15838
- const __vue_script__$G = script$F;
15863
+ const __vue_script__$I = script$H;
15839
15864
 
15840
15865
  /* template */
15841
- var __vue_render__$G = function () {
15866
+ var __vue_render__$I = function () {
15842
15867
  var _vm = this;
15843
15868
  var _h = _vm.$createElement;
15844
15869
  var _c = _vm._self._c || _h;
@@ -15862,17 +15887,17 @@ var __vue_render__$G = function () {
15862
15887
  1
15863
15888
  )
15864
15889
  };
15865
- var __vue_staticRenderFns__$G = [];
15866
- __vue_render__$G._withStripped = true;
15890
+ var __vue_staticRenderFns__$I = [];
15891
+ __vue_render__$I._withStripped = true;
15867
15892
 
15868
15893
  /* style */
15869
- const __vue_inject_styles__$G = undefined;
15894
+ const __vue_inject_styles__$I = undefined;
15870
15895
  /* scoped */
15871
- const __vue_scope_id__$G = undefined;
15896
+ const __vue_scope_id__$I = undefined;
15872
15897
  /* module identifier */
15873
- const __vue_module_identifier__$G = undefined;
15898
+ const __vue_module_identifier__$I = undefined;
15874
15899
  /* functional template */
15875
- const __vue_is_functional_template__$G = false;
15900
+ const __vue_is_functional_template__$I = false;
15876
15901
  /* style inject */
15877
15902
 
15878
15903
  /* style inject SSR */
@@ -15881,13 +15906,13 @@ __vue_render__$G._withStripped = true;
15881
15906
 
15882
15907
 
15883
15908
 
15884
- const __vue_component__$G = /*#__PURE__*/normalizeComponent(
15885
- { render: __vue_render__$G, staticRenderFns: __vue_staticRenderFns__$G },
15886
- __vue_inject_styles__$G,
15887
- __vue_script__$G,
15888
- __vue_scope_id__$G,
15889
- __vue_is_functional_template__$G,
15890
- __vue_module_identifier__$G,
15909
+ const __vue_component__$I = /*#__PURE__*/normalizeComponent(
15910
+ { render: __vue_render__$I, staticRenderFns: __vue_staticRenderFns__$I },
15911
+ __vue_inject_styles__$I,
15912
+ __vue_script__$I,
15913
+ __vue_scope_id__$I,
15914
+ __vue_is_functional_template__$I,
15915
+ __vue_module_identifier__$I,
15891
15916
  false,
15892
15917
  undefined,
15893
15918
  undefined,
@@ -15928,13 +15953,13 @@ CategoryFilterItem = __decorate([
15928
15953
  name: "categoryFilterItem",
15929
15954
  })
15930
15955
  ], CategoryFilterItem);
15931
- var script$E = CategoryFilterItem;
15956
+ var script$G = CategoryFilterItem;
15932
15957
 
15933
15958
  /* script */
15934
- const __vue_script__$F = script$E;
15959
+ const __vue_script__$H = script$G;
15935
15960
 
15936
15961
  /* template */
15937
- var __vue_render__$F = function () {
15962
+ var __vue_render__$H = function () {
15938
15963
  var _vm = this;
15939
15964
  var _h = _vm.$createElement;
15940
15965
  var _c = _vm._self._c || _h;
@@ -15956,17 +15981,17 @@ var __vue_render__$F = function () {
15956
15981
  ]
15957
15982
  )
15958
15983
  };
15959
- var __vue_staticRenderFns__$F = [];
15960
- __vue_render__$F._withStripped = true;
15984
+ var __vue_staticRenderFns__$H = [];
15985
+ __vue_render__$H._withStripped = true;
15961
15986
 
15962
15987
  /* style */
15963
- const __vue_inject_styles__$F = undefined;
15988
+ const __vue_inject_styles__$H = undefined;
15964
15989
  /* scoped */
15965
- const __vue_scope_id__$F = undefined;
15990
+ const __vue_scope_id__$H = undefined;
15966
15991
  /* module identifier */
15967
- const __vue_module_identifier__$F = undefined;
15992
+ const __vue_module_identifier__$H = undefined;
15968
15993
  /* functional template */
15969
- const __vue_is_functional_template__$F = false;
15994
+ const __vue_is_functional_template__$H = false;
15970
15995
  /* style inject */
15971
15996
 
15972
15997
  /* style inject SSR */
@@ -15975,13 +16000,13 @@ __vue_render__$F._withStripped = true;
15975
16000
 
15976
16001
 
15977
16002
 
15978
- const __vue_component__$F = /*#__PURE__*/normalizeComponent(
15979
- { render: __vue_render__$F, staticRenderFns: __vue_staticRenderFns__$F },
15980
- __vue_inject_styles__$F,
15981
- __vue_script__$F,
15982
- __vue_scope_id__$F,
15983
- __vue_is_functional_template__$F,
15984
- __vue_module_identifier__$F,
16003
+ const __vue_component__$H = /*#__PURE__*/normalizeComponent(
16004
+ { render: __vue_render__$H, staticRenderFns: __vue_staticRenderFns__$H },
16005
+ __vue_inject_styles__$H,
16006
+ __vue_script__$H,
16007
+ __vue_scope_id__$H,
16008
+ __vue_is_functional_template__$H,
16009
+ __vue_module_identifier__$H,
15985
16010
  false,
15986
16011
  undefined,
15987
16012
  undefined,
@@ -16075,17 +16100,17 @@ CategoryFilter = __decorate([
16075
16100
  Component({
16076
16101
  name: "categoryFilter",
16077
16102
  components: {
16078
- CategoryFilterItem: __vue_component__$F,
16103
+ CategoryFilterItem: __vue_component__$H,
16079
16104
  },
16080
16105
  })
16081
16106
  ], CategoryFilter);
16082
- var script$D = CategoryFilter;
16107
+ var script$F = CategoryFilter;
16083
16108
 
16084
16109
  /* script */
16085
- const __vue_script__$E = script$D;
16110
+ const __vue_script__$G = script$F;
16086
16111
 
16087
16112
  /* template */
16088
- var __vue_render__$E = function () {
16113
+ var __vue_render__$G = function () {
16089
16114
  var _vm = this;
16090
16115
  var _h = _vm.$createElement;
16091
16116
  var _c = _vm._self._c || _h;
@@ -16148,17 +16173,17 @@ var __vue_render__$E = function () {
16148
16173
  ]
16149
16174
  )
16150
16175
  };
16151
- var __vue_staticRenderFns__$E = [];
16152
- __vue_render__$E._withStripped = true;
16176
+ var __vue_staticRenderFns__$G = [];
16177
+ __vue_render__$G._withStripped = true;
16153
16178
 
16154
16179
  /* style */
16155
- const __vue_inject_styles__$E = undefined;
16180
+ const __vue_inject_styles__$G = undefined;
16156
16181
  /* scoped */
16157
- const __vue_scope_id__$E = undefined;
16182
+ const __vue_scope_id__$G = undefined;
16158
16183
  /* module identifier */
16159
- const __vue_module_identifier__$E = undefined;
16184
+ const __vue_module_identifier__$G = undefined;
16160
16185
  /* functional template */
16161
- const __vue_is_functional_template__$E = false;
16186
+ const __vue_is_functional_template__$G = false;
16162
16187
  /* style inject */
16163
16188
 
16164
16189
  /* style inject SSR */
@@ -16167,13 +16192,13 @@ __vue_render__$E._withStripped = true;
16167
16192
 
16168
16193
 
16169
16194
 
16170
- const __vue_component__$E = /*#__PURE__*/normalizeComponent(
16171
- { render: __vue_render__$E, staticRenderFns: __vue_staticRenderFns__$E },
16172
- __vue_inject_styles__$E,
16173
- __vue_script__$E,
16174
- __vue_scope_id__$E,
16175
- __vue_is_functional_template__$E,
16176
- __vue_module_identifier__$E,
16195
+ const __vue_component__$G = /*#__PURE__*/normalizeComponent(
16196
+ { render: __vue_render__$G, staticRenderFns: __vue_staticRenderFns__$G },
16197
+ __vue_inject_styles__$G,
16198
+ __vue_script__$G,
16199
+ __vue_scope_id__$G,
16200
+ __vue_is_functional_template__$G,
16201
+ __vue_module_identifier__$G,
16177
16202
  false,
16178
16203
  undefined,
16179
16204
  undefined,
@@ -16198,19 +16223,19 @@ SearchResultsFilters = __decorate([
16198
16223
  Component({
16199
16224
  name: "searchResultsFilters",
16200
16225
  components: {
16201
- CurrentFilters: __vue_component__$N,
16202
- Facets: __vue_component__$G,
16203
- CategoryFilter: __vue_component__$E,
16226
+ CurrentFilters: __vue_component__$P,
16227
+ Facets: __vue_component__$I,
16228
+ CategoryFilter: __vue_component__$G,
16204
16229
  },
16205
16230
  })
16206
16231
  ], SearchResultsFilters);
16207
- var script$C = SearchResultsFilters;
16232
+ var script$E = SearchResultsFilters;
16208
16233
 
16209
16234
  /* script */
16210
- const __vue_script__$D = script$C;
16235
+ const __vue_script__$F = script$E;
16211
16236
 
16212
16237
  /* template */
16213
- var __vue_render__$D = function () {
16238
+ var __vue_render__$F = function () {
16214
16239
  var _vm = this;
16215
16240
  var _h = _vm.$createElement;
16216
16241
  var _c = _vm._self._c || _h;
@@ -16241,17 +16266,17 @@ var __vue_render__$D = function () {
16241
16266
  1
16242
16267
  )
16243
16268
  };
16244
- var __vue_staticRenderFns__$D = [];
16245
- __vue_render__$D._withStripped = true;
16269
+ var __vue_staticRenderFns__$F = [];
16270
+ __vue_render__$F._withStripped = true;
16246
16271
 
16247
16272
  /* style */
16248
- const __vue_inject_styles__$D = undefined;
16273
+ const __vue_inject_styles__$F = undefined;
16249
16274
  /* scoped */
16250
- const __vue_scope_id__$D = undefined;
16275
+ const __vue_scope_id__$F = undefined;
16251
16276
  /* module identifier */
16252
- const __vue_module_identifier__$D = undefined;
16277
+ const __vue_module_identifier__$F = undefined;
16253
16278
  /* functional template */
16254
- const __vue_is_functional_template__$D = false;
16279
+ const __vue_is_functional_template__$F = false;
16255
16280
  /* style inject */
16256
16281
 
16257
16282
  /* style inject SSR */
@@ -16260,13 +16285,13 @@ __vue_render__$D._withStripped = true;
16260
16285
 
16261
16286
 
16262
16287
 
16263
- const __vue_component__$D = /*#__PURE__*/normalizeComponent(
16264
- { render: __vue_render__$D, staticRenderFns: __vue_staticRenderFns__$D },
16265
- __vue_inject_styles__$D,
16266
- __vue_script__$D,
16267
- __vue_scope_id__$D,
16268
- __vue_is_functional_template__$D,
16269
- __vue_module_identifier__$D,
16288
+ const __vue_component__$F = /*#__PURE__*/normalizeComponent(
16289
+ { render: __vue_render__$F, staticRenderFns: __vue_staticRenderFns__$F },
16290
+ __vue_inject_styles__$F,
16291
+ __vue_script__$F,
16292
+ __vue_scope_id__$F,
16293
+ __vue_is_functional_template__$F,
16294
+ __vue_module_identifier__$F,
16270
16295
  false,
16271
16296
  undefined,
16272
16297
  undefined,
@@ -16308,17 +16333,17 @@ MobileFilterSidebar = __decorate([
16308
16333
  Component({
16309
16334
  name: "mobileFilerSidebar",
16310
16335
  components: {
16311
- SearchResultsFilters: __vue_component__$D,
16336
+ SearchResultsFilters: __vue_component__$F,
16312
16337
  },
16313
16338
  })
16314
16339
  ], MobileFilterSidebar);
16315
- var script$B = MobileFilterSidebar;
16340
+ var script$D = MobileFilterSidebar;
16316
16341
 
16317
16342
  /* script */
16318
- const __vue_script__$C = script$B;
16343
+ const __vue_script__$E = script$D;
16319
16344
 
16320
16345
  /* template */
16321
- var __vue_render__$C = function () {
16346
+ var __vue_render__$E = function () {
16322
16347
  var _vm = this;
16323
16348
  var _h = _vm.$createElement;
16324
16349
  var _c = _vm._self._c || _h;
@@ -16368,17 +16393,17 @@ var __vue_render__$C = function () {
16368
16393
  ])
16369
16394
  : _vm._e()
16370
16395
  };
16371
- var __vue_staticRenderFns__$C = [];
16372
- __vue_render__$C._withStripped = true;
16396
+ var __vue_staticRenderFns__$E = [];
16397
+ __vue_render__$E._withStripped = true;
16373
16398
 
16374
16399
  /* style */
16375
- const __vue_inject_styles__$C = undefined;
16400
+ const __vue_inject_styles__$E = undefined;
16376
16401
  /* scoped */
16377
- const __vue_scope_id__$C = undefined;
16402
+ const __vue_scope_id__$E = undefined;
16378
16403
  /* module identifier */
16379
- const __vue_module_identifier__$C = undefined;
16404
+ const __vue_module_identifier__$E = undefined;
16380
16405
  /* functional template */
16381
- const __vue_is_functional_template__$C = false;
16406
+ const __vue_is_functional_template__$E = false;
16382
16407
  /* style inject */
16383
16408
 
16384
16409
  /* style inject SSR */
@@ -16387,13 +16412,13 @@ __vue_render__$C._withStripped = true;
16387
16412
 
16388
16413
 
16389
16414
 
16390
- const __vue_component__$C = /*#__PURE__*/normalizeComponent(
16391
- { render: __vue_render__$C, staticRenderFns: __vue_staticRenderFns__$C },
16392
- __vue_inject_styles__$C,
16393
- __vue_script__$C,
16394
- __vue_scope_id__$C,
16395
- __vue_is_functional_template__$C,
16396
- __vue_module_identifier__$C,
16415
+ const __vue_component__$E = /*#__PURE__*/normalizeComponent(
16416
+ { render: __vue_render__$E, staticRenderFns: __vue_staticRenderFns__$E },
16417
+ __vue_inject_styles__$E,
16418
+ __vue_script__$E,
16419
+ __vue_scope_id__$E,
16420
+ __vue_is_functional_template__$E,
16421
+ __vue_module_identifier__$E,
16397
16422
  false,
16398
16423
  undefined,
16399
16424
  undefined,
@@ -16437,13 +16462,13 @@ SearchResultsDidYouMean = __decorate([
16437
16462
  name: "searchResultsDidYouMean",
16438
16463
  })
16439
16464
  ], SearchResultsDidYouMean);
16440
- var script$A = SearchResultsDidYouMean;
16465
+ var script$C = SearchResultsDidYouMean;
16441
16466
 
16442
16467
  /* script */
16443
- const __vue_script__$B = script$A;
16468
+ const __vue_script__$D = script$C;
16444
16469
 
16445
16470
  /* template */
16446
- var __vue_render__$B = function () {
16471
+ var __vue_render__$D = function () {
16447
16472
  var _vm = this;
16448
16473
  var _h = _vm.$createElement;
16449
16474
  var _c = _vm._self._c || _h;
@@ -16499,6 +16524,159 @@ var __vue_render__$B = function () {
16499
16524
  ])
16500
16525
  : _vm._e()
16501
16526
  };
16527
+ var __vue_staticRenderFns__$D = [];
16528
+ __vue_render__$D._withStripped = true;
16529
+
16530
+ /* style */
16531
+ const __vue_inject_styles__$D = undefined;
16532
+ /* scoped */
16533
+ const __vue_scope_id__$D = undefined;
16534
+ /* module identifier */
16535
+ const __vue_module_identifier__$D = undefined;
16536
+ /* functional template */
16537
+ const __vue_is_functional_template__$D = false;
16538
+ /* style inject */
16539
+
16540
+ /* style inject SSR */
16541
+
16542
+ /* style inject shadow dom */
16543
+
16544
+
16545
+
16546
+ const __vue_component__$D = /*#__PURE__*/normalizeComponent(
16547
+ { render: __vue_render__$D, staticRenderFns: __vue_staticRenderFns__$D },
16548
+ __vue_inject_styles__$D,
16549
+ __vue_script__$D,
16550
+ __vue_scope_id__$D,
16551
+ __vue_is_functional_template__$D,
16552
+ __vue_module_identifier__$D,
16553
+ false,
16554
+ undefined,
16555
+ undefined,
16556
+ undefined
16557
+ );
16558
+
16559
+ var ResultsLayoutEnum;
16560
+ (function (ResultsLayoutEnum) {
16561
+ ResultsLayoutEnum["GRID"] = "Grid";
16562
+ ResultsLayoutEnum["LIST"] = "List";
16563
+ })(ResultsLayoutEnum || (ResultsLayoutEnum = {}));
16564
+
16565
+ exports.BadgeType = void 0;
16566
+ (function (BadgeType) {
16567
+ BadgeType["DISCOUNTPERCENTAGE"] = "discountPercentage";
16568
+ BadgeType["DISCOUNTAMOUNT"] = "discountAmount";
16569
+ BadgeType["NEWITEM"] = "newItem";
16570
+ BadgeType["TEXT"] = "text";
16571
+ BadgeType["IMAGE"] = "image";
16572
+ BadgeType["CUSTOM_HTML"] = "customHtml";
16573
+ })(exports.BadgeType || (exports.BadgeType = {}));
16574
+
16575
+ let CustomBadge = class CustomBadge extends Vue$1 {
16576
+ get text() {
16577
+ var _a, _b, _c;
16578
+ return (_b = (_a = this.badge).html) === null || _b === void 0 ? void 0 : _b.call(_a, (_c = this.badge.product) !== null && _c !== void 0 ? _c : {});
16579
+ }
16580
+ get className() {
16581
+ var _a;
16582
+ return (_a = this.badge.className) !== null && _a !== void 0 ? _a : "";
16583
+ }
16584
+ };
16585
+ __decorate([
16586
+ Prop({ default: {} })
16587
+ ], CustomBadge.prototype, "badge", void 0);
16588
+ CustomBadge = __decorate([
16589
+ Component({
16590
+ name: "customBadge",
16591
+ })
16592
+ ], CustomBadge);
16593
+ var script$B = CustomBadge;
16594
+
16595
+ /* script */
16596
+ const __vue_script__$C = script$B;
16597
+
16598
+ /* template */
16599
+ var __vue_render__$C = function () {
16600
+ var _vm = this;
16601
+ var _h = _vm.$createElement;
16602
+ var _c = _vm._self._c || _h;
16603
+ return _c("div", {
16604
+ class: _vm.className,
16605
+ domProps: { innerHTML: _vm._s(_vm.text) },
16606
+ })
16607
+ };
16608
+ var __vue_staticRenderFns__$C = [];
16609
+ __vue_render__$C._withStripped = true;
16610
+
16611
+ /* style */
16612
+ const __vue_inject_styles__$C = undefined;
16613
+ /* scoped */
16614
+ const __vue_scope_id__$C = undefined;
16615
+ /* module identifier */
16616
+ const __vue_module_identifier__$C = undefined;
16617
+ /* functional template */
16618
+ const __vue_is_functional_template__$C = false;
16619
+ /* style inject */
16620
+
16621
+ /* style inject SSR */
16622
+
16623
+ /* style inject shadow dom */
16624
+
16625
+
16626
+
16627
+ const __vue_component__$C = /*#__PURE__*/normalizeComponent(
16628
+ { render: __vue_render__$C, staticRenderFns: __vue_staticRenderFns__$C },
16629
+ __vue_inject_styles__$C,
16630
+ __vue_script__$C,
16631
+ __vue_scope_id__$C,
16632
+ __vue_is_functional_template__$C,
16633
+ __vue_module_identifier__$C,
16634
+ false,
16635
+ undefined,
16636
+ undefined,
16637
+ undefined
16638
+ );
16639
+
16640
+ let TextBadge = class TextBadge extends Vue$1 {
16641
+ get badges() {
16642
+ var _a, _b;
16643
+ return (_b = (_a = this.badge) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : [];
16644
+ }
16645
+ get displayBadges() {
16646
+ return this.badges.slice(0, this.badge.maxItems);
16647
+ }
16648
+ };
16649
+ __decorate([
16650
+ Prop({ default: {} })
16651
+ ], TextBadge.prototype, "badge", void 0);
16652
+ TextBadge = __decorate([
16653
+ Component({
16654
+ name: "TextBadge",
16655
+ })
16656
+ ], TextBadge);
16657
+ var script$A = TextBadge;
16658
+
16659
+ /* script */
16660
+ const __vue_script__$B = script$A;
16661
+
16662
+ /* template */
16663
+ var __vue_render__$B = function () {
16664
+ var _vm = this;
16665
+ var _h = _vm.$createElement;
16666
+ var _c = _vm._self._c || _h;
16667
+ return _c(
16668
+ "div",
16669
+ { staticClass: "lupa-text-badges" },
16670
+ _vm._l(_vm.displayBadges, function (item) {
16671
+ return _c(
16672
+ "div",
16673
+ { key: item, staticClass: "lupa-badge lupa-text-badge" },
16674
+ [_vm._v("\n " + _vm._s(_vm.badge.prefix) + _vm._s(item) + "\n ")]
16675
+ )
16676
+ }),
16677
+ 0
16678
+ )
16679
+ };
16502
16680
  var __vue_staticRenderFns__$B = [];
16503
16681
  __vue_render__$B._withStripped = true;
16504
16682
 
@@ -16531,39 +16709,29 @@ __vue_render__$B._withStripped = true;
16531
16709
  undefined
16532
16710
  );
16533
16711
 
16534
- var ResultsLayoutEnum;
16535
- (function (ResultsLayoutEnum) {
16536
- ResultsLayoutEnum["GRID"] = "Grid";
16537
- ResultsLayoutEnum["LIST"] = "List";
16538
- })(ResultsLayoutEnum || (ResultsLayoutEnum = {}));
16539
-
16540
- exports.BadgeType = void 0;
16541
- (function (BadgeType) {
16542
- BadgeType["DISCOUNTPERCENTAGE"] = "discountPercentage";
16543
- BadgeType["DISCOUNTAMOUNT"] = "discountAmount";
16544
- BadgeType["NEWITEM"] = "newItem";
16545
- BadgeType["TEXT"] = "text";
16546
- BadgeType["IMAGE"] = "image";
16547
- BadgeType["CUSTOM_HTML"] = "customHtml";
16548
- })(exports.BadgeType || (exports.BadgeType = {}));
16549
-
16550
- let CustomBadge = class CustomBadge extends Vue$1 {
16551
- get text() {
16552
- return this.badge.html(this.badge.product);
16712
+ let ImageBadge = class ImageBadge extends Vue$1 {
16713
+ get badges() {
16714
+ return this.badge.value;
16553
16715
  }
16554
- get className() {
16555
- return this.badge.className;
16716
+ getImageUrl(src) {
16717
+ if (!this.badge.rootImageUrl) {
16718
+ return src;
16719
+ }
16720
+ return `${this.badge.rootImageUrl}${src}`;
16721
+ }
16722
+ get displayBadges() {
16723
+ return this.badges.slice(0, this.badge.maxItems);
16556
16724
  }
16557
16725
  };
16558
16726
  __decorate([
16559
16727
  Prop({ default: {} })
16560
- ], CustomBadge.prototype, "badge", void 0);
16561
- CustomBadge = __decorate([
16728
+ ], ImageBadge.prototype, "badge", void 0);
16729
+ ImageBadge = __decorate([
16562
16730
  Component({
16563
- name: "customBadge",
16731
+ name: "ImageBadge",
16564
16732
  })
16565
- ], CustomBadge);
16566
- var script$z = CustomBadge;
16733
+ ], ImageBadge);
16734
+ var script$z = ImageBadge;
16567
16735
 
16568
16736
  /* script */
16569
16737
  const __vue_script__$A = script$z;
@@ -16573,10 +16741,18 @@ var __vue_render__$A = function () {
16573
16741
  var _vm = this;
16574
16742
  var _h = _vm.$createElement;
16575
16743
  var _c = _vm._self._c || _h;
16576
- return _c("div", {
16577
- class: _vm.className,
16578
- domProps: { innerHTML: _vm._s(_vm.text) },
16579
- })
16744
+ return _c(
16745
+ "div",
16746
+ { staticClass: "lupa-image-badges" },
16747
+ _vm._l(_vm.displayBadges, function (item) {
16748
+ return _c(
16749
+ "div",
16750
+ { key: item, staticClass: "lupa-badge lupa-image-badge" },
16751
+ [_c("img", { attrs: { src: _vm.getImageUrl(item) } })]
16752
+ )
16753
+ }),
16754
+ 0
16755
+ )
16580
16756
  };
16581
16757
  var __vue_staticRenderFns__$A = [];
16582
16758
  __vue_render__$A._withStripped = true;
@@ -16610,24 +16786,34 @@ __vue_render__$A._withStripped = true;
16610
16786
  undefined
16611
16787
  );
16612
16788
 
16613
- let TextBadge = class TextBadge extends Vue$1 {
16614
- get badges() {
16789
+ let SearchResultGeneratedBadge = class SearchResultGeneratedBadge extends Vue$1 {
16790
+ get image() {
16791
+ var _a, _b, _c;
16792
+ return (_c = (_b = (_a = this.options.generate) === null || _a === void 0 ? void 0 : _a.image) === null || _b === void 0 ? void 0 : _b.call(_a, this.badge)) !== null && _c !== void 0 ? _c : "";
16793
+ }
16794
+ get hasAdditionalText() {
16615
16795
  var _a, _b;
16616
- return (_b = (_a = this.badge) === null || _a === void 0 ? void 0 : _a.value) !== null && _b !== void 0 ? _b : [];
16796
+ return (Boolean((_a = this.badge) === null || _a === void 0 ? void 0 : _a.additionalText) &&
16797
+ typeof ((_b = this.badge) === null || _b === void 0 ? void 0 : _b.additionalText) === "string");
16617
16798
  }
16618
- get displayBadges() {
16619
- return this.badges.slice(0, this.badge.maxItems);
16799
+ get hasTitleText() {
16800
+ var _a, _b;
16801
+ return (Boolean((_a = this.badge) === null || _a === void 0 ? void 0 : _a.titleText) &&
16802
+ typeof ((_b = this.badge) === null || _b === void 0 ? void 0 : _b.titleText) === "string");
16620
16803
  }
16621
16804
  };
16622
16805
  __decorate([
16623
- Prop({ default: {} })
16624
- ], TextBadge.prototype, "badge", void 0);
16625
- TextBadge = __decorate([
16806
+ Prop({ default: () => ({}) })
16807
+ ], SearchResultGeneratedBadge.prototype, "options", void 0);
16808
+ __decorate([
16809
+ Prop({ default: () => ({}) })
16810
+ ], SearchResultGeneratedBadge.prototype, "badge", void 0);
16811
+ SearchResultGeneratedBadge = __decorate([
16626
16812
  Component({
16627
- name: "TextBadge",
16813
+ name: "searchResultsBadgeWrapper",
16628
16814
  })
16629
- ], TextBadge);
16630
- var script$y = TextBadge;
16815
+ ], SearchResultGeneratedBadge);
16816
+ var script$y = SearchResultGeneratedBadge;
16631
16817
 
16632
16818
  /* script */
16633
16819
  const __vue_script__$z = script$y;
@@ -16639,15 +16825,23 @@ var __vue_render__$z = function () {
16639
16825
  var _c = _vm._self._c || _h;
16640
16826
  return _c(
16641
16827
  "div",
16642
- { staticClass: "lupa-text-badges" },
16643
- _vm._l(_vm.displayBadges, function (item) {
16644
- return _c(
16645
- "div",
16646
- { key: item, staticClass: "lupa-badge lupa-text-badge" },
16647
- [_vm._v("\n " + _vm._s(_vm.badge.prefix) + _vm._s(item) + "\n ")]
16648
- )
16649
- }),
16650
- 0
16828
+ {
16829
+ staticClass: "lupa-dynamic-badge",
16830
+ style: { background: _vm.badge.backgroundColor, color: _vm.badge.color },
16831
+ },
16832
+ [
16833
+ _c("span", { staticClass: "lupa-badge-title" }, [
16834
+ _vm.image ? _c("img", { attrs: { src: _vm.image } }) : _vm._e(),
16835
+ _vm.hasTitleText
16836
+ ? _c("span", [_vm._v("\n " + _vm._s(_vm.badge.titleText))])
16837
+ : _vm._e(),
16838
+ ]),
16839
+ _vm.hasAdditionalText
16840
+ ? _c("span", { staticClass: "lupa-badge-full-text" }, [
16841
+ _vm._v(_vm._s(_vm.badge.additionalText)),
16842
+ ])
16843
+ : _vm._e(),
16844
+ ]
16651
16845
  )
16652
16846
  };
16653
16847
  var __vue_staticRenderFns__$z = [];
@@ -16682,29 +16876,56 @@ __vue_render__$z._withStripped = true;
16682
16876
  undefined
16683
16877
  );
16684
16878
 
16685
- let ImageBadge = class ImageBadge extends Vue$1 {
16686
- get badges() {
16687
- return this.badge.value;
16879
+ let SearchResultGeneratedBadges = class SearchResultGeneratedBadges extends Vue$1 {
16880
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
16881
+ get badgeField() {
16882
+ var _a, _b, _c, _d, _e, _f, _g;
16883
+ const fieldHasBadges = ((_a = this.options.generate) === null || _a === void 0 ? void 0 : _a.key) &&
16884
+ this.options.product[(_c = (_b = this.options.generate) === null || _b === void 0 ? void 0 : _b.key) !== null && _c !== void 0 ? _c : ""] &&
16885
+ Array.isArray(this.options.product[(_e = (_d = this.options.generate) === null || _d === void 0 ? void 0 : _d.key) !== null && _e !== void 0 ? _e : ""]);
16886
+ return fieldHasBadges
16887
+ ? this.options.product[(_g = (_f = this.options.generate) === null || _f === void 0 ? void 0 : _f.key) !== null && _g !== void 0 ? _g : ""]
16888
+ : [];
16889
+ }
16890
+ get keyMap() {
16891
+ var _a, _b;
16892
+ return (_b = (_a = this.options.generate) === null || _a === void 0 ? void 0 : _a.keyMap) !== null && _b !== void 0 ? _b : {};
16688
16893
  }
16689
- getImageUrl(src) {
16690
- if (!this.badge.rootImageUrl) {
16691
- return src;
16692
- }
16693
- return `${this.badge.rootImageUrl}${src}`;
16894
+ get hasBadges() {
16895
+ var _a;
16896
+ return Boolean(((_a = this.options.generate) === null || _a === void 0 ? void 0 : _a.key) &&
16897
+ this.options.generate.keyMap &&
16898
+ this.badgeField.length > 0);
16694
16899
  }
16695
- get displayBadges() {
16696
- return this.badges.slice(0, this.badge.maxItems);
16900
+ get badges() {
16901
+ return this.badgeField
16902
+ .filter((f) => Boolean(f))
16903
+ .map((f) => ({
16904
+ backgroundColor: this.keyMap.backgroundColor
16905
+ ? f[this.keyMap.backgroundColor]
16906
+ : undefined,
16907
+ color: this.keyMap.color ? f[this.keyMap.color] : undefined,
16908
+ titleText: this.keyMap.titleText ? f[this.keyMap.titleText] : undefined,
16909
+ additionalText: this.keyMap.additionalText
16910
+ ? f[this.keyMap.additionalText]
16911
+ : undefined,
16912
+ id: this.keyMap.id ? f[this.keyMap.id] : undefined,
16913
+ }))
16914
+ .filter((b) => Boolean(b.id));
16697
16915
  }
16698
16916
  };
16699
16917
  __decorate([
16700
16918
  Prop({ default: {} })
16701
- ], ImageBadge.prototype, "badge", void 0);
16702
- ImageBadge = __decorate([
16919
+ ], SearchResultGeneratedBadges.prototype, "options", void 0);
16920
+ SearchResultGeneratedBadges = __decorate([
16703
16921
  Component({
16704
- name: "ImageBadge",
16922
+ name: "searchResultsBadgeWrapper",
16923
+ components: {
16924
+ SearchResultGeneratedBadge: __vue_component__$z,
16925
+ },
16705
16926
  })
16706
- ], ImageBadge);
16707
- var script$x = ImageBadge;
16927
+ ], SearchResultGeneratedBadges);
16928
+ var script$x = SearchResultGeneratedBadges;
16708
16929
 
16709
16930
  /* script */
16710
16931
  const __vue_script__$y = script$x;
@@ -16716,15 +16937,14 @@ var __vue_render__$y = function () {
16716
16937
  var _c = _vm._self._c || _h;
16717
16938
  return _c(
16718
16939
  "div",
16719
- { staticClass: "lupa-image-badges" },
16720
- _vm._l(_vm.displayBadges, function (item) {
16721
- return _c(
16722
- "div",
16723
- { key: item, staticClass: "lupa-badge lupa-image-badge" },
16724
- [_c("img", { attrs: { src: _vm.getImageUrl(item) } })]
16725
- )
16940
+ { staticClass: "lupa-generated-badges" },
16941
+ _vm._l(_vm.badges, function (badge) {
16942
+ return _c("SearchResultGeneratedBadge", {
16943
+ key: badge.id,
16944
+ attrs: { badge: badge, options: _vm.options },
16945
+ })
16726
16946
  }),
16727
- 0
16947
+ 1
16728
16948
  )
16729
16949
  };
16730
16950
  var __vue_staticRenderFns__$y = [];
@@ -16768,11 +16988,17 @@ let SearchResultsBadgeWrapper = class SearchResultsBadgeWrapper extends Vue$1 {
16768
16988
  return [];
16769
16989
  }
16770
16990
  return this.options.elements
16771
- .filter((e) => !e.display || e.display(this.options.product))
16991
+ .filter((e) => { var _a; return !e.display || e.display((_a = this.options.product) !== null && _a !== void 0 ? _a : {}); })
16772
16992
  .map((x) => {
16773
- return Object.assign(Object.assign({}, x), { value: this.options.product[x.key] || "badge", product: this.options.product });
16993
+ var _a;
16994
+ return Object.assign(Object.assign({}, x), { value: ((_a = this.options.product) === null || _a === void 0 ? void 0 : _a[x.key]) || "badge", product: this.options.product });
16774
16995
  });
16775
16996
  }
16997
+ get displayBadges() {
16998
+ return this.position === "card"
16999
+ ? this.badges.filter((b) => !b.position || b.position === "card")
17000
+ : this.badges.filter((b) => b.position === "image");
17001
+ }
16776
17002
  getBadgeComponent(type) {
16777
17003
  switch (type) {
16778
17004
  case exports.BadgeType.TEXT:
@@ -16786,6 +17012,9 @@ let SearchResultsBadgeWrapper = class SearchResultsBadgeWrapper extends Vue$1 {
16786
17012
  }
16787
17013
  }
16788
17014
  };
17015
+ __decorate([
17016
+ Prop({ default: "card" })
17017
+ ], SearchResultsBadgeWrapper.prototype, "position", void 0);
16789
17018
  __decorate([
16790
17019
  Prop({ default: {} })
16791
17020
  ], SearchResultsBadgeWrapper.prototype, "options", void 0);
@@ -16793,9 +17022,10 @@ SearchResultsBadgeWrapper = __decorate([
16793
17022
  Component({
16794
17023
  name: "searchResultsBadgeWrapper",
16795
17024
  components: {
16796
- CustomBadge: __vue_component__$A,
16797
- TextBadge: __vue_component__$z,
16798
- ImageBadge: __vue_component__$y,
17025
+ CustomBadge: __vue_component__$C,
17026
+ TextBadge: __vue_component__$B,
17027
+ ImageBadge: __vue_component__$A,
17028
+ SearchResultGeneratedBadges: __vue_component__$y,
16799
17029
  },
16800
17030
  })
16801
17031
  ], SearchResultsBadgeWrapper);
@@ -16813,14 +17043,22 @@ var __vue_render__$x = function () {
16813
17043
  _c(
16814
17044
  "div",
16815
17045
  { class: _vm.anchorPosition, attrs: { id: "lupa-badges" } },
16816
- _vm._l(_vm.badges, function (badge, index) {
16817
- return _c(_vm.getBadgeComponent(badge.type), {
16818
- key: index,
16819
- tag: "search-results-badge",
16820
- attrs: { badge: badge },
16821
- })
16822
- }),
16823
- 1
17046
+ [
17047
+ _vm._l(_vm.displayBadges, function (badge, index) {
17048
+ return _c(_vm.getBadgeComponent(badge.type), {
17049
+ key: index,
17050
+ tag: "search-results-badge",
17051
+ attrs: { badge: badge },
17052
+ })
17053
+ }),
17054
+ _vm._v(" "),
17055
+ _vm.position === "card"
17056
+ ? _c("SearchResultGeneratedBadges", {
17057
+ attrs: { options: _vm.options },
17058
+ })
17059
+ : _vm._e(),
17060
+ ],
17061
+ 2
16824
17062
  ),
16825
17063
  ])
16826
17064
  };
@@ -17823,6 +18061,7 @@ let SearchResultsProductCard = class SearchResultsProductCard extends Vue$1 {
17823
18061
  return "";
17824
18062
  }
17825
18063
  handleClick() {
18064
+ var _a, _b;
17826
18065
  this.trackClick({
17827
18066
  queryKey: this.options.queryKey,
17828
18067
  data: {
@@ -17831,6 +18070,10 @@ let SearchResultsProductCard = class SearchResultsProductCard extends Vue$1 {
17831
18070
  type: "itemClick",
17832
18071
  },
17833
18072
  });
18073
+ (_b = (_a = this.searchResultOptions.callbacks) === null || _a === void 0 ? void 0 : _a.onProductClick) === null || _b === void 0 ? void 0 : _b.call(_a, {
18074
+ queryKey: this.query,
18075
+ hasResults: true,
18076
+ });
17834
18077
  }
17835
18078
  handleProductEvent(item) {
17836
18079
  this.trackClick({
@@ -17867,6 +18110,9 @@ __decorate([
17867
18110
  __decorate([
17868
18111
  options$6.Getter("searchResultsRoutingBehavior")
17869
18112
  ], SearchResultsProductCard.prototype, "searchResultsRoutingBehavior", void 0);
18113
+ __decorate([
18114
+ options$6.State((o) => o.searchResultOptions)
18115
+ ], SearchResultsProductCard.prototype, "searchResultOptions", void 0);
17870
18116
  __decorate([
17871
18117
  params$9.Getter("query")
17872
18118
  ], SearchResultsProductCard.prototype, "query", void 0);
@@ -17934,6 +18180,11 @@ var __vue_render__$m = function () {
17934
18180
  })
17935
18181
  }),
17936
18182
  _vm._v(" "),
18183
+ _c("SearchResultsBadgeWrapper", {
18184
+ staticClass: "lupa-image-badges",
18185
+ attrs: { options: _vm.badgesOptions, position: "image" },
18186
+ }),
18187
+ _vm._v(" "),
17937
18188
  _vm.labels.outOfStock && !_vm.isInStock
17938
18189
  ? _c("div", { staticClass: "lupa-out-of-stock" }, [
17939
18190
  _vm._v(
@@ -19755,8 +20006,8 @@ FiltersTopDropdown = __decorate([
19755
20006
  Component({
19756
20007
  name: "filtersTopDropdown",
19757
20008
  components: {
19758
- CurrentFilters: __vue_component__$N,
19759
- Facets: __vue_component__$G,
20009
+ CurrentFilters: __vue_component__$P,
20010
+ Facets: __vue_component__$I,
19760
20011
  },
19761
20012
  })
19762
20013
  ], FiltersTopDropdown);
@@ -19908,7 +20159,7 @@ SearchResultsProducts = __decorate([
19908
20159
  Component({
19909
20160
  name: "searchResultsProducts",
19910
20161
  components: {
19911
- CurrentFilters: __vue_component__$N,
20162
+ CurrentFilters: __vue_component__$P,
19912
20163
  SearchResultsProductCard: __vue_component__$m,
19913
20164
  SearchResultsToolbar: __vue_component__$d,
19914
20165
  AdditionalPanels: __vue_component__$k,
@@ -20230,6 +20481,10 @@ let SearchResultsTitle = class SearchResultsTitle extends Vue$1 {
20230
20481
  return Boolean(((_a = this.options.labels) === null || _a === void 0 ? void 0 : _a.searchResults) &&
20231
20482
  (this.currentQueryText || this.isProductList));
20232
20483
  }
20484
+ get descriptionTop() {
20485
+ var _a, _b;
20486
+ return (_b = (_a = this.options.categories) === null || _a === void 0 ? void 0 : _a.current) === null || _b === void 0 ? void 0 : _b.descriptionTop;
20487
+ }
20233
20488
  getLabel(label) {
20234
20489
  return addParamsToLabel(label, `'${this.currentQueryText}'`);
20235
20490
  }
@@ -20264,27 +20519,36 @@ var __vue_render__$6 = function () {
20264
20519
  var _vm = this;
20265
20520
  var _h = _vm.$createElement;
20266
20521
  var _c = _vm._self._c || _h;
20267
- return _vm.showSearchTitle
20268
- ? _c(
20269
- "h1",
20270
- {
20271
- staticClass: "lupa-result-page-title",
20272
- attrs: { "data-cy": "lupa-result-page-title" },
20273
- },
20274
- [
20275
- _vm._v("\n " + _vm._s(_vm.options.labels.searchResults)),
20276
- _vm.queryText
20277
- ? _c("span", [_vm._v("'" + _vm._s(_vm.queryText) + "'")])
20278
- : _vm._e(),
20279
- _vm._v(" "),
20280
- _vm.showProductCount
20281
- ? _c("span", { staticClass: "lupa-results-total-count" }, [
20282
- _vm._v("(" + _vm._s(_vm.totalItems) + ")"),
20283
- ])
20284
- : _vm._e(),
20285
- ]
20286
- )
20287
- : _vm._e()
20522
+ return _c("div", [
20523
+ _vm.showSearchTitle
20524
+ ? _c(
20525
+ "h1",
20526
+ {
20527
+ staticClass: "lupa-result-page-title",
20528
+ attrs: { "data-cy": "lupa-result-page-title" },
20529
+ },
20530
+ [
20531
+ _vm._v("\n " + _vm._s(_vm.options.labels.searchResults)),
20532
+ _vm.queryText
20533
+ ? _c("span", [_vm._v("'" + _vm._s(_vm.queryText) + "'")])
20534
+ : _vm._e(),
20535
+ _vm._v(" "),
20536
+ _vm.showProductCount
20537
+ ? _c("span", { staticClass: "lupa-results-total-count" }, [
20538
+ _vm._v("(" + _vm._s(_vm.totalItems) + ")"),
20539
+ ])
20540
+ : _vm._e(),
20541
+ ]
20542
+ )
20543
+ : _vm._e(),
20544
+ _vm._v(" "),
20545
+ _vm.descriptionTop
20546
+ ? _c("div", {
20547
+ staticClass: "lupa-result-page-description-top",
20548
+ domProps: { innerHTML: _vm._s(_vm.descriptionTop) },
20549
+ })
20550
+ : _vm._e(),
20551
+ ])
20288
20552
  };
20289
20553
  var __vue_staticRenderFns__$6 = [];
20290
20554
  __vue_render__$6._withStripped = true;
@@ -20484,7 +20748,12 @@ let SearchResults = class SearchResults extends Vue$1 {
20484
20748
  this.setDefaultLimit(this.defaultSearchResultPageSize);
20485
20749
  }
20486
20750
  handleParamsChange() {
20751
+ var _a, _b;
20487
20752
  this.handleUrlChange();
20753
+ (_b = (_a = this.options.callbacks) === null || _a === void 0 ? void 0 : _a.onUrlQueryChange) === null || _b === void 0 ? void 0 : _b.call(_a, {
20754
+ queryKey: this.options.queryKey,
20755
+ urlQueryString: this.searchString,
20756
+ });
20488
20757
  }
20489
20758
  handleUrlChange(params) {
20490
20759
  const searchParams = params || new URLSearchParams(window.location.search);
@@ -20605,11 +20874,11 @@ SearchResults = __decorate([
20605
20874
  Component({
20606
20875
  name: "searchResults",
20607
20876
  components: {
20608
- SearchResultsFilters: __vue_component__$D,
20877
+ SearchResultsFilters: __vue_component__$F,
20609
20878
  SearchResultsProducts: __vue_component__$8,
20610
- MobileFilterSidebar: __vue_component__$C,
20879
+ MobileFilterSidebar: __vue_component__$E,
20611
20880
  SearchResultsBreadcrumbs: __vue_component__$7,
20612
- SearchResultsDidYouMean: __vue_component__$B,
20881
+ SearchResultsDidYouMean: __vue_component__$D,
20613
20882
  SearchResultsTitle: __vue_component__$6,
20614
20883
  SearchResultsToolbar: __vue_component__$d,
20615
20884
  CategoryTopFilters: __vue_component__$5,
@@ -20780,6 +21049,11 @@ let SearchResultsEntry = class SearchResultsEntry extends Vue$1 {
20780
21049
  const options = cloneDeep(this.searchResultsOptions);
20781
21050
  return merge(DEFAULT_OPTIONS_RESULTS, options);
20782
21051
  }
21052
+ fetch() {
21053
+ var _a;
21054
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
21055
+ (_a = this.$refs.searchResults) === null || _a === void 0 ? void 0 : _a.handleMounted();
21056
+ }
20783
21057
  };
20784
21058
  __decorate([
20785
21059
  Prop()
@@ -20803,6 +21077,7 @@ var __vue_render__$3 = function () {
20803
21077
  var _h = _vm.$createElement;
20804
21078
  var _c = _vm._self._c || _h;
20805
21079
  return _c("SearchResults", {
21080
+ ref: "searchResults",
20806
21081
  attrs: { options: _vm.fullSearchResultsOptions },
20807
21082
  })
20808
21083
  };
@@ -20914,6 +21189,11 @@ let ProductList = class ProductList extends Vue$1 {
20914
21189
  get componentOptions() {
20915
21190
  return Object.assign(Object.assign({}, this.options), { filters: Object.assign(Object.assign({}, this.options.filters), { categories: this.options.categories }) });
20916
21191
  }
21192
+ fetch() {
21193
+ var _a;
21194
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
21195
+ (_a = this.$refs.searchResults) === null || _a === void 0 ? void 0 : _a.handleMounted();
21196
+ }
20917
21197
  };
20918
21198
  __decorate([
20919
21199
  Prop()
@@ -20943,6 +21223,7 @@ var __vue_render__$1 = function () {
20943
21223
  _c(
20944
21224
  "SearchResults",
20945
21225
  {
21226
+ ref: "searchResults",
20946
21227
  attrs: {
20947
21228
  options: _vm.componentOptions,
20948
21229
  "initial-filters": _vm.options.initialFilters,
@@ -20992,6 +21273,11 @@ let ProductListEntry = class ProductListEntry extends Vue$1 {
20992
21273
  get fullProductListOptions() {
20993
21274
  return cloneDeep(this.productListOptions);
20994
21275
  }
21276
+ fetch() {
21277
+ var _a;
21278
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
21279
+ (_a = this.$refs.productList) === null || _a === void 0 ? void 0 : _a.fetch();
21280
+ }
20995
21281
  };
20996
21282
  __decorate([
20997
21283
  Prop()
@@ -21014,7 +21300,10 @@ var __vue_render__ = function () {
21014
21300
  var _vm = this;
21015
21301
  var _h = _vm.$createElement;
21016
21302
  var _c = _vm._self._c || _h;
21017
- return _c("ProductList", { attrs: { options: _vm.productListOptions } })
21303
+ return _c("ProductList", {
21304
+ ref: "productList",
21305
+ attrs: { options: _vm.productListOptions },
21306
+ })
21018
21307
  };
21019
21308
  var __vue_staticRenderFns__ = [];
21020
21309
  __vue_render__._withStripped = true;
@@ -22183,44 +22472,119 @@ const app = {
22183
22472
  const tracking = (options) => {
22184
22473
  initTracking(options);
22185
22474
  };
22186
- const searchBox = (options) => {
22475
+ const searchBox = (options, mountOptions) => {
22476
+ const existingInstance = app.box[options.inputSelector];
22477
+ if (existingInstance) {
22478
+ existingInstance.searchBoxOptions = options;
22479
+ if (mountOptions === null || mountOptions === void 0 ? void 0 : mountOptions.fetch) {
22480
+ setTimeout(() => {
22481
+ var _a;
22482
+ (_a = existingInstance.fetch) === null || _a === void 0 ? void 0 : _a.call(existingInstance);
22483
+ });
22484
+ }
22485
+ return;
22486
+ }
22187
22487
  Vue$1.use(Vuex);
22188
- app.box = new Vue$1({
22488
+ const SearchBoxEntryComponent = Vue$1.component("SearchBoxEntry", __vue_component__$R);
22489
+ const instance = new SearchBoxEntryComponent({
22189
22490
  el: options.inputSelector,
22190
- components: { SearchBoxEntry: __vue_component__$P },
22191
- render: (h) => h(__vue_component__$P, { props: { searchBoxOptions: options } }),
22491
+ propsData: { searchBoxOptions: options },
22192
22492
  store,
22193
22493
  });
22494
+ app.box[options.inputSelector] = instance;
22194
22495
  };
22195
- const searchResults = (options) => {
22496
+ const searchResults = (options, mountOptions) => {
22497
+ const existingInstance = app.results[options.containerSelector];
22498
+ if (existingInstance) {
22499
+ existingInstance.searchResultsOptions = options;
22500
+ if (mountOptions === null || mountOptions === void 0 ? void 0 : mountOptions.fetch) {
22501
+ setTimeout(() => {
22502
+ var _a;
22503
+ (_a = existingInstance.fetch) === null || _a === void 0 ? void 0 : _a.call(existingInstance);
22504
+ });
22505
+ }
22506
+ return;
22507
+ }
22196
22508
  Vue$1.use(Vuex);
22197
- app.results = new Vue$1({
22509
+ const SearchResultsEntryComponent = Vue$1.component("SearchResultsEntry", __vue_component__$3);
22510
+ const instance = new SearchResultsEntryComponent({
22198
22511
  el: options.containerSelector,
22199
- components: { SearchResultsEntry: __vue_component__$3 },
22200
- render: (h) => h(__vue_component__$3, { props: { searchResultsOptions: options } }),
22512
+ propsData: { searchResultsOptions: options },
22201
22513
  store,
22202
22514
  });
22515
+ app.results[options.containerSelector] = instance;
22203
22516
  };
22204
- const productList = (options) => {
22517
+ const productList = (options, mountOptions) => {
22518
+ const existingInstance = app.productList[options.containerSelector];
22519
+ if (existingInstance) {
22520
+ existingInstance.productListOptions = options;
22521
+ if (mountOptions === null || mountOptions === void 0 ? void 0 : mountOptions.fetch) {
22522
+ setTimeout(() => {
22523
+ var _a;
22524
+ (_a = existingInstance.fetch) === null || _a === void 0 ? void 0 : _a.call(existingInstance);
22525
+ });
22526
+ }
22527
+ return;
22528
+ }
22205
22529
  Vue$1.use(Vuex);
22206
- app.productList = new Vue$1({
22530
+ const ProductListEntryComponent = Vue$1.component("ProductListEntry", __vue_component__);
22531
+ const instance = new ProductListEntryComponent({
22207
22532
  el: options.containerSelector,
22208
- components: { ProductListEntry: __vue_component__ },
22209
- render: (h) => h(__vue_component__, { props: { productListOptions: options } }),
22533
+ propsData: { productListOptions: options },
22210
22534
  store,
22211
22535
  });
22536
+ app.productList[options.containerSelector] = instance;
22212
22537
  };
22213
- const clearSearchBox = () => {
22214
- var _a;
22215
- (_a = app.box) === null || _a === void 0 ? void 0 : _a.$destroy();
22538
+ const clearSearchBox = (selector) => {
22539
+ try {
22540
+ if (selector) {
22541
+ const instance = app.box[selector];
22542
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22543
+ return;
22544
+ }
22545
+ for (const key in app.box) {
22546
+ const instance = app.box[key];
22547
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22548
+ }
22549
+ app.box = {};
22550
+ }
22551
+ catch (_a) {
22552
+ // do nothing, already destroyed;
22553
+ }
22216
22554
  };
22217
- const clearSearchResults = () => {
22218
- var _a;
22219
- (_a = app.results) === null || _a === void 0 ? void 0 : _a.$destroy();
22555
+ const clearSearchResults = (selector) => {
22556
+ try {
22557
+ if (selector) {
22558
+ const instance = app.box[selector];
22559
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22560
+ return;
22561
+ }
22562
+ for (const key in app.results) {
22563
+ const instance = app.results[key];
22564
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22565
+ }
22566
+ app.results = {};
22567
+ }
22568
+ catch (_a) {
22569
+ // do nothing, already destroyed;
22570
+ }
22220
22571
  };
22221
- const clearProductList = () => {
22222
- var _a;
22223
- (_a = app.productList) === null || _a === void 0 ? void 0 : _a.$destroy();
22572
+ const clearProductList = (selector) => {
22573
+ try {
22574
+ if (selector) {
22575
+ const instance = app.box[selector];
22576
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22577
+ return;
22578
+ }
22579
+ for (const key in app.productList) {
22580
+ const instance = app.productList[key];
22581
+ instance === null || instance === void 0 ? void 0 : instance.$destroy();
22582
+ }
22583
+ app.productList = {};
22584
+ }
22585
+ catch (_a) {
22586
+ // do nothing, already destroyed;
22587
+ }
22224
22588
  };
22225
22589
  const lupaSearch = {
22226
22590
  searchBox,