@getlupa/client 1.24.2 → 1.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lupaSearch.iife.js +724 -506
- package/dist/lupaSearch.js +724 -506
- package/dist/lupaSearch.mjs +724 -506
- package/dist/lupaSearch.umd.js +724 -506
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/lupaSearch.iife.js
CHANGED
|
@@ -18857,17 +18857,27 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18857
18857
|
const isObject$1 = (value) => {
|
|
18858
18858
|
return value !== null && typeof value === "object" && !Array.isArray(value);
|
|
18859
18859
|
};
|
|
18860
|
-
const
|
|
18861
|
-
const value = params.get(key);
|
|
18860
|
+
const decodeParam = (value) => {
|
|
18862
18861
|
if (!value) {
|
|
18863
18862
|
return void 0;
|
|
18864
18863
|
}
|
|
18864
|
+
try {
|
|
18865
|
+
if (!/%[0-9A-Fa-f]{2}/.test(value)) {
|
|
18866
|
+
return value;
|
|
18867
|
+
}
|
|
18868
|
+
} catch (e2) {
|
|
18869
|
+
return value;
|
|
18870
|
+
}
|
|
18865
18871
|
try {
|
|
18866
18872
|
return decodeURIComponent(value);
|
|
18867
18873
|
} catch (e2) {
|
|
18868
|
-
return
|
|
18874
|
+
return value;
|
|
18869
18875
|
}
|
|
18870
18876
|
};
|
|
18877
|
+
const parseParam = (key, params) => {
|
|
18878
|
+
const value = params.get(key);
|
|
18879
|
+
return decodeParam(value != null ? value : void 0);
|
|
18880
|
+
};
|
|
18871
18881
|
const parseRegularKeys = (regularKeys, searchParams, getQueryParamName) => {
|
|
18872
18882
|
const params = /* @__PURE__ */ Object.create({});
|
|
18873
18883
|
const keys = reverseKeyValue({
|
|
@@ -18885,7 +18895,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18885
18895
|
const parseFacetKey = (key, searchParams) => {
|
|
18886
18896
|
var _a25, _b25, _c, _d;
|
|
18887
18897
|
if (key.startsWith(FACET_PARAMS_TYPE.TERMS)) {
|
|
18888
|
-
return (_b25 = (_a25 = searchParams.getAll(key)) == null ? void 0 : _a25.map((v) =>
|
|
18898
|
+
return (_b25 = (_a25 = searchParams.getAll(key)) == null ? void 0 : _a25.map((v) => decodeParam(v))) != null ? _b25 : [];
|
|
18889
18899
|
}
|
|
18890
18900
|
if (key.startsWith(FACET_PARAMS_TYPE.RANGE) || key.startsWith(FACET_PARAMS_TYPE.PARTIAL_RANGE)) {
|
|
18891
18901
|
const range2 = searchParams.get(key);
|
|
@@ -18901,7 +18911,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18901
18911
|
if (key.startsWith(FACET_PARAMS_TYPE.HIERARCHY)) {
|
|
18902
18912
|
return {
|
|
18903
18913
|
level: 0,
|
|
18904
|
-
terms: (_d = (_c = searchParams.getAll(key)) == null ? void 0 : _c.map((v) =>
|
|
18914
|
+
terms: (_d = (_c = searchParams.getAll(key)) == null ? void 0 : _c.map((v) => decodeParam(v))) != null ? _d : []
|
|
18905
18915
|
};
|
|
18906
18916
|
}
|
|
18907
18917
|
return [];
|
|
@@ -18928,15 +18938,15 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18928
18938
|
}, parseRegularKeys(regularKeys, searchParams, getQueryParamName)), parseFacetKeys(facetKeys, searchParams));
|
|
18929
18939
|
return r;
|
|
18930
18940
|
};
|
|
18931
|
-
const appendParam = (url, { name, value }
|
|
18941
|
+
const appendParam = (url, { name, value }) => {
|
|
18932
18942
|
if (Array.isArray(value)) {
|
|
18933
18943
|
appendArrayParams(url, { name, value });
|
|
18934
18944
|
} else {
|
|
18935
|
-
appendSingleParam(url, { name, value }
|
|
18945
|
+
appendSingleParam(url, { name, value });
|
|
18936
18946
|
}
|
|
18937
18947
|
};
|
|
18938
|
-
const appendSingleParam = (url, param
|
|
18939
|
-
const valueToAppend =
|
|
18948
|
+
const appendSingleParam = (url, param) => {
|
|
18949
|
+
const valueToAppend = param.value;
|
|
18940
18950
|
if (url.searchParams.has(param.name)) {
|
|
18941
18951
|
url.searchParams.set(param.name, valueToAppend);
|
|
18942
18952
|
} else {
|
|
@@ -18945,7 +18955,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18945
18955
|
};
|
|
18946
18956
|
const appendArrayParams = (url, param) => {
|
|
18947
18957
|
url.searchParams.delete(param.name);
|
|
18948
|
-
param.value.forEach((v) => url.searchParams.append(param.name,
|
|
18958
|
+
param.value.forEach((v) => url.searchParams.append(param.name, v));
|
|
18949
18959
|
};
|
|
18950
18960
|
const getRemovableParams = (url, getQueryParamName, paramsToRemove) => {
|
|
18951
18961
|
if (paramsToRemove === "all") {
|
|
@@ -19305,13 +19315,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19305
19315
|
const getPageUrlWithNewParams = ({
|
|
19306
19316
|
params: newParams,
|
|
19307
19317
|
paramsToRemove,
|
|
19308
|
-
encode: encode2 = true,
|
|
19309
19318
|
searchResultsLink: searchResultsLink2
|
|
19310
19319
|
}) => {
|
|
19311
19320
|
const url = getPageUrl(searchResultsLink2);
|
|
19312
19321
|
paramsToRemove = getRemovableParams(url, optionsStore.getQueryParamName, paramsToRemove);
|
|
19313
19322
|
removeParams(url, paramsToRemove);
|
|
19314
|
-
newParams.forEach((p2) => appendParam(url, p2
|
|
19323
|
+
newParams.forEach((p2) => appendParam(url, p2));
|
|
19315
19324
|
return url.search;
|
|
19316
19325
|
};
|
|
19317
19326
|
const removeParameters = ({
|
|
@@ -19393,7 +19402,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19393
19402
|
const routing = (_b25 = optionsStore.boxRoutingBehavior) != null ? _b25 : "direct-link";
|
|
19394
19403
|
redirectToResultsPage(
|
|
19395
19404
|
searchResultsLink.value,
|
|
19396
|
-
|
|
19405
|
+
searchText,
|
|
19397
19406
|
optionsStore.getQueryParamName,
|
|
19398
19407
|
facet,
|
|
19399
19408
|
routing
|
|
@@ -19403,7 +19412,6 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19403
19412
|
const appendParams = ({
|
|
19404
19413
|
params: newParams,
|
|
19405
19414
|
paramsToRemove,
|
|
19406
|
-
encode: encode2 = true,
|
|
19407
19415
|
save = true,
|
|
19408
19416
|
searchResultsLink: searchResultsLink2
|
|
19409
19417
|
}) => {
|
|
@@ -19413,7 +19421,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19413
19421
|
const url = getPageUrl(searchResultsLink2);
|
|
19414
19422
|
paramsToRemove = getRemovableParams(url, optionsStore.getQueryParamName, paramsToRemove);
|
|
19415
19423
|
removeParams(url, paramsToRemove);
|
|
19416
|
-
newParams.forEach((p2) => appendParam(url, p2
|
|
19424
|
+
newParams.forEach((p2) => appendParam(url, p2));
|
|
19417
19425
|
navigate(url);
|
|
19418
19426
|
if (!save) {
|
|
19419
19427
|
return;
|
|
@@ -19710,7 +19718,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19710
19718
|
}
|
|
19711
19719
|
return Env[environment] || Env["production"];
|
|
19712
19720
|
};
|
|
19713
|
-
const _sfc_main$
|
|
19721
|
+
const _sfc_main$1K = /* @__PURE__ */ defineComponent({
|
|
19714
19722
|
__name: "VoiceSearchProgressCircle",
|
|
19715
19723
|
props: {
|
|
19716
19724
|
isRecording: { type: Boolean },
|
|
@@ -19923,15 +19931,15 @@ var __async = (__this, __arguments, generator) => {
|
|
|
19923
19931
|
closeSocket
|
|
19924
19932
|
};
|
|
19925
19933
|
}
|
|
19926
|
-
const _hoisted_1$
|
|
19934
|
+
const _hoisted_1$1q = {
|
|
19927
19935
|
key: 0,
|
|
19928
19936
|
class: "lupa-dialog-overlay"
|
|
19929
19937
|
};
|
|
19930
|
-
const _hoisted_2$
|
|
19938
|
+
const _hoisted_2$_ = { class: "lupa-dialog-content" };
|
|
19931
19939
|
const _hoisted_3$G = { class: "lupa-listening-text" };
|
|
19932
19940
|
const _hoisted_4$v = { class: "lupa-mic-button-wrapper" };
|
|
19933
19941
|
const _hoisted_5$l = ["aria-label"];
|
|
19934
|
-
const _sfc_main$
|
|
19942
|
+
const _sfc_main$1J = /* @__PURE__ */ defineComponent({
|
|
19935
19943
|
__name: "VoiceSearchDialog",
|
|
19936
19944
|
props: {
|
|
19937
19945
|
isOpen: { type: Boolean },
|
|
@@ -20036,12 +20044,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20036
20044
|
return (_ctx, _cache) => {
|
|
20037
20045
|
var _a25, _b25;
|
|
20038
20046
|
return openBlock(), createElementBlock("div", null, [
|
|
20039
|
-
props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
20047
|
+
props.isOpen ? (openBlock(), createElementBlock("div", _hoisted_1$1q, [
|
|
20040
20048
|
createBaseVNode("button", {
|
|
20041
20049
|
class: "lupa-dialog-box-close-button",
|
|
20042
20050
|
onClick: _cache[0] || (_cache[0] = () => emit2("close"))
|
|
20043
20051
|
}),
|
|
20044
|
-
createBaseVNode("div", _hoisted_2$
|
|
20052
|
+
createBaseVNode("div", _hoisted_2$_, [
|
|
20045
20053
|
createBaseVNode("p", _hoisted_3$G, toDisplayString(description.value), 1),
|
|
20046
20054
|
createBaseVNode("div", _hoisted_4$v, [
|
|
20047
20055
|
createBaseVNode("button", {
|
|
@@ -20050,7 +20058,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20050
20058
|
"aria-controls": "voice-search-microphone",
|
|
20051
20059
|
"aria-label": ((_b25 = (_a25 = labels.value) == null ? void 0 : _a25.aria) == null ? void 0 : _b25.microphone) || "Toggle microphone"
|
|
20052
20060
|
}, null, 10, _hoisted_5$l),
|
|
20053
|
-
createVNode(_sfc_main$
|
|
20061
|
+
createVNode(_sfc_main$1K, {
|
|
20054
20062
|
ref_key: "voiceSearchProgressBar",
|
|
20055
20063
|
ref: voiceSearchProgressBar,
|
|
20056
20064
|
class: "lupa-progress-circle",
|
|
@@ -20065,8 +20073,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20065
20073
|
};
|
|
20066
20074
|
}
|
|
20067
20075
|
});
|
|
20068
|
-
const _hoisted_1$
|
|
20069
|
-
const _hoisted_2$
|
|
20076
|
+
const _hoisted_1$1p = { id: "lupa-search-box-input-container" };
|
|
20077
|
+
const _hoisted_2$Z = { id: "lupa-search-box-input" };
|
|
20070
20078
|
const _hoisted_3$F = ["value"];
|
|
20071
20079
|
const _hoisted_4$u = ["aria-label", "placeholder"];
|
|
20072
20080
|
const _hoisted_5$k = {
|
|
@@ -20075,7 +20083,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20075
20083
|
};
|
|
20076
20084
|
const _hoisted_6$7 = { key: 2 };
|
|
20077
20085
|
const _hoisted_7$5 = ["aria-label"];
|
|
20078
|
-
const _sfc_main$
|
|
20086
|
+
const _sfc_main$1I = /* @__PURE__ */ defineComponent({
|
|
20079
20087
|
__name: "SearchBoxInput",
|
|
20080
20088
|
props: {
|
|
20081
20089
|
options: {},
|
|
@@ -20211,7 +20219,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20211
20219
|
};
|
|
20212
20220
|
__expose({ focus });
|
|
20213
20221
|
return (_ctx, _cache) => {
|
|
20214
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20222
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1p, [
|
|
20215
20223
|
_ctx.options.showClearButton && !isClearButtonAtEndOfInput.value ? (openBlock(), createElementBlock("div", {
|
|
20216
20224
|
key: 0,
|
|
20217
20225
|
class: normalizeClass(["lupa-input-clear", [
|
|
@@ -20220,7 +20228,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20220
20228
|
]]),
|
|
20221
20229
|
onClick: clear
|
|
20222
20230
|
}, null, 2)) : createCommentVNode("", true),
|
|
20223
|
-
createBaseVNode("div", _hoisted_2$
|
|
20231
|
+
createBaseVNode("div", _hoisted_2$Z, [
|
|
20224
20232
|
createBaseVNode("input", {
|
|
20225
20233
|
class: "lupa-hint",
|
|
20226
20234
|
"aria-hidden": "true",
|
|
@@ -20274,7 +20282,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20274
20282
|
"aria-label": voiceSearchAriaLabel.value
|
|
20275
20283
|
}, null, 8, _hoisted_7$5)
|
|
20276
20284
|
])) : createCommentVNode("", true),
|
|
20277
|
-
isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$
|
|
20285
|
+
isVoiceSearchEnabled.value ? (openBlock(), createBlock(_sfc_main$1J, {
|
|
20278
20286
|
key: 3,
|
|
20279
20287
|
ref_key: "voiceDialogOverlay",
|
|
20280
20288
|
ref: voiceDialogOverlay,
|
|
@@ -20288,7 +20296,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20288
20296
|
};
|
|
20289
20297
|
}
|
|
20290
20298
|
});
|
|
20291
|
-
const _sfc_main$
|
|
20299
|
+
const _sfc_main$1H = /* @__PURE__ */ defineComponent({
|
|
20292
20300
|
__name: "SearchBoxMoreResults",
|
|
20293
20301
|
props: {
|
|
20294
20302
|
labels: {},
|
|
@@ -20326,9 +20334,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20326
20334
|
};
|
|
20327
20335
|
}
|
|
20328
20336
|
});
|
|
20329
|
-
const _hoisted_1$
|
|
20330
|
-
const _hoisted_2$
|
|
20331
|
-
const _sfc_main$
|
|
20337
|
+
const _hoisted_1$1o = { class: "lupa-search-box-history-item" };
|
|
20338
|
+
const _hoisted_2$Y = { class: "lupa-search-box-history-item-content" };
|
|
20339
|
+
const _sfc_main$1G = /* @__PURE__ */ defineComponent({
|
|
20332
20340
|
__name: "SearchBoxHistoryItem",
|
|
20333
20341
|
props: {
|
|
20334
20342
|
item: {},
|
|
@@ -20345,8 +20353,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20345
20353
|
emit2("click", { query: props.item });
|
|
20346
20354
|
};
|
|
20347
20355
|
return (_ctx, _cache) => {
|
|
20348
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20349
|
-
createBaseVNode("div", _hoisted_2$
|
|
20356
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1o, [
|
|
20357
|
+
createBaseVNode("div", _hoisted_2$Y, [
|
|
20350
20358
|
createBaseVNode("div", {
|
|
20351
20359
|
class: normalizeClass(["lupa-search-box-history-item-text", { "lupa-search-box-history-item-highlighted": _ctx.highlighted }]),
|
|
20352
20360
|
onClick: click2
|
|
@@ -20360,11 +20368,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20360
20368
|
};
|
|
20361
20369
|
}
|
|
20362
20370
|
});
|
|
20363
|
-
const _hoisted_1$
|
|
20371
|
+
const _hoisted_1$1n = {
|
|
20364
20372
|
key: 0,
|
|
20365
20373
|
class: "lupa-search-box-history-panel"
|
|
20366
20374
|
};
|
|
20367
|
-
const _sfc_main$
|
|
20375
|
+
const _sfc_main$1F = /* @__PURE__ */ defineComponent({
|
|
20368
20376
|
__name: "SearchBoxHistoryPanel",
|
|
20369
20377
|
props: {
|
|
20370
20378
|
options: {}
|
|
@@ -20415,9 +20423,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20415
20423
|
}
|
|
20416
20424
|
};
|
|
20417
20425
|
return (_ctx, _cache) => {
|
|
20418
|
-
return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
20426
|
+
return hasHistory.value ? (openBlock(), createElementBlock("div", _hoisted_1$1n, [
|
|
20419
20427
|
(openBlock(true), createElementBlock(Fragment, null, renderList(limitedHistory.value, (item, index) => {
|
|
20420
|
-
return openBlock(), createBlock(_sfc_main$
|
|
20428
|
+
return openBlock(), createBlock(_sfc_main$1G, {
|
|
20421
20429
|
key: item,
|
|
20422
20430
|
item,
|
|
20423
20431
|
highlighted: index === highlightIndex.value,
|
|
@@ -20433,12 +20441,12 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20433
20441
|
};
|
|
20434
20442
|
}
|
|
20435
20443
|
});
|
|
20436
|
-
const _hoisted_1$
|
|
20437
|
-
const _hoisted_2$
|
|
20444
|
+
const _hoisted_1$1m = ["innerHTML"];
|
|
20445
|
+
const _hoisted_2$X = {
|
|
20438
20446
|
key: 1,
|
|
20439
20447
|
class: "lupa-search-box-no-results"
|
|
20440
20448
|
};
|
|
20441
|
-
const _sfc_main$
|
|
20449
|
+
const _sfc_main$1E = /* @__PURE__ */ defineComponent({
|
|
20442
20450
|
__name: "SearchBoxNoResults",
|
|
20443
20451
|
props: {
|
|
20444
20452
|
options: {}
|
|
@@ -20457,7 +20465,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20457
20465
|
key: 0,
|
|
20458
20466
|
class: "lupa-search-box-no-results",
|
|
20459
20467
|
innerHTML: customHtml.value
|
|
20460
|
-
}, null, 8, _hoisted_1$
|
|
20468
|
+
}, null, 8, _hoisted_1$1m)) : (openBlock(), createElementBlock("p", _hoisted_2$X, toDisplayString((_a25 = labels.value) == null ? void 0 : _a25.noResults), 1));
|
|
20461
20469
|
};
|
|
20462
20470
|
}
|
|
20463
20471
|
});
|
|
@@ -20489,8 +20497,8 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20489
20497
|
}
|
|
20490
20498
|
return gridTemplate.join(" ");
|
|
20491
20499
|
};
|
|
20492
|
-
const _hoisted_1$
|
|
20493
|
-
const _hoisted_2$
|
|
20500
|
+
const _hoisted_1$1l = ["innerHTML"];
|
|
20501
|
+
const _hoisted_2$W = {
|
|
20494
20502
|
key: 1,
|
|
20495
20503
|
"data-cy": "lupa-suggestion-value",
|
|
20496
20504
|
class: "lupa-suggestion-value"
|
|
@@ -20508,7 +20516,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20508
20516
|
class: "lupa-suggestion-facet-value",
|
|
20509
20517
|
"data-cy": "lupa-suggestion-facet-value"
|
|
20510
20518
|
};
|
|
20511
|
-
const _sfc_main$
|
|
20519
|
+
const _sfc_main$1D = /* @__PURE__ */ defineComponent({
|
|
20512
20520
|
__name: "SearchBoxSuggestion",
|
|
20513
20521
|
props: {
|
|
20514
20522
|
suggestion: {},
|
|
@@ -20545,7 +20553,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20545
20553
|
class: "lupa-suggestion-value",
|
|
20546
20554
|
"data-cy": "lupa-suggestion-value",
|
|
20547
20555
|
innerHTML: _ctx.suggestion.displayHighlight
|
|
20548
|
-
}, null, 8, _hoisted_1$
|
|
20556
|
+
}, null, 8, _hoisted_1$1l)) : (openBlock(), createElementBlock("div", _hoisted_2$W, toDisplayString(_ctx.suggestion.display), 1)),
|
|
20549
20557
|
_ctx.suggestion.facet ? (openBlock(), createElementBlock("div", _hoisted_3$E, [
|
|
20550
20558
|
createBaseVNode("span", _hoisted_4$t, toDisplayString(facetLabel.value), 1),
|
|
20551
20559
|
createBaseVNode("span", _hoisted_5$j, toDisplayString(_ctx.suggestion.facet.title), 1)
|
|
@@ -20554,11 +20562,11 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20554
20562
|
};
|
|
20555
20563
|
}
|
|
20556
20564
|
});
|
|
20557
|
-
const _hoisted_1$
|
|
20565
|
+
const _hoisted_1$1k = {
|
|
20558
20566
|
id: "lupa-search-box-suggestions",
|
|
20559
20567
|
"data-cy": "lupa-search-box-suggestions"
|
|
20560
20568
|
};
|
|
20561
|
-
const _sfc_main$
|
|
20569
|
+
const _sfc_main$1C = /* @__PURE__ */ defineComponent({
|
|
20562
20570
|
__name: "SearchBoxSuggestions",
|
|
20563
20571
|
props: {
|
|
20564
20572
|
items: {},
|
|
@@ -20625,9 +20633,9 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20625
20633
|
});
|
|
20626
20634
|
});
|
|
20627
20635
|
return (_ctx, _cache) => {
|
|
20628
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
20636
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1k, [
|
|
20629
20637
|
(openBlock(true), createElementBlock(Fragment, null, renderList(items.value, (item, index) => {
|
|
20630
|
-
return openBlock(), createBlock(_sfc_main$
|
|
20638
|
+
return openBlock(), createBlock(_sfc_main$1D, {
|
|
20631
20639
|
key: getSuggestionKey(item),
|
|
20632
20640
|
class: normalizeClass([
|
|
20633
20641
|
"lupa-suggestion",
|
|
@@ -20659,7 +20667,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20659
20667
|
}, timeout);
|
|
20660
20668
|
};
|
|
20661
20669
|
};
|
|
20662
|
-
const _sfc_main$
|
|
20670
|
+
const _sfc_main$1B = /* @__PURE__ */ defineComponent({
|
|
20663
20671
|
__name: "SearchBoxSuggestionsWrapper",
|
|
20664
20672
|
props: {
|
|
20665
20673
|
panel: {},
|
|
@@ -20702,7 +20710,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
20702
20710
|
const getSuggestionsDebounced = debounce(getSuggestions, props.debounce);
|
|
20703
20711
|
watch(() => props.panel.limit, getSuggestionsDebounced);
|
|
20704
20712
|
return (_ctx, _cache) => {
|
|
20705
|
-
return openBlock(), createBlock(_sfc_main$
|
|
20713
|
+
return openBlock(), createBlock(_sfc_main$1C, {
|
|
20706
20714
|
items: searchResult.value,
|
|
20707
20715
|
highlight: _ctx.panel.highlight,
|
|
20708
20716
|
queryKey: _ctx.panel.queryKey,
|
|
@@ -29902,11 +29910,14 @@ and ensure you are accounting for this risk.
|
|
|
29902
29910
|
}
|
|
29903
29911
|
return parsedAttributes;
|
|
29904
29912
|
};
|
|
29905
|
-
const getFieldValue = (doc2, field = "") => {
|
|
29913
|
+
const getFieldValue = (doc2, field = "", matchLiteral) => {
|
|
29906
29914
|
var _a25;
|
|
29907
29915
|
if (typeof field === "number") {
|
|
29908
29916
|
return +field;
|
|
29909
29917
|
}
|
|
29918
|
+
if (matchLiteral) {
|
|
29919
|
+
return field;
|
|
29920
|
+
}
|
|
29910
29921
|
const value = (_a25 = field == null ? void 0 : field.split(".")) == null ? void 0 : _a25.reduce((obj, key) => obj ? obj[key] : void 0, doc2);
|
|
29911
29922
|
if (+value) {
|
|
29912
29923
|
return +value;
|
|
@@ -29930,32 +29941,32 @@ and ensure you are accounting for this risk.
|
|
|
29930
29941
|
case "equals": {
|
|
29931
29942
|
if (fields.length < 2) return false;
|
|
29932
29943
|
const [field1, field2] = fields;
|
|
29933
|
-
return getFieldValue(doc2, field1) === getFieldValue(doc2, field2);
|
|
29944
|
+
return getFieldValue(doc2, field1) === getFieldValue(doc2, field2, displayCondition.matchLiteral);
|
|
29934
29945
|
}
|
|
29935
29946
|
case "notEquals": {
|
|
29936
29947
|
if (fields.length < 2) return false;
|
|
29937
29948
|
const [field1, field2] = fields;
|
|
29938
|
-
return getFieldValue(doc2, field1) !== getFieldValue(doc2, field2);
|
|
29949
|
+
return getFieldValue(doc2, field1) !== getFieldValue(doc2, field2, displayCondition.matchLiteral);
|
|
29939
29950
|
}
|
|
29940
29951
|
case "greaterThan": {
|
|
29941
29952
|
if (fields.length < 2) return false;
|
|
29942
29953
|
const [field1, field2] = fields;
|
|
29943
|
-
return getFieldValue(doc2, field1) > getFieldValue(doc2, field2);
|
|
29954
|
+
return getFieldValue(doc2, field1) > getFieldValue(doc2, field2, displayCondition.matchLiteral);
|
|
29944
29955
|
}
|
|
29945
29956
|
case "lessThan": {
|
|
29946
29957
|
if (fields.length < 2) return false;
|
|
29947
29958
|
const [field1, field2] = fields;
|
|
29948
|
-
return getFieldValue(doc2, field1) < getFieldValue(doc2, field2);
|
|
29959
|
+
return getFieldValue(doc2, field1) < getFieldValue(doc2, field2, displayCondition.matchLiteral);
|
|
29949
29960
|
}
|
|
29950
29961
|
case "greaterThanOrEquals": {
|
|
29951
29962
|
if (fields.length < 2) return false;
|
|
29952
29963
|
const [field1, field2] = fields;
|
|
29953
|
-
return getFieldValue(doc2, field1) >= getFieldValue(doc2, field2);
|
|
29964
|
+
return getFieldValue(doc2, field1) >= getFieldValue(doc2, field2, displayCondition.matchLiteral);
|
|
29954
29965
|
}
|
|
29955
29966
|
case "lessThanOrEquals": {
|
|
29956
29967
|
if (fields.length < 2) return false;
|
|
29957
29968
|
const [field1, field2] = fields;
|
|
29958
|
-
return getFieldValue(doc2, field1) <= getFieldValue(doc2, field2);
|
|
29969
|
+
return getFieldValue(doc2, field1) <= getFieldValue(doc2, field2, displayCondition.matchLiteral);
|
|
29959
29970
|
}
|
|
29960
29971
|
default:
|
|
29961
29972
|
return false;
|
|
@@ -29984,9 +29995,9 @@ and ensure you are accounting for this risk.
|
|
|
29984
29995
|
targetImage.src = placeholder;
|
|
29985
29996
|
}
|
|
29986
29997
|
};
|
|
29987
|
-
const _hoisted_1$
|
|
29988
|
-
const _hoisted_2$
|
|
29989
|
-
const _sfc_main$
|
|
29998
|
+
const _hoisted_1$1j = ["src"];
|
|
29999
|
+
const _hoisted_2$V = ["src"];
|
|
30000
|
+
const _sfc_main$1A = /* @__PURE__ */ defineComponent({
|
|
29990
30001
|
__name: "ProductImage",
|
|
29991
30002
|
props: {
|
|
29992
30003
|
item: {},
|
|
@@ -30128,7 +30139,7 @@ and ensure you are accounting for this risk.
|
|
|
30128
30139
|
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, {
|
|
30129
30140
|
onError: replaceWithPlaceholder,
|
|
30130
30141
|
key: finalUrl.value
|
|
30131
|
-
}), null, 16, _hoisted_1$
|
|
30142
|
+
}), null, 16, _hoisted_1$1j))
|
|
30132
30143
|
]),
|
|
30133
30144
|
_: 1
|
|
30134
30145
|
})) : (openBlock(), createElementBlock("img", mergeProps({
|
|
@@ -30136,12 +30147,12 @@ and ensure you are accounting for this risk.
|
|
|
30136
30147
|
class: ["lupa-images-main-image", { [_ctx.imageClass]: true }],
|
|
30137
30148
|
style: styleOverride.value,
|
|
30138
30149
|
src: finalMainImageUrl.value
|
|
30139
|
-
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$
|
|
30150
|
+
}, { alt: imageAlt.value ? imageAlt.value : void 0 }, { onError: replaceWithPlaceholder }), null, 16, _hoisted_2$V))
|
|
30140
30151
|
], 38);
|
|
30141
30152
|
};
|
|
30142
30153
|
}
|
|
30143
30154
|
});
|
|
30144
|
-
const _sfc_main$
|
|
30155
|
+
const _sfc_main$1z = /* @__PURE__ */ defineComponent({
|
|
30145
30156
|
__name: "SearchBoxProductImage",
|
|
30146
30157
|
props: {
|
|
30147
30158
|
item: {},
|
|
@@ -30149,7 +30160,7 @@ and ensure you are accounting for this risk.
|
|
|
30149
30160
|
},
|
|
30150
30161
|
setup(__props) {
|
|
30151
30162
|
return (_ctx, _cache) => {
|
|
30152
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30163
|
+
return openBlock(), createBlock(_sfc_main$1A, {
|
|
30153
30164
|
item: _ctx.item,
|
|
30154
30165
|
options: _ctx.options,
|
|
30155
30166
|
"wrapper-class": "lupa-search-box-image-wrapper",
|
|
@@ -30158,12 +30169,12 @@ and ensure you are accounting for this risk.
|
|
|
30158
30169
|
};
|
|
30159
30170
|
}
|
|
30160
30171
|
});
|
|
30161
|
-
const _hoisted_1$
|
|
30162
|
-
const _hoisted_2$
|
|
30172
|
+
const _hoisted_1$1i = ["innerHTML"];
|
|
30173
|
+
const _hoisted_2$U = {
|
|
30163
30174
|
key: 1,
|
|
30164
30175
|
class: "lupa-search-box-product-title"
|
|
30165
30176
|
};
|
|
30166
|
-
const _sfc_main$
|
|
30177
|
+
const _sfc_main$1y = /* @__PURE__ */ defineComponent({
|
|
30167
30178
|
__name: "SearchBoxProductTitle",
|
|
30168
30179
|
props: {
|
|
30169
30180
|
item: {},
|
|
@@ -30186,18 +30197,18 @@ and ensure you are accounting for this risk.
|
|
|
30186
30197
|
key: 0,
|
|
30187
30198
|
class: "lupa-search-box-product-title",
|
|
30188
30199
|
innerHTML: sanitizedTitle.value
|
|
30189
|
-
}, null, 8, _hoisted_1$
|
|
30200
|
+
}, null, 8, _hoisted_1$1i)) : (openBlock(), createElementBlock("div", _hoisted_2$U, [
|
|
30190
30201
|
createBaseVNode("strong", null, toDisplayString(title.value), 1)
|
|
30191
30202
|
]));
|
|
30192
30203
|
};
|
|
30193
30204
|
}
|
|
30194
30205
|
});
|
|
30195
|
-
const _hoisted_1$
|
|
30196
|
-
const _hoisted_2$
|
|
30206
|
+
const _hoisted_1$1h = ["innerHTML"];
|
|
30207
|
+
const _hoisted_2$T = {
|
|
30197
30208
|
key: 1,
|
|
30198
30209
|
class: "lupa-search-box-product-description"
|
|
30199
30210
|
};
|
|
30200
|
-
const _sfc_main$
|
|
30211
|
+
const _sfc_main$1x = /* @__PURE__ */ defineComponent({
|
|
30201
30212
|
__name: "SearchBoxProductDescription",
|
|
30202
30213
|
props: {
|
|
30203
30214
|
item: {},
|
|
@@ -30220,12 +30231,12 @@ and ensure you are accounting for this risk.
|
|
|
30220
30231
|
key: 0,
|
|
30221
30232
|
class: "lupa-search-box-product-description",
|
|
30222
30233
|
innerHTML: sanitizedDescription.value
|
|
30223
|
-
}, null, 8, _hoisted_1$
|
|
30234
|
+
}, null, 8, _hoisted_1$1h)) : (openBlock(), createElementBlock("div", _hoisted_2$T, toDisplayString(description.value), 1));
|
|
30224
30235
|
};
|
|
30225
30236
|
}
|
|
30226
30237
|
});
|
|
30227
|
-
const _hoisted_1$
|
|
30228
|
-
const _sfc_main$
|
|
30238
|
+
const _hoisted_1$1g = { class: "lupa-search-box-product-price" };
|
|
30239
|
+
const _sfc_main$1w = /* @__PURE__ */ defineComponent({
|
|
30229
30240
|
__name: "SearchBoxProductPrice",
|
|
30230
30241
|
props: {
|
|
30231
30242
|
item: {},
|
|
@@ -30247,13 +30258,13 @@ and ensure you are accounting for this risk.
|
|
|
30247
30258
|
);
|
|
30248
30259
|
});
|
|
30249
30260
|
return (_ctx, _cache) => {
|
|
30250
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30261
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1g, [
|
|
30251
30262
|
createBaseVNode("strong", null, toDisplayString(price.value), 1)
|
|
30252
30263
|
]);
|
|
30253
30264
|
};
|
|
30254
30265
|
}
|
|
30255
30266
|
});
|
|
30256
|
-
const _sfc_main$
|
|
30267
|
+
const _sfc_main$1v = /* @__PURE__ */ defineComponent({
|
|
30257
30268
|
__name: "SearchBoxProductRegularPrice",
|
|
30258
30269
|
props: {
|
|
30259
30270
|
item: {},
|
|
@@ -30284,12 +30295,12 @@ and ensure you are accounting for this risk.
|
|
|
30284
30295
|
};
|
|
30285
30296
|
}
|
|
30286
30297
|
});
|
|
30287
|
-
const _hoisted_1$
|
|
30288
|
-
const _hoisted_2$
|
|
30298
|
+
const _hoisted_1$1f = ["innerHTML"];
|
|
30299
|
+
const _hoisted_2$S = { key: 0 };
|
|
30289
30300
|
const _hoisted_3$D = { key: 1 };
|
|
30290
30301
|
const _hoisted_4$s = { class: "lupa-search-box-custom-label" };
|
|
30291
30302
|
const _hoisted_5$i = { class: "lupa-search-box-custom-text" };
|
|
30292
|
-
const _sfc_main$
|
|
30303
|
+
const _sfc_main$1u = /* @__PURE__ */ defineComponent({
|
|
30293
30304
|
__name: "SearchBoxProductCustom",
|
|
30294
30305
|
props: {
|
|
30295
30306
|
item: {},
|
|
@@ -30315,11 +30326,11 @@ and ensure you are accounting for this risk.
|
|
|
30315
30326
|
key: 0,
|
|
30316
30327
|
class: [className.value, "lupa-search-box-product-custom"],
|
|
30317
30328
|
innerHTML: text.value
|
|
30318
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
30329
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$1f)) : (openBlock(), createElementBlock("div", mergeProps({
|
|
30319
30330
|
key: 1,
|
|
30320
30331
|
class: [className.value, "lupa-search-box-product-custom"]
|
|
30321
30332
|
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
|
|
30322
|
-
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
30333
|
+
!label.value ? (openBlock(), createElementBlock("div", _hoisted_2$S, toDisplayString(text.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$D, [
|
|
30323
30334
|
createBaseVNode("div", _hoisted_4$s, toDisplayString(label.value), 1),
|
|
30324
30335
|
createBaseVNode("div", _hoisted_5$i, toDisplayString(text.value), 1)
|
|
30325
30336
|
]))
|
|
@@ -30327,8 +30338,8 @@ and ensure you are accounting for this risk.
|
|
|
30327
30338
|
};
|
|
30328
30339
|
}
|
|
30329
30340
|
});
|
|
30330
|
-
const _hoisted_1$
|
|
30331
|
-
const _sfc_main$
|
|
30341
|
+
const _hoisted_1$1e = ["innerHTML"];
|
|
30342
|
+
const _sfc_main$1t = /* @__PURE__ */ defineComponent({
|
|
30332
30343
|
__name: "SearchBoxProductCustomHtml",
|
|
30333
30344
|
props: {
|
|
30334
30345
|
item: {},
|
|
@@ -30353,7 +30364,7 @@ and ensure you are accounting for this risk.
|
|
|
30353
30364
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
30354
30365
|
class: className.value,
|
|
30355
30366
|
innerHTML: text.value
|
|
30356
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
30367
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$1e);
|
|
30357
30368
|
};
|
|
30358
30369
|
}
|
|
30359
30370
|
});
|
|
@@ -30692,6 +30703,7 @@ and ensure you are accounting for this risk.
|
|
|
30692
30703
|
relatedQueriesApiEnabled,
|
|
30693
30704
|
lastResultsSource,
|
|
30694
30705
|
relatedQueryFacetKeys,
|
|
30706
|
+
loadingRelatedQueries,
|
|
30695
30707
|
setSidebarState,
|
|
30696
30708
|
queryFacet,
|
|
30697
30709
|
setLastRequestId,
|
|
@@ -30708,12 +30720,12 @@ and ensure you are accounting for this risk.
|
|
|
30708
30720
|
setRelatedQueriesApiEnabled
|
|
30709
30721
|
};
|
|
30710
30722
|
});
|
|
30711
|
-
const _hoisted_1$
|
|
30712
|
-
const _hoisted_2$
|
|
30723
|
+
const _hoisted_1$1d = { class: "lupa-search-box-add-to-cart-wrapper" };
|
|
30724
|
+
const _hoisted_2$R = { class: "lupa-search-box-product-addtocart" };
|
|
30713
30725
|
const _hoisted_3$C = ["disabled"];
|
|
30714
30726
|
const _hoisted_4$r = ["href"];
|
|
30715
30727
|
const _hoisted_5$h = ["disabled"];
|
|
30716
|
-
const _sfc_main$
|
|
30728
|
+
const _sfc_main$1s = /* @__PURE__ */ defineComponent({
|
|
30717
30729
|
__name: "SearchBoxProductAddToCart",
|
|
30718
30730
|
props: {
|
|
30719
30731
|
item: {},
|
|
@@ -30759,8 +30771,8 @@ and ensure you are accounting for this risk.
|
|
|
30759
30771
|
return Boolean(props.link && props.options.link);
|
|
30760
30772
|
});
|
|
30761
30773
|
return (_ctx, _cache) => {
|
|
30762
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30763
|
-
createBaseVNode("div", _hoisted_2$
|
|
30774
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1d, [
|
|
30775
|
+
createBaseVNode("div", _hoisted_2$R, [
|
|
30764
30776
|
hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
30765
30777
|
key: 0,
|
|
30766
30778
|
class: addToCartButtonClass.value,
|
|
@@ -30781,23 +30793,23 @@ and ensure you are accounting for this risk.
|
|
|
30781
30793
|
};
|
|
30782
30794
|
}
|
|
30783
30795
|
});
|
|
30784
|
-
const _hoisted_1$
|
|
30796
|
+
const _hoisted_1$1c = {
|
|
30785
30797
|
key: 1,
|
|
30786
30798
|
class: "lupa-search-box-element-badge-wrapper"
|
|
30787
30799
|
};
|
|
30788
30800
|
const __default__$4 = {
|
|
30789
30801
|
components: {
|
|
30790
|
-
SearchBoxProductImage: _sfc_main$
|
|
30791
|
-
SearchBoxProductTitle: _sfc_main$
|
|
30792
|
-
SearchBoxProductDescription: _sfc_main$
|
|
30793
|
-
SearchBoxProductPrice: _sfc_main$
|
|
30794
|
-
SearchBoxProductRegularPrice: _sfc_main$
|
|
30795
|
-
SearchBoxProductCustom: _sfc_main$
|
|
30796
|
-
SearchBoxProductCustomHtml: _sfc_main$
|
|
30797
|
-
SearchBoxProductAddToCart: _sfc_main$
|
|
30802
|
+
SearchBoxProductImage: _sfc_main$1z,
|
|
30803
|
+
SearchBoxProductTitle: _sfc_main$1y,
|
|
30804
|
+
SearchBoxProductDescription: _sfc_main$1x,
|
|
30805
|
+
SearchBoxProductPrice: _sfc_main$1w,
|
|
30806
|
+
SearchBoxProductRegularPrice: _sfc_main$1v,
|
|
30807
|
+
SearchBoxProductCustom: _sfc_main$1u,
|
|
30808
|
+
SearchBoxProductCustomHtml: _sfc_main$1t,
|
|
30809
|
+
SearchBoxProductAddToCart: _sfc_main$1s
|
|
30798
30810
|
}
|
|
30799
30811
|
};
|
|
30800
|
-
const _sfc_main$
|
|
30812
|
+
const _sfc_main$1r = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$4), {
|
|
30801
30813
|
__name: "SearchBoxProductElement",
|
|
30802
30814
|
props: {
|
|
30803
30815
|
item: {},
|
|
@@ -30869,7 +30881,7 @@ and ensure you are accounting for this risk.
|
|
|
30869
30881
|
"dynamic-attributes": dynamicAttributes.value,
|
|
30870
30882
|
link: _ctx.link
|
|
30871
30883
|
}, renderDynamicAttributesOnParentElement.value && dynamicAttributes.value), null, 16, ["item", "options", "labels", "class", "inStock", "dynamic-attributes", "link"])) : createCommentVNode("", true)
|
|
30872
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
30884
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$1c, [
|
|
30873
30885
|
displayElement.value ? (openBlock(), createBlock(resolveDynamicComponent(elementComponent.value), {
|
|
30874
30886
|
key: 0,
|
|
30875
30887
|
item: enhancedItem.value,
|
|
@@ -30884,14 +30896,14 @@ and ensure you are accounting for this risk.
|
|
|
30884
30896
|
};
|
|
30885
30897
|
}
|
|
30886
30898
|
}));
|
|
30887
|
-
const _hoisted_1$
|
|
30888
|
-
const _hoisted_2$
|
|
30899
|
+
const _hoisted_1$1b = { class: "lupa-badge-title" };
|
|
30900
|
+
const _hoisted_2$Q = ["src"];
|
|
30889
30901
|
const _hoisted_3$B = { key: 1 };
|
|
30890
30902
|
const _hoisted_4$q = {
|
|
30891
30903
|
key: 0,
|
|
30892
30904
|
class: "lupa-badge-full-text"
|
|
30893
30905
|
};
|
|
30894
|
-
const _sfc_main$
|
|
30906
|
+
const _sfc_main$1q = /* @__PURE__ */ defineComponent({
|
|
30895
30907
|
__name: "SearchResultGeneratedBadge",
|
|
30896
30908
|
props: {
|
|
30897
30909
|
options: {},
|
|
@@ -30924,11 +30936,11 @@ and ensure you are accounting for this risk.
|
|
|
30924
30936
|
class: normalizeClass(["lupa-dynamic-badge", customClassName.value]),
|
|
30925
30937
|
style: normalizeStyle({ background: _ctx.badge.backgroundColor, color: _ctx.badge.color })
|
|
30926
30938
|
}, [
|
|
30927
|
-
createBaseVNode("span", _hoisted_1$
|
|
30939
|
+
createBaseVNode("span", _hoisted_1$1b, [
|
|
30928
30940
|
image.value ? (openBlock(), createElementBlock("img", {
|
|
30929
30941
|
key: 0,
|
|
30930
30942
|
src: image.value
|
|
30931
|
-
}, null, 8, _hoisted_2$
|
|
30943
|
+
}, null, 8, _hoisted_2$Q)) : createCommentVNode("", true),
|
|
30932
30944
|
hasTitleText.value && showTitle.value ? (openBlock(), createElementBlock("span", _hoisted_3$B, toDisplayString(_ctx.badge.titleText), 1)) : createCommentVNode("", true)
|
|
30933
30945
|
]),
|
|
30934
30946
|
hasAdditionalText.value ? (openBlock(), createElementBlock("span", _hoisted_4$q, toDisplayString(_ctx.badge.additionalText), 1)) : createCommentVNode("", true)
|
|
@@ -30936,8 +30948,8 @@ and ensure you are accounting for this risk.
|
|
|
30936
30948
|
};
|
|
30937
30949
|
}
|
|
30938
30950
|
});
|
|
30939
|
-
const _hoisted_1$
|
|
30940
|
-
const _sfc_main$
|
|
30951
|
+
const _hoisted_1$1a = { class: "lupa-generated-badges" };
|
|
30952
|
+
const _sfc_main$1p = /* @__PURE__ */ defineComponent({
|
|
30941
30953
|
__name: "SearchResultGeneratedBadges",
|
|
30942
30954
|
props: {
|
|
30943
30955
|
options: {}
|
|
@@ -30963,9 +30975,9 @@ and ensure you are accounting for this risk.
|
|
|
30963
30975
|
})).filter((b) => Boolean(b.id));
|
|
30964
30976
|
});
|
|
30965
30977
|
return (_ctx, _cache) => {
|
|
30966
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
30978
|
+
return openBlock(), createElementBlock("div", _hoisted_1$1a, [
|
|
30967
30979
|
(openBlock(true), createElementBlock(Fragment, null, renderList(badges.value, (badge) => {
|
|
30968
|
-
return openBlock(), createBlock(_sfc_main$
|
|
30980
|
+
return openBlock(), createBlock(_sfc_main$1q, {
|
|
30969
30981
|
key: badge.id,
|
|
30970
30982
|
badge,
|
|
30971
30983
|
options: _ctx.options
|
|
@@ -30975,8 +30987,8 @@ and ensure you are accounting for this risk.
|
|
|
30975
30987
|
};
|
|
30976
30988
|
}
|
|
30977
30989
|
});
|
|
30978
|
-
const _hoisted_1$
|
|
30979
|
-
const _sfc_main$
|
|
30990
|
+
const _hoisted_1$19 = ["innerHTML"];
|
|
30991
|
+
const _sfc_main$1o = /* @__PURE__ */ defineComponent({
|
|
30980
30992
|
__name: "CustomBadge",
|
|
30981
30993
|
props: {
|
|
30982
30994
|
badge: {}
|
|
@@ -30997,12 +31009,12 @@ and ensure you are accounting for this risk.
|
|
|
30997
31009
|
return openBlock(), createElementBlock("div", {
|
|
30998
31010
|
class: normalizeClass(className.value),
|
|
30999
31011
|
innerHTML: text.value
|
|
31000
|
-
}, null, 10, _hoisted_1$
|
|
31012
|
+
}, null, 10, _hoisted_1$19);
|
|
31001
31013
|
};
|
|
31002
31014
|
}
|
|
31003
31015
|
});
|
|
31004
|
-
const _hoisted_1$
|
|
31005
|
-
const _sfc_main$
|
|
31016
|
+
const _hoisted_1$18 = { class: "lupa-text-badges" };
|
|
31017
|
+
const _sfc_main$1n = /* @__PURE__ */ defineComponent({
|
|
31006
31018
|
__name: "TextBadge",
|
|
31007
31019
|
props: {
|
|
31008
31020
|
badge: {}
|
|
@@ -31016,7 +31028,7 @@ and ensure you are accounting for this risk.
|
|
|
31016
31028
|
return badges.value.slice(0, props.badge.maxItems);
|
|
31017
31029
|
});
|
|
31018
31030
|
return (_ctx, _cache) => {
|
|
31019
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31031
|
+
return openBlock(), createElementBlock("div", _hoisted_1$18, [
|
|
31020
31032
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
|
|
31021
31033
|
return openBlock(), createElementBlock("div", {
|
|
31022
31034
|
class: "lupa-badge lupa-text-badge",
|
|
@@ -31027,9 +31039,9 @@ and ensure you are accounting for this risk.
|
|
|
31027
31039
|
};
|
|
31028
31040
|
}
|
|
31029
31041
|
});
|
|
31030
|
-
const _hoisted_1$
|
|
31031
|
-
const _hoisted_2$
|
|
31032
|
-
const _sfc_main$
|
|
31042
|
+
const _hoisted_1$17 = { class: "lupa-image-badges" };
|
|
31043
|
+
const _hoisted_2$P = ["src"];
|
|
31044
|
+
const _sfc_main$1m = /* @__PURE__ */ defineComponent({
|
|
31033
31045
|
__name: "ImageBadge",
|
|
31034
31046
|
props: {
|
|
31035
31047
|
badge: {}
|
|
@@ -31049,7 +31061,7 @@ and ensure you are accounting for this risk.
|
|
|
31049
31061
|
return `${props.badge.rootImageUrl}${src}`;
|
|
31050
31062
|
};
|
|
31051
31063
|
return (_ctx, _cache) => {
|
|
31052
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31064
|
+
return openBlock(), createElementBlock("div", _hoisted_1$17, [
|
|
31053
31065
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayBadges.value, (item) => {
|
|
31054
31066
|
return openBlock(), createElementBlock("div", {
|
|
31055
31067
|
class: "lupa-badge lupa-image-badge",
|
|
@@ -31057,14 +31069,14 @@ and ensure you are accounting for this risk.
|
|
|
31057
31069
|
}, [
|
|
31058
31070
|
createBaseVNode("img", {
|
|
31059
31071
|
src: getImageUrl(item)
|
|
31060
|
-
}, null, 8, _hoisted_2$
|
|
31072
|
+
}, null, 8, _hoisted_2$P)
|
|
31061
31073
|
]);
|
|
31062
31074
|
}), 128))
|
|
31063
31075
|
]);
|
|
31064
31076
|
};
|
|
31065
31077
|
}
|
|
31066
31078
|
});
|
|
31067
|
-
const _sfc_main$
|
|
31079
|
+
const _sfc_main$1l = /* @__PURE__ */ defineComponent({
|
|
31068
31080
|
__name: "DiscountBadge",
|
|
31069
31081
|
props: {
|
|
31070
31082
|
badge: {}
|
|
@@ -31126,16 +31138,16 @@ and ensure you are accounting for this risk.
|
|
|
31126
31138
|
};
|
|
31127
31139
|
}
|
|
31128
31140
|
});
|
|
31129
|
-
const _hoisted_1$
|
|
31141
|
+
const _hoisted_1$16 = { id: "lupa-search-results-badges" };
|
|
31130
31142
|
const __default__$3 = {
|
|
31131
31143
|
components: {
|
|
31132
|
-
CustomBadge: _sfc_main$
|
|
31133
|
-
TextBadge: _sfc_main$
|
|
31134
|
-
ImageBadge: _sfc_main$
|
|
31135
|
-
DiscountBadge: _sfc_main$
|
|
31144
|
+
CustomBadge: _sfc_main$1o,
|
|
31145
|
+
TextBadge: _sfc_main$1n,
|
|
31146
|
+
ImageBadge: _sfc_main$1m,
|
|
31147
|
+
DiscountBadge: _sfc_main$1l
|
|
31136
31148
|
}
|
|
31137
31149
|
};
|
|
31138
|
-
const _sfc_main$
|
|
31150
|
+
const _sfc_main$1k = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$3), {
|
|
31139
31151
|
__name: "SearchResultsBadgeWrapper",
|
|
31140
31152
|
props: {
|
|
31141
31153
|
position: {},
|
|
@@ -31198,7 +31210,7 @@ and ensure you are accounting for this risk.
|
|
|
31198
31210
|
}
|
|
31199
31211
|
};
|
|
31200
31212
|
return (_ctx, _cache) => {
|
|
31201
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31213
|
+
return openBlock(), createElementBlock("div", _hoisted_1$16, [
|
|
31202
31214
|
createBaseVNode("div", {
|
|
31203
31215
|
id: "lupa-badges",
|
|
31204
31216
|
class: normalizeClass(anchorPosition.value)
|
|
@@ -31209,7 +31221,7 @@ and ensure you are accounting for this risk.
|
|
|
31209
31221
|
badge
|
|
31210
31222
|
}, null, 8, ["badge"]);
|
|
31211
31223
|
}), 128)),
|
|
31212
|
-
positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$
|
|
31224
|
+
positionValue.value === "card" ? (openBlock(), createBlock(_sfc_main$1p, {
|
|
31213
31225
|
key: 0,
|
|
31214
31226
|
options: _ctx.options
|
|
31215
31227
|
}, null, 8, ["options"])) : createCommentVNode("", true)
|
|
@@ -31218,13 +31230,13 @@ and ensure you are accounting for this risk.
|
|
|
31218
31230
|
};
|
|
31219
31231
|
}
|
|
31220
31232
|
}));
|
|
31221
|
-
const _hoisted_1$
|
|
31222
|
-
const _hoisted_2$
|
|
31233
|
+
const _hoisted_1$15 = ["href"];
|
|
31234
|
+
const _hoisted_2$O = { class: "lupa-search-box-product-details-section" };
|
|
31223
31235
|
const _hoisted_3$A = {
|
|
31224
31236
|
key: 0,
|
|
31225
31237
|
class: "lupa-search-box-product-add-to-cart-section"
|
|
31226
31238
|
};
|
|
31227
|
-
const _sfc_main$
|
|
31239
|
+
const _sfc_main$1j = /* @__PURE__ */ defineComponent({
|
|
31228
31240
|
__name: "SearchBoxProduct",
|
|
31229
31241
|
props: {
|
|
31230
31242
|
item: {},
|
|
@@ -31330,7 +31342,7 @@ and ensure you are accounting for this risk.
|
|
|
31330
31342
|
style: normalizeStyle(imageStyleOverride.value)
|
|
31331
31343
|
}, [
|
|
31332
31344
|
(openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
|
|
31333
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31345
|
+
return openBlock(), createBlock(_sfc_main$1r, {
|
|
31334
31346
|
class: "lupa-search-box-product-element",
|
|
31335
31347
|
key: element.key,
|
|
31336
31348
|
item: _ctx.item,
|
|
@@ -31340,10 +31352,10 @@ and ensure you are accounting for this risk.
|
|
|
31340
31352
|
}, null, 8, ["item", "element", "labels", "link"]);
|
|
31341
31353
|
}), 128))
|
|
31342
31354
|
], 4),
|
|
31343
|
-
createBaseVNode("div", _hoisted_2$
|
|
31355
|
+
createBaseVNode("div", _hoisted_2$O, [
|
|
31344
31356
|
(openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
|
|
31345
31357
|
var _a25;
|
|
31346
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31358
|
+
return openBlock(), createBlock(_sfc_main$1r, {
|
|
31347
31359
|
class: "lupa-search-box-product-element",
|
|
31348
31360
|
key: element.key,
|
|
31349
31361
|
item: _ctx.item,
|
|
@@ -31354,7 +31366,7 @@ and ensure you are accounting for this risk.
|
|
|
31354
31366
|
((_a25 = badgeOptions.value) == null ? void 0 : _a25.anchorElementKey) === element.key ? {
|
|
31355
31367
|
name: "badges",
|
|
31356
31368
|
fn: withCtx(() => [
|
|
31357
|
-
createVNode(_sfc_main$
|
|
31369
|
+
createVNode(_sfc_main$1k, {
|
|
31358
31370
|
options: badgeOptions.value,
|
|
31359
31371
|
position: "card"
|
|
31360
31372
|
}, null, 8, ["options"])
|
|
@@ -31370,7 +31382,7 @@ and ensure you are accounting for this risk.
|
|
|
31370
31382
|
class: normalizeClass(`lupa-search-box-group-${group}`)
|
|
31371
31383
|
}, [
|
|
31372
31384
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
|
|
31373
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31385
|
+
return openBlock(), createBlock(_sfc_main$1r, {
|
|
31374
31386
|
class: "lupa-search-box-product-element",
|
|
31375
31387
|
key: element.key,
|
|
31376
31388
|
item: _ctx.item,
|
|
@@ -31383,7 +31395,7 @@ and ensure you are accounting for this risk.
|
|
|
31383
31395
|
], 2);
|
|
31384
31396
|
}), 128)),
|
|
31385
31397
|
addToCartElement.value ? (openBlock(), createElementBlock("div", _hoisted_3$A, [
|
|
31386
|
-
createVNode(_sfc_main$
|
|
31398
|
+
createVNode(_sfc_main$1r, {
|
|
31387
31399
|
class: "lupa-search-box-product-element",
|
|
31388
31400
|
item: _ctx.item,
|
|
31389
31401
|
element: addToCartElement.value,
|
|
@@ -31392,7 +31404,7 @@ and ensure you are accounting for this risk.
|
|
|
31392
31404
|
isInStock: isInStock.value
|
|
31393
31405
|
}, null, 8, ["item", "element", "labels", "link", "isInStock"])
|
|
31394
31406
|
])) : createCommentVNode("", true)
|
|
31395
|
-
], 16, _hoisted_1$
|
|
31407
|
+
], 16, _hoisted_1$15);
|
|
31396
31408
|
};
|
|
31397
31409
|
}
|
|
31398
31410
|
});
|
|
@@ -31464,8 +31476,8 @@ and ensure you are accounting for this risk.
|
|
|
31464
31476
|
};
|
|
31465
31477
|
return { trackSearch, trackResults, trackEvent, trackDelayedEvent };
|
|
31466
31478
|
});
|
|
31467
|
-
const _hoisted_1$
|
|
31468
|
-
const _sfc_main$
|
|
31479
|
+
const _hoisted_1$14 = ["innerHTML"];
|
|
31480
|
+
const _sfc_main$1i = /* @__PURE__ */ defineComponent({
|
|
31469
31481
|
__name: "SearchBoxProducts",
|
|
31470
31482
|
props: {
|
|
31471
31483
|
items: {},
|
|
@@ -31576,7 +31588,7 @@ and ensure you are accounting for this risk.
|
|
|
31576
31588
|
itemClicked: handleProductClick
|
|
31577
31589
|
});
|
|
31578
31590
|
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(displayItems.value, (item, index) => {
|
|
31579
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31591
|
+
return openBlock(), createBlock(_sfc_main$1j, {
|
|
31580
31592
|
key: index,
|
|
31581
31593
|
item,
|
|
31582
31594
|
panelOptions: _ctx.panelOptions,
|
|
@@ -31589,7 +31601,7 @@ and ensure you are accounting for this risk.
|
|
|
31589
31601
|
hasResults.value && ((_a25 = _ctx.panelOptions) == null ? void 0 : _a25.appendCustomHtml) && (showAll.value || !showAllItemsToggleButton.value) ? (openBlock(), createElementBlock("div", {
|
|
31590
31602
|
key: 2,
|
|
31591
31603
|
innerHTML: _ctx.panelOptions.appendCustomHtml
|
|
31592
|
-
}, null, 8, _hoisted_1$
|
|
31604
|
+
}, null, 8, _hoisted_1$14)) : createCommentVNode("", true),
|
|
31593
31605
|
showAllItemsToggleButton.value ? (openBlock(), createElementBlock("a", {
|
|
31594
31606
|
key: 3,
|
|
31595
31607
|
class: "lupa-search-box-expand",
|
|
@@ -31600,9 +31612,9 @@ and ensure you are accounting for this risk.
|
|
|
31600
31612
|
};
|
|
31601
31613
|
}
|
|
31602
31614
|
});
|
|
31603
|
-
const _hoisted_1$
|
|
31604
|
-
const _hoisted_2$
|
|
31605
|
-
const _sfc_main$
|
|
31615
|
+
const _hoisted_1$13 = { class: "lupa-search-box-documents-go-to-results-wrapper" };
|
|
31616
|
+
const _hoisted_2$N = { key: 0 };
|
|
31617
|
+
const _sfc_main$1h = /* @__PURE__ */ defineComponent({
|
|
31606
31618
|
__name: "SearchBoxProductsGoToResultsButton",
|
|
31607
31619
|
props: {
|
|
31608
31620
|
options: {},
|
|
@@ -31633,13 +31645,13 @@ and ensure you are accounting for this risk.
|
|
|
31633
31645
|
emit2("goToResults");
|
|
31634
31646
|
};
|
|
31635
31647
|
return (_ctx, _cache) => {
|
|
31636
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
31648
|
+
return openBlock(), createElementBlock("div", _hoisted_1$13, [
|
|
31637
31649
|
createBaseVNode("button", {
|
|
31638
31650
|
class: "lupa-search-box-documents-go-to-results-button",
|
|
31639
31651
|
onClick: goToResults
|
|
31640
31652
|
}, [
|
|
31641
31653
|
createTextVNode(toDisplayString(goToResultsLabel.value) + " ", 1),
|
|
31642
|
-
totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$
|
|
31654
|
+
totalCount.value ? (openBlock(), createElementBlock("span", _hoisted_2$N, " " + toDisplayString(totalCount.value), 1)) : createCommentVNode("", true)
|
|
31643
31655
|
])
|
|
31644
31656
|
]);
|
|
31645
31657
|
};
|
|
@@ -31735,7 +31747,7 @@ and ensure you are accounting for this risk.
|
|
|
31735
31747
|
}
|
|
31736
31748
|
return parsedObject;
|
|
31737
31749
|
};
|
|
31738
|
-
const _sfc_main$
|
|
31750
|
+
const _sfc_main$1g = /* @__PURE__ */ defineComponent({
|
|
31739
31751
|
__name: "SearchBoxProductsWrapper",
|
|
31740
31752
|
props: {
|
|
31741
31753
|
panel: {},
|
|
@@ -31806,7 +31818,7 @@ and ensure you are accounting for this risk.
|
|
|
31806
31818
|
watch(() => props.panel.limit, getItemsDebounced);
|
|
31807
31819
|
return (_ctx, _cache) => {
|
|
31808
31820
|
var _a25, _b25;
|
|
31809
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31821
|
+
return openBlock(), createBlock(_sfc_main$1i, {
|
|
31810
31822
|
items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
|
|
31811
31823
|
panelOptions: _ctx.panel,
|
|
31812
31824
|
labels: _ctx.labels,
|
|
@@ -31816,7 +31828,7 @@ and ensure you are accounting for this risk.
|
|
|
31816
31828
|
default: withCtx(() => {
|
|
31817
31829
|
var _a26;
|
|
31818
31830
|
return [
|
|
31819
|
-
showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$
|
|
31831
|
+
showGoToResultsButton.value && ((_a26 = searchResult.value) == null ? void 0 : _a26.items.length) ? (openBlock(), createBlock(_sfc_main$1h, {
|
|
31820
31832
|
key: 0,
|
|
31821
31833
|
options: _ctx.searchBoxOptions,
|
|
31822
31834
|
panel: _ctx.panel,
|
|
@@ -31837,7 +31849,7 @@ and ensure you are accounting for this risk.
|
|
|
31837
31849
|
};
|
|
31838
31850
|
}
|
|
31839
31851
|
});
|
|
31840
|
-
const _sfc_main$
|
|
31852
|
+
const _sfc_main$1f = /* @__PURE__ */ defineComponent({
|
|
31841
31853
|
__name: "SearchBoxRelatedSourceWrapper",
|
|
31842
31854
|
props: {
|
|
31843
31855
|
panel: {},
|
|
@@ -31909,7 +31921,7 @@ and ensure you are accounting for this risk.
|
|
|
31909
31921
|
});
|
|
31910
31922
|
return (_ctx, _cache) => {
|
|
31911
31923
|
var _a25, _b25;
|
|
31912
|
-
return openBlock(), createBlock(_sfc_main$
|
|
31924
|
+
return openBlock(), createBlock(_sfc_main$1i, {
|
|
31913
31925
|
items: (_b25 = (_a25 = searchResult.value) == null ? void 0 : _a25.items) != null ? _b25 : [],
|
|
31914
31926
|
panelOptions: documentPanelOptions.value,
|
|
31915
31927
|
labels: _ctx.labels,
|
|
@@ -31927,8 +31939,8 @@ and ensure you are accounting for this risk.
|
|
|
31927
31939
|
};
|
|
31928
31940
|
}
|
|
31929
31941
|
});
|
|
31930
|
-
const _hoisted_1$
|
|
31931
|
-
const _hoisted_2$
|
|
31942
|
+
const _hoisted_1$12 = ["data-cy"];
|
|
31943
|
+
const _hoisted_2$M = {
|
|
31932
31944
|
key: 0,
|
|
31933
31945
|
class: "lupa-panel-title lupa-panel-title-top-results"
|
|
31934
31946
|
};
|
|
@@ -31938,12 +31950,12 @@ and ensure you are accounting for this risk.
|
|
|
31938
31950
|
};
|
|
31939
31951
|
const __default__$2 = {
|
|
31940
31952
|
components: {
|
|
31941
|
-
SearchBoxSuggestionsWrapper: _sfc_main$
|
|
31942
|
-
SearchBoxProductsWrapper: _sfc_main$
|
|
31943
|
-
SearchBoxRelatedSourceWrapper: _sfc_main$
|
|
31953
|
+
SearchBoxSuggestionsWrapper: _sfc_main$1B,
|
|
31954
|
+
SearchBoxProductsWrapper: _sfc_main$1g,
|
|
31955
|
+
SearchBoxRelatedSourceWrapper: _sfc_main$1f
|
|
31944
31956
|
}
|
|
31945
31957
|
};
|
|
31946
|
-
const _sfc_main$
|
|
31958
|
+
const _sfc_main$1e = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$2), {
|
|
31947
31959
|
__name: "SearchBoxMainPanel",
|
|
31948
31960
|
props: {
|
|
31949
31961
|
options: {},
|
|
@@ -32134,7 +32146,7 @@ and ensure you are accounting for this risk.
|
|
|
32134
32146
|
style: normalizeStyle(panel.gridArea ? { gridArea: `${panel.gridArea}${index}` } : {}),
|
|
32135
32147
|
"data-cy": "lupa-panel-" + panel.type + "-index"
|
|
32136
32148
|
}, [
|
|
32137
|
-
((_a25 = panel.labels) == null ? void 0 : _a25.topResultsTitle) && showTopResultsPanelTitle(panel.queryKey) ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
32149
|
+
((_a25 = panel.labels) == null ? void 0 : _a25.topResultsTitle) && showTopResultsPanelTitle(panel.queryKey) ? (openBlock(), createElementBlock("div", _hoisted_2$M, toDisplayString((_b25 = panel.labels) == null ? void 0 : _b25.topResultsTitle), 1)) : createCommentVNode("", true),
|
|
32138
32150
|
((_c = panel.labels) == null ? void 0 : _c.title) && showPanelTitle(panel) ? (openBlock(), createElementBlock("div", _hoisted_3$z, toDisplayString((_d = panel.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
|
|
32139
32151
|
panel.queryKey && canShowPanel(panel) ? (openBlock(), createBlock(resolveDynamicComponent(getComponent(panel.type)), {
|
|
32140
32152
|
key: 2,
|
|
@@ -32157,14 +32169,14 @@ and ensure you are accounting for this risk.
|
|
|
32157
32169
|
key: "0"
|
|
32158
32170
|
} : void 0
|
|
32159
32171
|
]), 1064, ["panel", "search-box-options", "options", "debounce", "inputValue", "labels"])) : createCommentVNode("", true)
|
|
32160
|
-
], 14, _hoisted_1$
|
|
32172
|
+
], 14, _hoisted_1$12);
|
|
32161
32173
|
}), 128))
|
|
32162
32174
|
], 4),
|
|
32163
|
-
!unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$
|
|
32175
|
+
!unref(hasAnyResults) && _ctx.options.showNoResultsPanel ? (openBlock(), createBlock(_sfc_main$1E, {
|
|
32164
32176
|
key: 1,
|
|
32165
32177
|
options: _ctx.options
|
|
32166
32178
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
32167
|
-
displayShowMoreResultsButton.value ? (openBlock(), createBlock(_sfc_main$
|
|
32179
|
+
displayShowMoreResultsButton.value ? (openBlock(), createBlock(_sfc_main$1H, {
|
|
32168
32180
|
key: 2,
|
|
32169
32181
|
labels: labels.value,
|
|
32170
32182
|
options: _ctx.options,
|
|
@@ -32175,7 +32187,7 @@ and ensure you are accounting for this risk.
|
|
|
32175
32187
|
id: "lupa-search-box-panel",
|
|
32176
32188
|
class: normalizeClass({ "lupa-search-text-empty": isSearchEmpty.value })
|
|
32177
32189
|
}, [
|
|
32178
|
-
createVNode(_sfc_main$
|
|
32190
|
+
createVNode(_sfc_main$1F, {
|
|
32179
32191
|
options: _ctx.options.history,
|
|
32180
32192
|
history: history.value,
|
|
32181
32193
|
onGoToResults: handleGoToResults,
|
|
@@ -32200,8 +32212,8 @@ and ensure you are accounting for this risk.
|
|
|
32200
32212
|
const elements = getElements(triggers);
|
|
32201
32213
|
elements.forEach((e2) => e2 == null ? void 0 : e2.removeEventListener(BIND_EVENT, event));
|
|
32202
32214
|
};
|
|
32203
|
-
const _hoisted_1
|
|
32204
|
-
const _sfc_main$
|
|
32215
|
+
const _hoisted_1$11 = { class: "lupa-search-box-wrapper" };
|
|
32216
|
+
const _sfc_main$1d = /* @__PURE__ */ defineComponent({
|
|
32205
32217
|
__name: "SearchBox",
|
|
32206
32218
|
props: {
|
|
32207
32219
|
options: {},
|
|
@@ -32540,8 +32552,8 @@ and ensure you are accounting for this risk.
|
|
|
32540
32552
|
id: "lupa-search-box",
|
|
32541
32553
|
class: normalizeClass({ "lupa-search-box-opened": opened.value })
|
|
32542
32554
|
}, [
|
|
32543
|
-
createBaseVNode("div", _hoisted_1
|
|
32544
|
-
createVNode(_sfc_main$
|
|
32555
|
+
createBaseVNode("div", _hoisted_1$11, [
|
|
32556
|
+
createVNode(_sfc_main$1I, {
|
|
32545
32557
|
options: inputOptions.value,
|
|
32546
32558
|
suggestedValue: suggestedValue.value,
|
|
32547
32559
|
"can-close": (_a26 = _ctx.isSearchContainer) != null ? _a26 : false,
|
|
@@ -32554,7 +32566,7 @@ and ensure you are accounting for this risk.
|
|
|
32554
32566
|
onSearch: handleSearch,
|
|
32555
32567
|
onClose: _cache[0] || (_cache[0] = ($event) => _ctx.$emit("close"))
|
|
32556
32568
|
}, null, 8, ["options", "suggestedValue", "can-close", "emit-input-on-focus"]),
|
|
32557
|
-
opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$
|
|
32569
|
+
opened.value || _ctx.isSearchContainer ? (openBlock(), createBlock(_sfc_main$1e, {
|
|
32558
32570
|
key: 0,
|
|
32559
32571
|
options: panelOptions.value,
|
|
32560
32572
|
inputValue: inputValue.value,
|
|
@@ -32645,11 +32657,11 @@ and ensure you are accounting for this risk.
|
|
|
32645
32657
|
}
|
|
32646
32658
|
return searchParams;
|
|
32647
32659
|
};
|
|
32648
|
-
const _hoisted_1$
|
|
32660
|
+
const _hoisted_1$10 = {
|
|
32649
32661
|
key: 0,
|
|
32650
32662
|
id: "lupa-search-results-did-you-mean"
|
|
32651
32663
|
};
|
|
32652
|
-
const _hoisted_2$
|
|
32664
|
+
const _hoisted_2$L = {
|
|
32653
32665
|
key: 0,
|
|
32654
32666
|
"data-cy": "suggested-search-text-label"
|
|
32655
32667
|
};
|
|
@@ -32658,7 +32670,7 @@ and ensure you are accounting for this risk.
|
|
|
32658
32670
|
"data-cy": "did-you-mean-label"
|
|
32659
32671
|
};
|
|
32660
32672
|
const _hoisted_4$p = { key: 1 };
|
|
32661
|
-
const _sfc_main$
|
|
32673
|
+
const _sfc_main$1c = /* @__PURE__ */ defineComponent({
|
|
32662
32674
|
__name: "SearchResultsDidYouMean",
|
|
32663
32675
|
props: {
|
|
32664
32676
|
labels: {}
|
|
@@ -32690,8 +32702,8 @@ and ensure you are accounting for this risk.
|
|
|
32690
32702
|
paramStore.goToResults({ searchText, facet });
|
|
32691
32703
|
};
|
|
32692
32704
|
return (_ctx, _cache) => {
|
|
32693
|
-
return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
32694
|
-
unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$
|
|
32705
|
+
return unref(searchResult).suggestedSearchText || didYouMeanValue.value ? (openBlock(), createElementBlock("div", _hoisted_1$10, [
|
|
32706
|
+
unref(searchResult).suggestedSearchText ? (openBlock(), createElementBlock("div", _hoisted_2$L, [
|
|
32695
32707
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.labels.noResultsSuggestion.split(" "), (label, index) => {
|
|
32696
32708
|
return openBlock(), createElementBlock("span", { key: index }, [
|
|
32697
32709
|
createBaseVNode("span", {
|
|
@@ -32716,12 +32728,12 @@ and ensure you are accounting for this risk.
|
|
|
32716
32728
|
};
|
|
32717
32729
|
}
|
|
32718
32730
|
});
|
|
32719
|
-
const _hoisted_1
|
|
32731
|
+
const _hoisted_1$$ = {
|
|
32720
32732
|
key: 0,
|
|
32721
32733
|
class: "lupa-search-results-summary"
|
|
32722
32734
|
};
|
|
32723
|
-
const _hoisted_2$
|
|
32724
|
-
const _sfc_main$
|
|
32735
|
+
const _hoisted_2$K = ["innerHTML"];
|
|
32736
|
+
const _sfc_main$1b = /* @__PURE__ */ defineComponent({
|
|
32725
32737
|
__name: "SearchResultsSummary",
|
|
32726
32738
|
props: {
|
|
32727
32739
|
label: {},
|
|
@@ -32736,8 +32748,8 @@ and ensure you are accounting for this risk.
|
|
|
32736
32748
|
return addParamsToLabel(props.label, range2, `<span>${totalItems.value}</span>`);
|
|
32737
32749
|
});
|
|
32738
32750
|
return (_ctx, _cache) => {
|
|
32739
|
-
return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1
|
|
32740
|
-
createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$
|
|
32751
|
+
return unref(totalItems) > 0 ? (openBlock(), createElementBlock("div", _hoisted_1$$, [
|
|
32752
|
+
createBaseVNode("div", { innerHTML: summaryLabel.value }, null, 8, _hoisted_2$K),
|
|
32741
32753
|
_ctx.clearable ? (openBlock(), createElementBlock("span", {
|
|
32742
32754
|
key: 0,
|
|
32743
32755
|
class: "lupa-filter-clear",
|
|
@@ -32748,7 +32760,130 @@ and ensure you are accounting for this risk.
|
|
|
32748
32760
|
};
|
|
32749
32761
|
}
|
|
32750
32762
|
});
|
|
32751
|
-
const
|
|
32763
|
+
const _sfc_main$1a = /* @__PURE__ */ defineComponent({
|
|
32764
|
+
__name: "SkeletonBlock",
|
|
32765
|
+
props: {
|
|
32766
|
+
style: {}
|
|
32767
|
+
},
|
|
32768
|
+
setup(__props) {
|
|
32769
|
+
return (_ctx, _cache) => {
|
|
32770
|
+
return openBlock(), createElementBlock("div", {
|
|
32771
|
+
class: "lupa-skeleton-block-wrapper",
|
|
32772
|
+
style: normalizeStyle(_ctx.style)
|
|
32773
|
+
}, _cache[0] || (_cache[0] = [
|
|
32774
|
+
createBaseVNode("div", { class: "lupa-skeleton-block" }, [
|
|
32775
|
+
createBaseVNode("div", { class: "lupa-skeleton-block__shimmer" })
|
|
32776
|
+
], -1)
|
|
32777
|
+
]), 4);
|
|
32778
|
+
};
|
|
32779
|
+
}
|
|
32780
|
+
});
|
|
32781
|
+
const _sfc_main$19 = /* @__PURE__ */ defineComponent({
|
|
32782
|
+
__name: "SkeletonText",
|
|
32783
|
+
props: {
|
|
32784
|
+
style: {},
|
|
32785
|
+
lines: { default: 1 }
|
|
32786
|
+
},
|
|
32787
|
+
setup(__props) {
|
|
32788
|
+
return (_ctx, _cache) => {
|
|
32789
|
+
return openBlock(), createElementBlock("div", {
|
|
32790
|
+
class: "lupa-skeleton-text-wrapper",
|
|
32791
|
+
style: normalizeStyle(_ctx.style)
|
|
32792
|
+
}, [
|
|
32793
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.lines, (i) => {
|
|
32794
|
+
return openBlock(), createElementBlock("div", {
|
|
32795
|
+
key: i,
|
|
32796
|
+
class: "lupa-skeleton-line"
|
|
32797
|
+
}, _cache[0] || (_cache[0] = [
|
|
32798
|
+
createBaseVNode("div", { class: "lupa-skeleton-line__shimmer" }, null, -1)
|
|
32799
|
+
]));
|
|
32800
|
+
}), 128))
|
|
32801
|
+
], 4);
|
|
32802
|
+
};
|
|
32803
|
+
}
|
|
32804
|
+
});
|
|
32805
|
+
const _hoisted_1$_ = {
|
|
32806
|
+
key: 1,
|
|
32807
|
+
class: "lupa-skeleton-text"
|
|
32808
|
+
};
|
|
32809
|
+
const _hoisted_2$J = {
|
|
32810
|
+
key: 2,
|
|
32811
|
+
class: "lupa-skeleton-blocks"
|
|
32812
|
+
};
|
|
32813
|
+
const _sfc_main$18 = /* @__PURE__ */ defineComponent({
|
|
32814
|
+
__name: "LoadingBlock",
|
|
32815
|
+
props: {
|
|
32816
|
+
style: {},
|
|
32817
|
+
type: {},
|
|
32818
|
+
enabled: { type: Boolean },
|
|
32819
|
+
loading: { type: Boolean },
|
|
32820
|
+
count: {}
|
|
32821
|
+
},
|
|
32822
|
+
setup(__props) {
|
|
32823
|
+
return (_ctx, _cache) => {
|
|
32824
|
+
return !_ctx.loading || !_ctx.enabled ? renderSlot(_ctx.$slots, "default", { key: 0 }) : _ctx.type === "text" ? (openBlock(), createElementBlock("div", _hoisted_1$_, [
|
|
32825
|
+
createVNode(_sfc_main$19, {
|
|
32826
|
+
style: normalizeStyle(_ctx.style),
|
|
32827
|
+
lines: _ctx.count
|
|
32828
|
+
}, null, 8, ["style", "lines"])
|
|
32829
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_2$J, [
|
|
32830
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.count, (n) => {
|
|
32831
|
+
return openBlock(), createBlock(_sfc_main$1a, {
|
|
32832
|
+
key: n,
|
|
32833
|
+
style: normalizeStyle(_ctx.style)
|
|
32834
|
+
}, null, 8, ["style"]);
|
|
32835
|
+
}), 128))
|
|
32836
|
+
]));
|
|
32837
|
+
};
|
|
32838
|
+
}
|
|
32839
|
+
});
|
|
32840
|
+
const useLoadingSkeleton = () => {
|
|
32841
|
+
const paramsStore = useParamsStore();
|
|
32842
|
+
const optionsStore = useOptionsStore();
|
|
32843
|
+
const searchResultStore = useSearchResultStore();
|
|
32844
|
+
const { limit } = storeToRefs(paramsStore);
|
|
32845
|
+
const {
|
|
32846
|
+
searchResult,
|
|
32847
|
+
relatedQueriesResult,
|
|
32848
|
+
loading,
|
|
32849
|
+
loadingFacets: loadingFacetsBase,
|
|
32850
|
+
loadingRelatedQueries
|
|
32851
|
+
} = storeToRefs(searchResultStore);
|
|
32852
|
+
const { searchResultOptions } = storeToRefs(optionsStore);
|
|
32853
|
+
const skeletonEnabled = computed(() => {
|
|
32854
|
+
var _a25, _b25, _c, _d;
|
|
32855
|
+
return ((_b25 = (_a25 = searchResultOptions.value) == null ? void 0 : _a25.loadingSkeleton) == null ? void 0 : _b25.enabled) && !((_d = (_c = searchResult.value) == null ? void 0 : _c.items) == null ? void 0 : _d.length);
|
|
32856
|
+
});
|
|
32857
|
+
const relatedQueriesSkeletonEnabled = computed(() => {
|
|
32858
|
+
var _a25, _b25, _c, _d, _e;
|
|
32859
|
+
return ((_b25 = (_a25 = searchResultOptions.value) == null ? void 0 : _a25.loadingSkeleton) == null ? void 0 : _b25.enabled) && Boolean((_c = searchResultOptions.value) == null ? void 0 : _c.relatedQueries) && !((_e = (_d = relatedQueriesResult.value) == null ? void 0 : _d.relatedQueries) == null ? void 0 : _e.length);
|
|
32860
|
+
});
|
|
32861
|
+
const facetSkeletonEnabled = computed(() => {
|
|
32862
|
+
var _a25, _b25, _c, _d;
|
|
32863
|
+
return ((_b25 = (_a25 = searchResultOptions.value) == null ? void 0 : _a25.loadingSkeleton) == null ? void 0 : _b25.enabled) && !((_d = (_c = searchResult.value) == null ? void 0 : _c.facets) == null ? void 0 : _d.length);
|
|
32864
|
+
});
|
|
32865
|
+
const loadingFacets = computed(() => {
|
|
32866
|
+
var _a25;
|
|
32867
|
+
if ((_a25 = searchResultOptions.value) == null ? void 0 : _a25.splitExpensiveRequests) {
|
|
32868
|
+
return loadingFacetsBase.value;
|
|
32869
|
+
}
|
|
32870
|
+
return loading.value;
|
|
32871
|
+
});
|
|
32872
|
+
const loadingAny = computed(() => {
|
|
32873
|
+
return loading.value || loadingRelatedQueries.value || loadingFacets.value;
|
|
32874
|
+
});
|
|
32875
|
+
return {
|
|
32876
|
+
loading,
|
|
32877
|
+
loadingRelatedQueries,
|
|
32878
|
+
loadingFacets,
|
|
32879
|
+
loadingAny,
|
|
32880
|
+
limit,
|
|
32881
|
+
skeletonEnabled,
|
|
32882
|
+
relatedQueriesSkeletonEnabled,
|
|
32883
|
+
facetSkeletonEnabled
|
|
32884
|
+
};
|
|
32885
|
+
};
|
|
32886
|
+
const _hoisted_1$Z = {
|
|
32752
32887
|
key: 0,
|
|
32753
32888
|
class: "lupa-result-page-title",
|
|
32754
32889
|
"data-cy": "lupa-result-page-title"
|
|
@@ -32760,7 +32895,7 @@ and ensure you are accounting for this risk.
|
|
|
32760
32895
|
};
|
|
32761
32896
|
const _hoisted_4$o = { class: "lupa-results-total-count-number" };
|
|
32762
32897
|
const _hoisted_5$g = ["innerHTML"];
|
|
32763
|
-
const _sfc_main$
|
|
32898
|
+
const _sfc_main$17 = /* @__PURE__ */ defineComponent({
|
|
32764
32899
|
__name: "SearchResultsTitle",
|
|
32765
32900
|
props: {
|
|
32766
32901
|
options: {},
|
|
@@ -32770,7 +32905,10 @@ and ensure you are accounting for this risk.
|
|
|
32770
32905
|
setup(__props) {
|
|
32771
32906
|
const props = __props;
|
|
32772
32907
|
const searchResultStore = useSearchResultStore();
|
|
32908
|
+
const paramsStore = useParamsStore();
|
|
32773
32909
|
const { currentQueryText, totalItems, searchResult } = storeToRefs(searchResultStore);
|
|
32910
|
+
const { skeletonEnabled, loading } = useLoadingSkeleton();
|
|
32911
|
+
const { query } = storeToRefs(paramsStore);
|
|
32774
32912
|
const suggestedSearchText = computed(() => searchResult.value.suggestedSearchText);
|
|
32775
32913
|
const queryText = computed(() => {
|
|
32776
32914
|
return suggestedSearchText.value || currentQueryText.value;
|
|
@@ -32803,29 +32941,39 @@ and ensure you are accounting for this risk.
|
|
|
32803
32941
|
});
|
|
32804
32942
|
return (_ctx, _cache) => {
|
|
32805
32943
|
return openBlock(), createElementBlock("div", null, [
|
|
32806
|
-
|
|
32807
|
-
|
|
32808
|
-
|
|
32809
|
-
|
|
32810
|
-
|
|
32811
|
-
|
|
32812
|
-
|
|
32813
|
-
|
|
32814
|
-
|
|
32815
|
-
|
|
32816
|
-
|
|
32817
|
-
|
|
32818
|
-
|
|
32819
|
-
|
|
32820
|
-
|
|
32821
|
-
|
|
32822
|
-
|
|
32823
|
-
|
|
32944
|
+
createVNode(_sfc_main$18, {
|
|
32945
|
+
type: "text",
|
|
32946
|
+
count: 1,
|
|
32947
|
+
enabled: unref(skeletonEnabled) && Boolean(unref(query)),
|
|
32948
|
+
loading: unref(loading)
|
|
32949
|
+
}, {
|
|
32950
|
+
default: withCtx(() => [
|
|
32951
|
+
showSearchTitle.value ? (openBlock(), createElementBlock("h1", _hoisted_1$Z, [
|
|
32952
|
+
createTextVNode(toDisplayString(searchResultsTitleTemplate.value || _ctx.options.labels.searchResults), 1),
|
|
32953
|
+
queryText.value && !searchResultsTitleTemplate.value ? (openBlock(), createElementBlock("span", _hoisted_2$I, "'" + toDisplayString(queryText.value) + "'", 1)) : createCommentVNode("", true),
|
|
32954
|
+
showProductCount.value ? (openBlock(), createElementBlock("span", _hoisted_3$x, [
|
|
32955
|
+
createTextVNode("(" + toDisplayString(searchResultsCountLabel.value), 1),
|
|
32956
|
+
createBaseVNode("span", _hoisted_4$o, toDisplayString(unref(totalItems)), 1),
|
|
32957
|
+
_cache[0] || (_cache[0] = createTextVNode(")"))
|
|
32958
|
+
])) : createCommentVNode("", true)
|
|
32959
|
+
])) : createCommentVNode("", true),
|
|
32960
|
+
_ctx.showSummary ? (openBlock(), createBlock(_sfc_main$1b, {
|
|
32961
|
+
key: 1,
|
|
32962
|
+
label: summaryLabel.value
|
|
32963
|
+
}, null, 8, ["label"])) : createCommentVNode("", true),
|
|
32964
|
+
descriptionTop.value ? (openBlock(), createElementBlock("div", {
|
|
32965
|
+
key: 2,
|
|
32966
|
+
class: "lupa-result-page-description-top",
|
|
32967
|
+
innerHTML: descriptionTop.value
|
|
32968
|
+
}, null, 8, _hoisted_5$g)) : createCommentVNode("", true)
|
|
32969
|
+
]),
|
|
32970
|
+
_: 1
|
|
32971
|
+
}, 8, ["enabled", "loading"])
|
|
32824
32972
|
]);
|
|
32825
32973
|
};
|
|
32826
32974
|
}
|
|
32827
32975
|
});
|
|
32828
|
-
const _hoisted_1$
|
|
32976
|
+
const _hoisted_1$Y = {
|
|
32829
32977
|
class: "lupa-current-filter-label",
|
|
32830
32978
|
"data-cy": "lupa-current-filter-label"
|
|
32831
32979
|
};
|
|
@@ -32833,7 +32981,7 @@ and ensure you are accounting for this risk.
|
|
|
32833
32981
|
class: "lupa-current-filter-value",
|
|
32834
32982
|
"data-cy": "lupa-current-filter-value"
|
|
32835
32983
|
};
|
|
32836
|
-
const _sfc_main$
|
|
32984
|
+
const _sfc_main$16 = /* @__PURE__ */ defineComponent({
|
|
32837
32985
|
__name: "CurrentFilterDisplay",
|
|
32838
32986
|
props: {
|
|
32839
32987
|
filter: {}
|
|
@@ -32875,13 +33023,13 @@ and ensure you are accounting for this risk.
|
|
|
32875
33023
|
onClick: handleClick,
|
|
32876
33024
|
"aria-label": "Remove filter"
|
|
32877
33025
|
}, "⨉"),
|
|
32878
|
-
createBaseVNode("div", _hoisted_1$
|
|
33026
|
+
createBaseVNode("div", _hoisted_1$Y, toDisplayString(_ctx.filter.label) + ": ", 1),
|
|
32879
33027
|
createBaseVNode("div", _hoisted_2$H, toDisplayString(formatFilterValue(props.filter)), 1)
|
|
32880
33028
|
], 2);
|
|
32881
33029
|
};
|
|
32882
33030
|
}
|
|
32883
33031
|
});
|
|
32884
|
-
const _hoisted_1$
|
|
33032
|
+
const _hoisted_1$X = { class: "lupa-filter-title-text" };
|
|
32885
33033
|
const _hoisted_2$G = {
|
|
32886
33034
|
key: 0,
|
|
32887
33035
|
class: "lupa-filter-count"
|
|
@@ -32891,7 +33039,7 @@ and ensure you are accounting for this risk.
|
|
|
32891
33039
|
class: "filter-values"
|
|
32892
33040
|
};
|
|
32893
33041
|
const _hoisted_4$n = { class: "lupa-current-filter-list" };
|
|
32894
|
-
const _sfc_main$
|
|
33042
|
+
const _sfc_main$15 = /* @__PURE__ */ defineComponent({
|
|
32895
33043
|
__name: "CurrentFilters",
|
|
32896
33044
|
props: {
|
|
32897
33045
|
options: {},
|
|
@@ -32971,7 +33119,7 @@ and ensure you are accounting for this risk.
|
|
|
32971
33119
|
class: "lupa-current-filter-title",
|
|
32972
33120
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value)
|
|
32973
33121
|
}, [
|
|
32974
|
-
createBaseVNode("div", _hoisted_1$
|
|
33122
|
+
createBaseVNode("div", _hoisted_1$X, [
|
|
32975
33123
|
createTextVNode(toDisplayString((_c = (_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) != null ? _c : "") + " ", 1),
|
|
32976
33124
|
_ctx.expandable ? (openBlock(), createElementBlock("span", _hoisted_2$G, " (" + toDisplayString(unref(currentFilterCount)) + ") ", 1)) : createCommentVNode("", true)
|
|
32977
33125
|
]),
|
|
@@ -32983,7 +33131,7 @@ and ensure you are accounting for this risk.
|
|
|
32983
33131
|
!_ctx.expandable || isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_3$w, [
|
|
32984
33132
|
createBaseVNode("div", _hoisted_4$n, [
|
|
32985
33133
|
(openBlock(true), createElementBlock(Fragment, null, renderList(currentDisplayFilters.value, (filter) => {
|
|
32986
|
-
return openBlock(), createBlock(_sfc_main$
|
|
33134
|
+
return openBlock(), createBlock(_sfc_main$16, {
|
|
32987
33135
|
key: filter.key + "_" + filter.value,
|
|
32988
33136
|
filter,
|
|
32989
33137
|
units: units.value,
|
|
@@ -33001,8 +33149,8 @@ and ensure you are accounting for this risk.
|
|
|
33001
33149
|
};
|
|
33002
33150
|
}
|
|
33003
33151
|
});
|
|
33004
|
-
const _hoisted_1$
|
|
33005
|
-
const _sfc_main$
|
|
33152
|
+
const _hoisted_1$W = ["href"];
|
|
33153
|
+
const _sfc_main$14 = /* @__PURE__ */ defineComponent({
|
|
33006
33154
|
__name: "CategoryFilterItem",
|
|
33007
33155
|
props: {
|
|
33008
33156
|
options: {},
|
|
@@ -33039,12 +33187,12 @@ and ensure you are accounting for this risk.
|
|
|
33039
33187
|
"data-cy": "lupa-child-category-item",
|
|
33040
33188
|
href: urlLink.value,
|
|
33041
33189
|
onClick: handleNavigation
|
|
33042
|
-
}, toDisplayString(title.value), 9, _hoisted_1$
|
|
33190
|
+
}, toDisplayString(title.value), 9, _hoisted_1$W)
|
|
33043
33191
|
], 2);
|
|
33044
33192
|
};
|
|
33045
33193
|
}
|
|
33046
33194
|
});
|
|
33047
|
-
const _hoisted_1$
|
|
33195
|
+
const _hoisted_1$V = {
|
|
33048
33196
|
class: "lupa-category-filter",
|
|
33049
33197
|
"data-cy": "lupa-category-filter"
|
|
33050
33198
|
};
|
|
@@ -33052,7 +33200,7 @@ and ensure you are accounting for this risk.
|
|
|
33052
33200
|
const _hoisted_3$v = ["href"];
|
|
33053
33201
|
const _hoisted_4$m = ["href"];
|
|
33054
33202
|
const _hoisted_5$f = { class: "lupa-child-category-list" };
|
|
33055
|
-
const _sfc_main$
|
|
33203
|
+
const _sfc_main$13 = /* @__PURE__ */ defineComponent({
|
|
33056
33204
|
__name: "CategoryFilter",
|
|
33057
33205
|
props: {
|
|
33058
33206
|
options: {}
|
|
@@ -33140,7 +33288,7 @@ and ensure you are accounting for this risk.
|
|
|
33140
33288
|
};
|
|
33141
33289
|
__expose({ fetch: fetch2 });
|
|
33142
33290
|
return (_ctx, _cache) => {
|
|
33143
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
33291
|
+
return openBlock(), createElementBlock("div", _hoisted_1$V, [
|
|
33144
33292
|
createBaseVNode("div", _hoisted_2$F, [
|
|
33145
33293
|
hasBackButton.value ? (openBlock(), createElementBlock("a", {
|
|
33146
33294
|
key: 0,
|
|
@@ -33161,7 +33309,7 @@ and ensure you are accounting for this risk.
|
|
|
33161
33309
|
], 2),
|
|
33162
33310
|
createBaseVNode("div", _hoisted_5$f, [
|
|
33163
33311
|
(openBlock(true), createElementBlock(Fragment, null, renderList(categoryChildren.value, (child) => {
|
|
33164
|
-
return openBlock(), createBlock(_sfc_main$
|
|
33312
|
+
return openBlock(), createBlock(_sfc_main$14, {
|
|
33165
33313
|
key: getCategoryKey(child),
|
|
33166
33314
|
item: child,
|
|
33167
33315
|
options: _ctx.options
|
|
@@ -33172,7 +33320,7 @@ and ensure you are accounting for this risk.
|
|
|
33172
33320
|
};
|
|
33173
33321
|
}
|
|
33174
33322
|
});
|
|
33175
|
-
const _hoisted_1$
|
|
33323
|
+
const _hoisted_1$U = {
|
|
33176
33324
|
class: "lupa-search-result-facet-term-values",
|
|
33177
33325
|
"data-cy": "lupa-search-result-facet-term-values"
|
|
33178
33326
|
};
|
|
@@ -33187,7 +33335,7 @@ and ensure you are accounting for this risk.
|
|
|
33187
33335
|
};
|
|
33188
33336
|
const _hoisted_8$2 = { key: 0 };
|
|
33189
33337
|
const _hoisted_9$2 = { key: 1 };
|
|
33190
|
-
const _sfc_main$
|
|
33338
|
+
const _sfc_main$12 = /* @__PURE__ */ defineComponent({
|
|
33191
33339
|
__name: "TermFacet",
|
|
33192
33340
|
props: {
|
|
33193
33341
|
options: {},
|
|
@@ -33281,7 +33429,7 @@ and ensure you are accounting for this risk.
|
|
|
33281
33429
|
}
|
|
33282
33430
|
};
|
|
33283
33431
|
return (_ctx, _cache) => {
|
|
33284
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
33432
|
+
return openBlock(), createElementBlock("div", _hoisted_1$U, [
|
|
33285
33433
|
isFilterable.value ? withDirectives((openBlock(), createElementBlock("input", {
|
|
33286
33434
|
key: 0,
|
|
33287
33435
|
class: "lupa-term-filter",
|
|
@@ -34230,7 +34378,7 @@ and ensure you are accounting for this risk.
|
|
|
34230
34378
|
}
|
|
34231
34379
|
return out;
|
|
34232
34380
|
};
|
|
34233
|
-
const _hoisted_1$
|
|
34381
|
+
const _hoisted_1$T = { class: "lupa-search-result-facet-stats-values" };
|
|
34234
34382
|
const _hoisted_2$D = {
|
|
34235
34383
|
key: 0,
|
|
34236
34384
|
class: "lupa-stats-facet-summary"
|
|
@@ -34259,7 +34407,7 @@ and ensure you are accounting for this risk.
|
|
|
34259
34407
|
key: 2,
|
|
34260
34408
|
class: "lupa-stats-slider-wrapper"
|
|
34261
34409
|
};
|
|
34262
|
-
const _sfc_main$
|
|
34410
|
+
const _sfc_main$11 = /* @__PURE__ */ defineComponent({
|
|
34263
34411
|
__name: "StatsFacet",
|
|
34264
34412
|
props: {
|
|
34265
34413
|
options: {},
|
|
@@ -34478,7 +34626,7 @@ and ensure you are accounting for this risk.
|
|
|
34478
34626
|
}
|
|
34479
34627
|
);
|
|
34480
34628
|
return (_ctx, _cache) => {
|
|
34481
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34629
|
+
return openBlock(), createElementBlock("div", _hoisted_1$T, [
|
|
34482
34630
|
!isInputVisible.value ? (openBlock(), createElementBlock("div", _hoisted_2$D, toDisplayString(statsSummary.value), 1)) : (openBlock(), createElementBlock("div", _hoisted_3$t, [
|
|
34483
34631
|
createBaseVNode("div", _hoisted_4$k, [
|
|
34484
34632
|
rangeLabelFrom.value ? (openBlock(), createElementBlock("div", _hoisted_5$d, toDisplayString(rangeLabelFrom.value), 1)) : createCommentVNode("", true),
|
|
@@ -34543,7 +34691,7 @@ and ensure you are accounting for this risk.
|
|
|
34543
34691
|
};
|
|
34544
34692
|
}
|
|
34545
34693
|
});
|
|
34546
|
-
const _hoisted_1$
|
|
34694
|
+
const _hoisted_1$S = { class: "lupa-term-checkbox-wrapper" };
|
|
34547
34695
|
const _hoisted_2$C = { class: "lupa-term-label" };
|
|
34548
34696
|
const _hoisted_3$s = {
|
|
34549
34697
|
key: 0,
|
|
@@ -34553,7 +34701,7 @@ and ensure you are accounting for this risk.
|
|
|
34553
34701
|
key: 0,
|
|
34554
34702
|
class: "lupa-facet-level"
|
|
34555
34703
|
};
|
|
34556
|
-
const _sfc_main
|
|
34704
|
+
const _sfc_main$10 = /* @__PURE__ */ defineComponent({
|
|
34557
34705
|
__name: "HierarchyFacetLevel",
|
|
34558
34706
|
props: {
|
|
34559
34707
|
options: {},
|
|
@@ -34607,7 +34755,7 @@ and ensure you are accounting for this risk.
|
|
|
34607
34755
|
"data-cy": "lupa-facet-term",
|
|
34608
34756
|
onClick: _cache[0] || (_cache[0] = ($event) => handleFacetClick(_ctx.item))
|
|
34609
34757
|
}, [
|
|
34610
|
-
createBaseVNode("div", _hoisted_1$
|
|
34758
|
+
createBaseVNode("div", _hoisted_1$S, [
|
|
34611
34759
|
createBaseVNode("span", {
|
|
34612
34760
|
class: normalizeClass(["lupa-term-checkbox", { checked: isChecked.value }])
|
|
34613
34761
|
}, null, 2)
|
|
@@ -34635,13 +34783,13 @@ and ensure you are accounting for this risk.
|
|
|
34635
34783
|
};
|
|
34636
34784
|
}
|
|
34637
34785
|
});
|
|
34638
|
-
const _hoisted_1$
|
|
34786
|
+
const _hoisted_1$R = {
|
|
34639
34787
|
class: "lupa-search-result-facet-term-values lupa-search-result-facet-hierarchy-values",
|
|
34640
34788
|
"data-cy": "lupa-search-result-facet-term-values"
|
|
34641
34789
|
};
|
|
34642
34790
|
const _hoisted_2$B = { key: 0 };
|
|
34643
34791
|
const _hoisted_3$r = ["placeholder"];
|
|
34644
|
-
const _sfc_main
|
|
34792
|
+
const _sfc_main$$ = /* @__PURE__ */ defineComponent({
|
|
34645
34793
|
__name: "HierarchyFacet",
|
|
34646
34794
|
props: {
|
|
34647
34795
|
options: {},
|
|
@@ -34697,7 +34845,7 @@ and ensure you are accounting for this risk.
|
|
|
34697
34845
|
showAll.value = false;
|
|
34698
34846
|
};
|
|
34699
34847
|
return (_ctx, _cache) => {
|
|
34700
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
34848
|
+
return openBlock(), createElementBlock("div", _hoisted_1$R, [
|
|
34701
34849
|
isFilterable.value ? (openBlock(), createElementBlock("div", _hoisted_2$B, [
|
|
34702
34850
|
withDirectives(createBaseVNode("input", {
|
|
34703
34851
|
class: "lupa-term-filter",
|
|
@@ -34709,7 +34857,7 @@ and ensure you are accounting for this risk.
|
|
|
34709
34857
|
])
|
|
34710
34858
|
])) : createCommentVNode("", true),
|
|
34711
34859
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayValues.value, (item) => {
|
|
34712
|
-
return openBlock(), createBlock(_sfc_main
|
|
34860
|
+
return openBlock(), createBlock(_sfc_main$10, {
|
|
34713
34861
|
key: item.title,
|
|
34714
34862
|
options: _ctx.options,
|
|
34715
34863
|
item,
|
|
@@ -34733,7 +34881,7 @@ and ensure you are accounting for this risk.
|
|
|
34733
34881
|
};
|
|
34734
34882
|
}
|
|
34735
34883
|
});
|
|
34736
|
-
const _hoisted_1$
|
|
34884
|
+
const _hoisted_1$Q = { class: "lupa-facet-label-text" };
|
|
34737
34885
|
const _hoisted_2$A = {
|
|
34738
34886
|
key: 0,
|
|
34739
34887
|
class: "lupa-facet-content",
|
|
@@ -34741,12 +34889,12 @@ and ensure you are accounting for this risk.
|
|
|
34741
34889
|
};
|
|
34742
34890
|
const __default__$1 = {
|
|
34743
34891
|
components: {
|
|
34744
|
-
TermFacet: _sfc_main$
|
|
34745
|
-
StatsFacet: _sfc_main$
|
|
34746
|
-
HierarchyFacet: _sfc_main
|
|
34892
|
+
TermFacet: _sfc_main$12,
|
|
34893
|
+
StatsFacet: _sfc_main$11,
|
|
34894
|
+
HierarchyFacet: _sfc_main$$
|
|
34747
34895
|
}
|
|
34748
34896
|
};
|
|
34749
|
-
const _sfc_main$
|
|
34897
|
+
const _sfc_main$_ = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__$1), {
|
|
34750
34898
|
__name: "FacetDisplay",
|
|
34751
34899
|
props: {
|
|
34752
34900
|
options: {},
|
|
@@ -34893,7 +35041,7 @@ and ensure you are accounting for this risk.
|
|
|
34893
35041
|
"data-cy": "lupa-search-result-facet-label",
|
|
34894
35042
|
onClick: toggleFacet
|
|
34895
35043
|
}, [
|
|
34896
|
-
createBaseVNode("div", _hoisted_1$
|
|
35044
|
+
createBaseVNode("div", _hoisted_1$Q, toDisplayString(facetLabel.value), 1),
|
|
34897
35045
|
createBaseVNode("div", {
|
|
34898
35046
|
class: normalizeClass(["lupa-facet-label-caret", isOpen.value && "open"])
|
|
34899
35047
|
}, null, 2)
|
|
@@ -35011,11 +35159,11 @@ and ensure you are accounting for this risk.
|
|
|
35011
35159
|
handleSortSidebarToggle
|
|
35012
35160
|
};
|
|
35013
35161
|
};
|
|
35014
|
-
const _hoisted_1$
|
|
35162
|
+
const _hoisted_1$P = {
|
|
35015
35163
|
key: 0,
|
|
35016
35164
|
class: "lupa-desktop-toggle-filter-count"
|
|
35017
35165
|
};
|
|
35018
|
-
const _sfc_main$
|
|
35166
|
+
const _sfc_main$Z = /* @__PURE__ */ defineComponent({
|
|
35019
35167
|
__name: "DesktopFacetToggle",
|
|
35020
35168
|
setup(__props) {
|
|
35021
35169
|
const {
|
|
@@ -35037,12 +35185,12 @@ and ensure you are accounting for this risk.
|
|
|
35037
35185
|
(...args) => unref(handleFilterSidebarToggle) && unref(handleFilterSidebarToggle)(...args))
|
|
35038
35186
|
}, [
|
|
35039
35187
|
createTextVNode(toDisplayString(unref(label)) + " ", 1),
|
|
35040
|
-
unref(showMobileFilterCount) && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
35188
|
+
unref(showMobileFilterCount) && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$P, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
|
|
35041
35189
|
], 2);
|
|
35042
35190
|
};
|
|
35043
35191
|
}
|
|
35044
35192
|
});
|
|
35045
|
-
const _sfc_main$
|
|
35193
|
+
const _sfc_main$Y = /* @__PURE__ */ defineComponent({
|
|
35046
35194
|
__name: "DesktopSortToggle",
|
|
35047
35195
|
setup(__props) {
|
|
35048
35196
|
const { isSidebarVisible, sortLabel, sortToggleVisible, handleSortSidebarToggle } = useSidebarToggle();
|
|
@@ -35058,12 +35206,12 @@ and ensure you are accounting for this risk.
|
|
|
35058
35206
|
};
|
|
35059
35207
|
}
|
|
35060
35208
|
});
|
|
35061
|
-
const _hoisted_1$
|
|
35209
|
+
const _hoisted_1$O = { class: "lupa-search-result-facet-section" };
|
|
35062
35210
|
const _hoisted_2$z = {
|
|
35063
35211
|
key: 0,
|
|
35064
35212
|
class: "lupa-facets-title"
|
|
35065
35213
|
};
|
|
35066
|
-
const _sfc_main$
|
|
35214
|
+
const _sfc_main$X = /* @__PURE__ */ defineComponent({
|
|
35067
35215
|
__name: "FacetList",
|
|
35068
35216
|
props: {
|
|
35069
35217
|
options: {},
|
|
@@ -35105,14 +35253,14 @@ and ensure you are accounting for this risk.
|
|
|
35105
35253
|
};
|
|
35106
35254
|
return (_ctx, _cache) => {
|
|
35107
35255
|
var _a25;
|
|
35108
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35256
|
+
return openBlock(), createElementBlock("div", _hoisted_1$O, [
|
|
35109
35257
|
_ctx.options.labels.title ? (openBlock(), createElementBlock("div", _hoisted_2$z, toDisplayString(_ctx.options.labels.title), 1)) : createCommentVNode("", true),
|
|
35110
35258
|
createBaseVNode("div", {
|
|
35111
35259
|
class: normalizeClass(["lupa-search-result-facet-list", "lupa-" + ((_a25 = displayFacetStyle.value) != null ? _a25 : "")])
|
|
35112
35260
|
}, [
|
|
35113
35261
|
(openBlock(true), createElementBlock(Fragment, null, renderList(displayFacets.value, (facet) => {
|
|
35114
35262
|
var _a26;
|
|
35115
|
-
return openBlock(), createBlock(_sfc_main$
|
|
35263
|
+
return openBlock(), createBlock(_sfc_main$_, {
|
|
35116
35264
|
key: facet.key,
|
|
35117
35265
|
facet,
|
|
35118
35266
|
currentFilters: currentFiltersValue.value,
|
|
@@ -35124,14 +35272,14 @@ and ensure you are accounting for this risk.
|
|
|
35124
35272
|
onExpand: unref(handleFilterSidebarToggle)
|
|
35125
35273
|
}, null, 8, ["facet", "currentFilters", "options", "clearable", "current-facet-style", "onExpand"]);
|
|
35126
35274
|
}), 128)),
|
|
35127
|
-
_ctx.facetStyle === "drawer" ? (openBlock(), createBlock(_sfc_main$
|
|
35128
|
-
_ctx.facetStyle === "drawer" || _ctx.facetStyle === "top-dropdown" ? (openBlock(), createBlock(_sfc_main$
|
|
35275
|
+
_ctx.facetStyle === "drawer" ? (openBlock(), createBlock(_sfc_main$Z, { key: 0 })) : createCommentVNode("", true),
|
|
35276
|
+
_ctx.facetStyle === "drawer" || _ctx.facetStyle === "top-dropdown" ? (openBlock(), createBlock(_sfc_main$Y, { key: 1 })) : createCommentVNode("", true)
|
|
35129
35277
|
], 2)
|
|
35130
35278
|
]);
|
|
35131
35279
|
};
|
|
35132
35280
|
}
|
|
35133
35281
|
});
|
|
35134
|
-
const _sfc_main$
|
|
35282
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
35135
35283
|
__name: "FacetsButton",
|
|
35136
35284
|
props: {
|
|
35137
35285
|
options: {}
|
|
@@ -35156,7 +35304,7 @@ and ensure you are accounting for this risk.
|
|
|
35156
35304
|
};
|
|
35157
35305
|
}
|
|
35158
35306
|
});
|
|
35159
|
-
const _sfc_main$
|
|
35307
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
35160
35308
|
__name: "FacetsClearButton",
|
|
35161
35309
|
props: {
|
|
35162
35310
|
options: {}
|
|
@@ -35181,8 +35329,8 @@ and ensure you are accounting for this risk.
|
|
|
35181
35329
|
};
|
|
35182
35330
|
}
|
|
35183
35331
|
});
|
|
35184
|
-
const _hoisted_1$
|
|
35185
|
-
const _sfc_main$
|
|
35332
|
+
const _hoisted_1$N = { class: "lupa-facets-filter-button-wrapper" };
|
|
35333
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
35186
35334
|
__name: "Facets",
|
|
35187
35335
|
props: {
|
|
35188
35336
|
options: {},
|
|
@@ -35290,7 +35438,7 @@ and ensure you are accounting for this risk.
|
|
|
35290
35438
|
return openBlock(), createElementBlock("div", {
|
|
35291
35439
|
class: normalizeClass(["lupa-search-result-facets", { "lupa-search-result-facets-loading": unref(loadingFacets) }])
|
|
35292
35440
|
}, [
|
|
35293
|
-
regularFacets.value ? (openBlock(), createBlock(_sfc_main$
|
|
35441
|
+
regularFacets.value ? (openBlock(), createBlock(_sfc_main$X, {
|
|
35294
35442
|
key: 0,
|
|
35295
35443
|
options: _ctx.options,
|
|
35296
35444
|
facets: regularFacets.value,
|
|
@@ -35300,13 +35448,13 @@ and ensure you are accounting for this risk.
|
|
|
35300
35448
|
onSelect: handleFacetSelect,
|
|
35301
35449
|
onClear: clear
|
|
35302
35450
|
}, null, 8, ["options", "facets", "currentFilters", "facetStyle", "clearable"])) : createCommentVNode("", true),
|
|
35303
|
-
createBaseVNode("div", _hoisted_1$
|
|
35304
|
-
showFilterButton.value ? (openBlock(), createBlock(_sfc_main$
|
|
35451
|
+
createBaseVNode("div", _hoisted_1$N, [
|
|
35452
|
+
showFilterButton.value ? (openBlock(), createBlock(_sfc_main$V, {
|
|
35305
35453
|
key: 0,
|
|
35306
35454
|
options: _ctx.options,
|
|
35307
35455
|
onClear: clearAll
|
|
35308
35456
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
35309
|
-
showFilterButton.value ? (openBlock(), createBlock(_sfc_main$
|
|
35457
|
+
showFilterButton.value ? (openBlock(), createBlock(_sfc_main$W, {
|
|
35310
35458
|
key: 1,
|
|
35311
35459
|
options: _ctx.options,
|
|
35312
35460
|
onFilter: filter
|
|
@@ -35316,12 +35464,12 @@ and ensure you are accounting for this risk.
|
|
|
35316
35464
|
};
|
|
35317
35465
|
}
|
|
35318
35466
|
});
|
|
35319
|
-
const _hoisted_1$
|
|
35467
|
+
const _hoisted_1$M = {
|
|
35320
35468
|
key: 0,
|
|
35321
35469
|
id: "lupa-search-result-filters",
|
|
35322
35470
|
class: "lupa-search-result-filters"
|
|
35323
35471
|
};
|
|
35324
|
-
const _sfc_main$
|
|
35472
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
35325
35473
|
__name: "SearchResultsFilters",
|
|
35326
35474
|
props: {
|
|
35327
35475
|
options: {},
|
|
@@ -35331,6 +35479,7 @@ and ensure you are accounting for this risk.
|
|
|
35331
35479
|
emits: ["filter"],
|
|
35332
35480
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
35333
35481
|
const categoryFilters = ref(null);
|
|
35482
|
+
const { facetSkeletonEnabled, loadingFacets } = useLoadingSkeleton();
|
|
35334
35483
|
const props = __props;
|
|
35335
35484
|
const emit2 = __emit;
|
|
35336
35485
|
const desktopFiltersVisible = computed(() => {
|
|
@@ -35359,30 +35508,42 @@ and ensure you are accounting for this risk.
|
|
|
35359
35508
|
};
|
|
35360
35509
|
__expose({ fetch: fetch2 });
|
|
35361
35510
|
return (_ctx, _cache) => {
|
|
35362
|
-
|
|
35363
|
-
|
|
35364
|
-
|
|
35365
|
-
|
|
35366
|
-
|
|
35367
|
-
|
|
35368
|
-
},
|
|
35369
|
-
|
|
35370
|
-
|
|
35371
|
-
|
|
35372
|
-
|
|
35373
|
-
|
|
35374
|
-
|
|
35375
|
-
|
|
35376
|
-
|
|
35377
|
-
|
|
35378
|
-
|
|
35379
|
-
|
|
35380
|
-
|
|
35511
|
+
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$M, [
|
|
35512
|
+
createVNode(_sfc_main$18, {
|
|
35513
|
+
class: "lupa-skeleton-filters",
|
|
35514
|
+
count: 1,
|
|
35515
|
+
enabled: unref(facetSkeletonEnabled),
|
|
35516
|
+
loading: unref(loadingFacets)
|
|
35517
|
+
}, {
|
|
35518
|
+
default: withCtx(() => {
|
|
35519
|
+
var _a25;
|
|
35520
|
+
return [
|
|
35521
|
+
showCurrentFilters.value ? (openBlock(), createBlock(_sfc_main$15, {
|
|
35522
|
+
key: 0,
|
|
35523
|
+
options: _ctx.options.currentFilters,
|
|
35524
|
+
expandable: (_a25 = _ctx.expandable) != null ? _a25 : false
|
|
35525
|
+
}, null, 8, ["options", "expandable"])) : createCommentVNode("", true),
|
|
35526
|
+
_ctx.options.categories ? (openBlock(), createBlock(_sfc_main$13, {
|
|
35527
|
+
key: 1,
|
|
35528
|
+
options: _ctx.options.categories,
|
|
35529
|
+
ref_key: "categoryFilters",
|
|
35530
|
+
ref: categoryFilters
|
|
35531
|
+
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
35532
|
+
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$U, {
|
|
35533
|
+
key: 2,
|
|
35534
|
+
options: _ctx.options.facets,
|
|
35535
|
+
"facet-style": _ctx.style,
|
|
35536
|
+
onFilter: filter
|
|
35537
|
+
}, null, 8, ["options", "facet-style"])) : createCommentVNode("", true)
|
|
35538
|
+
];
|
|
35539
|
+
}),
|
|
35540
|
+
_: 1
|
|
35541
|
+
}, 8, ["enabled", "loading"])
|
|
35381
35542
|
])) : createCommentVNode("", true);
|
|
35382
35543
|
};
|
|
35383
35544
|
}
|
|
35384
35545
|
});
|
|
35385
|
-
const _hoisted_1$
|
|
35546
|
+
const _hoisted_1$L = { class: "lupa-mobile-sidebar-content" };
|
|
35386
35547
|
const _hoisted_2$y = { class: "lupa-sidebar-top" };
|
|
35387
35548
|
const _hoisted_3$q = { class: "lupa-sidebar-title" };
|
|
35388
35549
|
const _hoisted_4$i = {
|
|
@@ -35390,7 +35551,7 @@ and ensure you are accounting for this risk.
|
|
|
35390
35551
|
class: "lupa-sidebar-filter-count"
|
|
35391
35552
|
};
|
|
35392
35553
|
const _hoisted_5$c = { class: "lupa-sidebar-filter-options" };
|
|
35393
|
-
const _sfc_main$
|
|
35554
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
35394
35555
|
__name: "MobileFilterSidebar",
|
|
35395
35556
|
props: {
|
|
35396
35557
|
options: {}
|
|
@@ -35429,7 +35590,7 @@ and ensure you are accounting for this risk.
|
|
|
35429
35590
|
class: "lupa-sidebar-close",
|
|
35430
35591
|
onClick: withModifiers(handleMobileToggle, ["stop"])
|
|
35431
35592
|
}),
|
|
35432
|
-
createBaseVNode("div", _hoisted_1$
|
|
35593
|
+
createBaseVNode("div", _hoisted_1$L, [
|
|
35433
35594
|
createBaseVNode("div", _hoisted_2$y, [
|
|
35434
35595
|
createBaseVNode("div", _hoisted_3$q, [
|
|
35435
35596
|
createTextVNode(toDisplayString(sidebarTitle.value) + " ", 1),
|
|
@@ -35441,7 +35602,7 @@ and ensure you are accounting for this risk.
|
|
|
35441
35602
|
})
|
|
35442
35603
|
]),
|
|
35443
35604
|
createBaseVNode("div", _hoisted_5$c, [
|
|
35444
|
-
createVNode(_sfc_main$
|
|
35605
|
+
createVNode(_sfc_main$T, {
|
|
35445
35606
|
options: _ctx.options,
|
|
35446
35607
|
expandable: isActiveFiltersExpanded.value,
|
|
35447
35608
|
style: "sidebar",
|
|
@@ -35453,14 +35614,17 @@ and ensure you are accounting for this risk.
|
|
|
35453
35614
|
};
|
|
35454
35615
|
}
|
|
35455
35616
|
});
|
|
35456
|
-
const _hoisted_1$
|
|
35617
|
+
const _hoisted_1$K = {
|
|
35618
|
+
key: 0,
|
|
35619
|
+
id: "lupa-search-results-breadcrumbs"
|
|
35620
|
+
};
|
|
35457
35621
|
const _hoisted_2$x = ["href", "onClick"];
|
|
35458
35622
|
const _hoisted_3$p = {
|
|
35459
35623
|
key: 1,
|
|
35460
35624
|
class: "lupa-search-results-breadcrumb-text"
|
|
35461
35625
|
};
|
|
35462
35626
|
const _hoisted_4$h = { key: 2 };
|
|
35463
|
-
const _sfc_main$
|
|
35627
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
35464
35628
|
__name: "SearchResultsBreadcrumbs",
|
|
35465
35629
|
props: {
|
|
35466
35630
|
breadcrumbs: {}
|
|
@@ -35478,6 +35642,10 @@ and ensure you are accounting for this risk.
|
|
|
35478
35642
|
const hasEventRouting = computed(() => {
|
|
35479
35643
|
return searchResultOptions.value.routingBehavior === "event";
|
|
35480
35644
|
});
|
|
35645
|
+
const hasBreadcrumbs = computed(() => {
|
|
35646
|
+
var _a25;
|
|
35647
|
+
return ((_a25 = breadcrumbsValue.value) == null ? void 0 : _a25.length) > 0;
|
|
35648
|
+
});
|
|
35481
35649
|
const getLabel = (label) => {
|
|
35482
35650
|
return addParamsToLabel(label, `'${currentQueryText.value}'`);
|
|
35483
35651
|
};
|
|
@@ -35485,7 +35653,7 @@ and ensure you are accounting for this risk.
|
|
|
35485
35653
|
handleRoutingEvent(link, event, hasEventRouting.value);
|
|
35486
35654
|
};
|
|
35487
35655
|
return (_ctx, _cache) => {
|
|
35488
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35656
|
+
return hasBreadcrumbs.value ? (openBlock(), createElementBlock("div", _hoisted_1$K, [
|
|
35489
35657
|
(openBlock(true), createElementBlock(Fragment, null, renderList(breadcrumbsValue.value, (breadcrumb, index) => {
|
|
35490
35658
|
var _a25;
|
|
35491
35659
|
return openBlock(), createElementBlock("span", {
|
|
@@ -35504,16 +35672,16 @@ and ensure you are accounting for this risk.
|
|
|
35504
35672
|
index < breadcrumbsValue.value.length - 1 ? (openBlock(), createElementBlock("span", _hoisted_4$h, toDisplayString((_a25 = breadcrumb.separator) != null ? _a25 : "/"), 1)) : createCommentVNode("", true)
|
|
35505
35673
|
]);
|
|
35506
35674
|
}), 128))
|
|
35507
|
-
]);
|
|
35675
|
+
])) : createCommentVNode("", true);
|
|
35508
35676
|
};
|
|
35509
35677
|
}
|
|
35510
35678
|
});
|
|
35511
|
-
const _hoisted_1$
|
|
35679
|
+
const _hoisted_1$J = {
|
|
35512
35680
|
key: 0,
|
|
35513
35681
|
id: "lupa-search-result-filters",
|
|
35514
35682
|
class: "lupa-search-result-filters lupa-search-result-top-filters"
|
|
35515
35683
|
};
|
|
35516
|
-
const _sfc_main$
|
|
35684
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
35517
35685
|
__name: "FiltersTopDropdown",
|
|
35518
35686
|
props: {
|
|
35519
35687
|
options: {}
|
|
@@ -35521,6 +35689,7 @@ and ensure you are accounting for this risk.
|
|
|
35521
35689
|
emits: ["filter"],
|
|
35522
35690
|
setup(__props, { emit: __emit }) {
|
|
35523
35691
|
const props = __props;
|
|
35692
|
+
const { facetSkeletonEnabled, loadingFacets } = useLoadingSkeleton();
|
|
35524
35693
|
const emit2 = __emit;
|
|
35525
35694
|
const filter = () => {
|
|
35526
35695
|
emit2("filter");
|
|
@@ -35530,21 +35699,33 @@ and ensure you are accounting for this risk.
|
|
|
35530
35699
|
return (_a25 = props.options.visible) != null ? _a25 : true;
|
|
35531
35700
|
});
|
|
35532
35701
|
return (_ctx, _cache) => {
|
|
35533
|
-
|
|
35534
|
-
|
|
35535
|
-
|
|
35536
|
-
|
|
35537
|
-
|
|
35538
|
-
|
|
35539
|
-
|
|
35540
|
-
|
|
35541
|
-
|
|
35702
|
+
return visible.value ? (openBlock(), createElementBlock("div", _hoisted_1$J, [
|
|
35703
|
+
createVNode(_sfc_main$18, {
|
|
35704
|
+
class: "lupa-skeleton-top-dropdown-filters",
|
|
35705
|
+
count: 1,
|
|
35706
|
+
enabled: unref(facetSkeletonEnabled),
|
|
35707
|
+
loading: unref(loadingFacets)
|
|
35708
|
+
}, {
|
|
35709
|
+
default: withCtx(() => {
|
|
35710
|
+
var _a25;
|
|
35711
|
+
return [
|
|
35712
|
+
_ctx.options.facets ? (openBlock(), createBlock(_sfc_main$U, {
|
|
35713
|
+
key: 0,
|
|
35714
|
+
options: _ctx.options.facets,
|
|
35715
|
+
"facet-style": (_a25 = _ctx.options.facets.style) == null ? void 0 : _a25.type,
|
|
35716
|
+
clearable: true,
|
|
35717
|
+
onFilter: filter
|
|
35718
|
+
}, null, 8, ["options", "facet-style"])) : createCommentVNode("", true)
|
|
35719
|
+
];
|
|
35720
|
+
}),
|
|
35721
|
+
_: 1
|
|
35722
|
+
}, 8, ["enabled", "loading"])
|
|
35542
35723
|
])) : createCommentVNode("", true);
|
|
35543
35724
|
};
|
|
35544
35725
|
}
|
|
35545
35726
|
});
|
|
35546
|
-
const _hoisted_1$
|
|
35547
|
-
const _sfc_main$
|
|
35727
|
+
const _hoisted_1$I = { id: "lupa-search-results-layout-selection" };
|
|
35728
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
35548
35729
|
__name: "SearchResultsLayoutSelection",
|
|
35549
35730
|
setup(__props) {
|
|
35550
35731
|
const searchResultStore = useSearchResultStore();
|
|
@@ -35555,7 +35736,7 @@ and ensure you are accounting for this risk.
|
|
|
35555
35736
|
searchResultStore.setLayout(layout2);
|
|
35556
35737
|
};
|
|
35557
35738
|
return (_ctx, _cache) => {
|
|
35558
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
35739
|
+
return openBlock(), createElementBlock("div", _hoisted_1$I, [
|
|
35559
35740
|
createBaseVNode("div", {
|
|
35560
35741
|
class: normalizeClass([
|
|
35561
35742
|
"lupa-layout-selection-grid",
|
|
@@ -35577,11 +35758,11 @@ and ensure you are accounting for this risk.
|
|
|
35577
35758
|
};
|
|
35578
35759
|
}
|
|
35579
35760
|
});
|
|
35580
|
-
const _hoisted_1$
|
|
35761
|
+
const _hoisted_1$H = {
|
|
35581
35762
|
key: 0,
|
|
35582
35763
|
class: "lupa-mobile-toggle-filter-count"
|
|
35583
35764
|
};
|
|
35584
|
-
const _sfc_main$
|
|
35765
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
35585
35766
|
__name: "SearchResultsMobileToggle",
|
|
35586
35767
|
setup(__props) {
|
|
35587
35768
|
const {
|
|
@@ -35603,12 +35784,12 @@ and ensure you are accounting for this risk.
|
|
|
35603
35784
|
(...args) => unref(handleFilterSidebarToggle) && unref(handleFilterSidebarToggle)(...args))
|
|
35604
35785
|
}, [
|
|
35605
35786
|
createTextVNode(toDisplayString(unref(label)) + " ", 1),
|
|
35606
|
-
unref(showMobileFilterCount) && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$
|
|
35787
|
+
unref(showMobileFilterCount) && unref(currentFilterCount) > 0 ? (openBlock(), createElementBlock("span", _hoisted_1$H, toDisplayString(unref(currentFilterCount)), 1)) : createCommentVNode("", true)
|
|
35607
35788
|
], 2);
|
|
35608
35789
|
};
|
|
35609
35790
|
}
|
|
35610
35791
|
});
|
|
35611
|
-
const _sfc_main$
|
|
35792
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
35612
35793
|
__name: "SearchResultsMobileFilterClose",
|
|
35613
35794
|
props: {
|
|
35614
35795
|
label: {}
|
|
@@ -35628,7 +35809,7 @@ and ensure you are accounting for this risk.
|
|
|
35628
35809
|
};
|
|
35629
35810
|
}
|
|
35630
35811
|
});
|
|
35631
|
-
const _hoisted_1$
|
|
35812
|
+
const _hoisted_1$G = {
|
|
35632
35813
|
key: 0,
|
|
35633
35814
|
id: "lupa-search-results-page-select",
|
|
35634
35815
|
"data-cy": "lupa-search-results-page-select"
|
|
@@ -35641,7 +35822,7 @@ and ensure you are accounting for this risk.
|
|
|
35641
35822
|
key: 0,
|
|
35642
35823
|
class: "lupa-page-number-separator"
|
|
35643
35824
|
};
|
|
35644
|
-
const _sfc_main$
|
|
35825
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
35645
35826
|
__name: "SearchResultsPageSelect",
|
|
35646
35827
|
props: {
|
|
35647
35828
|
lastPageLabel: {},
|
|
@@ -35736,7 +35917,7 @@ and ensure you are accounting for this risk.
|
|
|
35736
35917
|
};
|
|
35737
35918
|
return (_ctx, _cache) => {
|
|
35738
35919
|
var _a25;
|
|
35739
|
-
return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
35920
|
+
return showPagination.value ? (openBlock(), createElementBlock("div", _hoisted_1$G, [
|
|
35740
35921
|
showBack.value ? (openBlock(), createBlock(resolveDynamicComponent(tagName.value), {
|
|
35741
35922
|
key: 0,
|
|
35742
35923
|
class: normalizeClass(firstPageLabel.value === "<" ? "lupa-page-arrow" : "lupa-show-less"),
|
|
@@ -35811,7 +35992,7 @@ and ensure you are accounting for this risk.
|
|
|
35811
35992
|
};
|
|
35812
35993
|
}
|
|
35813
35994
|
});
|
|
35814
|
-
const _hoisted_1$
|
|
35995
|
+
const _hoisted_1$F = {
|
|
35815
35996
|
id: "lupa-search-results-page-size",
|
|
35816
35997
|
"data-cy": "lupa-search-results-page-size"
|
|
35817
35998
|
};
|
|
@@ -35822,7 +36003,7 @@ and ensure you are accounting for this risk.
|
|
|
35822
36003
|
};
|
|
35823
36004
|
const _hoisted_4$g = ["value", "aria-label"];
|
|
35824
36005
|
const _hoisted_5$b = ["value"];
|
|
35825
|
-
const _sfc_main$
|
|
36006
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
35826
36007
|
__name: "SearchResultsPageSize",
|
|
35827
36008
|
props: {
|
|
35828
36009
|
labels: {},
|
|
@@ -35853,7 +36034,7 @@ and ensure you are accounting for this risk.
|
|
|
35853
36034
|
};
|
|
35854
36035
|
return (_ctx, _cache) => {
|
|
35855
36036
|
var _a25, _b25, _c;
|
|
35856
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36037
|
+
return openBlock(), createElementBlock("div", _hoisted_1$F, [
|
|
35857
36038
|
createBaseVNode("div", _hoisted_2$v, [
|
|
35858
36039
|
createBaseVNode("label", _hoisted_3$n, toDisplayString(label.value), 1),
|
|
35859
36040
|
createBaseVNode("select", {
|
|
@@ -35945,7 +36126,7 @@ and ensure you are accounting for this risk.
|
|
|
35945
36126
|
setSortValue
|
|
35946
36127
|
};
|
|
35947
36128
|
};
|
|
35948
|
-
const _hoisted_1$
|
|
36129
|
+
const _hoisted_1$E = {
|
|
35949
36130
|
key: 0,
|
|
35950
36131
|
id: "lupa-search-results-sort",
|
|
35951
36132
|
class: "lupa-search-results-sort"
|
|
@@ -35957,7 +36138,7 @@ and ensure you are accounting for this risk.
|
|
|
35957
36138
|
};
|
|
35958
36139
|
const _hoisted_4$f = ["aria-label"];
|
|
35959
36140
|
const _hoisted_5$a = ["value"];
|
|
35960
|
-
const _sfc_main$
|
|
36141
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
35961
36142
|
__name: "SearchResultsSort",
|
|
35962
36143
|
setup(__props) {
|
|
35963
36144
|
const {
|
|
@@ -35978,7 +36159,7 @@ and ensure you are accounting for this risk.
|
|
|
35978
36159
|
});
|
|
35979
36160
|
return (_ctx, _cache) => {
|
|
35980
36161
|
var _a25, _b25;
|
|
35981
|
-
return showDefaultSort.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
36162
|
+
return showDefaultSort.value ? (openBlock(), createElementBlock("div", _hoisted_1$E, [
|
|
35982
36163
|
createBaseVNode("div", _hoisted_2$u, [
|
|
35983
36164
|
createBaseVNode("label", _hoisted_3$m, toDisplayString(unref(sotyByTitleLabel)), 1),
|
|
35984
36165
|
withDirectives(createBaseVNode("select", {
|
|
@@ -36005,7 +36186,7 @@ and ensure you are accounting for this risk.
|
|
|
36005
36186
|
};
|
|
36006
36187
|
}
|
|
36007
36188
|
});
|
|
36008
|
-
const _sfc_main$
|
|
36189
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
36009
36190
|
__name: "SearchResultsSortDrawerToggle",
|
|
36010
36191
|
setup(__props) {
|
|
36011
36192
|
const { isSidebarVisible, sortLabel, sortToggleVisible, handleSortSidebarToggle } = useSidebarToggle();
|
|
@@ -36021,7 +36202,7 @@ and ensure you are accounting for this risk.
|
|
|
36021
36202
|
};
|
|
36022
36203
|
}
|
|
36023
36204
|
});
|
|
36024
|
-
const _hoisted_1$
|
|
36205
|
+
const _hoisted_1$D = { class: "lupa-toolbar-left" };
|
|
36025
36206
|
const _hoisted_2$t = {
|
|
36026
36207
|
key: 0,
|
|
36027
36208
|
class: "lupa-toolbar-right-title"
|
|
@@ -36036,7 +36217,7 @@ and ensure you are accounting for this risk.
|
|
|
36036
36217
|
};
|
|
36037
36218
|
const _hoisted_8 = { key: 2 };
|
|
36038
36219
|
const _hoisted_9 = { key: 4 };
|
|
36039
|
-
const _sfc_main$
|
|
36220
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
36040
36221
|
__name: "SearchResultsToolbar",
|
|
36041
36222
|
props: {
|
|
36042
36223
|
options: {},
|
|
@@ -36149,16 +36330,16 @@ and ensure you are accounting for this risk.
|
|
|
36149
36330
|
id: "lupa-search-results-toolbar",
|
|
36150
36331
|
class: normalizeClass({ "lupa-filter-no-results": !hasResults.value })
|
|
36151
36332
|
}, [
|
|
36152
|
-
createBaseVNode("div", _hoisted_1$
|
|
36333
|
+
createBaseVNode("div", _hoisted_1$D, [
|
|
36153
36334
|
toolbarLeftLabel.value ? (openBlock(), createElementBlock("div", _hoisted_2$t, toDisplayString(toolbarLeftLabel.value), 1)) : createCommentVNode("", true),
|
|
36154
|
-
showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$
|
|
36155
|
-
showItemSummary.value ? (openBlock(), createBlock(_sfc_main$
|
|
36335
|
+
showLayoutSelection.value ? (openBlock(), createBlock(_sfc_main$P, { key: 1 })) : (openBlock(), createElementBlock("div", _hoisted_3$l)),
|
|
36336
|
+
showItemSummary.value ? (openBlock(), createBlock(_sfc_main$1b, {
|
|
36156
36337
|
key: 3,
|
|
36157
36338
|
label: searchSummaryLabel.value,
|
|
36158
36339
|
clearable: unref(hasAnyFilter) && showFilterClear.value,
|
|
36159
36340
|
onClear: handleClearAll
|
|
36160
36341
|
}, null, 8, ["label", "clearable"])) : (openBlock(), createElementBlock("div", _hoisted_4$e)),
|
|
36161
|
-
displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$
|
|
36342
|
+
displayPageSelect.value ? (openBlock(), createBlock(_sfc_main$M, {
|
|
36162
36343
|
key: 5,
|
|
36163
36344
|
options: paginationOptions.value.pageSelect,
|
|
36164
36345
|
"last-page-label": paginationOptions.value.labels.showMore,
|
|
@@ -36167,19 +36348,19 @@ and ensure you are accounting for this risk.
|
|
|
36167
36348
|
]),
|
|
36168
36349
|
createBaseVNode("div", _hoisted_6$4, [
|
|
36169
36350
|
toolbarRightLabel.value ? (openBlock(), createElementBlock("div", _hoisted_7$2, toDisplayString(toolbarRightLabel.value), 1)) : createCommentVNode("", true),
|
|
36170
|
-
createVNode(_sfc_main$
|
|
36171
|
-
createVNode(_sfc_main$
|
|
36172
|
-
paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$
|
|
36351
|
+
createVNode(_sfc_main$O),
|
|
36352
|
+
createVNode(_sfc_main$J),
|
|
36353
|
+
paginationDisplay.value.pageSize ? (openBlock(), createBlock(_sfc_main$L, {
|
|
36173
36354
|
key: 1,
|
|
36174
36355
|
options: paginationOptions.value.pageSize,
|
|
36175
36356
|
labels: paginationOptions.value.labels
|
|
36176
36357
|
}, null, 8, ["options", "labels"])) : (openBlock(), createElementBlock("div", _hoisted_8)),
|
|
36177
|
-
sortOptions.value ? (openBlock(), createBlock(_sfc_main$
|
|
36358
|
+
sortOptions.value ? (openBlock(), createBlock(_sfc_main$K, {
|
|
36178
36359
|
key: 3,
|
|
36179
36360
|
options: sortOptions.value,
|
|
36180
36361
|
callbacks: callbacks.value
|
|
36181
36362
|
}, null, 8, ["options", "callbacks"])) : (openBlock(), createElementBlock("div", _hoisted_9)),
|
|
36182
|
-
showFiltersCloseButton.value && unref(isFilterSidebarVisible) ? (openBlock(), createBlock(_sfc_main$
|
|
36363
|
+
showFiltersCloseButton.value && unref(isFilterSidebarVisible) ? (openBlock(), createBlock(_sfc_main$N, {
|
|
36183
36364
|
key: 5,
|
|
36184
36365
|
label: optionsValue.value.labels.mobileFilterCloseButton
|
|
36185
36366
|
}, null, 8, ["label"])) : createCommentVNode("", true)
|
|
@@ -36188,7 +36369,7 @@ and ensure you are accounting for this risk.
|
|
|
36188
36369
|
};
|
|
36189
36370
|
}
|
|
36190
36371
|
});
|
|
36191
|
-
const _sfc_main$
|
|
36372
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
36192
36373
|
__name: "SearchResultsProductImage",
|
|
36193
36374
|
props: {
|
|
36194
36375
|
item: {},
|
|
@@ -36196,7 +36377,7 @@ and ensure you are accounting for this risk.
|
|
|
36196
36377
|
},
|
|
36197
36378
|
setup(__props) {
|
|
36198
36379
|
return (_ctx, _cache) => {
|
|
36199
|
-
return openBlock(), createBlock(_sfc_main$
|
|
36380
|
+
return openBlock(), createBlock(_sfc_main$1A, {
|
|
36200
36381
|
item: _ctx.item,
|
|
36201
36382
|
options: _ctx.options,
|
|
36202
36383
|
"wrapper-class": "lupa-search-results-image-wrapper",
|
|
@@ -36205,7 +36386,7 @@ and ensure you are accounting for this risk.
|
|
|
36205
36386
|
};
|
|
36206
36387
|
}
|
|
36207
36388
|
});
|
|
36208
|
-
const _hoisted_1$
|
|
36389
|
+
const _hoisted_1$C = ["title", "innerHTML"];
|
|
36209
36390
|
const _hoisted_2$s = ["title"];
|
|
36210
36391
|
const _hoisted_3$k = ["href", "innerHTML"];
|
|
36211
36392
|
const _hoisted_4$d = ["title"];
|
|
@@ -36214,7 +36395,7 @@ and ensure you are accounting for this risk.
|
|
|
36214
36395
|
class: "lupa-search-results-product-title-text"
|
|
36215
36396
|
};
|
|
36216
36397
|
const _hoisted_6$3 = ["href"];
|
|
36217
|
-
const _sfc_main$
|
|
36398
|
+
const _sfc_main$G = /* @__PURE__ */ defineComponent({
|
|
36218
36399
|
__name: "SearchResultsProductTitle",
|
|
36219
36400
|
props: {
|
|
36220
36401
|
item: {},
|
|
@@ -36251,7 +36432,7 @@ and ensure you are accounting for this risk.
|
|
|
36251
36432
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
36252
36433
|
title: sanitizedTitle.value,
|
|
36253
36434
|
innerHTML: sanitizedTitle.value
|
|
36254
|
-
}, null, 12, _hoisted_1$
|
|
36435
|
+
}, null, 12, _hoisted_1$C)) : isHtml.value && _ctx.options.link ? (openBlock(), createElementBlock("div", {
|
|
36255
36436
|
key: 1,
|
|
36256
36437
|
class: "lupa-search-results-product-title",
|
|
36257
36438
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
@@ -36280,8 +36461,8 @@ and ensure you are accounting for this risk.
|
|
|
36280
36461
|
};
|
|
36281
36462
|
}
|
|
36282
36463
|
});
|
|
36283
|
-
const _hoisted_1$
|
|
36284
|
-
const _sfc_main$
|
|
36464
|
+
const _hoisted_1$B = ["innerHTML"];
|
|
36465
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
36285
36466
|
__name: "SearchResultsProductDescription",
|
|
36286
36467
|
props: {
|
|
36287
36468
|
item: {},
|
|
@@ -36308,7 +36489,7 @@ and ensure you are accounting for this risk.
|
|
|
36308
36489
|
class: "lupa-search-results-product-description",
|
|
36309
36490
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`),
|
|
36310
36491
|
innerHTML: sanitizedDescription.value
|
|
36311
|
-
}, null, 12, _hoisted_1$
|
|
36492
|
+
}, null, 12, _hoisted_1$B)) : (openBlock(), createElementBlock("div", {
|
|
36312
36493
|
key: 1,
|
|
36313
36494
|
class: "lupa-search-results-product-description",
|
|
36314
36495
|
style: normalizeStyle(`-webkit-line-clamp: ${maxLines.value}`)
|
|
@@ -36316,7 +36497,7 @@ and ensure you are accounting for this risk.
|
|
|
36316
36497
|
};
|
|
36317
36498
|
}
|
|
36318
36499
|
});
|
|
36319
|
-
const _hoisted_1$
|
|
36500
|
+
const _hoisted_1$A = { id: "lupa-search-results-rating" };
|
|
36320
36501
|
const _hoisted_2$r = { class: "lupa-ratings" };
|
|
36321
36502
|
const _hoisted_3$j = { class: "lupa-ratings-base" };
|
|
36322
36503
|
const _hoisted_4$c = ["innerHTML"];
|
|
@@ -36324,7 +36505,7 @@ and ensure you are accounting for this risk.
|
|
|
36324
36505
|
const _hoisted_6$2 = ["innerHTML"];
|
|
36325
36506
|
const _hoisted_7$1 = ["href"];
|
|
36326
36507
|
const STAR_COUNT = 5;
|
|
36327
|
-
const _sfc_main$
|
|
36508
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
36328
36509
|
__name: "SearchResultsProductRating",
|
|
36329
36510
|
props: {
|
|
36330
36511
|
item: {},
|
|
@@ -36361,7 +36542,7 @@ and ensure you are accounting for this risk.
|
|
|
36361
36542
|
return generateLink(props.options.links.ratingDetails, props.item);
|
|
36362
36543
|
});
|
|
36363
36544
|
return (_ctx, _cache) => {
|
|
36364
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36545
|
+
return openBlock(), createElementBlock("div", _hoisted_1$A, [
|
|
36365
36546
|
createBaseVNode("div", _hoisted_2$r, [
|
|
36366
36547
|
createBaseVNode("div", _hoisted_3$j, [
|
|
36367
36548
|
(openBlock(true), createElementBlock(Fragment, null, renderList(baseStars.value, (star, index) => {
|
|
@@ -36395,11 +36576,11 @@ and ensure you are accounting for this risk.
|
|
|
36395
36576
|
};
|
|
36396
36577
|
}
|
|
36397
36578
|
});
|
|
36398
|
-
const _hoisted_1$
|
|
36579
|
+
const _hoisted_1$z = {
|
|
36399
36580
|
class: "lupa-search-results-product-regular-price",
|
|
36400
36581
|
"data-cy": "lupa-search-results-product-regular-price"
|
|
36401
36582
|
};
|
|
36402
|
-
const _sfc_main$
|
|
36583
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
36403
36584
|
__name: "SearchResultsProductRegularPrice",
|
|
36404
36585
|
props: {
|
|
36405
36586
|
item: {},
|
|
@@ -36421,11 +36602,11 @@ and ensure you are accounting for this risk.
|
|
|
36421
36602
|
);
|
|
36422
36603
|
});
|
|
36423
36604
|
return (_ctx, _cache) => {
|
|
36424
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36605
|
+
return openBlock(), createElementBlock("div", _hoisted_1$z, toDisplayString(price.value), 1);
|
|
36425
36606
|
};
|
|
36426
36607
|
}
|
|
36427
36608
|
});
|
|
36428
|
-
const _sfc_main$
|
|
36609
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
36429
36610
|
__name: "SearchResultsProductPrice",
|
|
36430
36611
|
props: {
|
|
36431
36612
|
item: {},
|
|
@@ -36459,12 +36640,12 @@ and ensure you are accounting for this risk.
|
|
|
36459
36640
|
};
|
|
36460
36641
|
}
|
|
36461
36642
|
});
|
|
36462
|
-
const _hoisted_1$
|
|
36643
|
+
const _hoisted_1$y = { class: "lupa-search-results-add-to-cart-wrapper" };
|
|
36463
36644
|
const _hoisted_2$q = { class: "lupa-search-results-product-addtocart" };
|
|
36464
36645
|
const _hoisted_3$i = ["disabled"];
|
|
36465
36646
|
const _hoisted_4$b = ["href"];
|
|
36466
36647
|
const _hoisted_5$6 = ["id", "disabled"];
|
|
36467
|
-
const _sfc_main$
|
|
36648
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
36468
36649
|
__name: "SearchResultsProductAddToCart",
|
|
36469
36650
|
props: {
|
|
36470
36651
|
item: {},
|
|
@@ -36523,7 +36704,7 @@ and ensure you are accounting for this risk.
|
|
|
36523
36704
|
loading.value = false;
|
|
36524
36705
|
});
|
|
36525
36706
|
return (_ctx, _cache) => {
|
|
36526
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36707
|
+
return openBlock(), createElementBlock("div", _hoisted_1$y, [
|
|
36527
36708
|
createBaseVNode("div", _hoisted_2$q, [
|
|
36528
36709
|
hasLink.value ? (openBlock(), createElementBlock("button", mergeProps({
|
|
36529
36710
|
key: 0,
|
|
@@ -36546,12 +36727,12 @@ and ensure you are accounting for this risk.
|
|
|
36546
36727
|
};
|
|
36547
36728
|
}
|
|
36548
36729
|
});
|
|
36549
|
-
const _hoisted_1$
|
|
36730
|
+
const _hoisted_1$x = ["innerHTML"];
|
|
36550
36731
|
const _hoisted_2$p = { key: 0 };
|
|
36551
36732
|
const _hoisted_3$h = { key: 1 };
|
|
36552
36733
|
const _hoisted_4$a = { class: "lupa-search-box-custom-label" };
|
|
36553
36734
|
const _hoisted_5$5 = { class: "lupa-search-box-custom-text" };
|
|
36554
|
-
const _sfc_main$
|
|
36735
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
36555
36736
|
__name: "SearchResultsProductCustom",
|
|
36556
36737
|
props: {
|
|
36557
36738
|
item: {},
|
|
@@ -36593,7 +36774,7 @@ and ensure you are accounting for this risk.
|
|
|
36593
36774
|
key: 0,
|
|
36594
36775
|
class: className.value,
|
|
36595
36776
|
innerHTML: text.value
|
|
36596
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
36777
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$x)) : (openBlock(), createElementBlock("div", mergeProps({
|
|
36597
36778
|
key: 1,
|
|
36598
36779
|
class: className.value
|
|
36599
36780
|
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), [
|
|
@@ -36605,8 +36786,8 @@ and ensure you are accounting for this risk.
|
|
|
36605
36786
|
};
|
|
36606
36787
|
}
|
|
36607
36788
|
});
|
|
36608
|
-
const _hoisted_1$
|
|
36609
|
-
const _sfc_main$
|
|
36789
|
+
const _hoisted_1$w = ["innerHTML"];
|
|
36790
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
36610
36791
|
__name: "SearchResultsProductCustomHtmlElement",
|
|
36611
36792
|
props: {
|
|
36612
36793
|
item: {},
|
|
@@ -36642,15 +36823,15 @@ and ensure you are accounting for this risk.
|
|
|
36642
36823
|
return openBlock(), createElementBlock("div", mergeProps({
|
|
36643
36824
|
class: className.value,
|
|
36644
36825
|
innerHTML: text.value
|
|
36645
|
-
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$
|
|
36826
|
+
}, toHandlers(_ctx.options.action ? { click: handleClick } : {})), null, 16, _hoisted_1$w);
|
|
36646
36827
|
};
|
|
36647
36828
|
}
|
|
36648
36829
|
});
|
|
36649
|
-
const _hoisted_1$
|
|
36830
|
+
const _hoisted_1$v = { id: "lupa-search-results-rating" };
|
|
36650
36831
|
const _hoisted_2$o = ["innerHTML"];
|
|
36651
36832
|
const _hoisted_3$g = { class: "lupa-ratings" };
|
|
36652
36833
|
const _hoisted_4$9 = ["href"];
|
|
36653
|
-
const _sfc_main$
|
|
36834
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
36654
36835
|
__name: "SearchResultsProductSingleStarRating",
|
|
36655
36836
|
props: {
|
|
36656
36837
|
item: {},
|
|
@@ -36678,7 +36859,7 @@ and ensure you are accounting for this risk.
|
|
|
36678
36859
|
return RATING_STAR_HTML;
|
|
36679
36860
|
});
|
|
36680
36861
|
return (_ctx, _cache) => {
|
|
36681
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
36862
|
+
return openBlock(), createElementBlock("div", _hoisted_1$v, [
|
|
36682
36863
|
createBaseVNode("div", {
|
|
36683
36864
|
innerHTML: star.value,
|
|
36684
36865
|
class: "lupa-rating lupa-rating-highlighted"
|
|
@@ -36694,19 +36875,19 @@ and ensure you are accounting for this risk.
|
|
|
36694
36875
|
});
|
|
36695
36876
|
const __default__ = {
|
|
36696
36877
|
components: {
|
|
36697
|
-
SearchResultsProductImage: _sfc_main$
|
|
36698
|
-
SearchResultsProductTitle: _sfc_main$
|
|
36699
|
-
SearchResultsProductDescription: _sfc_main$
|
|
36700
|
-
SearchResultsProductRating: _sfc_main$
|
|
36701
|
-
SearchResultsProductRegularPrice: _sfc_main$
|
|
36702
|
-
SearchResultsProductPrice: _sfc_main$
|
|
36703
|
-
SearchResultsProductAddToCart: _sfc_main$
|
|
36704
|
-
SearchResultsProductCustom: _sfc_main$
|
|
36705
|
-
SearchResultsProductCustomHtmlElement: _sfc_main$
|
|
36706
|
-
SearchResultsProductSingleStarRating: _sfc_main$
|
|
36707
|
-
}
|
|
36708
|
-
};
|
|
36709
|
-
const _sfc_main$
|
|
36878
|
+
SearchResultsProductImage: _sfc_main$H,
|
|
36879
|
+
SearchResultsProductTitle: _sfc_main$G,
|
|
36880
|
+
SearchResultsProductDescription: _sfc_main$F,
|
|
36881
|
+
SearchResultsProductRating: _sfc_main$E,
|
|
36882
|
+
SearchResultsProductRegularPrice: _sfc_main$D,
|
|
36883
|
+
SearchResultsProductPrice: _sfc_main$C,
|
|
36884
|
+
SearchResultsProductAddToCart: _sfc_main$B,
|
|
36885
|
+
SearchResultsProductCustom: _sfc_main$A,
|
|
36886
|
+
SearchResultsProductCustomHtmlElement: _sfc_main$z,
|
|
36887
|
+
SearchResultsProductSingleStarRating: _sfc_main$y
|
|
36888
|
+
}
|
|
36889
|
+
};
|
|
36890
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent(__spreadProps2(__spreadValues2({}, __default__), {
|
|
36710
36891
|
__name: "SearchResultsProductCardElement",
|
|
36711
36892
|
props: {
|
|
36712
36893
|
item: {},
|
|
@@ -36784,13 +36965,13 @@ and ensure you are accounting for this risk.
|
|
|
36784
36965
|
};
|
|
36785
36966
|
}
|
|
36786
36967
|
}));
|
|
36787
|
-
const _hoisted_1$
|
|
36968
|
+
const _hoisted_1$u = ["href"];
|
|
36788
36969
|
const _hoisted_2$n = {
|
|
36789
36970
|
key: 0,
|
|
36790
36971
|
class: "lupa-out-of-stock"
|
|
36791
36972
|
};
|
|
36792
36973
|
const _hoisted_3$f = { class: "lupa-search-result-product-details-section" };
|
|
36793
|
-
const _sfc_main$
|
|
36974
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
36794
36975
|
__name: "SearchResultsProductCard",
|
|
36795
36976
|
props: {
|
|
36796
36977
|
product: {},
|
|
@@ -36967,7 +37148,7 @@ and ensure you are accounting for this risk.
|
|
|
36967
37148
|
default: withCtx(() => {
|
|
36968
37149
|
var _a25;
|
|
36969
37150
|
return [
|
|
36970
|
-
createVNode(_sfc_main$
|
|
37151
|
+
createVNode(_sfc_main$1k, { options: badgesOptions.value }, null, 8, ["options"]),
|
|
36971
37152
|
createBaseVNode("div", {
|
|
36972
37153
|
class: normalizeClass(["lupa-search-result-product-contents", listLayoutClass.value])
|
|
36973
37154
|
}, [
|
|
@@ -36977,7 +37158,7 @@ and ensure you are accounting for this risk.
|
|
|
36977
37158
|
onClick: handleNavigation
|
|
36978
37159
|
}, [
|
|
36979
37160
|
(openBlock(true), createElementBlock(Fragment, null, renderList(imageElements.value, (element) => {
|
|
36980
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37161
|
+
return openBlock(), createBlock(_sfc_main$x, {
|
|
36981
37162
|
class: "lupa-search-results-product-element",
|
|
36982
37163
|
item: _ctx.product,
|
|
36983
37164
|
element,
|
|
@@ -36988,16 +37169,16 @@ and ensure you are accounting for this risk.
|
|
|
36988
37169
|
onProductEvent: handleProductEvent
|
|
36989
37170
|
}, null, 8, ["item", "element", "labels", "inStock", "link"]);
|
|
36990
37171
|
}), 128)),
|
|
36991
|
-
createVNode(_sfc_main$
|
|
37172
|
+
createVNode(_sfc_main$1k, {
|
|
36992
37173
|
options: badgesOptions.value,
|
|
36993
37174
|
position: "image",
|
|
36994
37175
|
class: "lupa-image-badges"
|
|
36995
37176
|
}, null, 8, ["options"]),
|
|
36996
37177
|
((_a25 = labels.value) == null ? void 0 : _a25.outOfStock) && !isInStock.value ? (openBlock(), createElementBlock("div", _hoisted_2$n, toDisplayString(labels.value.outOfStock), 1)) : createCommentVNode("", true)
|
|
36997
|
-
], 8, _hoisted_1$
|
|
37178
|
+
], 8, _hoisted_1$u),
|
|
36998
37179
|
createBaseVNode("div", _hoisted_3$f, [
|
|
36999
37180
|
(openBlock(true), createElementBlock(Fragment, null, renderList(detailElements.value, (element) => {
|
|
37000
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37181
|
+
return openBlock(), createBlock(_sfc_main$x, {
|
|
37001
37182
|
class: "lupa-search-results-product-element",
|
|
37002
37183
|
item: _ctx.product,
|
|
37003
37184
|
element,
|
|
@@ -37015,7 +37196,7 @@ and ensure you are accounting for this risk.
|
|
|
37015
37196
|
class: normalizeClass("lupa-element-group-" + group)
|
|
37016
37197
|
}, [
|
|
37017
37198
|
(openBlock(true), createElementBlock(Fragment, null, renderList(getGroupElements(group), (element) => {
|
|
37018
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37199
|
+
return openBlock(), createBlock(_sfc_main$x, {
|
|
37019
37200
|
class: "lupa-search-results-product-element",
|
|
37020
37201
|
item: _ctx.product,
|
|
37021
37202
|
element,
|
|
@@ -37036,7 +37217,7 @@ and ensure you are accounting for this risk.
|
|
|
37036
37217
|
};
|
|
37037
37218
|
}
|
|
37038
37219
|
});
|
|
37039
|
-
const _hoisted_1$
|
|
37220
|
+
const _hoisted_1$t = {
|
|
37040
37221
|
id: "lupa-search-results-similar-queries",
|
|
37041
37222
|
"data-cy": "lupa-search-results-similar-queries"
|
|
37042
37223
|
};
|
|
@@ -37052,7 +37233,7 @@ and ensure you are accounting for this risk.
|
|
|
37052
37233
|
class: "lupa-products",
|
|
37053
37234
|
"data-cy": "lupa-products"
|
|
37054
37235
|
};
|
|
37055
|
-
const _sfc_main$
|
|
37236
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
37056
37237
|
__name: "SearchResultsSimilarQueries",
|
|
37057
37238
|
props: {
|
|
37058
37239
|
labels: {},
|
|
@@ -37090,7 +37271,7 @@ and ensure you are accounting for this risk.
|
|
|
37090
37271
|
};
|
|
37091
37272
|
};
|
|
37092
37273
|
return (_ctx, _cache) => {
|
|
37093
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
37274
|
+
return openBlock(), createElementBlock("div", _hoisted_1$t, [
|
|
37094
37275
|
createBaseVNode("div", _hoisted_2$m, toDisplayString(_ctx.labels.similarQueries), 1),
|
|
37095
37276
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarQueries.value, (similarQuery, index) => {
|
|
37096
37277
|
return openBlock(), createElementBlock("div", { key: index }, [
|
|
@@ -37110,7 +37291,7 @@ and ensure you are accounting for this risk.
|
|
|
37110
37291
|
]),
|
|
37111
37292
|
createBaseVNode("div", _hoisted_7, [
|
|
37112
37293
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarQuery.items, (product, index2) => {
|
|
37113
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37294
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
37114
37295
|
style: normalizeStyle(_ctx.columnSize),
|
|
37115
37296
|
key: getDocumentKey(index2, product),
|
|
37116
37297
|
product,
|
|
@@ -37125,7 +37306,7 @@ and ensure you are accounting for this risk.
|
|
|
37125
37306
|
};
|
|
37126
37307
|
}
|
|
37127
37308
|
});
|
|
37128
|
-
const _hoisted_1$
|
|
37309
|
+
const _hoisted_1$s = {
|
|
37129
37310
|
key: 0,
|
|
37130
37311
|
class: "lupa-results-additional-panel"
|
|
37131
37312
|
};
|
|
@@ -37133,7 +37314,7 @@ and ensure you are accounting for this risk.
|
|
|
37133
37314
|
class: "lupa-results-additional-panel-items",
|
|
37134
37315
|
"data-cy": "lupa-results-additional-panel-items"
|
|
37135
37316
|
};
|
|
37136
|
-
const _sfc_main$
|
|
37317
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
37137
37318
|
__name: "AdditionalPanel",
|
|
37138
37319
|
props: {
|
|
37139
37320
|
panel: {},
|
|
@@ -37206,10 +37387,10 @@ and ensure you are accounting for this risk.
|
|
|
37206
37387
|
handleQueryChange();
|
|
37207
37388
|
});
|
|
37208
37389
|
return (_ctx, _cache) => {
|
|
37209
|
-
return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37390
|
+
return hasResults.value ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
|
|
37210
37391
|
createBaseVNode("div", _hoisted_2$l, [
|
|
37211
37392
|
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleItems.value, (item, index) => {
|
|
37212
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37393
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
37213
37394
|
key: index,
|
|
37214
37395
|
product: item,
|
|
37215
37396
|
options: _ctx.panel,
|
|
@@ -37227,11 +37408,11 @@ and ensure you are accounting for this risk.
|
|
|
37227
37408
|
};
|
|
37228
37409
|
}
|
|
37229
37410
|
});
|
|
37230
|
-
const _hoisted_1$
|
|
37411
|
+
const _hoisted_1$r = {
|
|
37231
37412
|
key: 0,
|
|
37232
37413
|
class: "lupa-results-additional-panels"
|
|
37233
37414
|
};
|
|
37234
|
-
const _sfc_main$
|
|
37415
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
37235
37416
|
__name: "AdditionalPanels",
|
|
37236
37417
|
props: {
|
|
37237
37418
|
options: {},
|
|
@@ -37248,9 +37429,9 @@ and ensure you are accounting for this risk.
|
|
|
37248
37429
|
return locationPanels.value.length > 0;
|
|
37249
37430
|
});
|
|
37250
37431
|
return (_ctx, _cache) => {
|
|
37251
|
-
return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37432
|
+
return isVisible.value ? (openBlock(), createElementBlock("div", _hoisted_1$r, [
|
|
37252
37433
|
(openBlock(true), createElementBlock(Fragment, null, renderList(locationPanels.value, (panel) => {
|
|
37253
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37434
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
37254
37435
|
key: panel.queryKey,
|
|
37255
37436
|
panel,
|
|
37256
37437
|
options: _ctx.sdkOptions
|
|
@@ -37267,11 +37448,11 @@ and ensure you are accounting for this risk.
|
|
|
37267
37448
|
}
|
|
37268
37449
|
return target2;
|
|
37269
37450
|
};
|
|
37270
|
-
const _sfc_main$
|
|
37271
|
-
const _hoisted_1$
|
|
37451
|
+
const _sfc_main$s = {};
|
|
37452
|
+
const _hoisted_1$q = { class: "lupa-spinner-wrapper" };
|
|
37272
37453
|
const _hoisted_2$k = { class: "lupa-spinner" };
|
|
37273
37454
|
function _sfc_render(_ctx, _cache) {
|
|
37274
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
37455
|
+
return openBlock(), createElementBlock("div", _hoisted_1$q, [
|
|
37275
37456
|
createBaseVNode("div", _hoisted_2$k, [
|
|
37276
37457
|
(openBlock(), createElementBlock(Fragment, null, renderList(12, (x) => {
|
|
37277
37458
|
return createBaseVNode("div", { key: x });
|
|
@@ -37279,8 +37460,8 @@ and ensure you are accounting for this risk.
|
|
|
37279
37460
|
])
|
|
37280
37461
|
]);
|
|
37281
37462
|
}
|
|
37282
|
-
const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$
|
|
37283
|
-
const _hoisted_1$
|
|
37463
|
+
const Spinner = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["render", _sfc_render]]);
|
|
37464
|
+
const _hoisted_1$p = {
|
|
37284
37465
|
id: "lupa-search-results-similar-results",
|
|
37285
37466
|
"data-cy": "lupa-search-results-similar-results"
|
|
37286
37467
|
};
|
|
@@ -37289,7 +37470,7 @@ and ensure you are accounting for this risk.
|
|
|
37289
37470
|
class: "lupa-products",
|
|
37290
37471
|
"data-cy": "lupa-products"
|
|
37291
37472
|
};
|
|
37292
|
-
const _sfc_main$
|
|
37473
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
37293
37474
|
__name: "SearchResultsSimilarResults",
|
|
37294
37475
|
props: {
|
|
37295
37476
|
columnSize: {},
|
|
@@ -37310,11 +37491,11 @@ and ensure you are accounting for this risk.
|
|
|
37310
37491
|
};
|
|
37311
37492
|
});
|
|
37312
37493
|
return (_ctx, _cache) => {
|
|
37313
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
37494
|
+
return openBlock(), createElementBlock("div", _hoisted_1$p, [
|
|
37314
37495
|
createBaseVNode("div", _hoisted_2$j, toDisplayString(_ctx.labels.similarResultsLabel), 1),
|
|
37315
37496
|
createBaseVNode("div", _hoisted_3$d, [
|
|
37316
37497
|
(openBlock(true), createElementBlock(Fragment, null, renderList(similarResults.value.items, (product, index) => {
|
|
37317
|
-
return openBlock(), createBlock(_sfc_main$
|
|
37498
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
37318
37499
|
style: normalizeStyle(_ctx.columnSize),
|
|
37319
37500
|
key: getDocumentKey(index, product),
|
|
37320
37501
|
product,
|
|
@@ -37435,7 +37616,7 @@ and ensure you are accounting for this risk.
|
|
|
37435
37616
|
return extractFacetsRelatedSource(source, searchResults2, options, activeFilters);
|
|
37436
37617
|
}
|
|
37437
37618
|
});
|
|
37438
|
-
const _hoisted_1$
|
|
37619
|
+
const _hoisted_1$o = { class: "lupa-related-query-item" };
|
|
37439
37620
|
const _hoisted_2$i = { class: "lupa-related-query-image" };
|
|
37440
37621
|
const _hoisted_3$c = { class: "lupa-related-query-label" };
|
|
37441
37622
|
const _hoisted_4$7 = { class: "lupa-related-query-title" };
|
|
@@ -37443,7 +37624,7 @@ and ensure you are accounting for this risk.
|
|
|
37443
37624
|
key: 0,
|
|
37444
37625
|
class: "lupa-related-query-count"
|
|
37445
37626
|
};
|
|
37446
|
-
const _sfc_main$
|
|
37627
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
37447
37628
|
__name: "RelatedQueryPanel",
|
|
37448
37629
|
props: {
|
|
37449
37630
|
query: {},
|
|
@@ -37540,9 +37721,9 @@ and ensure you are accounting for this risk.
|
|
|
37540
37721
|
});
|
|
37541
37722
|
return (_ctx, _cache) => {
|
|
37542
37723
|
var _a25;
|
|
37543
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
37724
|
+
return openBlock(), createElementBlock("div", _hoisted_1$o, [
|
|
37544
37725
|
createBaseVNode("div", _hoisted_2$i, [
|
|
37545
|
-
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$
|
|
37726
|
+
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1A, {
|
|
37546
37727
|
key: 0,
|
|
37547
37728
|
"wrapper-class": "lupa-related-query-image-wrapper",
|
|
37548
37729
|
"image-class": "lupa-related-query-image",
|
|
@@ -37558,7 +37739,7 @@ and ensure you are accounting for this risk.
|
|
|
37558
37739
|
};
|
|
37559
37740
|
}
|
|
37560
37741
|
});
|
|
37561
|
-
const _hoisted_1$
|
|
37742
|
+
const _hoisted_1$n = {
|
|
37562
37743
|
key: 0,
|
|
37563
37744
|
class: "lupa-related-queries"
|
|
37564
37745
|
};
|
|
@@ -37567,7 +37748,7 @@ and ensure you are accounting for this risk.
|
|
|
37567
37748
|
class: "lupa-related-queries-title"
|
|
37568
37749
|
};
|
|
37569
37750
|
const _hoisted_3$b = ["onClick"];
|
|
37570
|
-
const _sfc_main$
|
|
37751
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
37571
37752
|
__name: "RelatedQueries",
|
|
37572
37753
|
props: {
|
|
37573
37754
|
options: {}
|
|
@@ -37661,7 +37842,7 @@ and ensure you are accounting for this risk.
|
|
|
37661
37842
|
};
|
|
37662
37843
|
return (_ctx, _cache) => {
|
|
37663
37844
|
var _a25, _b25, _c, _d;
|
|
37664
|
-
return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37845
|
+
return _ctx.options && hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$n, [
|
|
37665
37846
|
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$h, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
|
|
37666
37847
|
createBaseVNode("ul", null, [
|
|
37667
37848
|
(openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
|
|
@@ -37672,7 +37853,7 @@ and ensure you are accounting for this risk.
|
|
|
37672
37853
|
createBaseVNode("a", {
|
|
37673
37854
|
onClick: ($event) => handleRelatedQueryClick(query)
|
|
37674
37855
|
}, [
|
|
37675
|
-
createVNode(_sfc_main$
|
|
37856
|
+
createVNode(_sfc_main$q, {
|
|
37676
37857
|
"source-key": query.key,
|
|
37677
37858
|
options: _ctx.options,
|
|
37678
37859
|
query: query.value,
|
|
@@ -37716,13 +37897,13 @@ and ensure you are accounting for this risk.
|
|
|
37716
37897
|
}
|
|
37717
37898
|
return null;
|
|
37718
37899
|
};
|
|
37719
|
-
const _hoisted_1$
|
|
37900
|
+
const _hoisted_1$m = {
|
|
37720
37901
|
key: 0,
|
|
37721
37902
|
class: "lupa-redirection-suggestion"
|
|
37722
37903
|
};
|
|
37723
37904
|
const _hoisted_2$g = { class: "lupa-redirections-suggestion-label" };
|
|
37724
37905
|
const _hoisted_3$a = ["href"];
|
|
37725
|
-
const _sfc_main$
|
|
37906
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
37726
37907
|
__name: "RedirectionSuggestions",
|
|
37727
37908
|
props: {
|
|
37728
37909
|
options: {}
|
|
@@ -37745,7 +37926,7 @@ and ensure you are accounting for this risk.
|
|
|
37745
37926
|
)
|
|
37746
37927
|
);
|
|
37747
37928
|
return (_ctx, _cache) => {
|
|
37748
|
-
return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37929
|
+
return redirectionSuggestion.value && label.value && link.value ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
37749
37930
|
createBaseVNode("h4", _hoisted_2$g, [
|
|
37750
37931
|
createBaseVNode("a", { href: link.value }, toDisplayString(label.value), 9, _hoisted_3$a)
|
|
37751
37932
|
])
|
|
@@ -37753,11 +37934,11 @@ and ensure you are accounting for this risk.
|
|
|
37753
37934
|
};
|
|
37754
37935
|
}
|
|
37755
37936
|
});
|
|
37756
|
-
const _hoisted_1$
|
|
37937
|
+
const _hoisted_1$l = {
|
|
37757
37938
|
key: 0,
|
|
37758
37939
|
class: "lupa-refiners-loading-notice"
|
|
37759
37940
|
};
|
|
37760
|
-
const _sfc_main$
|
|
37941
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
37761
37942
|
__name: "RefinersLoadingNotice",
|
|
37762
37943
|
props: {
|
|
37763
37944
|
labels: {}
|
|
@@ -37768,14 +37949,14 @@ and ensure you are accounting for this risk.
|
|
|
37768
37949
|
const props = __props;
|
|
37769
37950
|
const label = computed(() => props.labels.refinersLoadingNotice);
|
|
37770
37951
|
return (_ctx, _cache) => {
|
|
37771
|
-
return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
37952
|
+
return label.value && unref(loadingRefiners) ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
|
|
37772
37953
|
createBaseVNode("p", null, toDisplayString(label.value), 1),
|
|
37773
37954
|
createVNode(Spinner)
|
|
37774
37955
|
])) : createCommentVNode("", true);
|
|
37775
37956
|
};
|
|
37776
37957
|
}
|
|
37777
37958
|
});
|
|
37778
|
-
const _hoisted_1$
|
|
37959
|
+
const _hoisted_1$k = { class: "lupa-related-query-item" };
|
|
37779
37960
|
const _hoisted_2$f = { class: "lupa-related-query-image" };
|
|
37780
37961
|
const _hoisted_3$9 = { class: "lupa-related-query-label" };
|
|
37781
37962
|
const _hoisted_4$6 = { class: "lupa-related-query-title" };
|
|
@@ -37783,7 +37964,7 @@ and ensure you are accounting for this risk.
|
|
|
37783
37964
|
key: 0,
|
|
37784
37965
|
class: "lupa-related-query-count"
|
|
37785
37966
|
};
|
|
37786
|
-
const _sfc_main$
|
|
37967
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
37787
37968
|
__name: "RelatedQueryPanelApi",
|
|
37788
37969
|
props: {
|
|
37789
37970
|
relatedQuery: {},
|
|
@@ -37815,9 +37996,9 @@ and ensure you are accounting for this risk.
|
|
|
37815
37996
|
});
|
|
37816
37997
|
return (_ctx, _cache) => {
|
|
37817
37998
|
var _a25;
|
|
37818
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
37999
|
+
return openBlock(), createElementBlock("div", _hoisted_1$k, [
|
|
37819
38000
|
createBaseVNode("div", _hoisted_2$f, [
|
|
37820
|
-
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$
|
|
38001
|
+
itemToDisplay.value && image.value ? (openBlock(), createBlock(_sfc_main$1A, {
|
|
37821
38002
|
key: 0,
|
|
37822
38003
|
"wrapper-class": "lupa-related-query-image-wrapper",
|
|
37823
38004
|
"image-class": "lupa-related-query-image",
|
|
@@ -37833,7 +38014,7 @@ and ensure you are accounting for this risk.
|
|
|
37833
38014
|
};
|
|
37834
38015
|
}
|
|
37835
38016
|
});
|
|
37836
|
-
const _hoisted_1$
|
|
38017
|
+
const _hoisted_1$j = {
|
|
37837
38018
|
key: 0,
|
|
37838
38019
|
class: "lupa-related-queries"
|
|
37839
38020
|
};
|
|
@@ -37842,7 +38023,7 @@ and ensure you are accounting for this risk.
|
|
|
37842
38023
|
class: "lupa-related-queries-title"
|
|
37843
38024
|
};
|
|
37844
38025
|
const _hoisted_3$8 = ["onClick"];
|
|
37845
|
-
const _sfc_main$
|
|
38026
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
37846
38027
|
__name: "RelatedQueriesApi",
|
|
37847
38028
|
props: {
|
|
37848
38029
|
options: {}
|
|
@@ -37894,7 +38075,7 @@ and ensure you are accounting for this risk.
|
|
|
37894
38075
|
};
|
|
37895
38076
|
return (_ctx, _cache) => {
|
|
37896
38077
|
var _a25, _b25, _c, _d;
|
|
37897
|
-
return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
38078
|
+
return hasEnoughRelatedQueries.value ? (openBlock(), createElementBlock("div", _hoisted_1$j, [
|
|
37898
38079
|
((_b25 = (_a25 = _ctx.options) == null ? void 0 : _a25.labels) == null ? void 0 : _b25.title) ? (openBlock(), createElementBlock("h3", _hoisted_2$e, toDisplayString((_d = (_c = _ctx.options) == null ? void 0 : _c.labels) == null ? void 0 : _d.title), 1)) : createCommentVNode("", true),
|
|
37899
38080
|
createBaseVNode("ul", null, [
|
|
37900
38081
|
(openBlock(true), createElementBlock(Fragment, null, renderList(relatedQueries2.value, (query) => {
|
|
@@ -37905,7 +38086,7 @@ and ensure you are accounting for this risk.
|
|
|
37905
38086
|
createBaseVNode("a", {
|
|
37906
38087
|
onClick: ($event) => handleRelatedQueryClick(query)
|
|
37907
38088
|
}, [
|
|
37908
|
-
createVNode(_sfc_main$
|
|
38089
|
+
createVNode(_sfc_main$m, {
|
|
37909
38090
|
relatedQuery: query,
|
|
37910
38091
|
options: _ctx.options
|
|
37911
38092
|
}, null, 8, ["relatedQuery", "options"])
|
|
@@ -37917,9 +38098,9 @@ and ensure you are accounting for this risk.
|
|
|
37917
38098
|
};
|
|
37918
38099
|
}
|
|
37919
38100
|
});
|
|
37920
|
-
const _hoisted_1$
|
|
38101
|
+
const _hoisted_1$i = { key: 0 };
|
|
37921
38102
|
const _hoisted_2$d = ["innerHTML"];
|
|
37922
|
-
const _sfc_main$
|
|
38103
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
37923
38104
|
__name: "ZeroResults",
|
|
37924
38105
|
props: {
|
|
37925
38106
|
emptyResultsLabel: {},
|
|
@@ -37948,7 +38129,7 @@ and ensure you are accounting for this risk.
|
|
|
37948
38129
|
});
|
|
37949
38130
|
return (_ctx, _cache) => {
|
|
37950
38131
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
37951
|
-
showDefaultZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
38132
|
+
showDefaultZeroResultsTemplate.value ? (openBlock(), createElementBlock("div", _hoisted_1$i, [
|
|
37952
38133
|
createTextVNode(toDisplayString(_ctx.emptyResultsLabel) + " ", 1),
|
|
37953
38134
|
createBaseVNode("span", null, toDisplayString(_ctx.currentQueryText), 1)
|
|
37954
38135
|
])) : createCommentVNode("", true),
|
|
@@ -37960,6 +38141,31 @@ and ensure you are accounting for this risk.
|
|
|
37960
38141
|
};
|
|
37961
38142
|
}
|
|
37962
38143
|
});
|
|
38144
|
+
const _hoisted_1$h = {
|
|
38145
|
+
key: 1,
|
|
38146
|
+
class: "lupa-skeleton-grid"
|
|
38147
|
+
};
|
|
38148
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
38149
|
+
__name: "LoadingGrid",
|
|
38150
|
+
props: {
|
|
38151
|
+
style: {},
|
|
38152
|
+
enabled: { type: Boolean },
|
|
38153
|
+
loading: { type: Boolean },
|
|
38154
|
+
count: {}
|
|
38155
|
+
},
|
|
38156
|
+
setup(__props) {
|
|
38157
|
+
return (_ctx, _cache) => {
|
|
38158
|
+
return !_ctx.loading || !_ctx.enabled ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createElementBlock("div", _hoisted_1$h, [
|
|
38159
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.count, (n) => {
|
|
38160
|
+
return openBlock(), createBlock(_sfc_main$1a, {
|
|
38161
|
+
key: n,
|
|
38162
|
+
style: normalizeStyle(_ctx.style)
|
|
38163
|
+
}, null, 8, ["style"]);
|
|
38164
|
+
}), 128))
|
|
38165
|
+
]));
|
|
38166
|
+
};
|
|
38167
|
+
}
|
|
38168
|
+
});
|
|
37963
38169
|
const _hoisted_1$g = { id: "lupa-search-results-products" };
|
|
37964
38170
|
const _hoisted_2$c = {
|
|
37965
38171
|
class: "lupa-products",
|
|
@@ -37971,12 +38177,12 @@ and ensure you are accounting for this risk.
|
|
|
37971
38177
|
"data-cy": "lupa-no-results-in-page"
|
|
37972
38178
|
};
|
|
37973
38179
|
const _hoisted_4$5 = {
|
|
37974
|
-
key:
|
|
38180
|
+
key: 3,
|
|
37975
38181
|
class: "lupa-empty-results",
|
|
37976
38182
|
"data-cy": "lupa-no-results"
|
|
37977
38183
|
};
|
|
37978
|
-
const _hoisted_5$1 = { key:
|
|
37979
|
-
const _hoisted_6 = { key:
|
|
38184
|
+
const _hoisted_5$1 = { key: 4 };
|
|
38185
|
+
const _hoisted_6 = { key: 5 };
|
|
37980
38186
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
37981
38187
|
__name: "SearchResultsProducts",
|
|
37982
38188
|
props: {
|
|
@@ -38000,6 +38206,7 @@ and ensure you are accounting for this risk.
|
|
|
38000
38206
|
loading,
|
|
38001
38207
|
relatedQueriesApiEnabled
|
|
38002
38208
|
} = storeToRefs(searchResultStore);
|
|
38209
|
+
const { limit, skeletonEnabled, relatedQueriesSkeletonEnabled, loadingRelatedQueries } = useLoadingSkeleton();
|
|
38003
38210
|
const emit2 = __emit;
|
|
38004
38211
|
const productCardOptions = computed(() => {
|
|
38005
38212
|
return pick(props.options, [
|
|
@@ -38026,9 +38233,6 @@ and ensure you are accounting for this risk.
|
|
|
38026
38233
|
var _a25, _b25, _c;
|
|
38027
38234
|
return ((_c = (_b25 = (_a25 = props.options.filters) == null ? void 0 : _a25.facets) == null ? void 0 : _b25.style) == null ? void 0 : _c.type) !== "sidebar";
|
|
38028
38235
|
});
|
|
38029
|
-
const showMobileFilters = computed(() => {
|
|
38030
|
-
return props.options.searchTitlePosition !== "search-results-top";
|
|
38031
|
-
});
|
|
38032
38236
|
const currentFilterToolbarVisible = computed(() => {
|
|
38033
38237
|
var _a25, _b25, _c, _d, _e, _f;
|
|
38034
38238
|
return Boolean(
|
|
@@ -38059,12 +38263,12 @@ and ensure you are accounting for this risk.
|
|
|
38059
38263
|
});
|
|
38060
38264
|
const columnSize = computed(() => {
|
|
38061
38265
|
if (props.ssr) {
|
|
38062
|
-
return
|
|
38266
|
+
return {};
|
|
38063
38267
|
}
|
|
38064
38268
|
if (layout.value === ResultsLayoutEnum.LIST) {
|
|
38065
|
-
return
|
|
38269
|
+
return { width: "100%" };
|
|
38066
38270
|
}
|
|
38067
|
-
return
|
|
38271
|
+
return { width: `${100 / columnCount.value}%` };
|
|
38068
38272
|
});
|
|
38069
38273
|
const hasSimilarQueries = computed(() => {
|
|
38070
38274
|
var _a25;
|
|
@@ -38100,55 +38304,64 @@ and ensure you are accounting for this risk.
|
|
|
38100
38304
|
emit2("filter");
|
|
38101
38305
|
};
|
|
38102
38306
|
return (_ctx, _cache) => {
|
|
38103
|
-
var _a25, _b25, _c;
|
|
38307
|
+
var _a25, _b25, _c, _d;
|
|
38104
38308
|
return openBlock(), createElementBlock("div", _hoisted_1$g, [
|
|
38105
|
-
unref(loading) && !unref(isFilterSidebarVisible) ? (openBlock(), createBlock(Spinner, {
|
|
38309
|
+
!unref(skeletonEnabled) && unref(loading) && !unref(isFilterSidebarVisible) ? (openBlock(), createBlock(Spinner, {
|
|
38106
38310
|
key: 0,
|
|
38107
38311
|
class: "lupa-loader"
|
|
38108
38312
|
})) : createCommentVNode("", true),
|
|
38109
|
-
createVNode(_sfc_main$
|
|
38313
|
+
createVNode(_sfc_main$o, {
|
|
38110
38314
|
options: _ctx.options.redirectionSuggestions
|
|
38111
38315
|
}, null, 8, ["options"]),
|
|
38112
|
-
createVNode(_sfc_main$
|
|
38316
|
+
createVNode(_sfc_main$t, {
|
|
38113
38317
|
options: _ctx.options,
|
|
38114
38318
|
location: "top",
|
|
38115
|
-
|
|
38116
|
-
}, null, 8, ["options", "
|
|
38117
|
-
|
|
38118
|
-
|
|
38119
|
-
|
|
38120
|
-
|
|
38121
|
-
|
|
38122
|
-
|
|
38123
|
-
|
|
38124
|
-
|
|
38125
|
-
|
|
38126
|
-
|
|
38319
|
+
"sdk-options": _ctx.options.options
|
|
38320
|
+
}, null, 8, ["options", "sdk-options"]),
|
|
38321
|
+
createVNode(_sfc_main$18, {
|
|
38322
|
+
enabled: unref(relatedQueriesSkeletonEnabled),
|
|
38323
|
+
loading: unref(loading) || unref(loadingRelatedQueries),
|
|
38324
|
+
count: 1,
|
|
38325
|
+
class: "lupa-skeleton-related-queries"
|
|
38326
|
+
}, {
|
|
38327
|
+
default: withCtx(() => [
|
|
38328
|
+
showLocalRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$p, {
|
|
38329
|
+
key: 0,
|
|
38330
|
+
options: _ctx.options.relatedQueries
|
|
38331
|
+
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
38332
|
+
showApiRelatedQueries.value ? (openBlock(), createBlock(_sfc_main$l, {
|
|
38333
|
+
key: 1,
|
|
38334
|
+
options: _ctx.options.relatedQueries
|
|
38335
|
+
}, null, 8, ["options"])) : createCommentVNode("", true)
|
|
38336
|
+
]),
|
|
38337
|
+
_: 1
|
|
38338
|
+
}, 8, ["enabled", "loading"]),
|
|
38339
|
+
unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
38340
|
+
showTopFilters.value ? (openBlock(), createBlock(_sfc_main$Q, {
|
|
38127
38341
|
key: 0,
|
|
38128
38342
|
options: (_a25 = _ctx.options.filters) != null ? _a25 : {}
|
|
38129
38343
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
38130
|
-
|
|
38131
|
-
key: 1,
|
|
38344
|
+
createVNode(_sfc_main$I, {
|
|
38132
38345
|
class: "lupa-toolbar-mobile",
|
|
38133
38346
|
options: _ctx.options,
|
|
38134
38347
|
"pagination-location": "top",
|
|
38135
38348
|
onFilter: filter
|
|
38136
|
-
}, null, 8, ["options"])
|
|
38137
|
-
currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$
|
|
38138
|
-
key:
|
|
38349
|
+
}, null, 8, ["options"]),
|
|
38350
|
+
currentFilterOptions.value && currentFilterPositionDesktop.value === "pageTop" ? (openBlock(), createBlock(_sfc_main$15, {
|
|
38351
|
+
key: 1,
|
|
38139
38352
|
class: normalizeClass(currentFiltersClass.value),
|
|
38140
38353
|
"data-cy": "lupa-search-result-filters-mobile-toolbar",
|
|
38141
38354
|
options: currentFilterOptions.value,
|
|
38142
38355
|
expandable: !desktopFiltersExpanded.value
|
|
38143
38356
|
}, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true)
|
|
38144
38357
|
], 64)) : createCommentVNode("", true),
|
|
38145
|
-
unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key:
|
|
38146
|
-
createVNode(_sfc_main$
|
|
38358
|
+
unref(hasResults) ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
38359
|
+
createVNode(_sfc_main$I, {
|
|
38147
38360
|
class: "lupa-toolbar-top",
|
|
38148
38361
|
options: _ctx.options,
|
|
38149
38362
|
"pagination-location": "top"
|
|
38150
38363
|
}, null, 8, ["options"]),
|
|
38151
|
-
currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$
|
|
38364
|
+
currentFilterOptions.value && currentFilterPositionDesktop.value === "resultsTop" ? (openBlock(), createBlock(_sfc_main$15, {
|
|
38152
38365
|
key: 0,
|
|
38153
38366
|
class: normalizeClass(currentFiltersClass.value),
|
|
38154
38367
|
"data-cy": "lupa-search-result-filters-mobile-toolbar",
|
|
@@ -38156,22 +38369,32 @@ and ensure you are accounting for this risk.
|
|
|
38156
38369
|
expandable: !desktopFiltersExpanded.value
|
|
38157
38370
|
}, null, 8, ["class", "options", "expandable"])) : createCommentVNode("", true),
|
|
38158
38371
|
createBaseVNode("div", _hoisted_2$c, [
|
|
38159
|
-
|
|
38160
|
-
|
|
38161
|
-
|
|
38162
|
-
|
|
38163
|
-
|
|
38164
|
-
|
|
38165
|
-
|
|
38166
|
-
|
|
38167
|
-
|
|
38168
|
-
|
|
38169
|
-
|
|
38170
|
-
|
|
38171
|
-
|
|
38172
|
-
|
|
38173
|
-
|
|
38174
|
-
|
|
38372
|
+
createVNode(_sfc_main$j, {
|
|
38373
|
+
enabled: unref(skeletonEnabled),
|
|
38374
|
+
loading: unref(loading),
|
|
38375
|
+
count: (_b25 = unref(limit)) != null ? _b25 : 12,
|
|
38376
|
+
style: normalizeStyle(columnSize.value)
|
|
38377
|
+
}, {
|
|
38378
|
+
default: withCtx(() => [
|
|
38379
|
+
_ctx.$slots.productCard ? (openBlock(true), createElementBlock(Fragment, { key: 0 }, renderList(unref(searchResult).items, (product, index) => {
|
|
38380
|
+
return renderSlot(_ctx.$slots, "productCard", {
|
|
38381
|
+
key: getProductKeyAction(index, product),
|
|
38382
|
+
style: normalizeStyle(columnSize.value),
|
|
38383
|
+
product,
|
|
38384
|
+
options: productCardOptions.value
|
|
38385
|
+
});
|
|
38386
|
+
}), 128)) : (openBlock(true), createElementBlock(Fragment, { key: 1 }, renderList(unref(searchResult).items, (product, index) => {
|
|
38387
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
38388
|
+
key: getProductKeyAction(index, product),
|
|
38389
|
+
style: normalizeStyle(columnSize.value),
|
|
38390
|
+
product,
|
|
38391
|
+
options: productCardOptions.value,
|
|
38392
|
+
"analytics-metadata": clickMetadata.value
|
|
38393
|
+
}, null, 8, ["style", "product", "options", "analytics-metadata"]);
|
|
38394
|
+
}), 128))
|
|
38395
|
+
]),
|
|
38396
|
+
_: 3
|
|
38397
|
+
}, 8, ["enabled", "loading", "count", "style"])
|
|
38175
38398
|
]),
|
|
38176
38399
|
unref(isPageEmpty) && _ctx.options.labels.noItemsInPage ? (openBlock(), createElementBlock("div", _hoisted_3$7, [
|
|
38177
38400
|
createTextVNode(toDisplayString(_ctx.options.labels.noItemsInPage) + " ", 1),
|
|
@@ -38181,40 +38404,40 @@ and ensure you are accounting for this risk.
|
|
|
38181
38404
|
onClick: goToFirstPage
|
|
38182
38405
|
}, toDisplayString(_ctx.options.labels.backToFirstPage), 1)) : createCommentVNode("", true)
|
|
38183
38406
|
])) : createCommentVNode("", true),
|
|
38184
|
-
createVNode(_sfc_main$
|
|
38407
|
+
createVNode(_sfc_main$I, {
|
|
38185
38408
|
class: "lupa-toolbar-bottom",
|
|
38186
38409
|
options: _ctx.options,
|
|
38187
38410
|
"pagination-location": "bottom"
|
|
38188
38411
|
}, null, 8, ["options"]),
|
|
38189
|
-
createVNode(_sfc_main$
|
|
38412
|
+
createVNode(_sfc_main$t, {
|
|
38190
38413
|
options: _ctx.options,
|
|
38191
38414
|
location: "bottom",
|
|
38192
|
-
|
|
38193
|
-
}, null, 8, ["options", "
|
|
38415
|
+
"sdk-options": _ctx.options.options
|
|
38416
|
+
}, null, 8, ["options", "sdk-options"])
|
|
38194
38417
|
], 64)) : !unref(loading) && unref(currentQueryText) ? (openBlock(), createElementBlock("div", _hoisted_4$5, [
|
|
38195
|
-
createVNode(_sfc_main$
|
|
38196
|
-
|
|
38197
|
-
|
|
38198
|
-
|
|
38199
|
-
|
|
38200
|
-
}, null, 8, ["
|
|
38418
|
+
createVNode(_sfc_main$k, {
|
|
38419
|
+
"empty-results-label": (_c = _ctx.options.labels) == null ? void 0 : _c.emptyResults,
|
|
38420
|
+
"current-query-text": unref(currentQueryText),
|
|
38421
|
+
"has-similar-queries": hasSimilarQueries.value || hasSimilarResults.value,
|
|
38422
|
+
"zero-results": (_d = _ctx.options) == null ? void 0 : _d.zeroResults
|
|
38423
|
+
}, null, 8, ["empty-results-label", "current-query-text", "has-similar-queries", "zero-results"])
|
|
38201
38424
|
])) : createCommentVNode("", true),
|
|
38202
|
-
createVNode(_sfc_main$
|
|
38425
|
+
createVNode(_sfc_main$n, {
|
|
38203
38426
|
labels: _ctx.options.labels
|
|
38204
38427
|
}, null, 8, ["labels"]),
|
|
38205
38428
|
hasSimilarQueries.value ? (openBlock(), createElementBlock("div", _hoisted_5$1, [
|
|
38206
|
-
createVNode(_sfc_main$
|
|
38429
|
+
createVNode(_sfc_main$v, {
|
|
38207
38430
|
labels: similarQueriesLabels.value,
|
|
38208
|
-
|
|
38209
|
-
|
|
38210
|
-
}, null, 8, ["labels", "
|
|
38431
|
+
"column-size": columnSize.value,
|
|
38432
|
+
"product-card-options": productCardOptions.value
|
|
38433
|
+
}, null, 8, ["labels", "column-size", "product-card-options"])
|
|
38211
38434
|
])) : createCommentVNode("", true),
|
|
38212
38435
|
hasSimilarResults.value ? (openBlock(), createElementBlock("div", _hoisted_6, [
|
|
38213
|
-
createVNode(_sfc_main$
|
|
38436
|
+
createVNode(_sfc_main$r, {
|
|
38214
38437
|
labels: similarResultsLabels.value,
|
|
38215
|
-
|
|
38216
|
-
|
|
38217
|
-
}, null, 8, ["labels", "
|
|
38438
|
+
"column-size": columnSize.value,
|
|
38439
|
+
"product-card-options": productCardOptions.value
|
|
38440
|
+
}, null, 8, ["labels", "column-size", "product-card-options"])
|
|
38218
38441
|
])) : createCommentVNode("", true),
|
|
38219
38442
|
renderSlot(_ctx.$slots, "append")
|
|
38220
38443
|
]);
|
|
@@ -38289,18 +38512,13 @@ and ensure you are accounting for this risk.
|
|
|
38289
38512
|
])) : createCommentVNode("", true),
|
|
38290
38513
|
hasRelatedCategoryChildren.value ? (openBlock(), createElementBlock("div", _hoisted_4$4, [
|
|
38291
38514
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(relatedCategoryChildren), (child) => {
|
|
38292
|
-
return openBlock(), createBlock(_sfc_main$
|
|
38515
|
+
return openBlock(), createBlock(_sfc_main$14, {
|
|
38293
38516
|
key: getCategoryKey(child),
|
|
38294
38517
|
item: child,
|
|
38295
38518
|
options: categoryOptions.value
|
|
38296
38519
|
}, null, 8, ["item", "options"]);
|
|
38297
38520
|
}), 128))
|
|
38298
|
-
])) : createCommentVNode("", true)
|
|
38299
|
-
createVNode(_sfc_main$H, {
|
|
38300
|
-
class: "lupa-toolbar-mobile",
|
|
38301
|
-
"pagination-location": "top",
|
|
38302
|
-
options: _ctx.options
|
|
38303
|
-
}, null, 8, ["options"])
|
|
38521
|
+
])) : createCommentVNode("", true)
|
|
38304
38522
|
])
|
|
38305
38523
|
], 2);
|
|
38306
38524
|
};
|
|
@@ -38728,8 +38946,8 @@ and ensure you are accounting for this risk.
|
|
|
38728
38946
|
class: normalizeClass(["lupa-search-result-wrapper", { "lupa-search-wrapper-no-results": !unref(hasResults) }])
|
|
38729
38947
|
}, [
|
|
38730
38948
|
_ctx.isContainer ? (openBlock(), createElementBlock("div", _hoisted_1$c, [
|
|
38731
|
-
createVNode(_sfc_main$
|
|
38732
|
-
createVNode(_sfc_main$
|
|
38949
|
+
createVNode(_sfc_main$1c, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
38950
|
+
createVNode(_sfc_main$17, {
|
|
38733
38951
|
"show-summary": true,
|
|
38734
38952
|
options: _ctx.options,
|
|
38735
38953
|
"is-product-list": (_a25 = _ctx.isProductList) != null ? _a25 : false
|
|
@@ -38739,13 +38957,13 @@ and ensure you are accounting for this risk.
|
|
|
38739
38957
|
key: 1,
|
|
38740
38958
|
options: _ctx.options
|
|
38741
38959
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
38742
|
-
_ctx.options.filters ? (openBlock(), createBlock(_sfc_main$
|
|
38960
|
+
_ctx.options.filters ? (openBlock(), createBlock(_sfc_main$S, {
|
|
38743
38961
|
key: 2,
|
|
38744
38962
|
options: _ctx.options.filters,
|
|
38745
38963
|
onFilter: handleParamsChange
|
|
38746
38964
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
38747
38965
|
_ctx.options.sort ? (openBlock(), createBlock(_sfc_main$f, { key: 3 })) : createCommentVNode("", true),
|
|
38748
|
-
unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$
|
|
38966
|
+
unref(currentQueryText) || _ctx.isProductList ? (openBlock(), createBlock(_sfc_main$R, {
|
|
38749
38967
|
key: 4,
|
|
38750
38968
|
breadcrumbs: _ctx.options.breadcrumbs
|
|
38751
38969
|
}, null, 8, ["breadcrumbs"])) : createCommentVNode("", true),
|
|
@@ -38754,7 +38972,7 @@ and ensure you are accounting for this risk.
|
|
|
38754
38972
|
id: "lupa-search-results",
|
|
38755
38973
|
class: normalizeClass(["top-layout-wrapper", indicatorClasses.value])
|
|
38756
38974
|
}, [
|
|
38757
|
-
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$
|
|
38975
|
+
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$T, {
|
|
38758
38976
|
key: 0,
|
|
38759
38977
|
options: (_b25 = _ctx.options.filters) != null ? _b25 : {},
|
|
38760
38978
|
ref_key: "searchResultsFilters",
|
|
@@ -38762,8 +38980,8 @@ and ensure you are accounting for this risk.
|
|
|
38762
38980
|
onFilter: handleParamsChange
|
|
38763
38981
|
}, null, 8, ["options"])) : createCommentVNode("", true),
|
|
38764
38982
|
createBaseVNode("div", _hoisted_2$8, [
|
|
38765
|
-
createVNode(_sfc_main$
|
|
38766
|
-
createVNode(_sfc_main$
|
|
38983
|
+
createVNode(_sfc_main$1c, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
38984
|
+
createVNode(_sfc_main$17, {
|
|
38767
38985
|
options: _ctx.options,
|
|
38768
38986
|
"is-product-list": (_c = _ctx.isProductList) != null ? _c : false
|
|
38769
38987
|
}, null, 8, ["options", "is-product-list"]),
|
|
@@ -38779,8 +38997,8 @@ and ensure you are accounting for this risk.
|
|
|
38779
38997
|
}, 8, ["options", "ssr"])
|
|
38780
38998
|
])
|
|
38781
38999
|
], 2)) : (openBlock(), createElementBlock(Fragment, { key: 6 }, [
|
|
38782
|
-
createVNode(_sfc_main$
|
|
38783
|
-
createVNode(_sfc_main$
|
|
39000
|
+
createVNode(_sfc_main$1c, { labels: didYouMeanLabels.value }, null, 8, ["labels"]),
|
|
39001
|
+
createVNode(_sfc_main$17, {
|
|
38784
39002
|
options: _ctx.options,
|
|
38785
39003
|
"is-product-list": (_d = _ctx.isProductList) != null ? _d : false
|
|
38786
39004
|
}, null, 8, ["options", "is-product-list"]),
|
|
@@ -38788,7 +39006,7 @@ and ensure you are accounting for this risk.
|
|
|
38788
39006
|
id: "lupa-search-results",
|
|
38789
39007
|
class: normalizeClass(indicatorClasses.value)
|
|
38790
39008
|
}, [
|
|
38791
|
-
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$
|
|
39009
|
+
showFilterSidebar.value ? (openBlock(), createBlock(_sfc_main$T, {
|
|
38792
39010
|
key: 0,
|
|
38793
39011
|
options: (_e = _ctx.options.filters) != null ? _e : {},
|
|
38794
39012
|
ref_key: "searchResultsFilters",
|
|
@@ -38939,7 +39157,7 @@ and ensure you are accounting for this risk.
|
|
|
38939
39157
|
onClick: withModifiers(innerClick, ["stop"])
|
|
38940
39158
|
}, [
|
|
38941
39159
|
createBaseVNode("div", _hoisted_1$a, [
|
|
38942
|
-
createVNode(_sfc_main$
|
|
39160
|
+
createVNode(_sfc_main$1d, {
|
|
38943
39161
|
options: fullSearchBoxOptions.value,
|
|
38944
39162
|
"is-search-container": true,
|
|
38945
39163
|
ref_key: "searchBox",
|
|
@@ -40527,7 +40745,7 @@ and ensure you are accounting for this risk.
|
|
|
40527
40745
|
key: getProductKeyAction(index, product)
|
|
40528
40746
|
}, {
|
|
40529
40747
|
default: withCtx(() => [
|
|
40530
|
-
createVNode(_sfc_main$
|
|
40748
|
+
createVNode(_sfc_main$w, {
|
|
40531
40749
|
product,
|
|
40532
40750
|
options: _ctx.options,
|
|
40533
40751
|
"click-tracking-settings": clickTrackingSettings.value,
|
|
@@ -40542,7 +40760,7 @@ and ensure you are accounting for this risk.
|
|
|
40542
40760
|
_: 1
|
|
40543
40761
|
}, 16, ["wrap-around"])) : (openBlock(), createElementBlock("div", _hoisted_4$1, [
|
|
40544
40762
|
(openBlock(true), createElementBlock(Fragment, null, renderList(recommendations2.value, (product, index) => {
|
|
40545
|
-
return openBlock(), createBlock(_sfc_main$
|
|
40763
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
40546
40764
|
style: normalizeStyle(columnSize.value),
|
|
40547
40765
|
key: getProductKeyAction(index, product),
|
|
40548
40766
|
product,
|
|
@@ -40788,7 +41006,7 @@ and ensure you are accounting for this risk.
|
|
|
40788
41006
|
createBaseVNode("a", {
|
|
40789
41007
|
href: getLink(product)
|
|
40790
41008
|
}, [
|
|
40791
|
-
createVNode(_sfc_main$
|
|
41009
|
+
createVNode(_sfc_main$H, {
|
|
40792
41010
|
item: product,
|
|
40793
41011
|
options: image.value
|
|
40794
41012
|
}, null, 8, ["item", "options"])
|
|
@@ -40953,7 +41171,7 @@ and ensure you are accounting for this risk.
|
|
|
40953
41171
|
return (_ctx, _cache) => {
|
|
40954
41172
|
return openBlock(), createElementBlock("section", _hoisted_1$3, [
|
|
40955
41173
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.searchResults, (product, index) => {
|
|
40956
|
-
return openBlock(), createBlock(_sfc_main$
|
|
41174
|
+
return openBlock(), createBlock(_sfc_main$w, {
|
|
40957
41175
|
class: "lupa-chat-product-card",
|
|
40958
41176
|
key: getProductKeyAction(index, product),
|
|
40959
41177
|
product,
|
|
@@ -41149,7 +41367,7 @@ and ensure you are accounting for this risk.
|
|
|
41149
41367
|
key: 0,
|
|
41150
41368
|
class: "lupasearch-chat-content"
|
|
41151
41369
|
};
|
|
41152
|
-
const _sfc_main$
|
|
41370
|
+
const _sfc_main$1L = /* @__PURE__ */ defineComponent({
|
|
41153
41371
|
__name: "ChatContainer",
|
|
41154
41372
|
props: {
|
|
41155
41373
|
options: {}
|
|
@@ -47173,7 +47391,7 @@ and ensure you are accounting for this risk.
|
|
|
47173
47391
|
};
|
|
47174
47392
|
__expose({ fetch: fetch2 });
|
|
47175
47393
|
return (_ctx, _cache) => {
|
|
47176
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
47394
|
+
return openBlock(), createBlock(unref(_sfc_main$1d), {
|
|
47177
47395
|
ref_key: "searchBox",
|
|
47178
47396
|
ref: searchBox2,
|
|
47179
47397
|
options: fullSearchBoxOptions.value
|
|
@@ -47834,7 +48052,7 @@ and ensure you are accounting for this risk.
|
|
|
47834
48052
|
const instance = createVue(
|
|
47835
48053
|
options.displayOptions.containerSelector,
|
|
47836
48054
|
mountOptions == null ? void 0 : mountOptions.mountingBehavior,
|
|
47837
|
-
_sfc_main$
|
|
48055
|
+
_sfc_main$1L,
|
|
47838
48056
|
{
|
|
47839
48057
|
options
|
|
47840
48058
|
}
|