@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.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { add_to_version_info as $9HbP8$add_to_version_info, base64_encode_unicode as $9HbP8$base64_encode_unicode, base64_decode_unicode as $9HbP8$base64_decode_unicode, dlog as $9HbP8$dlog, queueMacroTask as $9HbP8$queueMacroTask, catchify as $9HbP8$catchify, is_safari as $9HbP8$is_safari, observer as $9HbP8$observer, Amazing_Slider as $9HbP8$Amazing_Slider, slider_snap_css as $9HbP8$slider_snap_css, slider_fading_factory as $9HbP8$slider_fading_factory, slider_fractional_factory as $9HbP8$slider_fractional_factory, camelCasifyObject as $9HbP8$camelCasifyObject, make_random_classname as $9HbP8$make_random_classname, n_col_styling_with_dist as $9HbP8$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $9HbP8$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $9HbP8$layout_get_total_rec_amount_for_row, layout_media_query_header as $9HbP8$layout_media_query_header, report as $9HbP8$report, useExpandingContainer as $9HbP8$useExpandingContainer, standard_price_format as $9HbP8$standard_price_format, hex_to_rgb as $9HbP8$hex_to_rgb, relative_luminance_from_rgb as $9HbP8$relative_luminance_from_rgb, fetch_recs as $9HbP8$fetch_recs, snakeCasifyObject as $9HbP8$snakeCasifyObject, instant_exec_on_suspect_history_change as $9HbP8$instant_exec_on_suspect_history_change, base_url as $9HbP8$base_url, get_depict_id as $9HbP8$get_depict_id, get_user_id as $9HbP8$get_user_id, get_session_id as $9HbP8$get_session_id, sort_obj as $9HbP8$sort_obj, fetch_retry as $9HbP8$fetch_retry, add_version_query_params as $9HbP8$add_version_query_params, dwarn as $9HbP8$dwarn, make_url_with_query_params as $9HbP8$make_url_with_query_params, edit_current_page_meta_tags as $9HbP8$edit_current_page_meta_tags, javascript_media_query as $9HbP8$javascript_media_query, use_href_accessor as $9HbP8$use_href_accessor, is_debug as $9HbP8$is_debug, make_asyncIterable_exiter as $9HbP8$make_asyncIterable_exiter, href_change_ipns as $9HbP8$href_change_ipns, ContainedImage as $9HbP8$ContainedImage, buildThresholdList as $9HbP8$buildThresholdList, deparallelize_no_drop as $9HbP8$deparallelize_no_drop, ListenableSet as $9HbP8$ListenableSet, insert_surfaces as $9HbP8$insert_surfaces } from "@depict-ai/utilishared/latest";
|
|
2
|
-
import { createComponent as $9HbP8$createComponent, template as $9HbP8$template, getNextElement as $9HbP8$getNextElement, effect as $9HbP8$effect, style as $9HbP8$style, spread as $9HbP8$spread, mergeProps as $9HbP8$mergeProps, runHydrationEvents as $9HbP8$runHydrationEvents, insert as $9HbP8$insert, setAttribute as $9HbP8$setAttribute, isServer as $9HbP8$isServer, addEventListener as $9HbP8$addEventListener, className as $9HbP8$className, memo as $9HbP8$memo, delegateEvents as $9HbP8$delegateEvents, classList as $9HbP8$classList, getNextMarker as $9HbP8$getNextMarker, Dynamic as $9HbP8$Dynamic, use as $9HbP8$use } from "solid-js/web";
|
|
2
|
+
import { createComponent as $9HbP8$createComponent, template as $9HbP8$template, getNextElement as $9HbP8$getNextElement, effect as $9HbP8$effect, style as $9HbP8$style, spread as $9HbP8$spread, mergeProps as $9HbP8$mergeProps, runHydrationEvents as $9HbP8$runHydrationEvents, insert as $9HbP8$insert, setAttribute as $9HbP8$setAttribute, isServer as $9HbP8$isServer, addEventListener as $9HbP8$addEventListener, className as $9HbP8$className, memo as $9HbP8$memo, delegateEvents as $9HbP8$delegateEvents, classList as $9HbP8$classList, getNextMarker as $9HbP8$getNextMarker, Dynamic as $9HbP8$Dynamic, use as $9HbP8$use, setProperty as $9HbP8$setProperty } from "solid-js/web";
|
|
3
3
|
import { createSignal as $9HbP8$createSignal, getOwner as $9HbP8$getOwner, createEffect as $9HbP8$createEffect, runWithOwner as $9HbP8$runWithOwner, onCleanup as $9HbP8$onCleanup, createMemo as $9HbP8$createMemo, createContext as $9HbP8$createContext, useContext as $9HbP8$useContext, createResource as $9HbP8$createResource, Suspense as $9HbP8$Suspense, Show as $9HbP8$Show, untrack as $9HbP8$untrack, createRenderEffect as $9HbP8$createRenderEffect, Index as $9HbP8$Index, createRoot as $9HbP8$createRoot, For as $9HbP8$For, createUniqueId as $9HbP8$createUniqueId, createComputed as $9HbP8$createComputed, ErrorBoundary as $9HbP8$ErrorBoundary, on as $9HbP8$on, batch as $9HbP8$batch, createReaction as $9HbP8$createReaction, mapArray as $9HbP8$mapArray, mergeProps as $9HbP8$mergeProps1 } from "solid-js";
|
|
4
4
|
import { createStore as $9HbP8$createStore, reconcile as $9HbP8$reconcile } from "solid-js/store";
|
|
5
5
|
|
|
6
6
|
/*! Depict.ai search and product listing SDK */
|
|
7
7
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
8
8
|
register_es_version("ui", "latest");
|
|
9
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "2.1.
|
|
9
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "2.1.1";
|
|
10
10
|
const $4147651646da990a$var$fallback_operator = "in";
|
|
11
11
|
const $4147651646da990a$var$fallback_token = "";
|
|
12
12
|
const $4147651646da990a$var$legacy_filter_prefix = "filter_";
|
|
@@ -193,7 +193,7 @@ function $011607bdf658f807$export$e68cff63f76bd15b(props) {
|
|
|
193
193
|
function $011607bdf658f807$export$8d0c4fdbb05a2f2e() {
|
|
194
194
|
return $9HbP8$useContext($011607bdf658f807$var$ListingContext);
|
|
195
195
|
}
|
|
196
|
-
const $f18d425032111270$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div
|
|
196
|
+
const $f18d425032111270$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div>`);
|
|
197
197
|
function $f18d425032111270$export$94026ee33dbabc26(props) {
|
|
198
198
|
return (() => {
|
|
199
199
|
const _el$ = $9HbP8$getNextElement($f18d425032111270$var$_tmpl$);
|
|
@@ -201,7 +201,7 @@ function $f18d425032111270$export$94026ee33dbabc26(props) {
|
|
|
201
201
|
return _el$;
|
|
202
202
|
})();
|
|
203
203
|
}
|
|
204
|
-
const $e8ffe11ed01df0fe$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<img
|
|
204
|
+
const $e8ffe11ed01df0fe$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<img>`);
|
|
205
205
|
function $e8ffe11ed01df0fe$export$e6fffe67d4cdd848(whatToWatch) {
|
|
206
206
|
const [size, setSize] = $9HbP8$createSignal(0);
|
|
207
207
|
const resizeObserver = new ResizeObserver($9HbP8$catchify(records => {
|
|
@@ -306,7 +306,7 @@ function $660070e2a394b3c3$export$e4b984597b71e989(props) {
|
|
|
306
306
|
}));
|
|
307
307
|
return container;
|
|
308
308
|
}
|
|
309
|
-
const $fbbadcb080ad1d4a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=
|
|
309
|
+
const $fbbadcb080ad1d4a$var$_tmpl$ = /*#__PURE__*/$9HbP8$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>`);
|
|
310
310
|
function $fbbadcb080ad1d4a$export$8be2714ec7f169ee(props = {}) {
|
|
311
311
|
return (() => {
|
|
312
312
|
const _el$ = $9HbP8$getNextElement($fbbadcb080ad1d4a$var$_tmpl$);
|
|
@@ -323,7 +323,7 @@ function $fbbadcb080ad1d4a$export$8be2714ec7f169ee(props = {}) {
|
|
|
323
323
|
return _el$;
|
|
324
324
|
})();
|
|
325
325
|
}
|
|
326
|
-
const $f32e14878e75af51$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div
|
|
326
|
+
const $f32e14878e75af51$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div>`);
|
|
327
327
|
function $f32e14878e75af51$export$6649caad96ef8870({
|
|
328
328
|
children: children,
|
|
329
329
|
slider_ref_: slider_ref_,
|
|
@@ -666,7 +666,7 @@ class $4fd48cb976bf1789$export$aa14a9f43128f61f extends $4fd48cb976bf1789$export
|
|
|
666
666
|
});
|
|
667
667
|
}
|
|
668
668
|
}
|
|
669
|
-
const $b7436a6d1fd64e3b$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div
|
|
669
|
+
const $b7436a6d1fd64e3b$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div>`);
|
|
670
670
|
function $b7436a6d1fd64e3b$export$b69d0d92862de18b(props) {
|
|
671
671
|
return $9HbP8$ErrorBoundary({
|
|
672
672
|
fallback(err, retry) {
|
|
@@ -692,8 +692,8 @@ function $b7436a6d1fd64e3b$export$b69d0d92862de18b(props) {
|
|
|
692
692
|
}
|
|
693
693
|
});
|
|
694
694
|
}
|
|
695
|
-
const $c8d5ff4524619fcd$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div
|
|
696
|
-
$c8d5ff4524619fcd$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<style type=
|
|
695
|
+
const $c8d5ff4524619fcd$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div>`),
|
|
696
|
+
$c8d5ff4524619fcd$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<style type=text/css>`);
|
|
697
697
|
function $c8d5ff4524619fcd$export$d21e32dfedac04be(props) {
|
|
698
698
|
const container_class = "x" + $9HbP8$createUniqueId();
|
|
699
699
|
const container_element_ = (() => {
|
|
@@ -919,7 +919,7 @@ function $16b52438165aafe2$export$23fca46f3143581f(component, error_message) {
|
|
|
919
919
|
// we're already in a root so cleanups are handled
|
|
920
920
|
return component_in_error_boundary();
|
|
921
921
|
}
|
|
922
|
-
const $ee116da074deb002$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class="depict recommendations"
|
|
922
|
+
const $ee116da074deb002$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class="depict recommendations">`);
|
|
923
923
|
function $ee116da074deb002$export$9574e176201e5e8d(props) {
|
|
924
924
|
return $16b52438165aafe2$export$23fca46f3143581f(() => {
|
|
925
925
|
const grid_spacing_override = $9HbP8$createMemo(() => {
|
|
@@ -954,7 +954,7 @@ function $ee116da074deb002$export$9574e176201e5e8d(props) {
|
|
|
954
954
|
})();
|
|
955
955
|
}, "RecommendationSlider failed");
|
|
956
956
|
}
|
|
957
|
-
const $3da8afe3ed57cf34$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
957
|
+
const $3da8afe3ed57cf34$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=recommendation-grid><!$><!/><!$><!/>`);
|
|
958
958
|
function $3da8afe3ed57cf34$export$7da560f849543dff({
|
|
959
959
|
recommendations_resource_: recommendations_resource_,
|
|
960
960
|
product_card_template_: product_card_template_,
|
|
@@ -1013,8 +1013,8 @@ function $3da8afe3ed57cf34$export$7da560f849543dff({
|
|
|
1013
1013
|
children: elements
|
|
1014
1014
|
});
|
|
1015
1015
|
}
|
|
1016
|
-
const $9ea5383493360761$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button class="show-more major"
|
|
1017
|
-
$9ea5383493360761$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class="depict plp recommendations"
|
|
1016
|
+
const $9ea5383493360761$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button class="show-more major"type=button>`),
|
|
1017
|
+
$9ea5383493360761$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class="depict plp recommendations">`);
|
|
1018
1018
|
function $9ea5383493360761$export$9756467d34d91cdb(props) {
|
|
1019
1019
|
return $16b52438165aafe2$export$23fca46f3143581f(() => {
|
|
1020
1020
|
const rows_object_ = $9HbP8$createMemo(() => {
|
|
@@ -1190,7 +1190,7 @@ function $8c0f86cb3e266eeb$export$a71e92cfbb498adc(props) {
|
|
|
1190
1190
|
return $9HbP8$standard_price_format(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
|
|
1191
1191
|
});
|
|
1192
1192
|
}
|
|
1193
|
-
const $bf52d9f9eebd1938$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div
|
|
1193
|
+
const $bf52d9f9eebd1938$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div>`);
|
|
1194
1194
|
const $bf52d9f9eebd1938$var$closing_functions = /*@__PURE__*/new Set();
|
|
1195
1195
|
const $bf52d9f9eebd1938$export$22970a0140fc759c = /*@__PURE__*/$9HbP8$createSignal(false);
|
|
1196
1196
|
function $bf52d9f9eebd1938$export$5196e4c01fa56fcb({
|
|
@@ -1281,8 +1281,8 @@ function $bf52d9f9eebd1938$export$5196e4c01fa56fcb({
|
|
|
1281
1281
|
close_toast_: close_toast_
|
|
1282
1282
|
};
|
|
1283
1283
|
}
|
|
1284
|
-
const $e9342fb3ac73a54a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
1285
|
-
$e9342fb3ac73a54a$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
1284
|
+
const $e9342fb3ac73a54a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=statement>`),
|
|
1285
|
+
$e9342fb3ac73a54a$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=buttons><button class="restore minor"></button><button class="ok major">`);
|
|
1286
1286
|
function $e9342fb3ac73a54a$export$8895d39404bd2bb1(props) {
|
|
1287
1287
|
let previous_sorting;
|
|
1288
1288
|
let on_toast_hidden;
|
|
@@ -1365,7 +1365,7 @@ function $e9342fb3ac73a54a$export$8895d39404bd2bb1(props) {
|
|
|
1365
1365
|
if (delay_toast_) return show_configured_toast;else show_configured_toast();
|
|
1366
1366
|
}
|
|
1367
1367
|
$9HbP8$delegateEvents(["click"]);
|
|
1368
|
-
const $19976a74d273070d$var$_tmpl$ = /*#__PURE__*/$9HbP8$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"
|
|
1368
|
+
const $19976a74d273070d$var$_tmpl$ = /*#__PURE__*/$9HbP8$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">`);
|
|
1369
1369
|
function $19976a74d273070d$export$3b621d86b1566b2(props = {}) {
|
|
1370
1370
|
return (() => {
|
|
1371
1371
|
const _el$ = $9HbP8$getNextElement($19976a74d273070d$var$_tmpl$);
|
|
@@ -1387,10 +1387,10 @@ function $91aa8ee9f431800d$export$325f75597868c4f0(stuff) {
|
|
|
1387
1387
|
if (typeof stuff !== "string") return stuff;
|
|
1388
1388
|
return stuff.toLowerCase();
|
|
1389
1389
|
}
|
|
1390
|
-
const $1adfe60f3a14a1d7$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button class="clear-all-filters minor"
|
|
1391
|
-
$1adfe60f3a14a1d7$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
1392
|
-
$1adfe60f3a14a1d7$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<button class="clear-filter major"
|
|
1393
|
-
$1adfe60f3a14a1d7$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<button class="clear-filter major"
|
|
1390
|
+
const $1adfe60f3a14a1d7$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button class="clear-all-filters minor">`),
|
|
1391
|
+
$1adfe60f3a14a1d7$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=inner><span class=title><!$><!/>: </span><!$><!/>`),
|
|
1392
|
+
$1adfe60f3a14a1d7$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<button class="clear-filter major"><!$><!/><span><!$><!/><!$><!/><!$><!/> – <!$><!/><!$><!/><!$><!/>`),
|
|
1393
|
+
$1adfe60f3a14a1d7$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<button class="clear-filter major"><!$><!/><span>`);
|
|
1394
1394
|
function $1adfe60f3a14a1d7$export$fecbb157621501bd({
|
|
1395
1395
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
|
|
1396
1396
|
i18n_: i18n_,
|
|
@@ -1515,56 +1515,54 @@ function $1adfe60f3a14a1d7$export$fecbb157621501bd({
|
|
|
1515
1515
|
return matching_filter()?.op !== "inrange";
|
|
1516
1516
|
},
|
|
1517
1517
|
get fallback() {
|
|
1518
|
+
number_of_rendered_selected_filters_items_[1](prev => prev + 1);
|
|
1519
|
+
$9HbP8$onCleanup(() => number_of_rendered_selected_filters_items_[1](prev => prev - 1));
|
|
1518
1520
|
return (() => {
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
$9HbP8$insert(_el$10, () => price_formatting_().post_, _el$23, _co$8);
|
|
1565
|
-
$9HbP8$runHydrationEvents();
|
|
1566
|
-
return _el$9;
|
|
1567
|
-
})();
|
|
1521
|
+
const _el$9 = $9HbP8$getNextElement($1adfe60f3a14a1d7$var$_tmpl$3),
|
|
1522
|
+
_el$24 = _el$9.firstChild,
|
|
1523
|
+
[_el$25, _co$9] = $9HbP8$getNextMarker(_el$24.nextSibling),
|
|
1524
|
+
_el$10 = _el$25.nextSibling,
|
|
1525
|
+
_el$12 = _el$10.firstChild,
|
|
1526
|
+
[_el$13, _co$3] = $9HbP8$getNextMarker(_el$12.nextSibling),
|
|
1527
|
+
_el$14 = _el$13.nextSibling,
|
|
1528
|
+
[_el$15, _co$4] = $9HbP8$getNextMarker(_el$14.nextSibling),
|
|
1529
|
+
_el$16 = _el$15.nextSibling,
|
|
1530
|
+
[_el$17, _co$5] = $9HbP8$getNextMarker(_el$16.nextSibling),
|
|
1531
|
+
_el$11 = _el$17.nextSibling,
|
|
1532
|
+
_el$18 = _el$11.nextSibling,
|
|
1533
|
+
[_el$19, _co$6] = $9HbP8$getNextMarker(_el$18.nextSibling),
|
|
1534
|
+
_el$20 = _el$19.nextSibling,
|
|
1535
|
+
[_el$21, _co$7] = $9HbP8$getNextMarker(_el$20.nextSibling),
|
|
1536
|
+
_el$22 = _el$21.nextSibling,
|
|
1537
|
+
[_el$23, _co$8] = $9HbP8$getNextMarker(_el$22.nextSibling);
|
|
1538
|
+
_el$9.$$click = () => {
|
|
1539
|
+
const cloned_selected_filters = [...read_selected_filters()];
|
|
1540
|
+
cloned_selected_filters.splice(index_in_selected_filters, 1);
|
|
1541
|
+
write_selected_filters(cloned_selected_filters);
|
|
1542
|
+
};
|
|
1543
|
+
$9HbP8$insert(_el$9, $9HbP8$createComponent((0, $19976a74d273070d$export$3b621d86b1566b2), {}), _el$25, _co$9);
|
|
1544
|
+
$9HbP8$insert(_el$10, () => price_formatting_().pre_, _el$13, _co$3);
|
|
1545
|
+
$9HbP8$insert(_el$10, $9HbP8$createComponent((0, $8c0f86cb3e266eeb$export$a71e92cfbb498adc), {
|
|
1546
|
+
get price_() {
|
|
1547
|
+
return filter().data[0];
|
|
1548
|
+
},
|
|
1549
|
+
get price_formatting_() {
|
|
1550
|
+
return price_formatting_();
|
|
1551
|
+
}
|
|
1552
|
+
}), _el$15, _co$4);
|
|
1553
|
+
$9HbP8$insert(_el$10, () => price_formatting_().post_, _el$17, _co$5);
|
|
1554
|
+
$9HbP8$insert(_el$10, () => price_formatting_().pre_, _el$19, _co$6);
|
|
1555
|
+
$9HbP8$insert(_el$10, $9HbP8$createComponent((0, $8c0f86cb3e266eeb$export$a71e92cfbb498adc), {
|
|
1556
|
+
get price_() {
|
|
1557
|
+
return filter().data[1];
|
|
1558
|
+
},
|
|
1559
|
+
get price_formatting_() {
|
|
1560
|
+
return price_formatting_();
|
|
1561
|
+
}
|
|
1562
|
+
}), _el$21, _co$7);
|
|
1563
|
+
$9HbP8$insert(_el$10, () => price_formatting_().post_, _el$23, _co$8);
|
|
1564
|
+
$9HbP8$runHydrationEvents();
|
|
1565
|
+
return _el$9;
|
|
1568
1566
|
})();
|
|
1569
1567
|
},
|
|
1570
1568
|
get children() {
|
|
@@ -1687,8 +1685,8 @@ function $1adfe60f3a14a1d7$export$fecbb157621501bd({
|
|
|
1687
1685
|
return outmost_element;
|
|
1688
1686
|
}
|
|
1689
1687
|
$9HbP8$delegateEvents(["click"]);
|
|
1690
|
-
const $49b79728e7d9e2a1$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class=
|
|
1691
|
-
$49b79728e7d9e2a1$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<label class=
|
|
1688
|
+
const $49b79728e7d9e2a1$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class=count>`),
|
|
1689
|
+
$49b79728e7d9e2a1$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<label class=input-row><div class=left><input type=checkbox><span class=custom-indicator></span><span class="text line-clamp"></span></div><!$><!/>`);
|
|
1692
1690
|
const $49b79728e7d9e2a1$export$48513f6b9f8ce62d = props => {
|
|
1693
1691
|
// 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
|
|
1694
1692
|
const count = $9HbP8$createMemo(() => props.count_);
|
|
@@ -1736,19 +1734,19 @@ const $49b79728e7d9e2a1$export$48513f6b9f8ce62d = props => {
|
|
|
1736
1734
|
_v$3 = !checked() && is_count_zero();
|
|
1737
1735
|
_v$ !== _p$._v$ && _el$.classList.toggle("count-0", _p$._v$ = _v$);
|
|
1738
1736
|
_v$2 !== _p$._v$2 && $9HbP8$setAttribute(_el$3, "name", _p$._v$2 = _v$2);
|
|
1739
|
-
_v$3 !== _p$._v$3 && (_el$3
|
|
1737
|
+
_v$3 !== _p$._v$3 && $9HbP8$setProperty(_el$3, "disabled", _p$._v$3 = _v$3);
|
|
1740
1738
|
return _p$;
|
|
1741
1739
|
}, {
|
|
1742
1740
|
_v$: undefined,
|
|
1743
1741
|
_v$2: undefined,
|
|
1744
1742
|
_v$3: undefined
|
|
1745
1743
|
});
|
|
1746
|
-
$9HbP8$effect(() => _el$3
|
|
1744
|
+
$9HbP8$effect(() => $9HbP8$setProperty(_el$3, "checked", checked()));
|
|
1747
1745
|
return _el$;
|
|
1748
1746
|
})()
|
|
1749
1747
|
);
|
|
1750
1748
|
};
|
|
1751
|
-
const $f8a56ba74eedd0c6$var$_tmpl$ = /*#__PURE__*/$9HbP8$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"
|
|
1749
|
+
const $f8a56ba74eedd0c6$var$_tmpl$ = /*#__PURE__*/$9HbP8$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>`);
|
|
1752
1750
|
function $f8a56ba74eedd0c6$export$f21ab0717a89c77f(props) {
|
|
1753
1751
|
return (() => {
|
|
1754
1752
|
const _el$ = $9HbP8$getNextElement($f8a56ba74eedd0c6$var$_tmpl$);
|
|
@@ -1761,7 +1759,7 @@ function $f8a56ba74eedd0c6$export$f21ab0717a89c77f(props) {
|
|
|
1761
1759
|
return _el$;
|
|
1762
1760
|
})();
|
|
1763
1761
|
}
|
|
1764
|
-
const $67b173f9db427028$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button type=
|
|
1762
|
+
const $67b173f9db427028$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button type=button class=expand-filter><!$><!/><span>`);
|
|
1765
1763
|
function $67b173f9db427028$export$ca21a16d65b3dd8({
|
|
1766
1764
|
show_extras_: [get_show_extras, set_show_extras],
|
|
1767
1765
|
i18n_: i18n_
|
|
@@ -1783,7 +1781,7 @@ function $67b173f9db427028$export$ca21a16d65b3dd8({
|
|
|
1783
1781
|
})();
|
|
1784
1782
|
}
|
|
1785
1783
|
$9HbP8$delegateEvents(["click"]);
|
|
1786
|
-
const $a4601e6bea3ed1e6$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<form class=
|
|
1784
|
+
const $a4601e6bea3ed1e6$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<form class=checkboxes><!$><!/><!$><!/>`);
|
|
1787
1785
|
const $a4601e6bea3ed1e6$var$max_visible_without_collapsing = 15;
|
|
1788
1786
|
const $a4601e6bea3ed1e6$var$show_non_collapsible_when_collapsed = 4;
|
|
1789
1787
|
function $a4601e6bea3ed1e6$export$dd948f91abc3a1c4({
|
|
@@ -1910,9 +1908,9 @@ function $a4601e6bea3ed1e6$export$dd948f91abc3a1c4({
|
|
|
1910
1908
|
return _el$;
|
|
1911
1909
|
})();
|
|
1912
1910
|
}
|
|
1913
|
-
const $eb8d9bf3b5700c26$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<form class=
|
|
1914
|
-
$eb8d9bf3b5700c26$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<span class=
|
|
1915
|
-
$eb8d9bf3b5700c26$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<label class=
|
|
1911
|
+
const $eb8d9bf3b5700c26$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<form class=radios>`),
|
|
1912
|
+
$eb8d9bf3b5700c26$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<span class=count>`),
|
|
1913
|
+
$eb8d9bf3b5700c26$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<label class=input-row><div class=left><input type=radio><span class=custom-indicator></span><!$><!/></div><!$><!/>`);
|
|
1916
1914
|
function $eb8d9bf3b5700c26$export$430444115f70a734({
|
|
1917
1915
|
selected_filters_: selected_filters_,
|
|
1918
1916
|
filter_: filter_
|
|
@@ -1978,12 +1976,12 @@ function $eb8d9bf3b5700c26$export$430444115f70a734({
|
|
|
1978
1976
|
}
|
|
1979
1977
|
}), _el$10, _co$2);
|
|
1980
1978
|
$9HbP8$effect(() => _el$2.classList.toggle("count-0", !!(count() === 0)));
|
|
1981
|
-
$9HbP8$effect(() => _el$4
|
|
1979
|
+
$9HbP8$effect(() => $9HbP8$setProperty(_el$4, "checked", $9HbP8$createMemo(() => {
|
|
1982
1980
|
const v = value();
|
|
1983
1981
|
const data = existing_filter()?.data;
|
|
1984
1982
|
if ($91aa8ee9f431800d$export$325f75597868c4f0(data) === $91aa8ee9f431800d$export$325f75597868c4f0(v)) return true;
|
|
1985
1983
|
return Array.isArray(data) && data.every((item, index) => item === v[index]);
|
|
1986
|
-
})());
|
|
1984
|
+
})()));
|
|
1987
1985
|
return _el$2;
|
|
1988
1986
|
})();
|
|
1989
1987
|
}
|
|
@@ -1991,9 +1989,9 @@ function $eb8d9bf3b5700c26$export$430444115f70a734({
|
|
|
1991
1989
|
return _el$;
|
|
1992
1990
|
})();
|
|
1993
1991
|
}
|
|
1994
|
-
const $a6b08770e164eced$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
1995
|
-
$a6b08770e164eced$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
1996
|
-
$a6b08770e164eced$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
1992
|
+
const $a6b08770e164eced$var$_tmpl$ = /*#__PURE__*/$9HbP8$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><!$><!/><!$><!/><!$><!/>`),
|
|
1993
|
+
$a6b08770e164eced$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=slider><div class=progress>`),
|
|
1994
|
+
$a6b08770e164eced$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=range-group><input type=range step=any><input type=range step=any>`);
|
|
1997
1995
|
function $a6b08770e164eced$export$e0d834a0ad870cda({
|
|
1998
1996
|
filter_: filter_,
|
|
1999
1997
|
selected_filters_: selected_filters_,
|
|
@@ -2146,11 +2144,11 @@ function $a6b08770e164eced$var$RangeSelector({
|
|
|
2146
2144
|
_v$8 = min_(),
|
|
2147
2145
|
_v$9 = max_();
|
|
2148
2146
|
_v$ !== _p$._v$ && _el$.classList.toggle("disabled", _p$._v$ = _v$);
|
|
2149
|
-
_v$2 !== _p$._v$2 && (_el$4
|
|
2147
|
+
_v$2 !== _p$._v$2 && $9HbP8$setProperty(_el$4, "disabled", _p$._v$2 = _v$2);
|
|
2150
2148
|
_v$3 !== _p$._v$3 && $9HbP8$setAttribute(_el$4, "aria-label", _p$._v$3 = _v$3);
|
|
2151
2149
|
_v$4 !== _p$._v$4 && $9HbP8$setAttribute(_el$4, "min", _p$._v$4 = _v$4);
|
|
2152
2150
|
_v$5 !== _p$._v$5 && $9HbP8$setAttribute(_el$4, "max", _p$._v$5 = _v$5);
|
|
2153
|
-
_v$6 !== _p$._v$6 && (_el$7
|
|
2151
|
+
_v$6 !== _p$._v$6 && $9HbP8$setProperty(_el$7, "disabled", _p$._v$6 = _v$6);
|
|
2154
2152
|
_v$7 !== _p$._v$7 && $9HbP8$setAttribute(_el$7, "aria-label", _p$._v$7 = _v$7);
|
|
2155
2153
|
_v$8 !== _p$._v$8 && $9HbP8$setAttribute(_el$7, "min", _p$._v$8 = _v$8);
|
|
2156
2154
|
_v$9 !== _p$._v$9 && $9HbP8$setAttribute(_el$7, "max", _p$._v$9 = _v$9);
|
|
@@ -2166,8 +2164,8 @@ function $a6b08770e164eced$var$RangeSelector({
|
|
|
2166
2164
|
_v$8: undefined,
|
|
2167
2165
|
_v$9: undefined
|
|
2168
2166
|
});
|
|
2169
|
-
$9HbP8$effect(() => _el$4
|
|
2170
|
-
$9HbP8$effect(() => _el$7
|
|
2167
|
+
$9HbP8$effect(() => $9HbP8$setProperty(_el$4, "value", get_current_range()[0]));
|
|
2168
|
+
$9HbP8$effect(() => $9HbP8$setProperty(_el$7, "value", get_current_range()[1]));
|
|
2171
2169
|
$9HbP8$runHydrationEvents();
|
|
2172
2170
|
return _el$;
|
|
2173
2171
|
})();
|
|
@@ -2288,11 +2286,11 @@ function $a6b08770e164eced$var$LinearSlider({
|
|
|
2288
2286
|
_v$15 = i18n_.range_filter_high_point_aria_label_(),
|
|
2289
2287
|
_v$16 = min_(),
|
|
2290
2288
|
_v$17 = max_();
|
|
2291
|
-
_v$10 !== _p$._v$10 && (_el$28
|
|
2289
|
+
_v$10 !== _p$._v$10 && $9HbP8$setProperty(_el$28, "disabled", _p$._v$10 = _v$10);
|
|
2292
2290
|
_v$11 !== _p$._v$11 && $9HbP8$setAttribute(_el$28, "aria-label", _p$._v$11 = _v$11);
|
|
2293
2291
|
_v$12 !== _p$._v$12 && $9HbP8$setAttribute(_el$28, "min", _p$._v$12 = _v$12);
|
|
2294
2292
|
_v$13 !== _p$._v$13 && $9HbP8$setAttribute(_el$28, "max", _p$._v$13 = _v$13);
|
|
2295
|
-
_v$14 !== _p$._v$14 && (_el$29
|
|
2293
|
+
_v$14 !== _p$._v$14 && $9HbP8$setProperty(_el$29, "disabled", _p$._v$14 = _v$14);
|
|
2296
2294
|
_v$15 !== _p$._v$15 && $9HbP8$setAttribute(_el$29, "aria-label", _p$._v$15 = _v$15);
|
|
2297
2295
|
_v$16 !== _p$._v$16 && $9HbP8$setAttribute(_el$29, "min", _p$._v$16 = _v$16);
|
|
2298
2296
|
_v$17 !== _p$._v$17 && $9HbP8$setAttribute(_el$29, "max", _p$._v$17 = _v$17);
|
|
@@ -2307,13 +2305,13 @@ function $a6b08770e164eced$var$LinearSlider({
|
|
|
2307
2305
|
_v$16: undefined,
|
|
2308
2306
|
_v$17: undefined
|
|
2309
2307
|
});
|
|
2310
|
-
$9HbP8$effect(() => _el$28
|
|
2308
|
+
$9HbP8$effect(() => $9HbP8$setProperty(_el$28, "value", $9HbP8$createMemo(() => {
|
|
2311
2309
|
min_();
|
|
2312
2310
|
max_();
|
|
2313
2311
|
return get_current_range()[0];
|
|
2314
2312
|
}, undefined, {
|
|
2315
2313
|
equals: false
|
|
2316
|
-
})());
|
|
2314
|
+
})()));
|
|
2317
2315
|
$9HbP8$runHydrationEvents();
|
|
2318
2316
|
return _el$27;
|
|
2319
2317
|
})()];
|
|
@@ -2332,7 +2330,7 @@ function $a6b08770e164eced$var$set_range_with_sanitation(min_, max_, current_ran
|
|
|
2332
2330
|
current_range_signal[1](new_value);
|
|
2333
2331
|
}
|
|
2334
2332
|
$9HbP8$delegateEvents(["keydown", "click", "input"]);
|
|
2335
|
-
const $0b6bc2f8309efa8a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
2333
|
+
const $0b6bc2f8309efa8a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=morphing-sign role=img><span></span><span>`);
|
|
2336
2334
|
function $0b6bc2f8309efa8a$export$e5c2828934226505({
|
|
2337
2335
|
expanded_: expanded_,
|
|
2338
2336
|
i18n_: i18n_
|
|
@@ -2376,10 +2374,10 @@ function $0b6bc2f8309efa8a$export$e5c2828934226505({
|
|
|
2376
2374
|
});
|
|
2377
2375
|
return outer_div;
|
|
2378
2376
|
}
|
|
2379
|
-
const $1c8cac76cb67e9af$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<form class="checkboxes hierarchical"
|
|
2380
|
-
$1c8cac76cb67e9af$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
2381
|
-
$1c8cac76cb67e9af$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<details
|
|
2382
|
-
$1c8cac76cb67e9af$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<summary class=
|
|
2377
|
+
const $1c8cac76cb67e9af$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<form class="checkboxes hierarchical"><!$><!/><!$><!/>`),
|
|
2378
|
+
$1c8cac76cb67e9af$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=checkbox-details><!$><!/><!$><!/>`),
|
|
2379
|
+
$1c8cac76cb67e9af$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<details>`),
|
|
2380
|
+
$1c8cac76cb67e9af$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<summary class=category-parent><div class=summary><span class=count></span><!$><!/>`);
|
|
2383
2381
|
const $1c8cac76cb67e9af$var$max_visible_without_collapsing = 15;
|
|
2384
2382
|
const $1c8cac76cb67e9af$var$show_non_collapsible_when_collapsed = 4;
|
|
2385
2383
|
function $1c8cac76cb67e9af$export$a32086fa6616eafd({
|
|
@@ -2807,9 +2805,9 @@ function $1c8cac76cb67e9af$var$expand_until_choice(data_structure) {
|
|
|
2807
2805
|
}
|
|
2808
2806
|
});
|
|
2809
2807
|
}
|
|
2810
|
-
const $93716a9ad0dea854$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
2811
|
-
$93716a9ad0dea854$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<span class=
|
|
2812
|
-
$93716a9ad0dea854$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<button
|
|
2808
|
+
const $93716a9ad0dea854$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=checkbox-grid style=position:absolute;z-index:-1;pointer-events:none;opacity:0>`),
|
|
2809
|
+
$93716a9ad0dea854$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<span class=count-wrapper><span class=count>`),
|
|
2810
|
+
$93716a9ad0dea854$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<button><!$><!/><!$><!/>`);
|
|
2813
2811
|
const $93716a9ad0dea854$var$gap_px = 5;
|
|
2814
2812
|
const $93716a9ad0dea854$var$max_columns = 3;
|
|
2815
2813
|
const $93716a9ad0dea854$export$414f6a19d38e655c = ({
|
|
@@ -3017,7 +3015,7 @@ function $93716a9ad0dea854$var$adjust_sizes(container_width, sizes, set_cols_at_
|
|
|
3017
3015
|
overrides: column_to_row_result
|
|
3018
3016
|
}]]);
|
|
3019
3017
|
}
|
|
3020
|
-
const $e731d52d97444b7c$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<form class=
|
|
3018
|
+
const $e731d52d97444b7c$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<form class=checkbox-color><!$><!/><!$><!/>`);
|
|
3021
3019
|
const $e731d52d97444b7c$var$max_visible_without_collapsing = 30;
|
|
3022
3020
|
const $e731d52d97444b7c$var$show_non_collapsible_when_collapsed = 8;
|
|
3023
3021
|
function $e731d52d97444b7c$export$82ed4b28ecb67608({
|
|
@@ -3196,7 +3194,7 @@ var $12497d09ef87296e$export$2e2bcd8739ae039 = {
|
|
|
3196
3194
|
"checkbox-grid": (0, $93716a9ad0dea854$export$414f6a19d38e655c),
|
|
3197
3195
|
"checkbox-color": (0, $e731d52d97444b7c$export$82ed4b28ecb67608)
|
|
3198
3196
|
};
|
|
3199
|
-
const $9bc34983fc5f7bdb$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=
|
|
3197
|
+
const $9bc34983fc5f7bdb$var$_tmpl$ = /*#__PURE__*/$9HbP8$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">`);
|
|
3200
3198
|
function $9bc34983fc5f7bdb$export$f2ca6fc699ca1fb4(props = {}) {
|
|
3201
3199
|
return (() => {
|
|
3202
3200
|
const _el$ = $9HbP8$getNextElement($9bc34983fc5f7bdb$var$_tmpl$);
|
|
@@ -3205,7 +3203,7 @@ function $9bc34983fc5f7bdb$export$f2ca6fc699ca1fb4(props = {}) {
|
|
|
3205
3203
|
return _el$;
|
|
3206
3204
|
})();
|
|
3207
3205
|
}
|
|
3208
|
-
const $a7b58cb3bcffd156$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class=
|
|
3206
|
+
const $a7b58cb3bcffd156$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class=show-selected aria-hidden=true><span></span><!$><!/>`);
|
|
3209
3207
|
function $a7b58cb3bcffd156$export$53c59af873b303c9({
|
|
3210
3208
|
selected_filters_in_group_: selected_filters_in_group_,
|
|
3211
3209
|
i18n_: {
|
|
@@ -3325,7 +3323,7 @@ function $84d6cd10bb7b1589$export$ab34afce88557c0e(props) {
|
|
|
3325
3323
|
}));
|
|
3326
3324
|
return is_open;
|
|
3327
3325
|
}
|
|
3328
|
-
const $d20eff0aadc28983$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span
|
|
3326
|
+
const $d20eff0aadc28983$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span>`);
|
|
3329
3327
|
function $d20eff0aadc28983$export$acb3eaade4b23afd(props) {
|
|
3330
3328
|
return (() => {
|
|
3331
3329
|
const _el$ = $9HbP8$getNextElement($d20eff0aadc28983$var$_tmpl$);
|
|
@@ -3366,14 +3364,14 @@ function $d134eae24341b4a1$export$89c6019e4baa40b1(props) {
|
|
|
3366
3364
|
}
|
|
3367
3365
|
});
|
|
3368
3366
|
}
|
|
3369
|
-
const $fab07f52c9861732$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
3370
|
-
$fab07f52c9861732$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<button class=
|
|
3371
|
-
$fab07f52c9861732$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
3372
|
-
$fab07f52c9861732$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
3373
|
-
$fab07f52c9861732$var$_tmpl$5 = /*#__PURE__*/$9HbP8$template(`<details class=
|
|
3374
|
-
$fab07f52c9861732$var$_tmpl$6 = /*#__PURE__*/$9HbP8$template(`<summary class=
|
|
3375
|
-
$fab07f52c9861732$var$_tmpl$7 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
3376
|
-
$fab07f52c9861732$var$_tmpl$8 = /*#__PURE__*/$9HbP8$template(`<button class="clear-all-filters major"
|
|
3367
|
+
const $fab07f52c9861732$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=filter-collapsible>`),
|
|
3368
|
+
$fab07f52c9861732$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<button class=clear-group><!$><!/><span>`),
|
|
3369
|
+
$fab07f52c9861732$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=view-more-clear><!$><!/><!$><!/>`),
|
|
3370
|
+
$fab07f52c9861732$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div class=filter-collapsible-body><div class=filter-part></div><!$><!/>`),
|
|
3371
|
+
$fab07f52c9861732$var$_tmpl$5 = /*#__PURE__*/$9HbP8$template(`<details class=filter-collapsible>`),
|
|
3372
|
+
$fab07f52c9861732$var$_tmpl$6 = /*#__PURE__*/$9HbP8$template(`<summary class=filter-group-summary><div class=summary><span></span><div class=selected-w-sign><!$><!/><!$><!/>`),
|
|
3373
|
+
$fab07f52c9861732$var$_tmpl$7 = /*#__PURE__*/$9HbP8$template(`<div class=ungrouped>`),
|
|
3374
|
+
$fab07f52c9861732$var$_tmpl$8 = /*#__PURE__*/$9HbP8$template(`<button class="clear-all-filters major">`);
|
|
3377
3375
|
function $fab07f52c9861732$export$3f1a388cc0d8fed7(props) {
|
|
3378
3376
|
// Split like this to make placeholder wrapping more visible & this component is exported and used in MobileModal
|
|
3379
3377
|
return $9HbP8$createComponent((0, $9HbP8$Show), {
|
|
@@ -4278,7 +4276,7 @@ function $8f9120a1ca151e6a$export$205efb947c7ffd78(handler, passive = true) {
|
|
|
4278
4276
|
$9HbP8$onCleanup(() => removeEventListener(event, catchified_handler));
|
|
4279
4277
|
}
|
|
4280
4278
|
}
|
|
4281
|
-
const $6db49ca163afa2c3$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
4279
|
+
const $6db49ca163afa2c3$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=scroll-status style=display:none><span class=text><b></b> – <b></b> <!$><!/> <b>`);
|
|
4282
4280
|
function $6db49ca163afa2c3$export$83fd5de5504a7a67({
|
|
4283
4281
|
formatted_number_of_results_: formatted_number_of_results_,
|
|
4284
4282
|
first_result_in_viewport_: [get_first_result_in_viewport],
|
|
@@ -4415,8 +4413,8 @@ function $6db49ca163afa2c3$export$83fd5de5504a7a67({
|
|
|
4415
4413
|
return _el$;
|
|
4416
4414
|
})();
|
|
4417
4415
|
}
|
|
4418
|
-
const $598245ecfe38f34b$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<a class=
|
|
4419
|
-
$598245ecfe38f34b$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
4416
|
+
const $598245ecfe38f34b$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<a class=hint href=javascript:void(0)>`),
|
|
4417
|
+
$598245ecfe38f34b$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=no-results><div class=text></div><!$><!/>`);
|
|
4420
4418
|
function $598245ecfe38f34b$export$ef6006467f04ee41({
|
|
4421
4419
|
i18n_: i18n_,
|
|
4422
4420
|
expanded_hierarchical_filters_: expanded_hierarchical_filters_,
|
|
@@ -4643,8 +4641,8 @@ function $0449e7d49398c077$export$a1fd619a4743ca08({
|
|
|
4643
4641
|
})
|
|
4644
4642
|
});
|
|
4645
4643
|
}
|
|
4646
|
-
const $6dee9211e57ac31a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div
|
|
4647
|
-
$6dee9211e57ac31a$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<style type=
|
|
4644
|
+
const $6dee9211e57ac31a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div>`),
|
|
4645
|
+
$6dee9211e57ac31a$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<style type=text/css>`);
|
|
4648
4646
|
const $6dee9211e57ac31a$export$c500183c31c2b22e = "--spans-columns";
|
|
4649
4647
|
function $6dee9211e57ac31a$export$ab6b147eec64fea5(props) {
|
|
4650
4648
|
const container_class = "x" + $9HbP8$createUniqueId();
|
|
@@ -4805,7 +4803,7 @@ function $7f60f09116a3fe61$export$3f37af283f8fb843(props) {
|
|
|
4805
4803
|
}
|
|
4806
4804
|
});
|
|
4807
4805
|
}
|
|
4808
|
-
const $e7a7eb102ddc0c79$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
4806
|
+
const $e7a7eb102ddc0c79$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=content-block-wrapper>`);
|
|
4809
4807
|
function $e7a7eb102ddc0c79$export$791ef57e62e21c3f({
|
|
4810
4808
|
content_blocks_: incoming_content_blocks,
|
|
4811
4809
|
cols_at_size_: cols_at_size_,
|
|
@@ -4828,8 +4826,11 @@ function $e7a7eb102ddc0c79$export$791ef57e62e21c3f({
|
|
|
4828
4826
|
return;
|
|
4829
4827
|
}
|
|
4830
4828
|
const capped_value = incoming_value.slice(0, showing_rows()); // Don't show more content blocks than we have rows
|
|
4831
|
-
set_content_blocks($9HbP8$reconcile(capped_value
|
|
4829
|
+
set_content_blocks($9HbP8$reconcile(capped_value, {
|
|
4830
|
+
key: "content"
|
|
4831
|
+
})); // key: Make moving blocks faster, see https://github.com/solidjs/solid/issues/1925#issuecomment-1769671596
|
|
4832
4832
|
});
|
|
4833
|
+
|
|
4833
4834
|
const get_wrapped_blocks_ = $e7a7eb102ddc0c79$var$wrap_blocks_in_div(content_blocks, n_cols_currently_showing_);
|
|
4834
4835
|
$9HbP8$createComputed(() => {
|
|
4835
4836
|
// 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
|
|
@@ -4941,8 +4942,8 @@ function $e7a7eb102ddc0c79$var$wrap_blocks_in_div(rendered_content_blocks, max_s
|
|
|
4941
4942
|
_v$2 = `span ${get_span_columns()}`,
|
|
4942
4943
|
_v$3 = `span ${block.span_rows}`;
|
|
4943
4944
|
_p$._v$ = $9HbP8$style(_el$, _v$, _p$._v$);
|
|
4944
|
-
_v$2 !== _p$._v$2 && _el$.style.setProperty("grid-column",
|
|
4945
|
-
_v$3 !== _p$._v$3 && _el$.style.setProperty("grid-row",
|
|
4945
|
+
_v$2 !== _p$._v$2 && ((_p$._v$2 = _v$2) != null ? _el$.style.setProperty("grid-column", _v$2) : _el$.style.removeProperty("grid-column"));
|
|
4946
|
+
_v$3 !== _p$._v$3 && ((_p$._v$3 = _v$3) != null ? _el$.style.setProperty("grid-row", _v$3) : _el$.style.removeProperty("grid-row"));
|
|
4946
4947
|
return _p$;
|
|
4947
4948
|
}, {
|
|
4948
4949
|
_v$: undefined,
|
|
@@ -4980,7 +4981,7 @@ function $e7a7eb102ddc0c79$var$RenderContent(props) {
|
|
|
4980
4981
|
children: resource
|
|
4981
4982
|
});
|
|
4982
4983
|
}
|
|
4983
|
-
const $2d25e42846eac370$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
4984
|
+
const $2d25e42846eac370$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=PLP-results><!$><!/><!$><!/>`);
|
|
4984
4985
|
function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
4985
4986
|
plp_results_: plp_results_,
|
|
4986
4987
|
depict_api_: depict_api_,
|
|
@@ -5099,20 +5100,18 @@ function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
|
5099
5100
|
*/
|
|
5100
5101
|
const product_cards_when_data = $9HbP8$createComponent((0, $9HbP8$Suspense), {
|
|
5101
5102
|
get fallback() {
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5111
|
-
|
|
5112
|
-
|
|
5113
|
-
|
|
5114
|
-
});
|
|
5115
|
-
})();
|
|
5103
|
+
fallback_is_alive = true;
|
|
5104
|
+
$9HbP8$onCleanup(block_suspense_if_needed); // Block suspense after initial run every time after we fetch
|
|
5105
|
+
set_product_card_suspense_is_in_fallback(true); // Here for the content block code that needs to know how many items we're displaying
|
|
5106
|
+
$9HbP8$onCleanup(() => set_product_card_suspense_is_in_fallback(false));
|
|
5107
|
+
return $9HbP8$createMemo(() => {
|
|
5108
|
+
// 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
|
|
5109
|
+
// In future we could have individual suspense's for each product card, but that's too much for now
|
|
5110
|
+
if (get_suspense_is_blocked()) return suspense_contents;
|
|
5111
|
+
set_should_have_placeholders_rendered(true); // just in case
|
|
5112
|
+
$9HbP8$onCleanup(() => set_should_have_placeholders_rendered(false));
|
|
5113
|
+
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>
|
|
5114
|
+
});
|
|
5116
5115
|
},
|
|
5117
5116
|
|
|
5118
5117
|
get children() {
|
|
@@ -5198,10 +5197,10 @@ function $2d25e42846eac370$export$3925f87b1545cfc6({
|
|
|
5198
5197
|
return _el$;
|
|
5199
5198
|
})();
|
|
5200
5199
|
}
|
|
5201
|
-
const $68a258a92b88f02f$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
5202
|
-
$68a258a92b88f02f$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
5203
|
-
$68a258a92b88f02f$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div><div class=
|
|
5204
|
-
$68a258a92b88f02f$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div><label class=
|
|
5200
|
+
const $68a258a92b88f02f$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=sorting-attributes>`),
|
|
5201
|
+
$68a258a92b88f02f$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=sorting-direction>`),
|
|
5202
|
+
$68a258a92b88f02f$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div><div class=input-row><input type=radio><span class=custom-indicator></span><!$><!/>`),
|
|
5203
|
+
$68a258a92b88f02f$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div><label class=input-row><input type=radio><span class=custom-indicator></span><!$><!/>`);
|
|
5205
5204
|
function $68a258a92b88f02f$export$1f1775a58da589b5({
|
|
5206
5205
|
available_sortings_: available_sortings_,
|
|
5207
5206
|
current_sorting_: [get_current_sorting, set_current_sorting],
|
|
@@ -5225,7 +5224,7 @@ function $68a258a92b88f02f$export$1f1775a58da589b5({
|
|
|
5225
5224
|
_el$7 = _el$6.nextSibling,
|
|
5226
5225
|
_el$8 = _el$7.nextSibling,
|
|
5227
5226
|
[_el$9, _co$] = $9HbP8$getNextMarker(_el$8.nextSibling);
|
|
5228
|
-
_el$6
|
|
5227
|
+
$9HbP8$setProperty(_el$6, "disabled", true);
|
|
5229
5228
|
$9HbP8$insert(_el$5, $9HbP8$createComponent((0, $d134eae24341b4a1$export$89c6019e4baa40b1), {
|
|
5230
5229
|
height: "1.2em",
|
|
5231
5230
|
width: "100%"
|
|
@@ -5260,7 +5259,7 @@ function $68a258a92b88f02f$export$1f1775a58da589b5({
|
|
|
5260
5259
|
$9HbP8$addEventListener(_el$12, "change", $9HbP8$catchify(() => set_current_sorting(item())));
|
|
5261
5260
|
$9HbP8$setAttribute(_el$12, "name", title_radio_name);
|
|
5262
5261
|
$9HbP8$insert(_el$11, () => item().meta.title, _el$15, _co$2);
|
|
5263
|
-
$9HbP8$effect(() => _el$12
|
|
5262
|
+
$9HbP8$effect(() => $9HbP8$setProperty(_el$12, "checked", is_checked()));
|
|
5264
5263
|
return _el$10;
|
|
5265
5264
|
})()
|
|
5266
5265
|
);
|
|
@@ -5292,7 +5291,7 @@ function $68a258a92b88f02f$export$1f1775a58da589b5({
|
|
|
5292
5291
|
})));
|
|
5293
5292
|
$9HbP8$setAttribute(_el$18, "name", order_radio_name);
|
|
5294
5293
|
$9HbP8$insert(_el$17, () => meta_of_currently_selected_sorting_()?.names?.[index], _el$21, _co$3);
|
|
5295
|
-
$9HbP8$effect(() => _el$18
|
|
5294
|
+
$9HbP8$effect(() => $9HbP8$setProperty(_el$18, "checked", is_checked()));
|
|
5296
5295
|
return _el$16;
|
|
5297
5296
|
})();
|
|
5298
5297
|
}
|
|
@@ -5339,7 +5338,7 @@ function $aea1edf92433e81e$export$fe334901e8bebd57() {
|
|
|
5339
5338
|
// document.body.style.top = `-${from_top}px`;
|
|
5340
5339
|
// document.body.style.overflowY = "scroll";
|
|
5341
5340
|
|
|
5342
|
-
const $e1bb71e65e01a3a0$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=
|
|
5341
|
+
const $e1bb71e65e01a3a0$var$_tmpl$ = /*#__PURE__*/$9HbP8$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">`);
|
|
5343
5342
|
function $e1bb71e65e01a3a0$export$da32f7add8a22e86(props = {}) {
|
|
5344
5343
|
return (() => {
|
|
5345
5344
|
const _el$ = $9HbP8$getNextElement($e1bb71e65e01a3a0$var$_tmpl$);
|
|
@@ -5348,7 +5347,7 @@ function $e1bb71e65e01a3a0$export$da32f7add8a22e86(props = {}) {
|
|
|
5348
5347
|
return _el$;
|
|
5349
5348
|
})();
|
|
5350
5349
|
}
|
|
5351
|
-
const $05fbe84eb34564ec$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=
|
|
5350
|
+
const $05fbe84eb34564ec$var$_tmpl$ = /*#__PURE__*/$9HbP8$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">`);
|
|
5352
5351
|
function $05fbe84eb34564ec$export$d10e63059ddb9fd4(props = {}) {
|
|
5353
5352
|
return (() => {
|
|
5354
5353
|
const _el$ = $9HbP8$getNextElement($05fbe84eb34564ec$var$_tmpl$);
|
|
@@ -5357,7 +5356,7 @@ function $05fbe84eb34564ec$export$d10e63059ddb9fd4(props = {}) {
|
|
|
5357
5356
|
return _el$;
|
|
5358
5357
|
})();
|
|
5359
5358
|
}
|
|
5360
|
-
const $b9bf7fce0ae60241$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=
|
|
5359
|
+
const $b9bf7fce0ae60241$var$_tmpl$ = /*#__PURE__*/$9HbP8$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">`);
|
|
5361
5360
|
function $b9bf7fce0ae60241$export$28f6150e232898de() {
|
|
5362
5361
|
return $9HbP8$getNextElement($b9bf7fce0ae60241$var$_tmpl$);
|
|
5363
5362
|
}
|
|
@@ -5369,13 +5368,13 @@ function $b9bf7fce0ae60241$export$28f6150e232898de() {
|
|
|
5369
5368
|
function $4cc1c021eee2a432$export$50f68cc9882e36a4(args_for_filtering) {
|
|
5370
5369
|
return args_for_filtering.available_filters_()?.length === 0 && !args_for_filtering.selected_filters_[0]()?.length;
|
|
5371
5370
|
}
|
|
5372
|
-
const $757dac7f7c6c5241$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button class="clear minor"
|
|
5373
|
-
$757dac7f7c6c5241$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class="depict plp"
|
|
5374
|
-
$757dac7f7c6c5241$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<details class=
|
|
5375
|
-
$757dac7f7c6c5241$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<summary class=
|
|
5376
|
-
$757dac7f7c6c5241$var$_tmpl$5 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
5377
|
-
$757dac7f7c6c5241$var$_tmpl$6 = /*#__PURE__*/$9HbP8$template(`<details class=
|
|
5378
|
-
$757dac7f7c6c5241$var$_tmpl$7 = /*#__PURE__*/$9HbP8$template(`<b
|
|
5371
|
+
const $757dac7f7c6c5241$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button class="clear minor">`),
|
|
5372
|
+
$757dac7f7c6c5241$var$_tmpl$2 = /*#__PURE__*/$9HbP8$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">`),
|
|
5373
|
+
$757dac7f7c6c5241$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<details class=sorting>`),
|
|
5374
|
+
$757dac7f7c6c5241$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<summary class=sort-filter-summary><div class=summary><div class=left-els><!$><!/><span></span></div><!$><!/>`),
|
|
5375
|
+
$757dac7f7c6c5241$var$_tmpl$5 = /*#__PURE__*/$9HbP8$template(`<div class=body>`),
|
|
5376
|
+
$757dac7f7c6c5241$var$_tmpl$6 = /*#__PURE__*/$9HbP8$template(`<details class=filters>`),
|
|
5377
|
+
$757dac7f7c6c5241$var$_tmpl$7 = /*#__PURE__*/$9HbP8$template(`<b>`);
|
|
5379
5378
|
const $757dac7f7c6c5241$var$no_go_selector = ".range .range-group";
|
|
5380
5379
|
function $757dac7f7c6c5241$export$9bf11afa910f536e({
|
|
5381
5380
|
args_for_sorting_: args_for_sorting_,
|
|
@@ -5690,16 +5689,16 @@ function $757dac7f7c6c5241$export$9bf11afa910f536e({
|
|
|
5690
5689
|
})()];
|
|
5691
5690
|
}
|
|
5692
5691
|
$9HbP8$delegateEvents(["click", "touchstart"]);
|
|
5693
|
-
const $11d594c749b76228$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=
|
|
5692
|
+
const $11d594c749b76228$var$_tmpl$ = /*#__PURE__*/$9HbP8$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">`);
|
|
5694
5693
|
function $11d594c749b76228$export$cb808a3c41736d8e() {
|
|
5695
5694
|
return $9HbP8$getNextElement($11d594c749b76228$var$_tmpl$);
|
|
5696
5695
|
}
|
|
5697
|
-
const $cdea4cf8c5c071ef$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
5698
|
-
$cdea4cf8c5c071ef$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
5699
|
-
$cdea4cf8c5c071ef$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
5700
|
-
$cdea4cf8c5c071ef$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<span class=
|
|
5701
|
-
$cdea4cf8c5c071ef$var$_tmpl$5 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
5702
|
-
$cdea4cf8c5c071ef$var$_tmpl$6 = /*#__PURE__*/$9HbP8$template(`<button class="toggle-button for-sorting major-minor-transition"><span></span
|
|
5696
|
+
const $cdea4cf8c5c071ef$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=filters><div class=body>`),
|
|
5697
|
+
$cdea4cf8c5c071ef$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=sorting><div class=body>`),
|
|
5698
|
+
$cdea4cf8c5c071ef$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=sort-and-filter-buttons><div class=outer><div class=inner><!$><!/><!$><!/><!$><!/>`),
|
|
5699
|
+
$cdea4cf8c5c071ef$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<span class=num-filters>`),
|
|
5700
|
+
$cdea4cf8c5c071ef$var$_tmpl$5 = /*#__PURE__*/$9HbP8$template(`<div class=open-filters-button-container><!$><!/><button type=button><!$><!/><span>`),
|
|
5701
|
+
$cdea4cf8c5c071ef$var$_tmpl$6 = /*#__PURE__*/$9HbP8$template(`<button class="toggle-button for-sorting major-minor-transition"><span></span><!$><!/>`);
|
|
5703
5702
|
function $cdea4cf8c5c071ef$export$d7841e452f2e59a8({
|
|
5704
5703
|
current_sorting_: current_sorting_,
|
|
5705
5704
|
set_extra_els_in_results_container_: set_extra_els_in_results_container_,
|
|
@@ -6018,11 +6017,11 @@ function $cdea4cf8c5c071ef$var$OpenSortingButton({
|
|
|
6018
6017
|
})();
|
|
6019
6018
|
}
|
|
6020
6019
|
$9HbP8$delegateEvents(["click"]);
|
|
6021
|
-
const $f9182ab2348d1080$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=
|
|
6020
|
+
const $f9182ab2348d1080$var$_tmpl$ = /*#__PURE__*/$9HbP8$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">`);
|
|
6022
6021
|
function $f9182ab2348d1080$export$2624c5890f1bbcf7() {
|
|
6023
6022
|
return $9HbP8$getNextElement($f9182ab2348d1080$var$_tmpl$);
|
|
6024
6023
|
}
|
|
6025
|
-
const $0b0380f75d729d63$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
6024
|
+
const $0b0380f75d729d63$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=floating-buttons><button class=filter><div></div></button><button class=sort><div></div></button><button class=up><div>`);
|
|
6026
6025
|
function $0b0380f75d729d63$export$b23abd26de154ede(props) {
|
|
6027
6026
|
if (0, $9HbP8$isServer) return; // won't show in initial render and need scroll position
|
|
6028
6027
|
const [is_small, set_is_small] = $9HbP8$createSignal(true);
|
|
@@ -6165,9 +6164,9 @@ function $0b0380f75d729d63$var$ActualFloatingButtons({
|
|
|
6165
6164
|
})();
|
|
6166
6165
|
}
|
|
6167
6166
|
$9HbP8$delegateEvents(["click"]);
|
|
6168
|
-
const $dfa5b6f7c5e421df$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<nav class=
|
|
6169
|
-
$dfa5b6f7c5e421df$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<a class=
|
|
6170
|
-
$dfa5b6f7c5e421df$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<span class=
|
|
6167
|
+
const $dfa5b6f7c5e421df$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<nav class=crumbs>`),
|
|
6168
|
+
$dfa5b6f7c5e421df$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<a class=crumb>`),
|
|
6169
|
+
$dfa5b6f7c5e421df$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<span class=separator>`);
|
|
6171
6170
|
function $dfa5b6f7c5e421df$export$5646050d516e06bc({
|
|
6172
6171
|
crumb_data_: get_api_crumb_data,
|
|
6173
6172
|
router_: router_,
|
|
@@ -6237,9 +6236,9 @@ function $dfa5b6f7c5e421df$export$5646050d516e06bc({
|
|
|
6237
6236
|
});
|
|
6238
6237
|
}
|
|
6239
6238
|
$9HbP8$delegateEvents(["click"]);
|
|
6240
|
-
const $06edf3aec9073663$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<nav class=
|
|
6241
|
-
$06edf3aec9073663$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div>QuickLinks failed
|
|
6242
|
-
$06edf3aec9073663$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<a class=
|
|
6239
|
+
const $06edf3aec9073663$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<nav class=quicklinks>`),
|
|
6240
|
+
$06edf3aec9073663$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div>QuickLinks failed`),
|
|
6241
|
+
$06edf3aec9073663$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<a class=quicklink>`);
|
|
6243
6242
|
function $06edf3aec9073663$export$466cdc317043f6cb({
|
|
6244
6243
|
quicklinks_data_: quicklinks_data_,
|
|
6245
6244
|
router_: router_,
|
|
@@ -6640,8 +6639,8 @@ function $e7fce80abe608e01$var$clear_if_opened_new_tab_with_sideways_url_params_
|
|
|
6640
6639
|
});
|
|
6641
6640
|
tracking_function_for_plp_results(plp_results_);
|
|
6642
6641
|
}
|
|
6643
|
-
const $9f5cb586f34c14e6$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
6644
|
-
$9f5cb586f34c14e6$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
6642
|
+
const $9f5cb586f34c14e6$var$_tmpl$ = /*#__PURE__*/$9HbP8$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.`),
|
|
6643
|
+
$9f5cb586f34c14e6$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=buttons><button class="ok major">`);
|
|
6645
6644
|
function $9f5cb586f34c14e6$export$d4fc5c0e68a52116(el, query_id_, i18n_) {
|
|
6646
6645
|
if (!(0, $9HbP8$is_debug)) return; // Just to make sure we don't show this in production
|
|
6647
6646
|
const owner = $9HbP8$getOwner();
|
|
@@ -6700,10 +6699,10 @@ function $2ab89d64b7f1d5ef$export$d31a1a1a83ad9413(plp_results_, [get_selected_f
|
|
|
6700
6699
|
set_selected_filters(new_filters);
|
|
6701
6700
|
});
|
|
6702
6701
|
}
|
|
6703
|
-
const $df5d81d0fe61ff21$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
6704
|
-
$df5d81d0fe61ff21$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div
|
|
6705
|
-
$df5d81d0fe61ff21$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
6706
|
-
$df5d81d0fe61ff21$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div class="depict plp category"><div class=
|
|
6702
|
+
const $df5d81d0fe61ff21$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=product-count><!$><!/> <!$><!/>`),
|
|
6703
|
+
$df5d81d0fe61ff21$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div>`),
|
|
6704
|
+
$df5d81d0fe61ff21$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
|
|
6705
|
+
$df5d81d0fe61ff21$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div class="depict plp category"><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
|
|
6707
6706
|
function $df5d81d0fe61ff21$export$f7d2f673fc2f091d({
|
|
6708
6707
|
depict_api_: depict_api_,
|
|
6709
6708
|
query_id_: query_id_,
|
|
@@ -7316,7 +7315,7 @@ function $d8dbf52fea1773e2$export$f50b88e2a00918b5(fn) {
|
|
|
7316
7315
|
}
|
|
7317
7316
|
};
|
|
7318
7317
|
}
|
|
7319
|
-
const $961b5c64bef4662f$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class="depict plp category"
|
|
7318
|
+
const $961b5c64bef4662f$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class="depict plp category">`);
|
|
7320
7319
|
// 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
|
|
7321
7320
|
/**
|
|
7322
7321
|
* Type for the private properties that are shared between the different exported search SDK wrapper functions.
|
|
@@ -7598,7 +7597,7 @@ function $961b5c64bef4662f$var$get_shared_properties(depict_category) {
|
|
|
7598
7597
|
if (!shared_properties) throw new Error("Can't connect to provided DepictCategory instance");
|
|
7599
7598
|
return shared_properties;
|
|
7600
7599
|
}
|
|
7601
|
-
const $e4615ecd1849548f$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
7600
|
+
const $e4615ecd1849548f$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=category-title><h1 class=title></h1><span class=explanation> — <!$><!/>`);
|
|
7602
7601
|
const $e4615ecd1849548f$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
7603
7602
|
const actual_function = ({
|
|
7604
7603
|
category_title_: category_title_,
|
|
@@ -7623,7 +7622,7 @@ const $e4615ecd1849548f$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
|
7623
7622
|
actual_function[(0, $4fb3a1cf207a7d5c$export$5c28802497c8a83c)] = "simple";
|
|
7624
7623
|
return actual_function;
|
|
7625
7624
|
})();
|
|
7626
|
-
const $a6e23a834336fc19$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class="sort-and-filter-buttons fake"
|
|
7625
|
+
const $a6e23a834336fc19$var$_tmpl$ = /*#__PURE__*/$9HbP8$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><!$><!/><!$><!/><!$><!/>`);
|
|
7627
7626
|
const $a6e23a834336fc19$export$824dde41348efed1 = /*@__PURE__*/(() => {
|
|
7628
7627
|
const actual_function = ({
|
|
7629
7628
|
make_product_count_: make_product_count_,
|
|
@@ -7785,7 +7784,7 @@ async function $c9312089e8983364$var$download_categories(tenant, market, type) {
|
|
|
7785
7784
|
return [];
|
|
7786
7785
|
}
|
|
7787
7786
|
}
|
|
7788
|
-
const $bb15dfb548a7666e$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
7787
|
+
const $bb15dfb548a7666e$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=instant-card><div class=img-part></div><div class=right-part><div class=title-brand-tagline><span class=title>`);
|
|
7789
7788
|
function $bb15dfb548a7666e$export$ee1733d9a8495996() {
|
|
7790
7789
|
return (() => {
|
|
7791
7790
|
const _el$ = $9HbP8$getNextElement($bb15dfb548a7666e$var$_tmpl$),
|
|
@@ -7803,8 +7802,8 @@ function $bb15dfb548a7666e$export$ee1733d9a8495996() {
|
|
|
7803
7802
|
return _el$;
|
|
7804
7803
|
})();
|
|
7805
7804
|
}
|
|
7806
|
-
const $897bd4a76f611b38$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class=
|
|
7807
|
-
$897bd4a76f611b38$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<a class=
|
|
7805
|
+
const $897bd4a76f611b38$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class=parent-title>`),
|
|
7806
|
+
$897bd4a76f611b38$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<a class=category-suggestion><span class=title></span><!$><!/>`);
|
|
7808
7807
|
function $897bd4a76f611b38$export$d757d54550ebfb3d({
|
|
7809
7808
|
category_suggestion_: category_suggestion_,
|
|
7810
7809
|
router_: router_
|
|
@@ -7838,11 +7837,11 @@ function $897bd4a76f611b38$export$d757d54550ebfb3d({
|
|
|
7838
7837
|
})();
|
|
7839
7838
|
}
|
|
7840
7839
|
$9HbP8$delegateEvents(["click"]);
|
|
7841
|
-
const $22e59517c2ec94d3$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=
|
|
7840
|
+
const $22e59517c2ec94d3$var$_tmpl$ = /*#__PURE__*/$9HbP8$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">`);
|
|
7842
7841
|
function $22e59517c2ec94d3$export$1c641004b5485fed() {
|
|
7843
7842
|
return $9HbP8$getNextElement($22e59517c2ec94d3$var$_tmpl$);
|
|
7844
7843
|
}
|
|
7845
|
-
const $16f0ed5ea30d8d9c$var$_tmpl$ = /*#__PURE__*/$9HbP8$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"
|
|
7844
|
+
const $16f0ed5ea30d8d9c$var$_tmpl$ = /*#__PURE__*/$9HbP8$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">`);
|
|
7846
7845
|
function $16f0ed5ea30d8d9c$export$82eafebb825fc23f(props = {}) {
|
|
7847
7846
|
return (() => {
|
|
7848
7847
|
const _el$ = $9HbP8$getNextElement($16f0ed5ea30d8d9c$var$_tmpl$);
|
|
@@ -7855,8 +7854,8 @@ function $16f0ed5ea30d8d9c$export$82eafebb825fc23f(props = {}) {
|
|
|
7855
7854
|
return _el$;
|
|
7856
7855
|
})();
|
|
7857
7856
|
}
|
|
7858
|
-
const $5285d2814d0fac0c$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button class=
|
|
7859
|
-
$5285d2814d0fac0c$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
7857
|
+
const $5285d2814d0fac0c$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<button class=back type=button>`),
|
|
7858
|
+
$5285d2814d0fac0c$var$_tmpl$2 = /*#__PURE__*/$9HbP8$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>`);
|
|
7860
7859
|
function $5285d2814d0fac0c$export$b94867ecbd698f21({
|
|
7861
7860
|
search_field_value_: search_field_value_,
|
|
7862
7861
|
input_field_ref_: input_field_ref_,
|
|
@@ -7955,7 +7954,7 @@ function $5285d2814d0fac0c$export$b94867ecbd698f21({
|
|
|
7955
7954
|
input_field_ref_?.(el);
|
|
7956
7955
|
});
|
|
7957
7956
|
typeof _ref$ === "function" && $9HbP8$use(_ref$, _el$4);
|
|
7958
|
-
_el$4.classList.toggle("has-adjacent-back-button",
|
|
7957
|
+
_el$4.classList.toggle("has-adjacent-back-button", !!!!on_back_);
|
|
7959
7958
|
$9HbP8$addEventListener(_el$5, "click", $9HbP8$catchify(() => {
|
|
7960
7959
|
search_field_value_[1]("");
|
|
7961
7960
|
clear_filters_(true);
|
|
@@ -7983,14 +7982,14 @@ function $5285d2814d0fac0c$export$b94867ecbd698f21({
|
|
|
7983
7982
|
_v$4: undefined,
|
|
7984
7983
|
_v$5: undefined
|
|
7985
7984
|
});
|
|
7986
|
-
$9HbP8$effect(() => _el$4
|
|
7985
|
+
$9HbP8$effect(() => $9HbP8$setProperty(_el$4, "value", search_field_value_[0]()));
|
|
7987
7986
|
$9HbP8$runHydrationEvents();
|
|
7988
7987
|
return _el$;
|
|
7989
7988
|
})();
|
|
7990
7989
|
}
|
|
7991
7990
|
$9HbP8$delegateEvents(["click", "keydown", "input", "pointerdown"]);
|
|
7992
|
-
const $172e1b898d457050$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
7993
|
-
$172e1b898d457050$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<button class="show-more major"
|
|
7991
|
+
const $172e1b898d457050$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=search-recs><h3 class=search-recs-title></h3><!$><!/><!$><!/>`),
|
|
7992
|
+
$172e1b898d457050$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<button class="show-more major"type=button>`);
|
|
7994
7993
|
const $172e1b898d457050$export$1c8c715550dc689d = 2;
|
|
7995
7994
|
function $172e1b898d457050$export$7de92c4c2205ebf3({
|
|
7996
7995
|
depict_api_: depict_api_,
|
|
@@ -8231,9 +8230,9 @@ async function $bfd908d13d90934c$export$e16630ecb9644a1c({
|
|
|
8231
8230
|
const $c97b1f0e44afb9d2$export$27b710c08412a7ad = obj => {
|
|
8232
8231
|
return Object.fromEntries(Object.keys(obj).map(key => [key, obj[key]()]));
|
|
8233
8232
|
};
|
|
8234
|
-
const $e003be2a50d9e5bc$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class="orig price"
|
|
8235
|
-
$e003be2a50d9e5bc$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<a class=
|
|
8236
|
-
$e003be2a50d9e5bc$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
8233
|
+
const $e003be2a50d9e5bc$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class="orig price"><!$><!/><!$><!/><!$><!/>`),
|
|
8234
|
+
$e003be2a50d9e5bc$var$_tmpl$2 = /*#__PURE__*/$9HbP8$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><!$><!/><!$><!/><!$><!/>`),
|
|
8235
|
+
$e003be2a50d9e5bc$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=tagline>`);
|
|
8237
8236
|
const $e003be2a50d9e5bc$export$b05c0ae390cf3e06 = (display_or_variant_container, {
|
|
8238
8237
|
i18n: i18n
|
|
8239
8238
|
}, router_) => {
|
|
@@ -8356,7 +8355,7 @@ const $e003be2a50d9e5bc$export$b05c0ae390cf3e06 = (display_or_variant_container,
|
|
|
8356
8355
|
})();
|
|
8357
8356
|
};
|
|
8358
8357
|
$9HbP8$delegateEvents(["click"]);
|
|
8359
|
-
const $eea41f703612261b$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
8358
|
+
const $eea41f703612261b$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=instant-results>`);
|
|
8360
8359
|
function $eea41f703612261b$export$62f101a8aa597bf8({
|
|
8361
8360
|
depict_api_: depict_api_,
|
|
8362
8361
|
search_field_value_: [get_search_field_value],
|
|
@@ -8449,8 +8448,8 @@ function $eea41f703612261b$export$62f101a8aa597bf8({
|
|
|
8449
8448
|
return _el$;
|
|
8450
8449
|
})();
|
|
8451
8450
|
}
|
|
8452
|
-
const $4ceabea39c9a56ac$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div style=
|
|
8453
|
-
$4ceabea39c9a56ac$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div style=
|
|
8451
|
+
const $4ceabea39c9a56ac$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div style=position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;top:-100%;>`),
|
|
8452
|
+
$4ceabea39c9a56ac$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div style=position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;>`);
|
|
8454
8453
|
function $4ceabea39c9a56ac$export$50b90be27d8502d9(el, [get_style_props, set_style_props], bottom_distance) {
|
|
8455
8454
|
const overflow_style_beginning = "position:absolute;z-index:-1;pointer-events:none;width:100%;height:200%;";
|
|
8456
8455
|
const upper_overflowing_box = $9HbP8$getNextElement($4ceabea39c9a56ac$var$_tmpl$);
|
|
@@ -8498,12 +8497,12 @@ function $a36cbc4f68bfd590$export$91c3b6774e8be0f5({
|
|
|
8498
8497
|
return u_o.href;
|
|
8499
8498
|
});
|
|
8500
8499
|
}
|
|
8501
|
-
const $694b7f90501fea4c$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=
|
|
8500
|
+
const $694b7f90501fea4c$var$_tmpl$ = /*#__PURE__*/$9HbP8$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>`);
|
|
8502
8501
|
function $694b7f90501fea4c$export$5d2caaa6b530761c() {
|
|
8503
8502
|
return $9HbP8$getNextElement($694b7f90501fea4c$var$_tmpl$);
|
|
8504
8503
|
}
|
|
8505
|
-
const $7ad3a93cbe6fa208$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
8506
|
-
$7ad3a93cbe6fa208$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<a class=
|
|
8504
|
+
const $7ad3a93cbe6fa208$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=previous-searches><h2 class=text></h2><div class=list>`),
|
|
8505
|
+
$7ad3a93cbe6fa208$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<a class=item><div class=left><!$><!/><span class=line-clamp></span></div><button class=delete>`);
|
|
8507
8506
|
function $7ad3a93cbe6fa208$export$a146ac6fa8346a25({
|
|
8508
8507
|
text_: text_,
|
|
8509
8508
|
previous_searches_: previous_searches_,
|
|
@@ -8606,8 +8605,8 @@ function $7ad3a93cbe6fa208$export$a146ac6fa8346a25({
|
|
|
8606
8605
|
}
|
|
8607
8606
|
});
|
|
8608
8607
|
}
|
|
8609
|
-
const $f3213c0640246d58$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class=
|
|
8610
|
-
$f3213c0640246d58$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<span
|
|
8608
|
+
const $f3213c0640246d58$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class=highlighted-part>`),
|
|
8609
|
+
$f3213c0640246d58$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<span>`);
|
|
8611
8610
|
function $f3213c0640246d58$export$ba17c5b7e6dda39f({
|
|
8612
8611
|
whole_text_to_display_: whole_text_to_display_memo,
|
|
8613
8612
|
searching_for_value_: searching_for_value_memo,
|
|
@@ -8678,7 +8677,7 @@ function $f3213c0640246d58$export$ba17c5b7e6dda39f({
|
|
|
8678
8677
|
return _el$2;
|
|
8679
8678
|
})();
|
|
8680
8679
|
}
|
|
8681
|
-
const $190927650b4840eb$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=
|
|
8680
|
+
const $190927650b4840eb$var$_tmpl$ = /*#__PURE__*/$9HbP8$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">`);
|
|
8682
8681
|
function $190927650b4840eb$export$605674723bcc715c(props = {}) {
|
|
8683
8682
|
return (() => {
|
|
8684
8683
|
const _el$ = $9HbP8$getNextElement($190927650b4840eb$var$_tmpl$);
|
|
@@ -8687,15 +8686,15 @@ function $190927650b4840eb$export$605674723bcc715c(props = {}) {
|
|
|
8687
8686
|
return _el$;
|
|
8688
8687
|
})();
|
|
8689
8688
|
}
|
|
8690
|
-
const $cea52f6b24092f05$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<a class=
|
|
8691
|
-
$cea52f6b24092f05$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
8692
|
-
$cea52f6b24092f05$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<span class=
|
|
8693
|
-
$cea52f6b24092f05$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
8694
|
-
$cea52f6b24092f05$var$_tmpl$5 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
8695
|
-
$cea52f6b24092f05$var$_tmpl$6 = /*#__PURE__*/$9HbP8$template(`<h2 class=
|
|
8696
|
-
$cea52f6b24092f05$var$_tmpl$7 = /*#__PURE__*/$9HbP8$template(`<div class="suggestion-container query"
|
|
8697
|
-
$cea52f6b24092f05$var$_tmpl$8 = /*#__PURE__*/$9HbP8$template(`<div class="suggestion-container page"
|
|
8698
|
-
$cea52f6b24092f05$var$_tmpl$9 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
8689
|
+
const $cea52f6b24092f05$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<a class=suggestion>`),
|
|
8690
|
+
$cea52f6b24092f05$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=search-icon>`),
|
|
8691
|
+
$cea52f6b24092f05$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<span class=type>`),
|
|
8692
|
+
$cea52f6b24092f05$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div class=with-parent-title><!$><!/><span class="value line-clamp">`),
|
|
8693
|
+
$cea52f6b24092f05$var$_tmpl$5 = /*#__PURE__*/$9HbP8$template(`<div class=with-icon><!$><!/><!$><!/>`),
|
|
8694
|
+
$cea52f6b24092f05$var$_tmpl$6 = /*#__PURE__*/$9HbP8$template(`<h2 class=text>`),
|
|
8695
|
+
$cea52f6b24092f05$var$_tmpl$7 = /*#__PURE__*/$9HbP8$template(`<div class="suggestion-container query"><!$><!/><!$><!/>`),
|
|
8696
|
+
$cea52f6b24092f05$var$_tmpl$8 = /*#__PURE__*/$9HbP8$template(`<div class="suggestion-container page">`),
|
|
8697
|
+
$cea52f6b24092f05$var$_tmpl$9 = /*#__PURE__*/$9HbP8$template(`<div class=suggestions><!$><!/><!$><!/><!$><!/>`);
|
|
8699
8698
|
function $cea52f6b24092f05$export$e872e2339fb04a7f({
|
|
8700
8699
|
suggestion_memo_: suggestion_memo_,
|
|
8701
8700
|
search_query_url_param_name_: search_query_url_param_name_,
|
|
@@ -8953,7 +8952,7 @@ function $cea52f6b24092f05$export$e872e2339fb04a7f({
|
|
|
8953
8952
|
}
|
|
8954
8953
|
});
|
|
8955
8954
|
}
|
|
8956
|
-
const $92a48aea6a9364d8$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<a target=
|
|
8955
|
+
const $92a48aea6a9364d8$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<a target=_blank>`);
|
|
8957
8956
|
function $92a48aea6a9364d8$export$1efe1013da60d0e4(e, href) {
|
|
8958
8957
|
if (e.metaKey || e.ctrlKey) {
|
|
8959
8958
|
// Open link in a new tab with cmd/ctrl + enter.
|
|
@@ -9335,7 +9334,7 @@ const $926b1b5ba2239356$export$af8311b651139246 = css_properties => {
|
|
|
9335
9334
|
const $926b1b5ba2239356$export$1233ca167bf71f9a = styles => {
|
|
9336
9335
|
return Object.entries(styles).map(([selector, css_properties]) => `${selector} { ${$926b1b5ba2239356$export$af8311b651139246(css_properties)} }`).join(" ");
|
|
9337
9336
|
};
|
|
9338
|
-
const $19f1f3e588d63502$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<style
|
|
9337
|
+
const $19f1f3e588d63502$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<style>`);
|
|
9339
9338
|
function $19f1f3e588d63502$export$f021bdedd3ec901a(props) {
|
|
9340
9339
|
const valid_css_string = $9HbP8$createMemo(() => {
|
|
9341
9340
|
return $926b1b5ba2239356$export$1233ca167bf71f9a(props.styles());
|
|
@@ -9346,10 +9345,10 @@ function $19f1f3e588d63502$export$f021bdedd3ec901a(props) {
|
|
|
9346
9345
|
return _el$;
|
|
9347
9346
|
})();
|
|
9348
9347
|
}
|
|
9349
|
-
const $fabfda1230351b1a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
9350
|
-
$fabfda1230351b1a$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<b
|
|
9351
|
-
$fabfda1230351b1a$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
9352
|
-
$fabfda1230351b1a$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div class="depict plp search"><div class=
|
|
9348
|
+
const $fabfda1230351b1a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=discover-more><button class=major type=button>`),
|
|
9349
|
+
$fabfda1230351b1a$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<b>`),
|
|
9350
|
+
$fabfda1230351b1a$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class=depict-search-modal><div class=body><!$><!/><div class=padded><!$><!/><!$><!/><!$><!/></div><!$><!/></div><!$><!/>`),
|
|
9351
|
+
$fabfda1230351b1a$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div class="depict plp search"><div class=depict-search-modal-backdrop></div><!$><!/>`);
|
|
9353
9352
|
function $fabfda1230351b1a$export$1c593cbd6f1e10bc({
|
|
9354
9353
|
search_field_value_: props_search_field_value,
|
|
9355
9354
|
get_search_query_: get_search_query_,
|
|
@@ -9601,8 +9600,8 @@ function $fabfda1230351b1a$var$close_modal_when_navigating_away(close_modal, sea
|
|
|
9601
9600
|
})();
|
|
9602
9601
|
}
|
|
9603
9602
|
$9HbP8$delegateEvents(["click"]);
|
|
9604
|
-
const $793905995512612d$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
9605
|
-
$793905995512612d$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
9603
|
+
const $793905995512612d$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=category-suggestions>`),
|
|
9604
|
+
$793905995512612d$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=category-suggestion>`);
|
|
9606
9605
|
function $793905995512612d$export$c05a196222ba1302({
|
|
9607
9606
|
suggestions_: suggestions_,
|
|
9608
9607
|
children: children
|
|
@@ -9646,8 +9645,8 @@ function $793905995512612d$export$c05a196222ba1302({
|
|
|
9646
9645
|
}
|
|
9647
9646
|
});
|
|
9648
9647
|
}
|
|
9649
|
-
const $f8c929beb82c512b$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<b
|
|
9650
|
-
$f8c929beb82c512b$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
9648
|
+
const $f8c929beb82c512b$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<b>`),
|
|
9649
|
+
$f8c929beb82c512b$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class=results-for>`);
|
|
9651
9650
|
function $f8c929beb82c512b$export$9dd50d35b9d94fdf({
|
|
9652
9651
|
get_search_query_: get_search_query_,
|
|
9653
9652
|
i18n_: i18n_,
|
|
@@ -9696,7 +9695,7 @@ function $1801dbce7adb3f19$export$41b4894022a3580f({
|
|
|
9696
9695
|
})));
|
|
9697
9696
|
return style_props_;
|
|
9698
9697
|
}
|
|
9699
|
-
const $522a690e0e2bd46d$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class=
|
|
9698
|
+
const $522a690e0e2bd46d$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<span class=highlighted-part>`);
|
|
9700
9699
|
const $522a690e0e2bd46d$var$dont_cut_in_between_less_than_characters = 30;
|
|
9701
9700
|
function $522a690e0e2bd46d$export$e1a98a189fd2c0e7({
|
|
9702
9701
|
content_result_: content_result_,
|
|
@@ -9916,10 +9915,10 @@ function $522a690e0e2bd46d$var$segment_text(text, matched_strings) {
|
|
|
9916
9915
|
}
|
|
9917
9916
|
return output;
|
|
9918
9917
|
}
|
|
9919
|
-
const $b2bf2cdcff8142d8$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<a
|
|
9920
|
-
$b2bf2cdcff8142d8$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div
|
|
9921
|
-
$b2bf2cdcff8142d8$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class="description line-clamp"
|
|
9922
|
-
$b2bf2cdcff8142d8$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
9918
|
+
const $b2bf2cdcff8142d8$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<a>`),
|
|
9919
|
+
$b2bf2cdcff8142d8$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div>`),
|
|
9920
|
+
$b2bf2cdcff8142d8$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<div class="description line-clamp">`),
|
|
9921
|
+
$b2bf2cdcff8142d8$var$_tmpl$4 = /*#__PURE__*/$9HbP8$template(`<div class=content-card><div class=image></div><div class=info><!$><!/><!$><!/>`);
|
|
9923
9922
|
function $b2bf2cdcff8142d8$export$f631859cab12b342({
|
|
9924
9923
|
router_: router_,
|
|
9925
9924
|
content_result_: content_result_
|
|
@@ -10072,9 +10071,9 @@ function $9d5b3ed1fc91c672$export$4405d077f0a20494({
|
|
|
10072
10071
|
children: () => $9HbP8$createComponent((0, $b2bf2cdcff8142d8$export$f631859cab12b342), {})
|
|
10073
10072
|
});
|
|
10074
10073
|
}
|
|
10075
|
-
const $49de9d31aeea1b5e$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
10076
|
-
$49de9d31aeea1b5e$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<button class=
|
|
10077
|
-
$49de9d31aeea1b5e$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<button class=
|
|
10074
|
+
const $49de9d31aeea1b5e$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=content-results><!$><!/><!$><!/>`),
|
|
10075
|
+
$49de9d31aeea1b5e$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<button class=view-more>`),
|
|
10076
|
+
$49de9d31aeea1b5e$var$_tmpl$3 = /*#__PURE__*/$9HbP8$template(`<button class=view-less>`);
|
|
10078
10077
|
const $49de9d31aeea1b5e$export$70ceae36059a1036 = 1;
|
|
10079
10078
|
function $49de9d31aeea1b5e$export$6d0c9c22f6652669({
|
|
10080
10079
|
search_results_: search_results_,
|
|
@@ -10144,7 +10143,7 @@ function $49de9d31aeea1b5e$export$6d0c9c22f6652669({
|
|
|
10144
10143
|
});
|
|
10145
10144
|
}
|
|
10146
10145
|
})), _el$5, _co$2);
|
|
10147
|
-
$9HbP8$effect(() => _el$.style.setProperty("display", is_loading_() && placeholders_enabled() || content_results()?.length > 0 ? "" : "none"));
|
|
10146
|
+
$9HbP8$effect(() => (is_loading_() && placeholders_enabled() || content_results()?.length, _el$.style.setProperty("display", is_loading_() && placeholders_enabled() || content_results()?.length > 0 ? "" : "none")));
|
|
10148
10147
|
return _el$;
|
|
10149
10148
|
})();
|
|
10150
10149
|
}
|
|
@@ -10176,8 +10175,8 @@ function $49de9d31aeea1b5e$var$make_state_saved_rows(
|
|
|
10176
10175
|
}));
|
|
10177
10176
|
return rows;
|
|
10178
10177
|
}
|
|
10179
|
-
const $7097477c78a89208$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=
|
|
10180
|
-
$7097477c78a89208$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class="depict plp search"><div class=
|
|
10178
|
+
const $7097477c78a89208$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
|
|
10179
|
+
$7097477c78a89208$var$_tmpl$2 = /*#__PURE__*/$9HbP8$template(`<div class="depict plp search"><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
|
|
10181
10180
|
function $7097477c78a89208$export$a54ec244c8863715({
|
|
10182
10181
|
depict_api_: depict_api_,
|
|
10183
10182
|
search_field_value_: search_field_value_,
|
|
@@ -10604,7 +10603,7 @@ function $1848f7cca286fbab$export$ff7109b9b2b206ba(sdk_cols_at_size, min_width_f
|
|
|
10604
10603
|
sorted_sizes.unshift([1, min_width_for_more_than_one_column]);
|
|
10605
10604
|
return sorted_sizes.map(([cols, max_width]) => max_width == Infinity ? [cols] : [cols, max_width]);
|
|
10606
10605
|
}
|
|
10607
|
-
const $806c97b931758897$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class="depict plp search"
|
|
10606
|
+
const $806c97b931758897$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div class="depict plp search">`);
|
|
10608
10607
|
// 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
|
|
10609
10608
|
/**
|
|
10610
10609
|
* Type for the private properties that are shared between the different exported search SDK wrapper functions.
|