@depict-ai/ui 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ES10/index.cjs +230 -231
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +231 -232
- package/latest/index.cjs +230 -231
- package/latest/index.d.ts +1 -1
- package/latest/index.js +231 -232
- package/package.json +2 -2
- package/server/ES10/index.cjs +139 -146
- package/server/ES10/index.d.ts +1 -1
- package/server/ES10/index.js +140 -147
- package/server/latest/index.cjs +139 -146
- package/server/latest/index.d.ts +1 -1
- package/server/latest/index.js +140 -147
package/latest/index.cjs
CHANGED
|
@@ -70,7 +70,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
|
|
|
70
70
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
71
71
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
72
72
|
/*! Depict.ai search and product listing SDK */
|
|
73
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "2.1.
|
|
73
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "2.1.1";
|
|
74
74
|
const $1ab22f2cd39b3061$var$fallback_operator = "in";
|
|
75
75
|
const $1ab22f2cd39b3061$var$fallback_token = "";
|
|
76
76
|
const $1ab22f2cd39b3061$var$legacy_filter_prefix = "filter_";
|
|
@@ -257,7 +257,7 @@ function $84798aaa863a4909$export$e68cff63f76bd15b(props) {
|
|
|
257
257
|
function $84798aaa863a4909$export$8d0c4fdbb05a2f2e() {
|
|
258
258
|
return $gVhhF$solidjs.useContext($84798aaa863a4909$var$ListingContext);
|
|
259
259
|
}
|
|
260
|
-
const $93304d59a9747aa6$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div
|
|
260
|
+
const $93304d59a9747aa6$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div>`);
|
|
261
261
|
function $93304d59a9747aa6$export$94026ee33dbabc26(props) {
|
|
262
262
|
return (() => {
|
|
263
263
|
const _el$ = $gVhhF$solidjsweb.getNextElement($93304d59a9747aa6$var$_tmpl$);
|
|
@@ -265,7 +265,7 @@ function $93304d59a9747aa6$export$94026ee33dbabc26(props) {
|
|
|
265
265
|
return _el$;
|
|
266
266
|
})();
|
|
267
267
|
}
|
|
268
|
-
const $19950faaac026e09$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<img
|
|
268
|
+
const $19950faaac026e09$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<img>`);
|
|
269
269
|
function $19950faaac026e09$export$e6fffe67d4cdd848(whatToWatch) {
|
|
270
270
|
const [size, setSize] = $gVhhF$solidjs.createSignal(0);
|
|
271
271
|
const resizeObserver = new ResizeObserver($gVhhF$depictaiutilishared.catchify(records => {
|
|
@@ -370,7 +370,7 @@ function $a33065cfed827fc0$export$e4b984597b71e989(props) {
|
|
|
370
370
|
}));
|
|
371
371
|
return container;
|
|
372
372
|
}
|
|
373
|
-
const $0f313083912e447a$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=
|
|
373
|
+
const $0f313083912e447a$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
|
|
374
374
|
function $0f313083912e447a$export$8be2714ec7f169ee(props = {}) {
|
|
375
375
|
return (() => {
|
|
376
376
|
const _el$ = $gVhhF$solidjsweb.getNextElement($0f313083912e447a$var$_tmpl$);
|
|
@@ -387,7 +387,7 @@ function $0f313083912e447a$export$8be2714ec7f169ee(props = {}) {
|
|
|
387
387
|
return _el$;
|
|
388
388
|
})();
|
|
389
389
|
}
|
|
390
|
-
const $a0e53f99354809d9$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div
|
|
390
|
+
const $a0e53f99354809d9$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div>`);
|
|
391
391
|
function $a0e53f99354809d9$export$6649caad96ef8870({
|
|
392
392
|
children: children,
|
|
393
393
|
slider_ref_: slider_ref_,
|
|
@@ -730,7 +730,7 @@ class $7dd1edb2ee2b43ad$export$aa14a9f43128f61f extends $7dd1edb2ee2b43ad$export
|
|
|
730
730
|
});
|
|
731
731
|
}
|
|
732
732
|
}
|
|
733
|
-
const $edafe91daf3091d7$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div
|
|
733
|
+
const $edafe91daf3091d7$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div>`);
|
|
734
734
|
function $edafe91daf3091d7$export$b69d0d92862de18b(props) {
|
|
735
735
|
return $gVhhF$solidjs.ErrorBoundary({
|
|
736
736
|
fallback(err, retry) {
|
|
@@ -756,8 +756,8 @@ function $edafe91daf3091d7$export$b69d0d92862de18b(props) {
|
|
|
756
756
|
}
|
|
757
757
|
});
|
|
758
758
|
}
|
|
759
|
-
const $f48d0fbb00835aaa$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div
|
|
760
|
-
$f48d0fbb00835aaa$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<style type=
|
|
759
|
+
const $f48d0fbb00835aaa$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div>`),
|
|
760
|
+
$f48d0fbb00835aaa$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<style type=text/css>`);
|
|
761
761
|
function $f48d0fbb00835aaa$export$d21e32dfedac04be(props) {
|
|
762
762
|
const container_class = "x" + $gVhhF$solidjs.createUniqueId();
|
|
763
763
|
const container_element_ = (() => {
|
|
@@ -983,7 +983,7 @@ function $95837413165cc2df$export$23fca46f3143581f(component, error_message) {
|
|
|
983
983
|
// we're already in a root so cleanups are handled
|
|
984
984
|
return component_in_error_boundary();
|
|
985
985
|
}
|
|
986
|
-
const $72f96c4782db0b1b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict recommendations"
|
|
986
|
+
const $72f96c4782db0b1b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict recommendations">`);
|
|
987
987
|
function $72f96c4782db0b1b$export$9574e176201e5e8d(props) {
|
|
988
988
|
return $95837413165cc2df$export$23fca46f3143581f(() => {
|
|
989
989
|
const grid_spacing_override = $gVhhF$solidjs.createMemo(() => {
|
|
@@ -1018,7 +1018,7 @@ function $72f96c4782db0b1b$export$9574e176201e5e8d(props) {
|
|
|
1018
1018
|
})();
|
|
1019
1019
|
}, "RecommendationSlider failed");
|
|
1020
1020
|
}
|
|
1021
|
-
const $b8e79813f4f7ebe4$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
1021
|
+
const $b8e79813f4f7ebe4$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=recommendation-grid><!$><!/><!$><!/>`);
|
|
1022
1022
|
function $b8e79813f4f7ebe4$export$7da560f849543dff({
|
|
1023
1023
|
recommendations_resource_: recommendations_resource_,
|
|
1024
1024
|
product_card_template_: product_card_template_,
|
|
@@ -1077,8 +1077,8 @@ function $b8e79813f4f7ebe4$export$7da560f849543dff({
|
|
|
1077
1077
|
children: elements
|
|
1078
1078
|
});
|
|
1079
1079
|
}
|
|
1080
|
-
const $1f8dbf7e28b3eff2$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="show-more major"
|
|
1081
|
-
$1f8dbf7e28b3eff2$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp recommendations"
|
|
1080
|
+
const $1f8dbf7e28b3eff2$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="show-more major"type=button>`),
|
|
1081
|
+
$1f8dbf7e28b3eff2$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp recommendations">`);
|
|
1082
1082
|
function $1f8dbf7e28b3eff2$export$9756467d34d91cdb(props) {
|
|
1083
1083
|
return $95837413165cc2df$export$23fca46f3143581f(() => {
|
|
1084
1084
|
const rows_object_ = $gVhhF$solidjs.createMemo(() => {
|
|
@@ -1254,7 +1254,7 @@ function $d659702496cb72ea$export$a71e92cfbb498adc(props) {
|
|
|
1254
1254
|
return $gVhhF$depictaiutilishared.standard_price_format(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
|
|
1255
1255
|
});
|
|
1256
1256
|
}
|
|
1257
|
-
const $ee498ec5e7dc2bba$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div
|
|
1257
|
+
const $ee498ec5e7dc2bba$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div>`);
|
|
1258
1258
|
const $ee498ec5e7dc2bba$var$closing_functions = /*@__PURE__*/new Set();
|
|
1259
1259
|
const $ee498ec5e7dc2bba$export$22970a0140fc759c = /*@__PURE__*/$gVhhF$solidjs.createSignal(false);
|
|
1260
1260
|
function $ee498ec5e7dc2bba$export$5196e4c01fa56fcb({
|
|
@@ -1345,8 +1345,8 @@ function $ee498ec5e7dc2bba$export$5196e4c01fa56fcb({
|
|
|
1345
1345
|
close_toast_: close_toast_
|
|
1346
1346
|
};
|
|
1347
1347
|
}
|
|
1348
|
-
const $47e2cc552c02110c$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
1349
|
-
$47e2cc552c02110c$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
1348
|
+
const $47e2cc552c02110c$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=statement>`),
|
|
1349
|
+
$47e2cc552c02110c$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=buttons><button class="restore minor"></button><button class="ok major">`);
|
|
1350
1350
|
function $47e2cc552c02110c$export$8895d39404bd2bb1(props) {
|
|
1351
1351
|
let previous_sorting;
|
|
1352
1352
|
let on_toast_hidden;
|
|
@@ -1429,7 +1429,7 @@ function $47e2cc552c02110c$export$8895d39404bd2bb1(props) {
|
|
|
1429
1429
|
if (delay_toast_) return show_configured_toast;else show_configured_toast();
|
|
1430
1430
|
}
|
|
1431
1431
|
$gVhhF$solidjsweb.delegateEvents(["click"]);
|
|
1432
|
-
const $c77c68e559a1506c$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg><path d="M11.669 10.531l9.156-9.156a.78.78 0 0 0 .237-.569c0-.221-.079-.412-.237-.569A.8.8 0 0 0 20.24 0a.77.77 0 0 0-.569.237l-9.14 9.14-9.14-9.14A.79.79 0 0 0 .807 0a.77.77 0 0 0-.569.237A.78.78 0 0 0 0 .807a.77.77 0 0 0 .237.569l9.156 9.156-9.156 9.14c-.159.157-.237.349-.237.569s.079.412.237.569c.085.085.174.148.268.19a1.095 1.095 0 0 0 .316.048.894.894 0 0 0 .285-.048.84.84 0 0 0 .285-.19l9.139-9.14 9.14 9.14a.894.894 0 0 0 .268.19 1.049 1.049 0 0 0 .301.048.941.941 0 0 0 .301-.048.84.84 0 0 0 .285-.19.78.78 0 0 0 .237-.569c0-.221-.079-.412-.237-.569z"
|
|
1432
|
+
const $c77c68e559a1506c$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg><path d="M11.669 10.531l9.156-9.156a.78.78 0 0 0 .237-.569c0-.221-.079-.412-.237-.569A.8.8 0 0 0 20.24 0a.77.77 0 0 0-.569.237l-9.14 9.14-9.14-9.14A.79.79 0 0 0 .807 0a.77.77 0 0 0-.569.237A.78.78 0 0 0 0 .807a.77.77 0 0 0 .237.569l9.156 9.156-9.156 9.14c-.159.157-.237.349-.237.569s.079.412.237.569c.085.085.174.148.268.19a1.095 1.095 0 0 0 .316.048.894.894 0 0 0 .285-.048.84.84 0 0 0 .285-.19l9.139-9.14 9.14 9.14a.894.894 0 0 0 .268.19 1.049 1.049 0 0 0 .301.048.941.941 0 0 0 .301-.048.84.84 0 0 0 .285-.19.78.78 0 0 0 .237-.569c0-.221-.079-.412-.237-.569z">`);
|
|
1433
1433
|
function $c77c68e559a1506c$export$3b621d86b1566b2(props = {}) {
|
|
1434
1434
|
return (() => {
|
|
1435
1435
|
const _el$ = $gVhhF$solidjsweb.getNextElement($c77c68e559a1506c$var$_tmpl$);
|
|
@@ -1451,10 +1451,10 @@ function $daa394359b026187$export$325f75597868c4f0(stuff) {
|
|
|
1451
1451
|
if (typeof stuff !== "string") return stuff;
|
|
1452
1452
|
return stuff.toLowerCase();
|
|
1453
1453
|
}
|
|
1454
|
-
const $235a2771a44e28e9$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear-all-filters minor"
|
|
1455
|
-
$235a2771a44e28e9$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
1456
|
-
$235a2771a44e28e9$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear-filter major"
|
|
1457
|
-
$235a2771a44e28e9$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear-filter major"
|
|
1454
|
+
const $235a2771a44e28e9$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear-all-filters minor">`),
|
|
1455
|
+
$235a2771a44e28e9$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=inner><span class=title><!$><!/>: </span><!$><!/>`),
|
|
1456
|
+
$235a2771a44e28e9$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear-filter major"><!$><!/><span><!$><!/><!$><!/><!$><!/> – <!$><!/><!$><!/><!$><!/>`),
|
|
1457
|
+
$235a2771a44e28e9$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear-filter major"><!$><!/><span>`);
|
|
1458
1458
|
function $235a2771a44e28e9$export$fecbb157621501bd({
|
|
1459
1459
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
|
|
1460
1460
|
i18n_: i18n_,
|
|
@@ -1579,56 +1579,54 @@ function $235a2771a44e28e9$export$fecbb157621501bd({
|
|
|
1579
1579
|
return matching_filter()?.op !== "inrange";
|
|
1580
1580
|
},
|
|
1581
1581
|
get fallback() {
|
|
1582
|
+
number_of_rendered_selected_filters_items_[1](prev => prev + 1);
|
|
1583
|
+
$gVhhF$solidjs.onCleanup(() => number_of_rendered_selected_filters_items_[1](prev => prev - 1));
|
|
1582
1584
|
return (() => {
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
$gVhhF$solidjsweb.insert(_el$10, () => price_formatting_().post_, _el$23, _co$8);
|
|
1629
|
-
$gVhhF$solidjsweb.runHydrationEvents();
|
|
1630
|
-
return _el$9;
|
|
1631
|
-
})();
|
|
1585
|
+
const _el$9 = $gVhhF$solidjsweb.getNextElement($235a2771a44e28e9$var$_tmpl$3),
|
|
1586
|
+
_el$24 = _el$9.firstChild,
|
|
1587
|
+
[_el$25, _co$9] = $gVhhF$solidjsweb.getNextMarker(_el$24.nextSibling),
|
|
1588
|
+
_el$10 = _el$25.nextSibling,
|
|
1589
|
+
_el$12 = _el$10.firstChild,
|
|
1590
|
+
[_el$13, _co$3] = $gVhhF$solidjsweb.getNextMarker(_el$12.nextSibling),
|
|
1591
|
+
_el$14 = _el$13.nextSibling,
|
|
1592
|
+
[_el$15, _co$4] = $gVhhF$solidjsweb.getNextMarker(_el$14.nextSibling),
|
|
1593
|
+
_el$16 = _el$15.nextSibling,
|
|
1594
|
+
[_el$17, _co$5] = $gVhhF$solidjsweb.getNextMarker(_el$16.nextSibling),
|
|
1595
|
+
_el$11 = _el$17.nextSibling,
|
|
1596
|
+
_el$18 = _el$11.nextSibling,
|
|
1597
|
+
[_el$19, _co$6] = $gVhhF$solidjsweb.getNextMarker(_el$18.nextSibling),
|
|
1598
|
+
_el$20 = _el$19.nextSibling,
|
|
1599
|
+
[_el$21, _co$7] = $gVhhF$solidjsweb.getNextMarker(_el$20.nextSibling),
|
|
1600
|
+
_el$22 = _el$21.nextSibling,
|
|
1601
|
+
[_el$23, _co$8] = $gVhhF$solidjsweb.getNextMarker(_el$22.nextSibling);
|
|
1602
|
+
_el$9.$$click = () => {
|
|
1603
|
+
const cloned_selected_filters = [...read_selected_filters()];
|
|
1604
|
+
cloned_selected_filters.splice(index_in_selected_filters, 1);
|
|
1605
|
+
write_selected_filters(cloned_selected_filters);
|
|
1606
|
+
};
|
|
1607
|
+
$gVhhF$solidjsweb.insert(_el$9, $gVhhF$solidjsweb.createComponent((0, $c77c68e559a1506c$export$3b621d86b1566b2), {}), _el$25, _co$9);
|
|
1608
|
+
$gVhhF$solidjsweb.insert(_el$10, () => price_formatting_().pre_, _el$13, _co$3);
|
|
1609
|
+
$gVhhF$solidjsweb.insert(_el$10, $gVhhF$solidjsweb.createComponent((0, $d659702496cb72ea$export$a71e92cfbb498adc), {
|
|
1610
|
+
get price_() {
|
|
1611
|
+
return filter().data[0];
|
|
1612
|
+
},
|
|
1613
|
+
get price_formatting_() {
|
|
1614
|
+
return price_formatting_();
|
|
1615
|
+
}
|
|
1616
|
+
}), _el$15, _co$4);
|
|
1617
|
+
$gVhhF$solidjsweb.insert(_el$10, () => price_formatting_().post_, _el$17, _co$5);
|
|
1618
|
+
$gVhhF$solidjsweb.insert(_el$10, () => price_formatting_().pre_, _el$19, _co$6);
|
|
1619
|
+
$gVhhF$solidjsweb.insert(_el$10, $gVhhF$solidjsweb.createComponent((0, $d659702496cb72ea$export$a71e92cfbb498adc), {
|
|
1620
|
+
get price_() {
|
|
1621
|
+
return filter().data[1];
|
|
1622
|
+
},
|
|
1623
|
+
get price_formatting_() {
|
|
1624
|
+
return price_formatting_();
|
|
1625
|
+
}
|
|
1626
|
+
}), _el$21, _co$7);
|
|
1627
|
+
$gVhhF$solidjsweb.insert(_el$10, () => price_formatting_().post_, _el$23, _co$8);
|
|
1628
|
+
$gVhhF$solidjsweb.runHydrationEvents();
|
|
1629
|
+
return _el$9;
|
|
1632
1630
|
})();
|
|
1633
1631
|
},
|
|
1634
1632
|
get children() {
|
|
@@ -1751,8 +1749,8 @@ function $235a2771a44e28e9$export$fecbb157621501bd({
|
|
|
1751
1749
|
return outmost_element;
|
|
1752
1750
|
}
|
|
1753
1751
|
$gVhhF$solidjsweb.delegateEvents(["click"]);
|
|
1754
|
-
const $1c63082b2da848ad$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=
|
|
1755
|
-
$1c63082b2da848ad$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<label class=
|
|
1752
|
+
const $1c63082b2da848ad$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=count>`),
|
|
1753
|
+
$1c63082b2da848ad$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<label class=input-row><div class=left><input type=checkbox><span class=custom-indicator></span><span class="text line-clamp"></span></div><!$><!/>`);
|
|
1756
1754
|
const $1c63082b2da848ad$export$48513f6b9f8ce62d = props => {
|
|
1757
1755
|
// It seems like there's no diffing without memos here (since we often just have computations in the getters above that update to the same result often because their dependencies change with unrelated changes often), so put memos here to avoid unneeded DOM changes
|
|
1758
1756
|
const count = $gVhhF$solidjs.createMemo(() => props.count_);
|
|
@@ -1800,19 +1798,19 @@ const $1c63082b2da848ad$export$48513f6b9f8ce62d = props => {
|
|
|
1800
1798
|
_v$3 = !checked() && is_count_zero();
|
|
1801
1799
|
_v$ !== _p$._v$ && _el$.classList.toggle("count-0", _p$._v$ = _v$);
|
|
1802
1800
|
_v$2 !== _p$._v$2 && $gVhhF$solidjsweb.setAttribute(_el$3, "name", _p$._v$2 = _v$2);
|
|
1803
|
-
_v$3 !== _p$._v$3 && (_el$3
|
|
1801
|
+
_v$3 !== _p$._v$3 && $gVhhF$solidjsweb.setProperty(_el$3, "disabled", _p$._v$3 = _v$3);
|
|
1804
1802
|
return _p$;
|
|
1805
1803
|
}, {
|
|
1806
1804
|
_v$: undefined,
|
|
1807
1805
|
_v$2: undefined,
|
|
1808
1806
|
_v$3: undefined
|
|
1809
1807
|
});
|
|
1810
|
-
$gVhhF$solidjsweb.effect(() => _el$3
|
|
1808
|
+
$gVhhF$solidjsweb.effect(() => $gVhhF$solidjsweb.setProperty(_el$3, "checked", checked()));
|
|
1811
1809
|
return _el$;
|
|
1812
1810
|
})()
|
|
1813
1811
|
);
|
|
1814
1812
|
};
|
|
1815
|
-
const $cc43b6428000c4bf$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg><path d="M10.173 5.548H5.5V.875c0-.075-.027-.14-.081-.193S5.301.601 5.226.601s-.14.027-.193.081-.081.118-.081.193v4.673H.274c-.075 0-.14.027-.193.081A.27.27 0 0 0 0 5.827c0 .075.027.14.081.193s.118.081.193.081h4.678v4.673c0 .075.027.14.081.193s.118.081.193.081.14-.027.193-.081.081-.118.081-.193V6.101h4.673a.27.27 0 0 0 .199-.081c.054-.054.08-.118.08-.193a.27.27 0 0 0-.279-.279z"
|
|
1813
|
+
const $cc43b6428000c4bf$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg><path d="M10.173 5.548H5.5V.875c0-.075-.027-.14-.081-.193S5.301.601 5.226.601s-.14.027-.193.081-.081.118-.081.193v4.673H.274c-.075 0-.14.027-.193.081A.27.27 0 0 0 0 5.827c0 .075.027.14.081.193s.118.081.193.081h4.678v4.673c0 .075.027.14.081.193s.118.081.193.081.14-.027.193-.081.081-.118.081-.193V6.101h4.673a.27.27 0 0 0 .199-.081c.054-.054.08-.118.08-.193a.27.27 0 0 0-.279-.279z"fill=#000>`);
|
|
1816
1814
|
function $cc43b6428000c4bf$export$f21ab0717a89c77f(props) {
|
|
1817
1815
|
return (() => {
|
|
1818
1816
|
const _el$ = $gVhhF$solidjsweb.getNextElement($cc43b6428000c4bf$var$_tmpl$);
|
|
@@ -1825,7 +1823,7 @@ function $cc43b6428000c4bf$export$f21ab0717a89c77f(props) {
|
|
|
1825
1823
|
return _el$;
|
|
1826
1824
|
})();
|
|
1827
1825
|
}
|
|
1828
|
-
const $0fe1e7efdf4200d6$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button type=
|
|
1826
|
+
const $0fe1e7efdf4200d6$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button type=button class=expand-filter><!$><!/><span>`);
|
|
1829
1827
|
function $0fe1e7efdf4200d6$export$ca21a16d65b3dd8({
|
|
1830
1828
|
show_extras_: [get_show_extras, set_show_extras],
|
|
1831
1829
|
i18n_: i18n_
|
|
@@ -1847,7 +1845,7 @@ function $0fe1e7efdf4200d6$export$ca21a16d65b3dd8({
|
|
|
1847
1845
|
})();
|
|
1848
1846
|
}
|
|
1849
1847
|
$gVhhF$solidjsweb.delegateEvents(["click"]);
|
|
1850
|
-
const $d94869c80e337a3d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<form class=
|
|
1848
|
+
const $d94869c80e337a3d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<form class=checkboxes><!$><!/><!$><!/>`);
|
|
1851
1849
|
const $d94869c80e337a3d$var$max_visible_without_collapsing = 15;
|
|
1852
1850
|
const $d94869c80e337a3d$var$show_non_collapsible_when_collapsed = 4;
|
|
1853
1851
|
function $d94869c80e337a3d$export$dd948f91abc3a1c4({
|
|
@@ -1974,9 +1972,9 @@ function $d94869c80e337a3d$export$dd948f91abc3a1c4({
|
|
|
1974
1972
|
return _el$;
|
|
1975
1973
|
})();
|
|
1976
1974
|
}
|
|
1977
|
-
const $c1dc1554c1b94233$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<form class=
|
|
1978
|
-
$c1dc1554c1b94233$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=
|
|
1979
|
-
$c1dc1554c1b94233$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<label class=
|
|
1975
|
+
const $c1dc1554c1b94233$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<form class=radios>`),
|
|
1976
|
+
$c1dc1554c1b94233$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=count>`),
|
|
1977
|
+
$c1dc1554c1b94233$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<label class=input-row><div class=left><input type=radio><span class=custom-indicator></span><!$><!/></div><!$><!/>`);
|
|
1980
1978
|
function $c1dc1554c1b94233$export$430444115f70a734({
|
|
1981
1979
|
selected_filters_: selected_filters_,
|
|
1982
1980
|
filter_: filter_
|
|
@@ -2042,12 +2040,12 @@ function $c1dc1554c1b94233$export$430444115f70a734({
|
|
|
2042
2040
|
}
|
|
2043
2041
|
}), _el$10, _co$2);
|
|
2044
2042
|
$gVhhF$solidjsweb.effect(() => _el$2.classList.toggle("count-0", !!(count() === 0)));
|
|
2045
|
-
$gVhhF$solidjsweb.effect(() => _el$4
|
|
2043
|
+
$gVhhF$solidjsweb.effect(() => $gVhhF$solidjsweb.setProperty(_el$4, "checked", $gVhhF$solidjs.createMemo(() => {
|
|
2046
2044
|
const v = value();
|
|
2047
2045
|
const data = existing_filter()?.data;
|
|
2048
2046
|
if ($daa394359b026187$export$325f75597868c4f0(data) === $daa394359b026187$export$325f75597868c4f0(v)) return true;
|
|
2049
2047
|
return Array.isArray(data) && data.every((item, index) => item === v[index]);
|
|
2050
|
-
})());
|
|
2048
|
+
})()));
|
|
2051
2049
|
return _el$2;
|
|
2052
2050
|
})();
|
|
2053
2051
|
}
|
|
@@ -2055,9 +2053,9 @@ function $c1dc1554c1b94233$export$430444115f70a734({
|
|
|
2055
2053
|
return _el$;
|
|
2056
2054
|
})();
|
|
2057
2055
|
}
|
|
2058
|
-
const $0b7222ba8a8bb72f$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
2059
|
-
$0b7222ba8a8bb72f$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
2060
|
-
$0b7222ba8a8bb72f$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
2056
|
+
const $0b7222ba8a8bb72f$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=range><div class=input-group><div class=field><input type=number></div><div class=separator>-</div><div class=field><input type=number></div></div><!$><!/><div class=value-text><span class=min><!$><!/><!$><!/><!$><!/></span><span class=max><!$><!/><!$><!/><!$><!/>`),
|
|
2057
|
+
$0b7222ba8a8bb72f$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=slider><div class=progress>`),
|
|
2058
|
+
$0b7222ba8a8bb72f$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=range-group><input type=range step=any><input type=range step=any>`);
|
|
2061
2059
|
function $0b7222ba8a8bb72f$export$e0d834a0ad870cda({
|
|
2062
2060
|
filter_: filter_,
|
|
2063
2061
|
selected_filters_: selected_filters_,
|
|
@@ -2210,11 +2208,11 @@ function $0b7222ba8a8bb72f$var$RangeSelector({
|
|
|
2210
2208
|
_v$8 = min_(),
|
|
2211
2209
|
_v$9 = max_();
|
|
2212
2210
|
_v$ !== _p$._v$ && _el$.classList.toggle("disabled", _p$._v$ = _v$);
|
|
2213
|
-
_v$2 !== _p$._v$2 && (_el$4
|
|
2211
|
+
_v$2 !== _p$._v$2 && $gVhhF$solidjsweb.setProperty(_el$4, "disabled", _p$._v$2 = _v$2);
|
|
2214
2212
|
_v$3 !== _p$._v$3 && $gVhhF$solidjsweb.setAttribute(_el$4, "aria-label", _p$._v$3 = _v$3);
|
|
2215
2213
|
_v$4 !== _p$._v$4 && $gVhhF$solidjsweb.setAttribute(_el$4, "min", _p$._v$4 = _v$4);
|
|
2216
2214
|
_v$5 !== _p$._v$5 && $gVhhF$solidjsweb.setAttribute(_el$4, "max", _p$._v$5 = _v$5);
|
|
2217
|
-
_v$6 !== _p$._v$6 && (_el$7
|
|
2215
|
+
_v$6 !== _p$._v$6 && $gVhhF$solidjsweb.setProperty(_el$7, "disabled", _p$._v$6 = _v$6);
|
|
2218
2216
|
_v$7 !== _p$._v$7 && $gVhhF$solidjsweb.setAttribute(_el$7, "aria-label", _p$._v$7 = _v$7);
|
|
2219
2217
|
_v$8 !== _p$._v$8 && $gVhhF$solidjsweb.setAttribute(_el$7, "min", _p$._v$8 = _v$8);
|
|
2220
2218
|
_v$9 !== _p$._v$9 && $gVhhF$solidjsweb.setAttribute(_el$7, "max", _p$._v$9 = _v$9);
|
|
@@ -2230,8 +2228,8 @@ function $0b7222ba8a8bb72f$var$RangeSelector({
|
|
|
2230
2228
|
_v$8: undefined,
|
|
2231
2229
|
_v$9: undefined
|
|
2232
2230
|
});
|
|
2233
|
-
$gVhhF$solidjsweb.effect(() => _el$4
|
|
2234
|
-
$gVhhF$solidjsweb.effect(() => _el$7
|
|
2231
|
+
$gVhhF$solidjsweb.effect(() => $gVhhF$solidjsweb.setProperty(_el$4, "value", get_current_range()[0]));
|
|
2232
|
+
$gVhhF$solidjsweb.effect(() => $gVhhF$solidjsweb.setProperty(_el$7, "value", get_current_range()[1]));
|
|
2235
2233
|
$gVhhF$solidjsweb.runHydrationEvents();
|
|
2236
2234
|
return _el$;
|
|
2237
2235
|
})();
|
|
@@ -2352,11 +2350,11 @@ function $0b7222ba8a8bb72f$var$LinearSlider({
|
|
|
2352
2350
|
_v$15 = i18n_.range_filter_high_point_aria_label_(),
|
|
2353
2351
|
_v$16 = min_(),
|
|
2354
2352
|
_v$17 = max_();
|
|
2355
|
-
_v$10 !== _p$._v$10 && (_el$28
|
|
2353
|
+
_v$10 !== _p$._v$10 && $gVhhF$solidjsweb.setProperty(_el$28, "disabled", _p$._v$10 = _v$10);
|
|
2356
2354
|
_v$11 !== _p$._v$11 && $gVhhF$solidjsweb.setAttribute(_el$28, "aria-label", _p$._v$11 = _v$11);
|
|
2357
2355
|
_v$12 !== _p$._v$12 && $gVhhF$solidjsweb.setAttribute(_el$28, "min", _p$._v$12 = _v$12);
|
|
2358
2356
|
_v$13 !== _p$._v$13 && $gVhhF$solidjsweb.setAttribute(_el$28, "max", _p$._v$13 = _v$13);
|
|
2359
|
-
_v$14 !== _p$._v$14 && (_el$29
|
|
2357
|
+
_v$14 !== _p$._v$14 && $gVhhF$solidjsweb.setProperty(_el$29, "disabled", _p$._v$14 = _v$14);
|
|
2360
2358
|
_v$15 !== _p$._v$15 && $gVhhF$solidjsweb.setAttribute(_el$29, "aria-label", _p$._v$15 = _v$15);
|
|
2361
2359
|
_v$16 !== _p$._v$16 && $gVhhF$solidjsweb.setAttribute(_el$29, "min", _p$._v$16 = _v$16);
|
|
2362
2360
|
_v$17 !== _p$._v$17 && $gVhhF$solidjsweb.setAttribute(_el$29, "max", _p$._v$17 = _v$17);
|
|
@@ -2371,13 +2369,13 @@ function $0b7222ba8a8bb72f$var$LinearSlider({
|
|
|
2371
2369
|
_v$16: undefined,
|
|
2372
2370
|
_v$17: undefined
|
|
2373
2371
|
});
|
|
2374
|
-
$gVhhF$solidjsweb.effect(() => _el$28
|
|
2372
|
+
$gVhhF$solidjsweb.effect(() => $gVhhF$solidjsweb.setProperty(_el$28, "value", $gVhhF$solidjs.createMemo(() => {
|
|
2375
2373
|
min_();
|
|
2376
2374
|
max_();
|
|
2377
2375
|
return get_current_range()[0];
|
|
2378
2376
|
}, undefined, {
|
|
2379
2377
|
equals: false
|
|
2380
|
-
})());
|
|
2378
|
+
})()));
|
|
2381
2379
|
$gVhhF$solidjsweb.runHydrationEvents();
|
|
2382
2380
|
return _el$27;
|
|
2383
2381
|
})()];
|
|
@@ -2396,7 +2394,7 @@ function $0b7222ba8a8bb72f$var$set_range_with_sanitation(min_, max_, current_ran
|
|
|
2396
2394
|
current_range_signal[1](new_value);
|
|
2397
2395
|
}
|
|
2398
2396
|
$gVhhF$solidjsweb.delegateEvents(["keydown", "click", "input"]);
|
|
2399
|
-
const $7567511a7c3e4bd7$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
2397
|
+
const $7567511a7c3e4bd7$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=morphing-sign role=img><span></span><span>`);
|
|
2400
2398
|
function $7567511a7c3e4bd7$export$e5c2828934226505({
|
|
2401
2399
|
expanded_: expanded_,
|
|
2402
2400
|
i18n_: i18n_
|
|
@@ -2440,10 +2438,10 @@ function $7567511a7c3e4bd7$export$e5c2828934226505({
|
|
|
2440
2438
|
});
|
|
2441
2439
|
return outer_div;
|
|
2442
2440
|
}
|
|
2443
|
-
const $3bdc00a1353c1150$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<form class="checkboxes hierarchical"
|
|
2444
|
-
$3bdc00a1353c1150$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
2445
|
-
$3bdc00a1353c1150$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<details
|
|
2446
|
-
$3bdc00a1353c1150$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<summary class=
|
|
2441
|
+
const $3bdc00a1353c1150$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<form class="checkboxes hierarchical"><!$><!/><!$><!/>`),
|
|
2442
|
+
$3bdc00a1353c1150$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=checkbox-details><!$><!/><!$><!/>`),
|
|
2443
|
+
$3bdc00a1353c1150$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<details>`),
|
|
2444
|
+
$3bdc00a1353c1150$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<summary class=category-parent><div class=summary><span class=count></span><!$><!/>`);
|
|
2447
2445
|
const $3bdc00a1353c1150$var$max_visible_without_collapsing = 15;
|
|
2448
2446
|
const $3bdc00a1353c1150$var$show_non_collapsible_when_collapsed = 4;
|
|
2449
2447
|
function $3bdc00a1353c1150$export$a32086fa6616eafd({
|
|
@@ -2871,9 +2869,9 @@ function $3bdc00a1353c1150$var$expand_until_choice(data_structure) {
|
|
|
2871
2869
|
}
|
|
2872
2870
|
});
|
|
2873
2871
|
}
|
|
2874
|
-
const $0ef1681699140f1a$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
2875
|
-
$0ef1681699140f1a$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=
|
|
2876
|
-
$0ef1681699140f1a$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button
|
|
2872
|
+
const $0ef1681699140f1a$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=checkbox-grid style=position:absolute;z-index:-1;pointer-events:none;opacity:0>`),
|
|
2873
|
+
$0ef1681699140f1a$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=count-wrapper><span class=count>`),
|
|
2874
|
+
$0ef1681699140f1a$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button><!$><!/><!$><!/>`);
|
|
2877
2875
|
const $0ef1681699140f1a$var$gap_px = 5;
|
|
2878
2876
|
const $0ef1681699140f1a$var$max_columns = 3;
|
|
2879
2877
|
const $0ef1681699140f1a$export$414f6a19d38e655c = ({
|
|
@@ -3081,7 +3079,7 @@ function $0ef1681699140f1a$var$adjust_sizes(container_width, sizes, set_cols_at_
|
|
|
3081
3079
|
overrides: column_to_row_result
|
|
3082
3080
|
}]]);
|
|
3083
3081
|
}
|
|
3084
|
-
const $b51a2b8b9355e66c$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<form class=
|
|
3082
|
+
const $b51a2b8b9355e66c$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<form class=checkbox-color><!$><!/><!$><!/>`);
|
|
3085
3083
|
const $b51a2b8b9355e66c$var$max_visible_without_collapsing = 30;
|
|
3086
3084
|
const $b51a2b8b9355e66c$var$show_non_collapsible_when_collapsed = 8;
|
|
3087
3085
|
function $b51a2b8b9355e66c$export$82ed4b28ecb67608({
|
|
@@ -3260,7 +3258,7 @@ var $a636ca15e3d3570d$export$2e2bcd8739ae039 = {
|
|
|
3260
3258
|
"checkbox-grid": (0, $0ef1681699140f1a$export$414f6a19d38e655c),
|
|
3261
3259
|
"checkbox-color": (0, $b51a2b8b9355e66c$export$82ed4b28ecb67608)
|
|
3262
3260
|
};
|
|
3263
|
-
const $0f4656eaf6c22d1d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=
|
|
3261
|
+
const $0f4656eaf6c22d1d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=16.8 height=14><path d="M4.617 12.738a.48.48 0 0 1-.164-.027c-.051-.023-.094-.055-.129-.098L.125 8.414A.39.39 0 0 1 0 8.117c0-.113.039-.211.125-.293s.18-.125.293-.125.215.043.297.125l3.902 3.902L16.086.262c.082-.082.18-.125.297-.125s.211.043.293.125.125.184.125.301-.043.215-.125.297L4.914 12.613c-.039.043-.086.078-.141.098s-.102.027-.156.027zm0 0">`);
|
|
3264
3262
|
function $0f4656eaf6c22d1d$export$f2ca6fc699ca1fb4(props = {}) {
|
|
3265
3263
|
return (() => {
|
|
3266
3264
|
const _el$ = $gVhhF$solidjsweb.getNextElement($0f4656eaf6c22d1d$var$_tmpl$);
|
|
@@ -3269,7 +3267,7 @@ function $0f4656eaf6c22d1d$export$f2ca6fc699ca1fb4(props = {}) {
|
|
|
3269
3267
|
return _el$;
|
|
3270
3268
|
})();
|
|
3271
3269
|
}
|
|
3272
|
-
const $b064919833b3e80b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=
|
|
3270
|
+
const $b064919833b3e80b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=show-selected aria-hidden=true><span></span><!$><!/>`);
|
|
3273
3271
|
function $b064919833b3e80b$export$53c59af873b303c9({
|
|
3274
3272
|
selected_filters_in_group_: selected_filters_in_group_,
|
|
3275
3273
|
i18n_: {
|
|
@@ -3389,7 +3387,7 @@ function $8c939a05b87fbbbc$export$ab34afce88557c0e(props) {
|
|
|
3389
3387
|
}));
|
|
3390
3388
|
return is_open;
|
|
3391
3389
|
}
|
|
3392
|
-
const $9fe9883b1d8ecccc$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span
|
|
3390
|
+
const $9fe9883b1d8ecccc$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span>`);
|
|
3393
3391
|
function $9fe9883b1d8ecccc$export$acb3eaade4b23afd(props) {
|
|
3394
3392
|
return (() => {
|
|
3395
3393
|
const _el$ = $gVhhF$solidjsweb.getNextElement($9fe9883b1d8ecccc$var$_tmpl$);
|
|
@@ -3430,14 +3428,14 @@ function $061ff5b4c3d36171$export$89c6019e4baa40b1(props) {
|
|
|
3430
3428
|
}
|
|
3431
3429
|
});
|
|
3432
3430
|
}
|
|
3433
|
-
const $aff9a96d30ed3563$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
3434
|
-
$aff9a96d30ed3563$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class=
|
|
3435
|
-
$aff9a96d30ed3563$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
3436
|
-
$aff9a96d30ed3563$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
3437
|
-
$aff9a96d30ed3563$var$_tmpl$5 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<details class=
|
|
3438
|
-
$aff9a96d30ed3563$var$_tmpl$6 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<summary class=
|
|
3439
|
-
$aff9a96d30ed3563$var$_tmpl$7 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
3440
|
-
$aff9a96d30ed3563$var$_tmpl$8 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear-all-filters major"
|
|
3431
|
+
const $aff9a96d30ed3563$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=filter-collapsible>`),
|
|
3432
|
+
$aff9a96d30ed3563$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class=clear-group><!$><!/><span>`),
|
|
3433
|
+
$aff9a96d30ed3563$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=view-more-clear><!$><!/><!$><!/>`),
|
|
3434
|
+
$aff9a96d30ed3563$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=filter-collapsible-body><div class=filter-part></div><!$><!/>`),
|
|
3435
|
+
$aff9a96d30ed3563$var$_tmpl$5 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<details class=filter-collapsible>`),
|
|
3436
|
+
$aff9a96d30ed3563$var$_tmpl$6 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<summary class=filter-group-summary><div class=summary><span></span><div class=selected-w-sign><!$><!/><!$><!/>`),
|
|
3437
|
+
$aff9a96d30ed3563$var$_tmpl$7 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=ungrouped>`),
|
|
3438
|
+
$aff9a96d30ed3563$var$_tmpl$8 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear-all-filters major">`);
|
|
3441
3439
|
function $aff9a96d30ed3563$export$3f1a388cc0d8fed7(props) {
|
|
3442
3440
|
// Split like this to make placeholder wrapping more visible & this component is exported and used in MobileModal
|
|
3443
3441
|
return $gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Show), {
|
|
@@ -4342,7 +4340,7 @@ function $76b6ac05693f5c71$export$205efb947c7ffd78(handler, passive = true) {
|
|
|
4342
4340
|
$gVhhF$solidjs.onCleanup(() => removeEventListener(event, catchified_handler));
|
|
4343
4341
|
}
|
|
4344
4342
|
}
|
|
4345
|
-
const $401aee5f33dca9e2$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
4343
|
+
const $401aee5f33dca9e2$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=scroll-status style=display:none><span class=text><b></b> – <b></b> <!$><!/> <b>`);
|
|
4346
4344
|
function $401aee5f33dca9e2$export$83fd5de5504a7a67({
|
|
4347
4345
|
formatted_number_of_results_: formatted_number_of_results_,
|
|
4348
4346
|
first_result_in_viewport_: [get_first_result_in_viewport],
|
|
@@ -4479,8 +4477,8 @@ function $401aee5f33dca9e2$export$83fd5de5504a7a67({
|
|
|
4479
4477
|
return _el$;
|
|
4480
4478
|
})();
|
|
4481
4479
|
}
|
|
4482
|
-
const $0d0b172488865048$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=
|
|
4483
|
-
$0d0b172488865048$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
4480
|
+
const $0d0b172488865048$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=hint href=javascript:void(0)>`),
|
|
4481
|
+
$0d0b172488865048$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=no-results><div class=text></div><!$><!/>`);
|
|
4484
4482
|
function $0d0b172488865048$export$ef6006467f04ee41({
|
|
4485
4483
|
i18n_: i18n_,
|
|
4486
4484
|
expanded_hierarchical_filters_: expanded_hierarchical_filters_,
|
|
@@ -4707,8 +4705,8 @@ function $ac167f6af6a48fc3$export$a1fd619a4743ca08({
|
|
|
4707
4705
|
})
|
|
4708
4706
|
});
|
|
4709
4707
|
}
|
|
4710
|
-
const $75777da1687ba3f6$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div
|
|
4711
|
-
$75777da1687ba3f6$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<style type=
|
|
4708
|
+
const $75777da1687ba3f6$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div>`),
|
|
4709
|
+
$75777da1687ba3f6$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<style type=text/css>`);
|
|
4712
4710
|
const $75777da1687ba3f6$export$c500183c31c2b22e = "--spans-columns";
|
|
4713
4711
|
function $75777da1687ba3f6$export$ab6b147eec64fea5(props) {
|
|
4714
4712
|
const container_class = "x" + $gVhhF$solidjs.createUniqueId();
|
|
@@ -4869,7 +4867,7 @@ function $3bc4a89b971a3af5$export$3f37af283f8fb843(props) {
|
|
|
4869
4867
|
}
|
|
4870
4868
|
});
|
|
4871
4869
|
}
|
|
4872
|
-
const $d92f338ba8f9da9b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
4870
|
+
const $d92f338ba8f9da9b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=content-block-wrapper>`);
|
|
4873
4871
|
function $d92f338ba8f9da9b$export$791ef57e62e21c3f({
|
|
4874
4872
|
content_blocks_: incoming_content_blocks,
|
|
4875
4873
|
cols_at_size_: cols_at_size_,
|
|
@@ -4892,8 +4890,11 @@ function $d92f338ba8f9da9b$export$791ef57e62e21c3f({
|
|
|
4892
4890
|
return;
|
|
4893
4891
|
}
|
|
4894
4892
|
const capped_value = incoming_value.slice(0, showing_rows()); // Don't show more content blocks than we have rows
|
|
4895
|
-
set_content_blocks($gVhhF$solidjsstore.reconcile(capped_value
|
|
4893
|
+
set_content_blocks($gVhhF$solidjsstore.reconcile(capped_value, {
|
|
4894
|
+
key: "content"
|
|
4895
|
+
})); // key: Make moving blocks faster, see https://github.com/solidjs/solid/issues/1925#issuecomment-1769671596
|
|
4896
4896
|
});
|
|
4897
|
+
|
|
4897
4898
|
const get_wrapped_blocks_ = $d92f338ba8f9da9b$var$wrap_blocks_in_div(content_blocks, n_cols_currently_showing_);
|
|
4898
4899
|
$gVhhF$solidjs.createComputed(() => {
|
|
4899
4900
|
// Update our styling if a content block forces some items that should be in the top row into a lower one, so we can generate margin-top declarations for them
|
|
@@ -5005,8 +5006,8 @@ function $d92f338ba8f9da9b$var$wrap_blocks_in_div(rendered_content_blocks, max_s
|
|
|
5005
5006
|
_v$2 = `span ${get_span_columns()}`,
|
|
5006
5007
|
_v$3 = `span ${block.span_rows}`;
|
|
5007
5008
|
_p$._v$ = $gVhhF$solidjsweb.style(_el$, _v$, _p$._v$);
|
|
5008
|
-
_v$2 !== _p$._v$2 && _el$.style.setProperty("grid-column",
|
|
5009
|
-
_v$3 !== _p$._v$3 && _el$.style.setProperty("grid-row",
|
|
5009
|
+
_v$2 !== _p$._v$2 && ((_p$._v$2 = _v$2) != null ? _el$.style.setProperty("grid-column", _v$2) : _el$.style.removeProperty("grid-column"));
|
|
5010
|
+
_v$3 !== _p$._v$3 && ((_p$._v$3 = _v$3) != null ? _el$.style.setProperty("grid-row", _v$3) : _el$.style.removeProperty("grid-row"));
|
|
5010
5011
|
return _p$;
|
|
5011
5012
|
}, {
|
|
5012
5013
|
_v$: undefined,
|
|
@@ -5044,7 +5045,7 @@ function $d92f338ba8f9da9b$var$RenderContent(props) {
|
|
|
5044
5045
|
children: resource
|
|
5045
5046
|
});
|
|
5046
5047
|
}
|
|
5047
|
-
const $fe76fb463cc60b89$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
5048
|
+
const $fe76fb463cc60b89$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=PLP-results><!$><!/><!$><!/>`);
|
|
5048
5049
|
function $fe76fb463cc60b89$export$3925f87b1545cfc6({
|
|
5049
5050
|
plp_results_: plp_results_,
|
|
5050
5051
|
depict_api_: depict_api_,
|
|
@@ -5163,20 +5164,18 @@ function $fe76fb463cc60b89$export$3925f87b1545cfc6({
|
|
|
5163
5164
|
*/
|
|
5164
5165
|
const product_cards_when_data = $gVhhF$solidjsweb.createComponent((0, $gVhhF$solidjs.Suspense), {
|
|
5165
5166
|
get fallback() {
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
});
|
|
5179
|
-
})();
|
|
5167
|
+
fallback_is_alive = true;
|
|
5168
|
+
$gVhhF$solidjs.onCleanup(block_suspense_if_needed); // Block suspense after initial run every time after we fetch
|
|
5169
|
+
set_product_card_suspense_is_in_fallback(true); // Here for the content block code that needs to know how many items we're displaying
|
|
5170
|
+
$gVhhF$solidjs.onCleanup(() => set_product_card_suspense_is_in_fallback(false));
|
|
5171
|
+
return $gVhhF$solidjs.createMemo(() => {
|
|
5172
|
+
// We need to be able to block the suspense since when async product cards are *rendering* we want to show the placeholders on initial load but not when loading more
|
|
5173
|
+
// In future we could have individual suspense's for each product card, but that's too much for now
|
|
5174
|
+
if (get_suspense_is_blocked()) return suspense_contents;
|
|
5175
|
+
set_should_have_placeholders_rendered(true); // just in case
|
|
5176
|
+
$gVhhF$solidjs.onCleanup(() => set_should_have_placeholders_rendered(false));
|
|
5177
|
+
return rendered_placeholders; // I lifted the placeholders into the memo since we don't want to re-render them when switching from <Show> to <Suspense>
|
|
5178
|
+
});
|
|
5180
5179
|
},
|
|
5181
5180
|
|
|
5182
5181
|
get children() {
|
|
@@ -5262,10 +5261,10 @@ function $fe76fb463cc60b89$export$3925f87b1545cfc6({
|
|
|
5262
5261
|
return _el$;
|
|
5263
5262
|
})();
|
|
5264
5263
|
}
|
|
5265
|
-
const $be89be42ce9ea60f$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
5266
|
-
$be89be42ce9ea60f$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
5267
|
-
$be89be42ce9ea60f$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div><div class=
|
|
5268
|
-
$be89be42ce9ea60f$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div><label class=
|
|
5264
|
+
const $be89be42ce9ea60f$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=sorting-attributes>`),
|
|
5265
|
+
$be89be42ce9ea60f$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=sorting-direction>`),
|
|
5266
|
+
$be89be42ce9ea60f$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div><div class=input-row><input type=radio><span class=custom-indicator></span><!$><!/>`),
|
|
5267
|
+
$be89be42ce9ea60f$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div><label class=input-row><input type=radio><span class=custom-indicator></span><!$><!/>`);
|
|
5269
5268
|
function $be89be42ce9ea60f$export$1f1775a58da589b5({
|
|
5270
5269
|
available_sortings_: available_sortings_,
|
|
5271
5270
|
current_sorting_: [get_current_sorting, set_current_sorting],
|
|
@@ -5289,7 +5288,7 @@ function $be89be42ce9ea60f$export$1f1775a58da589b5({
|
|
|
5289
5288
|
_el$7 = _el$6.nextSibling,
|
|
5290
5289
|
_el$8 = _el$7.nextSibling,
|
|
5291
5290
|
[_el$9, _co$] = $gVhhF$solidjsweb.getNextMarker(_el$8.nextSibling);
|
|
5292
|
-
_el$6
|
|
5291
|
+
$gVhhF$solidjsweb.setProperty(_el$6, "disabled", true);
|
|
5293
5292
|
$gVhhF$solidjsweb.insert(_el$5, $gVhhF$solidjsweb.createComponent((0, $061ff5b4c3d36171$export$89c6019e4baa40b1), {
|
|
5294
5293
|
height: "1.2em",
|
|
5295
5294
|
width: "100%"
|
|
@@ -5324,7 +5323,7 @@ function $be89be42ce9ea60f$export$1f1775a58da589b5({
|
|
|
5324
5323
|
$gVhhF$solidjsweb.addEventListener(_el$12, "change", $gVhhF$depictaiutilishared.catchify(() => set_current_sorting(item())));
|
|
5325
5324
|
$gVhhF$solidjsweb.setAttribute(_el$12, "name", title_radio_name);
|
|
5326
5325
|
$gVhhF$solidjsweb.insert(_el$11, () => item().meta.title, _el$15, _co$2);
|
|
5327
|
-
$gVhhF$solidjsweb.effect(() => _el$12
|
|
5326
|
+
$gVhhF$solidjsweb.effect(() => $gVhhF$solidjsweb.setProperty(_el$12, "checked", is_checked()));
|
|
5328
5327
|
return _el$10;
|
|
5329
5328
|
})()
|
|
5330
5329
|
);
|
|
@@ -5356,7 +5355,7 @@ function $be89be42ce9ea60f$export$1f1775a58da589b5({
|
|
|
5356
5355
|
})));
|
|
5357
5356
|
$gVhhF$solidjsweb.setAttribute(_el$18, "name", order_radio_name);
|
|
5358
5357
|
$gVhhF$solidjsweb.insert(_el$17, () => meta_of_currently_selected_sorting_()?.names?.[index], _el$21, _co$3);
|
|
5359
|
-
$gVhhF$solidjsweb.effect(() => _el$18
|
|
5358
|
+
$gVhhF$solidjsweb.effect(() => $gVhhF$solidjsweb.setProperty(_el$18, "checked", is_checked()));
|
|
5360
5359
|
return _el$16;
|
|
5361
5360
|
})();
|
|
5362
5361
|
}
|
|
@@ -5403,7 +5402,7 @@ function $ca1176b694a6ee2e$export$fe334901e8bebd57() {
|
|
|
5403
5402
|
// document.body.style.top = `-${from_top}px`;
|
|
5404
5403
|
// document.body.style.overflowY = "scroll";
|
|
5405
5404
|
|
|
5406
|
-
const $f958b5ac0e4a78da$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=
|
|
5405
|
+
const $f958b5ac0e4a78da$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=14 class=sort-icon><path d="M6.199 10.254a.35.35 0 0 0-.496 0L3.5 12.453V.348a.35.35 0 0 0-.7 0v12.105L.598 10.254c-.137-.137-.359-.137-.492 0a.35.35 0 0 0 0 .492l2.797 2.801a.35.35 0 0 0 .496 0L6.2 10.746c.137-.137.137-.355 0-.492zM9.449 3.5H8.051a.35.35 0 0 1-.352-.352V1.75c0-.191.156-.352.352-.352h1.398c.195 0 .352.16.352.352v1.398a.35.35 0 0 1-.352.352zm-1.051-.699h.703v-.699h-.703zm0 0"></path><path d="M10.852 6.301H8.051a.35.35 0 0 1-.352-.352V4.551a.35.35 0 0 1 .352-.352h2.801a.35.35 0 0 1 .348.352v1.398a.35.35 0 0 1-.348.352zm-2.453-.699H10.5v-.703H8.398zm3.851 3.5H8.051c-.195 0-.352-.16-.352-.352V7.352A.35.35 0 0 1 8.051 7h4.199c.191 0 .352.156.352.352V8.75c0 .191-.16.352-.352.352zm-3.852-.703h3.5V7.7h-3.5zm5.25 3.499H8.051a.35.35 0 0 1-.352-.348v-1.402a.35.35 0 0 1 .352-.348h5.598a.35.35 0 0 1 .352.348v1.402a.35.35 0 0 1-.352.348zm-5.25-.699H13.3V10.5H8.398zm0 0">`);
|
|
5407
5406
|
function $f958b5ac0e4a78da$export$da32f7add8a22e86(props = {}) {
|
|
5408
5407
|
return (() => {
|
|
5409
5408
|
const _el$ = $gVhhF$solidjsweb.getNextElement($f958b5ac0e4a78da$var$_tmpl$);
|
|
@@ -5412,7 +5411,7 @@ function $f958b5ac0e4a78da$export$da32f7add8a22e86(props = {}) {
|
|
|
5412
5411
|
return _el$;
|
|
5413
5412
|
})();
|
|
5414
5413
|
}
|
|
5415
|
-
const $046db47e0326c715$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=
|
|
5414
|
+
const $046db47e0326c715$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=14 class=sort-icon><path d="M6.199 10.254a.35.35 0 0 0-.496 0L3.5 12.453V.348a.35.35 0 0 0-.7 0v12.105L.598 10.254c-.137-.137-.359-.137-.492 0a.35.35 0 0 0 0 .492l2.797 2.801a.35.35 0 0 0 .496 0L6.2 10.746c.137-.137.137-.355 0-.492zm3.25 1.644H8.051a.35.35 0 0 1-.352-.348v-1.402a.35.35 0 0 1 .352-.348h1.398a.35.35 0 0 1 .352.348v1.402a.35.35 0 0 1-.352.348zm-1.051-.699h.703V10.5h-.703zm2.454-2.097H8.051c-.195 0-.352-.16-.352-.352V7.352A.35.35 0 0 1 8.051 7h2.801a.35.35 0 0 1 .348.352V8.75c0 .191-.156.352-.348.352zm-2.453-.703H10.5V7.7H8.398zm3.851-2.098H8.051a.35.35 0 0 1-.352-.352V4.551a.35.35 0 0 1 .352-.352h4.199c.191 0 .352.156.352.352v1.398c0 .195-.16.352-.352.352zm-3.852-.699h3.5v-.703h-3.5zm5.25-2.102H8.051a.35.35 0 0 1-.352-.352V1.75c0-.191.156-.352.352-.352h5.598c.195 0 .352.16.352.352v1.398a.35.35 0 0 1-.352.352zm-5.25-.699H13.3v-.699H8.398zm0 0">`);
|
|
5416
5415
|
function $046db47e0326c715$export$d10e63059ddb9fd4(props = {}) {
|
|
5417
5416
|
return (() => {
|
|
5418
5417
|
const _el$ = $gVhhF$solidjsweb.getNextElement($046db47e0326c715$var$_tmpl$);
|
|
@@ -5421,7 +5420,7 @@ function $046db47e0326c715$export$d10e63059ddb9fd4(props = {}) {
|
|
|
5421
5420
|
return _el$;
|
|
5422
5421
|
})();
|
|
5423
5422
|
}
|
|
5424
|
-
const $02215fefc955d01e$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=
|
|
5423
|
+
const $02215fefc955d01e$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=15 class=filter-icon><path d="M1.75 14.697c-.096 0-.178-.034-.246-.103s-.103-.15-.103-.246V8.75c0-.096.034-.178.103-.246s.15-.103.246-.103.178.034.246.103.103.15.103.246v5.599c0 .096-.034.178-.103.246s-.15.103-.246.103zm0-9.796c-.096 0-.178-.034-.246-.103s-.103-.15-.103-.246v-3.5c0-.1.034-.185.103-.253s.15-.103.246-.103.178.034.246.103.103.153.103.253v3.5c0 .096-.034.178-.103.246s-.15.103-.246.103zm.697 2.796H1.053c-.292 0-.54-.103-.745-.308S0 6.938 0 6.651s.103-.54.308-.745.453-.308.745-.308h1.395c.292 0 .54.103.745.308s.308.453.308.745-.103.533-.308.738-.453.308-.745.308zM1.053 6.303c-.1 0-.185.034-.253.103s-.103.15-.103.246.034.178.103.246S.952 7 1.053 7h1.395c.1 0 .185-.034.253-.103s.103-.15.103-.246-.034-.178-.103-.246-.153-.103-.253-.103H1.053zm5.599 8.395c-.096 0-.178-.034-.246-.103s-.103-.15-.103-.246v-2.796c0-.1.034-.184.103-.253s.15-.102.246-.102.178.034.246.102.103.153.103.253v2.796c0 .096-.034.178-.103.246s-.15.103-.246.103zm0-7c-.096 0-.178-.034-.246-.103s-.103-.15-.103-.246V1.053c0-.1.034-.185.103-.253s.15-.103.246-.103.178.034.246.103S7 .952 7 1.053v6.296c0 .096-.034.178-.103.246s-.15.103-.246.103zm.697 2.803H5.947c-.287 0-.533-.102-.738-.308s-.308-.453-.308-.745.103-.533.308-.738.451-.308.738-.308h1.401c.292 0 .54.103.745.308s.308.451.308.738-.103.54-.308.745-.453.308-.745.308zM5.947 9.099c-.096 0-.178.034-.246.103s-.103.15-.103.246.034.185.103.253.15.103.246.103h1.401c.096 0 .178-.034.246-.103s.103-.153.103-.253-.034-.178-.103-.246-.15-.103-.246-.103H5.947zm5.605 5.599c-.1 0-.184-.034-.253-.103s-.102-.15-.102-.246v-7c0-.096.034-.178.102-.246S11.453 7 11.553 7s.178.034.246.103.103.15.103.246v7c0 .096-.034.178-.103.246s-.15.103-.246.103zm0-11.197c-.1 0-.184-.034-.253-.103s-.102-.15-.102-.246V1.053c0-.1.034-.185.102-.253s.153-.103.253-.103.178.034.246.103.103.153.103.253v2.099c0 .096-.034.178-.103.246s-.15.103-.246.103zm.697 2.803h-1.401c-.287 0-.533-.103-.738-.308s-.308-.453-.308-.745.103-.54.308-.745.451-.308.738-.308h1.401c.292 0 .54.103.745.308s.308.453.308.745-.102.54-.308.745-.453.308-.745.308zm-1.401-1.401c-.096 0-.178.034-.246.103s-.102.15-.102.246.034.178.102.246.15.103.246.103h1.401c.096 0 .178-.034.246-.103s.102-.15.102-.246-.034-.178-.102-.246-.15-.103-.246-.103h-1.401z">`);
|
|
5425
5424
|
function $02215fefc955d01e$export$28f6150e232898de() {
|
|
5426
5425
|
return $gVhhF$solidjsweb.getNextElement($02215fefc955d01e$var$_tmpl$);
|
|
5427
5426
|
}
|
|
@@ -5433,13 +5432,13 @@ function $02215fefc955d01e$export$28f6150e232898de() {
|
|
|
5433
5432
|
function $7e91f9b0c6d56424$export$50f68cc9882e36a4(args_for_filtering) {
|
|
5434
5433
|
return args_for_filtering.available_filters_()?.length === 0 && !args_for_filtering.selected_filters_[0]()?.length;
|
|
5435
5434
|
}
|
|
5436
|
-
const $1872ceb56ede7a52$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear minor"
|
|
5437
|
-
$1872ceb56ede7a52$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp"
|
|
5438
|
-
$1872ceb56ede7a52$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<details class=
|
|
5439
|
-
$1872ceb56ede7a52$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<summary class=
|
|
5440
|
-
$1872ceb56ede7a52$var$_tmpl$5 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
5441
|
-
$1872ceb56ede7a52$var$_tmpl$6 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<details class=
|
|
5442
|
-
$1872ceb56ede7a52$var$_tmpl$7 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<b
|
|
5435
|
+
const $1872ceb56ede7a52$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="clear minor">`),
|
|
5436
|
+
$1872ceb56ede7a52$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp"id=depict-filter-sort-mobile-modal-container><div class=depict-filter-sort-modal-backdrop></div><button class=dismiss-modal></button><div class=filter-sort-modal><div class=body><!$><!/><!$><!/></div><div class=bottom-row><!$><!/><button class="show-results major">`),
|
|
5437
|
+
$1872ceb56ede7a52$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<details class=sorting>`),
|
|
5438
|
+
$1872ceb56ede7a52$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<summary class=sort-filter-summary><div class=summary><div class=left-els><!$><!/><span></span></div><!$><!/>`),
|
|
5439
|
+
$1872ceb56ede7a52$var$_tmpl$5 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=body>`),
|
|
5440
|
+
$1872ceb56ede7a52$var$_tmpl$6 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<details class=filters>`),
|
|
5441
|
+
$1872ceb56ede7a52$var$_tmpl$7 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<b>`);
|
|
5443
5442
|
const $1872ceb56ede7a52$var$no_go_selector = ".range .range-group";
|
|
5444
5443
|
function $1872ceb56ede7a52$export$9bf11afa910f536e({
|
|
5445
5444
|
args_for_sorting_: args_for_sorting_,
|
|
@@ -5754,16 +5753,16 @@ function $1872ceb56ede7a52$export$9bf11afa910f536e({
|
|
|
5754
5753
|
})()];
|
|
5755
5754
|
}
|
|
5756
5755
|
$gVhhF$solidjsweb.delegateEvents(["click", "touchstart"]);
|
|
5757
|
-
const $f49857214f7675b1$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=
|
|
5756
|
+
const $f49857214f7675b1$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=14><path d="M12.949 7.699H.352A.35.35 0 0 1 0 7.352.35.35 0 0 1 .352 7h12.598a.35.35 0 0 1 .352.352.35.35 0 0 1-.352.348zm0 0">`);
|
|
5758
5757
|
function $f49857214f7675b1$export$cb808a3c41736d8e() {
|
|
5759
5758
|
return $gVhhF$solidjsweb.getNextElement($f49857214f7675b1$var$_tmpl$);
|
|
5760
5759
|
}
|
|
5761
|
-
const $f8f64d05c525825b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
5762
|
-
$f8f64d05c525825b$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
5763
|
-
$f8f64d05c525825b$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
5764
|
-
$f8f64d05c525825b$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=
|
|
5765
|
-
$f8f64d05c525825b$var$_tmpl$5 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
5766
|
-
$f8f64d05c525825b$var$_tmpl$6 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="toggle-button for-sorting major-minor-transition"><span></span
|
|
5760
|
+
const $f8f64d05c525825b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=filters><div class=body>`),
|
|
5761
|
+
$f8f64d05c525825b$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=sorting><div class=body>`),
|
|
5762
|
+
$f8f64d05c525825b$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=sort-and-filter-buttons><div class=outer><div class=inner><!$><!/><!$><!/><!$><!/>`),
|
|
5763
|
+
$f8f64d05c525825b$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=num-filters>`),
|
|
5764
|
+
$f8f64d05c525825b$var$_tmpl$5 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=open-filters-button-container><!$><!/><button type=button><!$><!/><span>`),
|
|
5765
|
+
$f8f64d05c525825b$var$_tmpl$6 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="toggle-button for-sorting major-minor-transition"><span></span><!$><!/>`);
|
|
5767
5766
|
function $f8f64d05c525825b$export$d7841e452f2e59a8({
|
|
5768
5767
|
current_sorting_: current_sorting_,
|
|
5769
5768
|
set_extra_els_in_results_container_: set_extra_els_in_results_container_,
|
|
@@ -6082,11 +6081,11 @@ function $f8f64d05c525825b$var$OpenSortingButton({
|
|
|
6082
6081
|
})();
|
|
6083
6082
|
}
|
|
6084
6083
|
$gVhhF$solidjsweb.delegateEvents(["click"]);
|
|
6085
|
-
const $084b6a0ee1d481de$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=
|
|
6084
|
+
const $084b6a0ee1d481de$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=14 height=14><path d="M6.402.453L2.203 4.652a.35.35 0 0 0 0 .496c.137.137.359.137.492 0l3.605-3.605v11.406a.35.35 0 0 0 .348.352.35.35 0 0 0 .352-.352V1.543l3.602 3.605a.35.35 0 0 0 .496 0c.066-.07.102-.16.102-.25a.35.35 0 0 0-.102-.246L6.895.453c-.133-.137-.355-.137-.492 0zm0 0">`);
|
|
6086
6085
|
function $084b6a0ee1d481de$export$2624c5890f1bbcf7() {
|
|
6087
6086
|
return $gVhhF$solidjsweb.getNextElement($084b6a0ee1d481de$var$_tmpl$);
|
|
6088
6087
|
}
|
|
6089
|
-
const $2fb324fbcc7b4a7b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
6088
|
+
const $2fb324fbcc7b4a7b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=floating-buttons><button class=filter><div></div></button><button class=sort><div></div></button><button class=up><div>`);
|
|
6090
6089
|
function $2fb324fbcc7b4a7b$export$b23abd26de154ede(props) {
|
|
6091
6090
|
if (0, $gVhhF$solidjsweb.isServer) return; // won't show in initial render and need scroll position
|
|
6092
6091
|
const [is_small, set_is_small] = $gVhhF$solidjs.createSignal(true);
|
|
@@ -6229,9 +6228,9 @@ function $2fb324fbcc7b4a7b$var$ActualFloatingButtons({
|
|
|
6229
6228
|
})();
|
|
6230
6229
|
}
|
|
6231
6230
|
$gVhhF$solidjsweb.delegateEvents(["click"]);
|
|
6232
|
-
const $e53b2e7e632ac4cb$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<nav class=
|
|
6233
|
-
$e53b2e7e632ac4cb$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=
|
|
6234
|
-
$e53b2e7e632ac4cb$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=
|
|
6231
|
+
const $e53b2e7e632ac4cb$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<nav class=crumbs>`),
|
|
6232
|
+
$e53b2e7e632ac4cb$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=crumb>`),
|
|
6233
|
+
$e53b2e7e632ac4cb$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=separator>`);
|
|
6235
6234
|
function $e53b2e7e632ac4cb$export$5646050d516e06bc({
|
|
6236
6235
|
crumb_data_: get_api_crumb_data,
|
|
6237
6236
|
router_: router_,
|
|
@@ -6301,9 +6300,9 @@ function $e53b2e7e632ac4cb$export$5646050d516e06bc({
|
|
|
6301
6300
|
});
|
|
6302
6301
|
}
|
|
6303
6302
|
$gVhhF$solidjsweb.delegateEvents(["click"]);
|
|
6304
|
-
const $8cceb1d3a967f369$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<nav class=
|
|
6305
|
-
$8cceb1d3a967f369$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div>QuickLinks failed
|
|
6306
|
-
$8cceb1d3a967f369$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=
|
|
6303
|
+
const $8cceb1d3a967f369$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<nav class=quicklinks>`),
|
|
6304
|
+
$8cceb1d3a967f369$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div>QuickLinks failed`),
|
|
6305
|
+
$8cceb1d3a967f369$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=quicklink>`);
|
|
6307
6306
|
function $8cceb1d3a967f369$export$466cdc317043f6cb({
|
|
6308
6307
|
quicklinks_data_: quicklinks_data_,
|
|
6309
6308
|
router_: router_,
|
|
@@ -6704,8 +6703,8 @@ function $ef972f5c10b1c5b4$var$clear_if_opened_new_tab_with_sideways_url_params_
|
|
|
6704
6703
|
});
|
|
6705
6704
|
tracking_function_for_plp_results(plp_results_);
|
|
6706
6705
|
}
|
|
6707
|
-
const $839b3341523d31a2$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
6708
|
-
$839b3341523d31a2$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
6706
|
+
const $839b3341523d31a2$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=statement style=white-space:pre-wrap>No category ID specified, this is probably unintentional. Make sure to create (and insert) the CategoryPage *after* you have specified a category ID in your Depict Provider.`),
|
|
6707
|
+
$839b3341523d31a2$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=buttons><button class="ok major">`);
|
|
6709
6708
|
function $839b3341523d31a2$export$d4fc5c0e68a52116(el, query_id_, i18n_) {
|
|
6710
6709
|
if (!(0, $gVhhF$depictaiutilishared.is_debug)) return; // Just to make sure we don't show this in production
|
|
6711
6710
|
const owner = $gVhhF$solidjs.getOwner();
|
|
@@ -6764,10 +6763,10 @@ function $6a8e766e914723d8$export$d31a1a1a83ad9413(plp_results_, [get_selected_f
|
|
|
6764
6763
|
set_selected_filters(new_filters);
|
|
6765
6764
|
});
|
|
6766
6765
|
}
|
|
6767
|
-
const $840d88a04b2d22a7$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
6768
|
-
$840d88a04b2d22a7$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div
|
|
6769
|
-
$840d88a04b2d22a7$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
6770
|
-
$840d88a04b2d22a7$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp category"><div class=
|
|
6766
|
+
const $840d88a04b2d22a7$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=product-count><!$><!/> <!$><!/>`),
|
|
6767
|
+
$840d88a04b2d22a7$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div>`),
|
|
6768
|
+
$840d88a04b2d22a7$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
|
|
6769
|
+
$840d88a04b2d22a7$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp category"><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
|
|
6771
6770
|
function $840d88a04b2d22a7$export$f7d2f673fc2f091d({
|
|
6772
6771
|
depict_api_: depict_api_,
|
|
6773
6772
|
query_id_: query_id_,
|
|
@@ -7380,7 +7379,7 @@ function $deaaf04362a1bc71$export$f50b88e2a00918b5(fn) {
|
|
|
7380
7379
|
}
|
|
7381
7380
|
};
|
|
7382
7381
|
}
|
|
7383
|
-
const $48567ac5b39bac56$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp category"
|
|
7382
|
+
const $48567ac5b39bac56$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp category">`);
|
|
7384
7383
|
// We just pass page_url_creator to DepictAPI when we instantiate it, so don't allow it to be specified if api is already specified
|
|
7385
7384
|
/**
|
|
7386
7385
|
* Type for the private properties that are shared between the different exported search SDK wrapper functions.
|
|
@@ -7662,7 +7661,7 @@ function $48567ac5b39bac56$var$get_shared_properties(depict_category) {
|
|
|
7662
7661
|
if (!shared_properties) throw new Error("Can't connect to provided DepictCategory instance");
|
|
7663
7662
|
return shared_properties;
|
|
7664
7663
|
}
|
|
7665
|
-
const $0b23bfd073d9a4e8$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
7664
|
+
const $0b23bfd073d9a4e8$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=category-title><h1 class=title></h1><span class=explanation> — <!$><!/>`);
|
|
7666
7665
|
const $0b23bfd073d9a4e8$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
7667
7666
|
const actual_function = ({
|
|
7668
7667
|
category_title_: category_title_,
|
|
@@ -7687,7 +7686,7 @@ const $0b23bfd073d9a4e8$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
|
7687
7686
|
actual_function[(0, $6b502b1b2155a0bc$export$5c28802497c8a83c)] = "simple";
|
|
7688
7687
|
return actual_function;
|
|
7689
7688
|
})();
|
|
7690
|
-
const $85b747260aa175c9$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="sort-and-filter-buttons fake"
|
|
7689
|
+
const $85b747260aa175c9$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="sort-and-filter-buttons fake"aria-hidden=true style=position:absolute;z-index:-1;pointer-events:none;opacity:0><div class=outer><div class=inner><!$><!/><!$><!/><!$><!/>`);
|
|
7691
7690
|
const $85b747260aa175c9$export$824dde41348efed1 = /*@__PURE__*/(() => {
|
|
7692
7691
|
const actual_function = ({
|
|
7693
7692
|
make_product_count_: make_product_count_,
|
|
@@ -7849,7 +7848,7 @@ async function $63b10c9f461e0ef6$var$download_categories(tenant, market, type) {
|
|
|
7849
7848
|
return [];
|
|
7850
7849
|
}
|
|
7851
7850
|
}
|
|
7852
|
-
const $6f604560873e4f69$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
7851
|
+
const $6f604560873e4f69$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=instant-card><div class=img-part></div><div class=right-part><div class=title-brand-tagline><span class=title>`);
|
|
7853
7852
|
function $6f604560873e4f69$export$ee1733d9a8495996() {
|
|
7854
7853
|
return (() => {
|
|
7855
7854
|
const _el$ = $gVhhF$solidjsweb.getNextElement($6f604560873e4f69$var$_tmpl$),
|
|
@@ -7867,8 +7866,8 @@ function $6f604560873e4f69$export$ee1733d9a8495996() {
|
|
|
7867
7866
|
return _el$;
|
|
7868
7867
|
})();
|
|
7869
7868
|
}
|
|
7870
|
-
const $dae23104ba8bb78c$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=
|
|
7871
|
-
$dae23104ba8bb78c$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=
|
|
7869
|
+
const $dae23104ba8bb78c$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=parent-title>`),
|
|
7870
|
+
$dae23104ba8bb78c$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=category-suggestion><span class=title></span><!$><!/>`);
|
|
7872
7871
|
function $dae23104ba8bb78c$export$d757d54550ebfb3d({
|
|
7873
7872
|
category_suggestion_: category_suggestion_,
|
|
7874
7873
|
router_: router_
|
|
@@ -7902,11 +7901,11 @@ function $dae23104ba8bb78c$export$d757d54550ebfb3d({
|
|
|
7902
7901
|
})();
|
|
7903
7902
|
}
|
|
7904
7903
|
$gVhhF$solidjsweb.delegateEvents(["click"]);
|
|
7905
|
-
const $3df11fc61432d1fd$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=
|
|
7904
|
+
const $3df11fc61432d1fd$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=24 height=16><path d="M.773 7.371L7.98.176C8.098.059 8.238 0 8.402 0s.305.059.422.176S9 .434 9 .598s-.059.305-.176.422L2.648 7.195h19.547a.59.59 0 0 1 .609.609c0 .172-.059.305-.176.422s-.262.176-.434.176H2.648l6.176 6.176a.59.59 0 0 1 .176.426c0 .16-.059.301-.176.422-.055.059-.121.109-.199.137s-.148.039-.223.039-.156-.012-.234-.039a.54.54 0 0 1-.187-.137L.773 8.227c-.117-.117-.176-.258-.176-.422a.6.6 0 0 1 .176-.434zm0 0">`);
|
|
7906
7905
|
function $3df11fc61432d1fd$export$1c641004b5485fed() {
|
|
7907
7906
|
return $gVhhF$solidjsweb.getNextElement($3df11fc61432d1fd$var$_tmpl$);
|
|
7908
7907
|
}
|
|
7909
|
-
const $87d7574e1d89d69b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg><path d="M19.811 20.174l-6.234-6.809a7.96 7.96 0 0 0 .923-1.179c.274-.424.502-.865.687-1.323a8.04 8.04 0 0 0 .42-1.436 7.88 7.88 0 0 0 .144-1.507c0-.526-.051-1.042-.154-1.548-.096-.506-.243-.995-.441-1.466s-.441-.919-.728-1.343a8.28 8.28 0 0 0-.984-1.21 7.86 7.86 0 0 0-1.2-.984A7.56 7.56 0 0 0 10.89.651C10.418.453 9.929.302 9.423.2S8.401.046 7.875.046 6.833.097 6.327.2 5.332.453 4.86.651a7.56 7.56 0 0 0-1.354.718c-.431.287-.831.615-1.2.984a8.28 8.28 0 0 0-.984 1.21 7.73 7.73 0 0 0-.728 1.343c-.198.472-.349.96-.451 1.466A8.31 8.31 0 0 0 0 7.921a8.31 8.31 0 0 0 .144 1.548c.103.506.253.995.451 1.466a8.08 8.08 0 0 0 .728 1.354 7.86 7.86 0 0 0 .984 1.2 7.54 7.54 0 0 0 1.2.995c.431.287.882.53 1.354.728.472.191.96.338 1.466.441a8.31 8.31 0 0 0 1.548.144c.451 0 .896-.038 1.333-.113a7.83 7.83 0 0 0 1.282-.328 7.55 7.55 0 0 0 1.2-.533 8.08 8.08 0 0 0 1.107-.749l6.245 6.809a.45.45 0 0 0 .174.123.55.55 0 0 0 .205.041.61.61 0 0 0 .195-.031c.061-.021.116-.055.164-.102.109-.096.164-.219.164-.369.007-.144-.038-.267-.133-.369zM1.046 7.921c0-.937.178-1.818.533-2.646.362-.834.851-1.559 1.466-2.174.622-.615 1.347-1.101 2.174-1.456.827-.362 1.712-.543 2.656-.543s1.829.181 2.656.543c.827.355 1.548.841 2.164 1.456.622.615 1.111 1.34 1.466 2.174a6.52 6.52 0 0 1 .543 2.646c0 .943-.181 1.829-.543 2.656a6.89 6.89 0 0 1-1.466 2.174c-.615.615-1.336 1.104-2.164 1.466-.827.356-1.712.533-2.656.533s-1.829-.178-2.656-.533c-.827-.362-1.552-.851-2.174-1.466-.615-.622-1.104-1.347-1.466-2.174-.355-.827-.533-1.712-.533-2.656z"
|
|
7908
|
+
const $87d7574e1d89d69b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg><path d="M19.811 20.174l-6.234-6.809a7.96 7.96 0 0 0 .923-1.179c.274-.424.502-.865.687-1.323a8.04 8.04 0 0 0 .42-1.436 7.88 7.88 0 0 0 .144-1.507c0-.526-.051-1.042-.154-1.548-.096-.506-.243-.995-.441-1.466s-.441-.919-.728-1.343a8.28 8.28 0 0 0-.984-1.21 7.86 7.86 0 0 0-1.2-.984A7.56 7.56 0 0 0 10.89.651C10.418.453 9.929.302 9.423.2S8.401.046 7.875.046 6.833.097 6.327.2 5.332.453 4.86.651a7.56 7.56 0 0 0-1.354.718c-.431.287-.831.615-1.2.984a8.28 8.28 0 0 0-.984 1.21 7.73 7.73 0 0 0-.728 1.343c-.198.472-.349.96-.451 1.466A8.31 8.31 0 0 0 0 7.921a8.31 8.31 0 0 0 .144 1.548c.103.506.253.995.451 1.466a8.08 8.08 0 0 0 .728 1.354 7.86 7.86 0 0 0 .984 1.2 7.54 7.54 0 0 0 1.2.995c.431.287.882.53 1.354.728.472.191.96.338 1.466.441a8.31 8.31 0 0 0 1.548.144c.451 0 .896-.038 1.333-.113a7.83 7.83 0 0 0 1.282-.328 7.55 7.55 0 0 0 1.2-.533 8.08 8.08 0 0 0 1.107-.749l6.245 6.809a.45.45 0 0 0 .174.123.55.55 0 0 0 .205.041.61.61 0 0 0 .195-.031c.061-.021.116-.055.164-.102.109-.096.164-.219.164-.369.007-.144-.038-.267-.133-.369zM1.046 7.921c0-.937.178-1.818.533-2.646.362-.834.851-1.559 1.466-2.174.622-.615 1.347-1.101 2.174-1.456.827-.362 1.712-.543 2.656-.543s1.829.181 2.656.543c.827.355 1.548.841 2.164 1.456.622.615 1.111 1.34 1.466 2.174a6.52 6.52 0 0 1 .543 2.646c0 .943-.181 1.829-.543 2.656a6.89 6.89 0 0 1-1.466 2.174c-.615.615-1.336 1.104-2.164 1.466-.827.356-1.712.533-2.656.533s-1.829-.178-2.656-.533c-.827-.362-1.552-.851-2.174-1.466-.615-.622-1.104-1.347-1.466-2.174-.355-.827-.533-1.712-.533-2.656z">`);
|
|
7910
7909
|
function $87d7574e1d89d69b$export$82eafebb825fc23f(props = {}) {
|
|
7911
7910
|
return (() => {
|
|
7912
7911
|
const _el$ = $gVhhF$solidjsweb.getNextElement($87d7574e1d89d69b$var$_tmpl$);
|
|
@@ -7919,8 +7918,8 @@ function $87d7574e1d89d69b$export$82eafebb825fc23f(props = {}) {
|
|
|
7919
7918
|
return _el$;
|
|
7920
7919
|
})();
|
|
7921
7920
|
}
|
|
7922
|
-
const $66b8b9a9613c141d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class=
|
|
7923
|
-
$66b8b9a9613c141d$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
7921
|
+
const $66b8b9a9613c141d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class=back type=button>`),
|
|
7922
|
+
$66b8b9a9613c141d$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=search-field><!$><!/><div class=field><input class=query tabindex=0><button type=button class=clear></button></div><button class="submit major"type=button>`);
|
|
7924
7923
|
function $66b8b9a9613c141d$export$b94867ecbd698f21({
|
|
7925
7924
|
search_field_value_: search_field_value_,
|
|
7926
7925
|
input_field_ref_: input_field_ref_,
|
|
@@ -8019,7 +8018,7 @@ function $66b8b9a9613c141d$export$b94867ecbd698f21({
|
|
|
8019
8018
|
input_field_ref_?.(el);
|
|
8020
8019
|
});
|
|
8021
8020
|
typeof _ref$ === "function" && $gVhhF$solidjsweb.use(_ref$, _el$4);
|
|
8022
|
-
_el$4.classList.toggle("has-adjacent-back-button",
|
|
8021
|
+
_el$4.classList.toggle("has-adjacent-back-button", !!!!on_back_);
|
|
8023
8022
|
$gVhhF$solidjsweb.addEventListener(_el$5, "click", $gVhhF$depictaiutilishared.catchify(() => {
|
|
8024
8023
|
search_field_value_[1]("");
|
|
8025
8024
|
clear_filters_(true);
|
|
@@ -8047,14 +8046,14 @@ function $66b8b9a9613c141d$export$b94867ecbd698f21({
|
|
|
8047
8046
|
_v$4: undefined,
|
|
8048
8047
|
_v$5: undefined
|
|
8049
8048
|
});
|
|
8050
|
-
$gVhhF$solidjsweb.effect(() => _el$4
|
|
8049
|
+
$gVhhF$solidjsweb.effect(() => $gVhhF$solidjsweb.setProperty(_el$4, "value", search_field_value_[0]()));
|
|
8051
8050
|
$gVhhF$solidjsweb.runHydrationEvents();
|
|
8052
8051
|
return _el$;
|
|
8053
8052
|
})();
|
|
8054
8053
|
}
|
|
8055
8054
|
$gVhhF$solidjsweb.delegateEvents(["click", "keydown", "input", "pointerdown"]);
|
|
8056
|
-
const $fb29c6201c369e39$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
8057
|
-
$fb29c6201c369e39$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="show-more major"
|
|
8055
|
+
const $fb29c6201c369e39$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=search-recs><h3 class=search-recs-title></h3><!$><!/><!$><!/>`),
|
|
8056
|
+
$fb29c6201c369e39$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class="show-more major"type=button>`);
|
|
8058
8057
|
const $fb29c6201c369e39$export$1c8c715550dc689d = 2;
|
|
8059
8058
|
function $fb29c6201c369e39$export$7de92c4c2205ebf3({
|
|
8060
8059
|
depict_api_: depict_api_,
|
|
@@ -8295,9 +8294,9 @@ async function $f328bd45f8ede33c$export$e16630ecb9644a1c({
|
|
|
8295
8294
|
const $639c124c22b6cbaa$export$27b710c08412a7ad = obj => {
|
|
8296
8295
|
return Object.fromEntries(Object.keys(obj).map(key => [key, obj[key]()]));
|
|
8297
8296
|
};
|
|
8298
|
-
const $6ae613870d3380fc$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class="orig price"
|
|
8299
|
-
$6ae613870d3380fc$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=
|
|
8300
|
-
$6ae613870d3380fc$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
8297
|
+
const $6ae613870d3380fc$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class="orig price"><!$><!/><!$><!/><!$><!/>`),
|
|
8298
|
+
$6ae613870d3380fc$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=instant-card><div class=img-part></div><div class=right-part><div class=title-brand-tagline><span class=brand></span><span class="title line-clamp"></span><!$><!/></div><div class=price-container><!$><!/><span class=price><!$><!/><!$><!/><!$><!/>`),
|
|
8299
|
+
$6ae613870d3380fc$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=tagline>`);
|
|
8301
8300
|
const $6ae613870d3380fc$export$b05c0ae390cf3e06 = (display_or_variant_container, {
|
|
8302
8301
|
i18n: i18n
|
|
8303
8302
|
}, router_) => {
|
|
@@ -8420,7 +8419,7 @@ const $6ae613870d3380fc$export$b05c0ae390cf3e06 = (display_or_variant_container,
|
|
|
8420
8419
|
})();
|
|
8421
8420
|
};
|
|
8422
8421
|
$gVhhF$solidjsweb.delegateEvents(["click"]);
|
|
8423
|
-
const $6ae556e536054e87$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
8422
|
+
const $6ae556e536054e87$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=instant-results>`);
|
|
8424
8423
|
function $6ae556e536054e87$export$62f101a8aa597bf8({
|
|
8425
8424
|
depict_api_: depict_api_,
|
|
8426
8425
|
search_field_value_: [get_search_field_value],
|
|
@@ -8513,8 +8512,8 @@ function $6ae556e536054e87$export$62f101a8aa597bf8({
|
|
|
8513
8512
|
return _el$;
|
|
8514
8513
|
})();
|
|
8515
8514
|
}
|
|
8516
|
-
const $7b98f0cf558884f7$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div style=
|
|
8517
|
-
$7b98f0cf558884f7$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div style=
|
|
8515
|
+
const $7b98f0cf558884f7$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div style=position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;top:-100%;>`),
|
|
8516
|
+
$7b98f0cf558884f7$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div style=position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;>`);
|
|
8518
8517
|
function $7b98f0cf558884f7$export$50b90be27d8502d9(el, [get_style_props, set_style_props], bottom_distance) {
|
|
8519
8518
|
const overflow_style_beginning = "position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;";
|
|
8520
8519
|
const upper_overflowing_box = $gVhhF$solidjsweb.getNextElement($7b98f0cf558884f7$var$_tmpl$);
|
|
@@ -8562,12 +8561,12 @@ function $496cde876b53ce1e$export$91c3b6774e8be0f5({
|
|
|
8562
8561
|
return u_o.href;
|
|
8563
8562
|
});
|
|
8564
8563
|
}
|
|
8565
|
-
const $9e30168c4b1661d2$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=
|
|
8564
|
+
const $9e30168c4b1661d2$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=12 height=13><path d="M6 12.598a5.88 5.88 0 0 1-1.611-.223c-.52-.145-1.008-.352-1.465-.621s-.875-.605-1.254-.996-.693-.83-.955-1.318c-.039-.07-.047-.145-.023-.223s.072-.143.146-.182.145-.047.223-.023.143.072.182.146a5.54 5.54 0 0 0 .861 1.184c.34.352.715.65 1.125.897s.85.435 1.318.568A5.5 5.5 0 0 0 6 12a5.24 5.24 0 0 0 2.098-.422c.656-.285 1.229-.672 1.717-1.16s.879-1.061 1.16-1.717a5.22 5.22 0 0 0 .428-2.104c0-.742-.143-1.441-.428-2.098s-.668-1.229-1.16-1.717a5.42 5.42 0 0 0-1.717-1.154A5.18 5.18 0 0 0 6 1.201c-.496 0-.979.066-1.447.199s-.904.316-1.318.563-.785.539-1.125.891a5.31 5.31 0 0 0-.855 1.172.32.32 0 0 1-.164.141c-.066.023-.135.023-.205 0a.3.3 0 0 1-.158-.135C.691 3.965.682 3.895.697 3.82l.51-2.385c.016-.078.059-.141.129-.187a.28.28 0 0 1 .229-.041c.078.016.141.059.188.129a.28.28 0 0 1 .041.229l-.211.973a5.91 5.91 0 0 1 .926-.814 5.78 5.78 0 0 1 1.066-.609A5.79 5.79 0 0 1 4.746.732C5.156.643 5.574.598 6 .598c.402 0 .795.039 1.178.117s.76.191 1.119.34a5.95 5.95 0 0 1 1.031.551c.328.219.633.469.914.75s.535.592.75.92a5.77 5.77 0 0 1 .551 1.025 5.53 5.53 0 0 1 .34 1.119c.078.387.117.779.117 1.178s-.039.797-.117 1.184-.187.754-.34 1.113a5.96 5.96 0 0 1-.551 1.031 5.56 5.56 0 0 1-.75.914c-.281.285-.586.537-.914.756a5.95 5.95 0 0 1-1.031.551c-.359.148-.732.26-1.119.334s-.775.117-1.178.117zm0-5.695c-.023 0-.049-.004-.076-.012s-.047-.018-.07-.029l-2.701-1.5c-.07-.039-.117-.098-.141-.176a.29.29 0 0 1 .023-.229c.043-.074.104-.123.182-.146s.158-.014.229.029l2.543 1.412 3.152-2.004c.07-.047.145-.061.223-.041a.29.29 0 0 1 .188.135c.047.066.061.141.041.223a.27.27 0 0 1-.129.188L6.158 6.855a.27.27 0 0 1-.076.035c-.027.008-.055.012-.082.012z"fill=#0f0f0f>`);
|
|
8566
8565
|
function $9e30168c4b1661d2$export$5d2caaa6b530761c() {
|
|
8567
8566
|
return $gVhhF$solidjsweb.getNextElement($9e30168c4b1661d2$var$_tmpl$);
|
|
8568
8567
|
}
|
|
8569
|
-
const $9a268bf73b31a717$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
8570
|
-
$9a268bf73b31a717$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=
|
|
8568
|
+
const $9a268bf73b31a717$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=previous-searches><h2 class=text></h2><div class=list>`),
|
|
8569
|
+
$9a268bf73b31a717$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=item><div class=left><!$><!/><span class=line-clamp></span></div><button class=delete>`);
|
|
8571
8570
|
function $9a268bf73b31a717$export$a146ac6fa8346a25({
|
|
8572
8571
|
text_: text_,
|
|
8573
8572
|
previous_searches_: previous_searches_,
|
|
@@ -8670,8 +8669,8 @@ function $9a268bf73b31a717$export$a146ac6fa8346a25({
|
|
|
8670
8669
|
}
|
|
8671
8670
|
});
|
|
8672
8671
|
}
|
|
8673
|
-
const $d023ed916c84e75d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=
|
|
8674
|
-
$d023ed916c84e75d$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span
|
|
8672
|
+
const $d023ed916c84e75d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=highlighted-part>`),
|
|
8673
|
+
$d023ed916c84e75d$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span>`);
|
|
8675
8674
|
function $d023ed916c84e75d$export$ba17c5b7e6dda39f({
|
|
8676
8675
|
whole_text_to_display_: whole_text_to_display_memo,
|
|
8677
8676
|
searching_for_value_: searching_for_value_memo,
|
|
@@ -8742,7 +8741,7 @@ function $d023ed916c84e75d$export$ba17c5b7e6dda39f({
|
|
|
8742
8741
|
return _el$2;
|
|
8743
8742
|
})();
|
|
8744
8743
|
}
|
|
8745
|
-
const $c0125412b4ea0c93$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=
|
|
8744
|
+
const $c0125412b4ea0c93$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<svg xmlns=http://www.w3.org/2000/svg width=32 height=32 viewBox="0 0 256 256"><path d="M56 26.455a13.71 13.71 0 0 0-9.578 3.967A13.71 13.71 0 0 0 42.455 40v176a13.71 13.71 0 0 0 3.967 9.578A13.71 13.71 0 0 0 56 229.545h144A13.71 13.71 0 0 0 213.545 216V88a2.456 2.456 0 0 1 0-.002c.001-1.452-.597-2.895-1.623-3.922l-55.998-55.998a5.61 5.61 0 0 0-3.922-1.623 2.456 2.456 0 0 1-.002 0zm0 11.09h88A2.456 2.456 0 0 1 146.455 40v48c0 2.903 2.642 5.545 5.545 5.545h48A2.456 2.456 0 0 1 202.455 96v120a2.456 2.456 0 0 1-2.455 2.455H56A2.456 2.456 0 0 1 53.545 216V40A2.456 2.456 0 0 1 56 37.545zm103.061 11.498a2.456 2.456 0 0 1 2.676.531l28.689 28.689a2.456 2.456 0 0 1-1.736 4.191H160A2.456 2.456 0 0 1 157.545 80V51.311a2.456 2.456 0 0 1 1.516-2.268zM96 130.455c-2.903 0-5.545 2.642-5.545 5.545s2.642 5.545 5.545 5.545h64c2.903 0 5.545-2.642 5.545-5.545s-2.642-5.545-5.545-5.545zm0 32c-2.903 0-5.545 2.642-5.545 5.545s2.642 5.545 5.545 5.545h64c2.903 0 5.545-2.642 5.545-5.545s-2.642-5.545-5.545-5.545z">`);
|
|
8746
8745
|
function $c0125412b4ea0c93$export$605674723bcc715c(props = {}) {
|
|
8747
8746
|
return (() => {
|
|
8748
8747
|
const _el$ = $gVhhF$solidjsweb.getNextElement($c0125412b4ea0c93$var$_tmpl$);
|
|
@@ -8751,15 +8750,15 @@ function $c0125412b4ea0c93$export$605674723bcc715c(props = {}) {
|
|
|
8751
8750
|
return _el$;
|
|
8752
8751
|
})();
|
|
8753
8752
|
}
|
|
8754
|
-
const $6b65ba8af12c5a26$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=
|
|
8755
|
-
$6b65ba8af12c5a26$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
8756
|
-
$6b65ba8af12c5a26$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=
|
|
8757
|
-
$6b65ba8af12c5a26$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
8758
|
-
$6b65ba8af12c5a26$var$_tmpl$5 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
8759
|
-
$6b65ba8af12c5a26$var$_tmpl$6 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<h2 class=
|
|
8760
|
-
$6b65ba8af12c5a26$var$_tmpl$7 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="suggestion-container query"
|
|
8761
|
-
$6b65ba8af12c5a26$var$_tmpl$8 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="suggestion-container page"
|
|
8762
|
-
$6b65ba8af12c5a26$var$_tmpl$9 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
8753
|
+
const $6b65ba8af12c5a26$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a class=suggestion>`),
|
|
8754
|
+
$6b65ba8af12c5a26$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=search-icon>`),
|
|
8755
|
+
$6b65ba8af12c5a26$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=type>`),
|
|
8756
|
+
$6b65ba8af12c5a26$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=with-parent-title><!$><!/><span class="value line-clamp">`),
|
|
8757
|
+
$6b65ba8af12c5a26$var$_tmpl$5 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=with-icon><!$><!/><!$><!/>`),
|
|
8758
|
+
$6b65ba8af12c5a26$var$_tmpl$6 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<h2 class=text>`),
|
|
8759
|
+
$6b65ba8af12c5a26$var$_tmpl$7 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="suggestion-container query"><!$><!/><!$><!/>`),
|
|
8760
|
+
$6b65ba8af12c5a26$var$_tmpl$8 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="suggestion-container page">`),
|
|
8761
|
+
$6b65ba8af12c5a26$var$_tmpl$9 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=suggestions><!$><!/><!$><!/><!$><!/>`);
|
|
8763
8762
|
function $6b65ba8af12c5a26$export$e872e2339fb04a7f({
|
|
8764
8763
|
suggestion_memo_: suggestion_memo_,
|
|
8765
8764
|
search_query_url_param_name_: search_query_url_param_name_,
|
|
@@ -9017,7 +9016,7 @@ function $6b65ba8af12c5a26$export$e872e2339fb04a7f({
|
|
|
9017
9016
|
}
|
|
9018
9017
|
});
|
|
9019
9018
|
}
|
|
9020
|
-
const $b8700779b3e745de$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a target=
|
|
9019
|
+
const $b8700779b3e745de$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a target=_blank>`);
|
|
9021
9020
|
function $b8700779b3e745de$export$1efe1013da60d0e4(e, href) {
|
|
9022
9021
|
if (e.metaKey || e.ctrlKey) {
|
|
9023
9022
|
// Open link in a new tab with cmd/ctrl + enter.
|
|
@@ -9399,7 +9398,7 @@ const $2be658935c4043a9$export$af8311b651139246 = css_properties => {
|
|
|
9399
9398
|
const $2be658935c4043a9$export$1233ca167bf71f9a = styles => {
|
|
9400
9399
|
return Object.entries(styles).map(([selector, css_properties]) => `${selector} { ${$2be658935c4043a9$export$af8311b651139246(css_properties)} }`).join(" ");
|
|
9401
9400
|
};
|
|
9402
|
-
const $b776f25acdda22eb$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<style
|
|
9401
|
+
const $b776f25acdda22eb$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<style>`);
|
|
9403
9402
|
function $b776f25acdda22eb$export$f021bdedd3ec901a(props) {
|
|
9404
9403
|
const valid_css_string = $gVhhF$solidjs.createMemo(() => {
|
|
9405
9404
|
return $2be658935c4043a9$export$1233ca167bf71f9a(props.styles());
|
|
@@ -9410,10 +9409,10 @@ function $b776f25acdda22eb$export$f021bdedd3ec901a(props) {
|
|
|
9410
9409
|
return _el$;
|
|
9411
9410
|
})();
|
|
9412
9411
|
}
|
|
9413
|
-
const $f40a47a30a358305$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
9414
|
-
$f40a47a30a358305$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<b
|
|
9415
|
-
$f40a47a30a358305$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
9416
|
-
$f40a47a30a358305$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp search"><div class=
|
|
9412
|
+
const $f40a47a30a358305$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=discover-more><button class=major type=button>`),
|
|
9413
|
+
$f40a47a30a358305$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<b>`),
|
|
9414
|
+
$f40a47a30a358305$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=depict-search-modal><div class=body><!$><!/><div class=padded><!$><!/><!$><!/><!$><!/></div><!$><!/></div><!$><!/>`),
|
|
9415
|
+
$f40a47a30a358305$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp search"><div class=depict-search-modal-backdrop></div><!$><!/>`);
|
|
9417
9416
|
function $f40a47a30a358305$export$1c593cbd6f1e10bc({
|
|
9418
9417
|
search_field_value_: props_search_field_value,
|
|
9419
9418
|
get_search_query_: get_search_query_,
|
|
@@ -9665,8 +9664,8 @@ function $f40a47a30a358305$var$close_modal_when_navigating_away(close_modal, sea
|
|
|
9665
9664
|
})();
|
|
9666
9665
|
}
|
|
9667
9666
|
$gVhhF$solidjsweb.delegateEvents(["click"]);
|
|
9668
|
-
const $04048c1bef16c249$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
9669
|
-
$04048c1bef16c249$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
9667
|
+
const $04048c1bef16c249$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=category-suggestions>`),
|
|
9668
|
+
$04048c1bef16c249$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=category-suggestion>`);
|
|
9670
9669
|
function $04048c1bef16c249$export$c05a196222ba1302({
|
|
9671
9670
|
suggestions_: suggestions_,
|
|
9672
9671
|
children: children
|
|
@@ -9710,8 +9709,8 @@ function $04048c1bef16c249$export$c05a196222ba1302({
|
|
|
9710
9709
|
}
|
|
9711
9710
|
});
|
|
9712
9711
|
}
|
|
9713
|
-
const $65a0c4b1c2eb5d0b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<b
|
|
9714
|
-
$65a0c4b1c2eb5d0b$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
9712
|
+
const $65a0c4b1c2eb5d0b$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<b>`),
|
|
9713
|
+
$65a0c4b1c2eb5d0b$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=results-for>`);
|
|
9715
9714
|
function $65a0c4b1c2eb5d0b$export$9dd50d35b9d94fdf({
|
|
9716
9715
|
get_search_query_: get_search_query_,
|
|
9717
9716
|
i18n_: i18n_,
|
|
@@ -9760,7 +9759,7 @@ function $2005eec80e40088f$export$41b4894022a3580f({
|
|
|
9760
9759
|
})));
|
|
9761
9760
|
return style_props_;
|
|
9762
9761
|
}
|
|
9763
|
-
const $5ea5a82e398f6f44$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=
|
|
9762
|
+
const $5ea5a82e398f6f44$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<span class=highlighted-part>`);
|
|
9764
9763
|
const $5ea5a82e398f6f44$var$dont_cut_in_between_less_than_characters = 30;
|
|
9765
9764
|
function $5ea5a82e398f6f44$export$e1a98a189fd2c0e7({
|
|
9766
9765
|
content_result_: content_result_,
|
|
@@ -9980,10 +9979,10 @@ function $5ea5a82e398f6f44$var$segment_text(text, matched_strings) {
|
|
|
9980
9979
|
}
|
|
9981
9980
|
return output;
|
|
9982
9981
|
}
|
|
9983
|
-
const $76227de40be817e5$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a
|
|
9984
|
-
$76227de40be817e5$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div
|
|
9985
|
-
$76227de40be817e5$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="description line-clamp"
|
|
9986
|
-
$76227de40be817e5$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
9982
|
+
const $76227de40be817e5$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<a>`),
|
|
9983
|
+
$76227de40be817e5$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div>`),
|
|
9984
|
+
$76227de40be817e5$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="description line-clamp">`),
|
|
9985
|
+
$76227de40be817e5$var$_tmpl$4 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=content-card><div class=image></div><div class=info><!$><!/><!$><!/>`);
|
|
9987
9986
|
function $76227de40be817e5$export$f631859cab12b342({
|
|
9988
9987
|
router_: router_,
|
|
9989
9988
|
content_result_: content_result_
|
|
@@ -10136,9 +10135,9 @@ function $c2f92eb265a14529$export$4405d077f0a20494({
|
|
|
10136
10135
|
children: () => $gVhhF$solidjsweb.createComponent((0, $76227de40be817e5$export$f631859cab12b342), {})
|
|
10137
10136
|
});
|
|
10138
10137
|
}
|
|
10139
|
-
const $3716b8caf7f959e2$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
10140
|
-
$3716b8caf7f959e2$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class=
|
|
10141
|
-
$3716b8caf7f959e2$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class=
|
|
10138
|
+
const $3716b8caf7f959e2$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=content-results><!$><!/><!$><!/>`),
|
|
10139
|
+
$3716b8caf7f959e2$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class=view-more>`),
|
|
10140
|
+
$3716b8caf7f959e2$var$_tmpl$3 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<button class=view-less>`);
|
|
10142
10141
|
const $3716b8caf7f959e2$export$70ceae36059a1036 = 1;
|
|
10143
10142
|
function $3716b8caf7f959e2$export$6d0c9c22f6652669({
|
|
10144
10143
|
search_results_: search_results_,
|
|
@@ -10208,7 +10207,7 @@ function $3716b8caf7f959e2$export$6d0c9c22f6652669({
|
|
|
10208
10207
|
});
|
|
10209
10208
|
}
|
|
10210
10209
|
})), _el$5, _co$2);
|
|
10211
|
-
$gVhhF$solidjsweb.effect(() => _el$.style.setProperty("display", is_loading_() && placeholders_enabled() || content_results()?.length > 0 ? "" : "none"));
|
|
10210
|
+
$gVhhF$solidjsweb.effect(() => (is_loading_() && placeholders_enabled() || content_results()?.length, _el$.style.setProperty("display", is_loading_() && placeholders_enabled() || content_results()?.length > 0 ? "" : "none")));
|
|
10212
10211
|
return _el$;
|
|
10213
10212
|
})();
|
|
10214
10213
|
}
|
|
@@ -10240,8 +10239,8 @@ function $3716b8caf7f959e2$var$make_state_saved_rows(
|
|
|
10240
10239
|
}));
|
|
10241
10240
|
return rows;
|
|
10242
10241
|
}
|
|
10243
|
-
const $f1d7cb69f839a526$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=
|
|
10244
|
-
$f1d7cb69f839a526$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp search"><div class=
|
|
10242
|
+
const $f1d7cb69f839a526$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
|
|
10243
|
+
$f1d7cb69f839a526$var$_tmpl$2 = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp search"><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
|
|
10245
10244
|
function $f1d7cb69f839a526$export$a54ec244c8863715({
|
|
10246
10245
|
depict_api_: depict_api_,
|
|
10247
10246
|
search_field_value_: search_field_value_,
|
|
@@ -10668,7 +10667,7 @@ function $ab7c6c7911bae2f5$export$ff7109b9b2b206ba(sdk_cols_at_size, min_width_f
|
|
|
10668
10667
|
sorted_sizes.unshift([1, min_width_for_more_than_one_column]);
|
|
10669
10668
|
return sorted_sizes.map(([cols, max_width]) => max_width == Infinity ? [cols] : [cols, max_width]);
|
|
10670
10669
|
}
|
|
10671
|
-
const $2c61e4cd8229c49a$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp search"
|
|
10670
|
+
const $2c61e4cd8229c49a$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div class="depict plp search">`);
|
|
10672
10671
|
// We just pass page_url_creator to DepictAPI when we instantiate it, so don't allow it to be specified if api is already specified
|
|
10673
10672
|
/**
|
|
10674
10673
|
* Type for the private properties that are shared between the different exported search SDK wrapper functions.
|