@depict-ai/ui 2.1.0 → 2.1.2
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 +252 -257
- package/ES10/index.d.ts +4 -4
- package/ES10/index.js +253 -258
- package/latest/index.cjs +252 -257
- package/latest/index.d.ts +4 -4
- package/latest/index.js +253 -258
- package/package.json +2 -2
- package/server/ES10/index.cjs +164 -173
- package/server/ES10/index.d.ts +4 -4
- package/server/ES10/index.js +165 -174
- package/server/latest/index.cjs +164 -173
- package/server/latest/index.d.ts +4 -4
- package/server/latest/index.js +165 -174
package/server/ES10/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { add_to_version_info as $b8hua$add_to_version_info, base64_encode_unicode as $b8hua$base64_encode_unicode, base64_decode_unicode as $b8hua$base64_decode_unicode, dlog as $b8hua$dlog, queueMacroTask as $b8hua$queueMacroTask, catchify as $b8hua$catchify, is_safari as $b8hua$is_safari, observer as $b8hua$observer, Amazing_Slider as $b8hua$Amazing_Slider, slider_snap_css as $b8hua$slider_snap_css, slider_fading_factory as $b8hua$slider_fading_factory, slider_fractional_factory as $b8hua$slider_fractional_factory, camelCasifyObject as $b8hua$camelCasifyObject, make_random_classname as $b8hua$make_random_classname, n_col_styling_with_dist as $b8hua$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $b8hua$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $b8hua$layout_get_total_rec_amount_for_row, layout_media_query_header as $b8hua$layout_media_query_header, report as $b8hua$report, useExpandingContainer as $b8hua$useExpandingContainer, standard_price_format as $b8hua$standard_price_format, hex_to_rgb as $b8hua$hex_to_rgb, relative_luminance_from_rgb as $b8hua$relative_luminance_from_rgb, fetch_recs as $b8hua$fetch_recs, snakeCasifyObject as $b8hua$snakeCasifyObject, instant_exec_on_suspect_history_change as $b8hua$instant_exec_on_suspect_history_change, base_url as $b8hua$base_url, get_depict_id as $b8hua$get_depict_id, get_user_id as $b8hua$get_user_id, get_session_id as $b8hua$get_session_id, make_url_with_query_params as $b8hua$make_url_with_query_params, fetch_retry as $b8hua$fetch_retry, add_version_query_params as $b8hua$add_version_query_params, dwarn as $b8hua$dwarn, sort_obj as $b8hua$sort_obj, edit_current_page_meta_tags as $b8hua$edit_current_page_meta_tags, javascript_media_query as $b8hua$javascript_media_query, use_href_accessor as $b8hua$use_href_accessor, make_asyncIterable_exiter as $b8hua$make_asyncIterable_exiter, href_change_ipns as $b8hua$href_change_ipns, ContainedImage as $b8hua$ContainedImage, deparallelize_no_drop as $b8hua$deparallelize_no_drop, ListenableSet as $b8hua$ListenableSet, insert_surfaces as $b8hua$insert_surfaces } from "@depict-ai/utilishared/ES10";
|
|
2
|
-
import { createComponent as $b8hua$createComponent, ssr as $b8hua$ssr, ssrHydrationKey as $b8hua$ssrHydrationKey, ssrStyle as $b8hua$ssrStyle, ssrElement as $b8hua$ssrElement,
|
|
2
|
+
import { createComponent as $b8hua$createComponent, ssr as $b8hua$ssr, ssrHydrationKey as $b8hua$ssrHydrationKey, ssrStyle as $b8hua$ssrStyle, ssrElement as $b8hua$ssrElement, mergeProps as $b8hua$mergeProps, escape as $b8hua$escape, insert as $b8hua$insert, ssrAttribute as $b8hua$ssrAttribute, isServer as $b8hua$isServer, ssrClassList as $b8hua$ssrClassList, Dynamic as $b8hua$Dynamic } from "solid-js/web";
|
|
3
3
|
import { createSignal as $b8hua$createSignal, getOwner as $b8hua$getOwner, createEffect as $b8hua$createEffect, runWithOwner as $b8hua$runWithOwner, onCleanup as $b8hua$onCleanup, createMemo as $b8hua$createMemo, createContext as $b8hua$createContext, useContext as $b8hua$useContext, createResource as $b8hua$createResource, Suspense as $b8hua$Suspense, Show as $b8hua$Show, untrack as $b8hua$untrack, createRenderEffect as $b8hua$createRenderEffect, Index as $b8hua$Index, createRoot as $b8hua$createRoot, For as $b8hua$For, createUniqueId as $b8hua$createUniqueId, createComputed as $b8hua$createComputed, ErrorBoundary as $b8hua$ErrorBoundary, on as $b8hua$on, batch as $b8hua$batch, createReaction as $b8hua$createReaction, mapArray as $b8hua$mapArray, mergeProps as $b8hua$mergeProps1 } from "solid-js";
|
|
4
4
|
import $b8hua$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
|
|
5
5
|
import $b8hua$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpers/classPrivateFieldGet";
|
|
@@ -9,7 +9,7 @@ import { createStore as $b8hua$createStore, reconcile as $b8hua$reconcile } from
|
|
|
9
9
|
/*! Depict.ai search and product listing SDK */
|
|
10
10
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
11
11
|
register_es_version("ui", "ES10");
|
|
12
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "2.1.
|
|
12
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "2.1.2";
|
|
13
13
|
const $2855bffe06ef7a03$var$fallback_operator = "in";
|
|
14
14
|
const $2855bffe06ef7a03$var$fallback_token = "";
|
|
15
15
|
const $2855bffe06ef7a03$var$legacy_filter_prefix = "filter_";
|
|
@@ -254,10 +254,10 @@ function $56047603f9d212b6$export$6e5611bc7e57e477(props) {
|
|
|
254
254
|
srcset: srcset
|
|
255
255
|
};
|
|
256
256
|
});
|
|
257
|
-
return $b8hua$ssrElement("img", (
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
257
|
+
return $b8hua$ssrElement("img", $b8hua$mergeProps(otherOptions, src_options, {
|
|
258
|
+
get sizes() {
|
|
259
|
+
return props.size() + "px";
|
|
260
|
+
}
|
|
261
261
|
}), undefined, true);
|
|
262
262
|
}
|
|
263
263
|
function $56047603f9d212b6$var$make_srcset(url, resolutions) {
|
|
@@ -700,9 +700,8 @@ const $63f1f8dbcd07d3b0$var$_tmpl$ = ["<div", ' class="', '">', "</div>"],
|
|
|
700
700
|
$63f1f8dbcd07d3b0$var$_tmpl$2 = ["<style", ' type="text/css">', "</style>"];
|
|
701
701
|
function $63f1f8dbcd07d3b0$export$d21e32dfedac04be(props) {
|
|
702
702
|
const container_class = "x" + $b8hua$createUniqueId();
|
|
703
|
-
const container_element_ = $b8hua$ssrElement("div", () =>
|
|
704
|
-
|
|
705
|
-
"classList": {
|
|
703
|
+
const container_element_ = $b8hua$ssrElement("div", $b8hua$mergeProps(() => props.element_attributes, {
|
|
704
|
+
classList: {
|
|
706
705
|
[container_class]: true
|
|
707
706
|
}
|
|
708
707
|
}), () => $b8hua$escape(props.children), true); // Don't want this in the error boundary below, it should only be for the actual layouting
|
|
@@ -942,7 +941,7 @@ function $d5d7e58c5c9d8db0$export$9574e176201e5e8d(props) {
|
|
|
942
941
|
})));
|
|
943
942
|
}, "RecommendationSlider failed");
|
|
944
943
|
}
|
|
945
|
-
const $e3efeb558d952696$var$_tmpl$ = ["<div", ' class="recommendation-grid"
|
|
944
|
+
const $e3efeb558d952696$var$_tmpl$ = ["<div", ' class="recommendation-grid"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
|
|
946
945
|
function $e3efeb558d952696$export$7da560f849543dff(_ref) {
|
|
947
946
|
let {
|
|
948
947
|
recommendations_resource_: recommendations_resource_,
|
|
@@ -1172,12 +1171,11 @@ function $60ec7a29849d81db$export$a71e92cfbb498adc(props) {
|
|
|
1172
1171
|
const $9783d437ad61594c$var$_tmpl$ = '<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"></path>';
|
|
1173
1172
|
function $9783d437ad61594c$export$3b621d86b1566b2() {
|
|
1174
1173
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
1175
|
-
return $b8hua$ssrElement("svg", (
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
"viewBox": "0 0 21.064 21.064"
|
|
1174
|
+
return $b8hua$ssrElement("svg", $b8hua$mergeProps(props, {
|
|
1175
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1176
|
+
width: "21.064",
|
|
1177
|
+
height: "21.047",
|
|
1178
|
+
viewBox: "0 0 21.064 21.064"
|
|
1181
1179
|
}), () => $b8hua$ssr($9783d437ad61594c$var$_tmpl$), true);
|
|
1182
1180
|
}
|
|
1183
1181
|
|
|
@@ -1189,9 +1187,9 @@ function $af5d8e0b7d97a7f6$export$325f75597868c4f0(stuff) {
|
|
|
1189
1187
|
return stuff.toLowerCase();
|
|
1190
1188
|
}
|
|
1191
1189
|
const $4711a82d08d2021b$var$_tmpl$ = ["<button", ' class="clear-all-filters minor">', "</button>"],
|
|
1192
|
-
$4711a82d08d2021b$var$_tmpl$2 = ["<div", ' class="inner"><span class="title"
|
|
1193
|
-
$4711a82d08d2021b$var$_tmpl$3 = ["<button", ' class="clear-filter major"
|
|
1194
|
-
$4711a82d08d2021b$var$_tmpl$4 = ["<button", ' class="clear-filter major"
|
|
1190
|
+
$4711a82d08d2021b$var$_tmpl$2 = ["<div", ' class="inner"><span class="title"><!--$-->', "<!--/-->: </span><!--$-->", "<!--/--></div>"],
|
|
1191
|
+
$4711a82d08d2021b$var$_tmpl$3 = ["<button", ' class="clear-filter major"><!--$-->', "<!--/--><span><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--> – <!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></span></button>"],
|
|
1192
|
+
$4711a82d08d2021b$var$_tmpl$4 = ["<button", ' class="clear-filter major"><!--$-->', "<!--/--><span>", "</span></button>"];
|
|
1195
1193
|
function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
|
|
1196
1194
|
let {
|
|
1197
1195
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
|
|
@@ -1299,25 +1297,23 @@ function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
|
|
|
1299
1297
|
return ((_matching_filter2 = matching_filter()) === null || _matching_filter2 === void 0 ? void 0 : _matching_filter2.op) !== "inrange";
|
|
1300
1298
|
},
|
|
1301
1299
|
get fallback() {
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
})), $b8hua$escape(price_formatting_().post_));
|
|
1320
|
-
})();
|
|
1300
|
+
number_of_rendered_selected_filters_items_[1](prev => prev + 1);
|
|
1301
|
+
$b8hua$onCleanup(() => number_of_rendered_selected_filters_items_[1](prev => prev - 1));
|
|
1302
|
+
return $b8hua$ssr($4711a82d08d2021b$var$_tmpl$3, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $9783d437ad61594c$export$3b621d86b1566b2), {})), $b8hua$escape(price_formatting_().pre_), $b8hua$escape($b8hua$createComponent((0, $60ec7a29849d81db$export$a71e92cfbb498adc), {
|
|
1303
|
+
get price_() {
|
|
1304
|
+
return filter().data[0];
|
|
1305
|
+
},
|
|
1306
|
+
get price_formatting_() {
|
|
1307
|
+
return price_formatting_();
|
|
1308
|
+
}
|
|
1309
|
+
})), $b8hua$escape(price_formatting_().post_), $b8hua$escape(price_formatting_().pre_), $b8hua$escape($b8hua$createComponent((0, $60ec7a29849d81db$export$a71e92cfbb498adc), {
|
|
1310
|
+
get price_() {
|
|
1311
|
+
return filter().data[1];
|
|
1312
|
+
},
|
|
1313
|
+
get price_formatting_() {
|
|
1314
|
+
return price_formatting_();
|
|
1315
|
+
}
|
|
1316
|
+
})), $b8hua$escape(price_formatting_().post_));
|
|
1321
1317
|
},
|
|
1322
1318
|
get children() {
|
|
1323
1319
|
return $b8hua$createComponent((0, $b8hua$Index), {
|
|
@@ -1406,7 +1402,7 @@ function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
|
|
|
1406
1402
|
return outmost_element;
|
|
1407
1403
|
}
|
|
1408
1404
|
const $19e828709c7723a0$var$_tmpl$ = ["<span", ' class="count">', "</span>"],
|
|
1409
|
-
$19e828709c7723a0$var$_tmpl$2 = ["<label", ' class="', '"', '><div class="left"><input type="checkbox"', "", "", '><span class="custom-indicator"></span><span class="text line-clamp">', "</span></div
|
|
1405
|
+
$19e828709c7723a0$var$_tmpl$2 = ["<label", ' class="', '"', '><div class="left"><input type="checkbox"', "", "", '><span class="custom-indicator"></span><span class="text line-clamp">', "</span></div><!--$-->", "<!--/--></label>"];
|
|
1410
1406
|
const $19e828709c7723a0$export$48513f6b9f8ce62d = props => {
|
|
1411
1407
|
// 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
|
|
1412
1408
|
const count = $b8hua$createMemo(() => props.count_);
|
|
@@ -1427,14 +1423,13 @@ const $19e828709c7723a0$export$48513f6b9f8ce62d = props => {
|
|
|
1427
1423
|
};
|
|
1428
1424
|
const $ff3225aef892a467$var$_tmpl$ = '<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"></path>';
|
|
1429
1425
|
function $ff3225aef892a467$export$f21ab0717a89c77f(props) {
|
|
1430
|
-
return $b8hua$ssrElement("svg", (
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
"height": "12"
|
|
1426
|
+
return $b8hua$ssrElement("svg", $b8hua$mergeProps(props, {
|
|
1427
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1428
|
+
width: "11",
|
|
1429
|
+
height: "12"
|
|
1435
1430
|
}), () => $b8hua$ssr($ff3225aef892a467$var$_tmpl$), true);
|
|
1436
1431
|
}
|
|
1437
|
-
const $3e850b2f2cca761f$var$_tmpl$ = ["<button", ' type="button" class="', '"
|
|
1432
|
+
const $3e850b2f2cca761f$var$_tmpl$ = ["<button", ' type="button" class="', '"><!--$-->', "<!--/--><span>", "</span></button>"];
|
|
1438
1433
|
function $3e850b2f2cca761f$export$ca21a16d65b3dd8(_ref) {
|
|
1439
1434
|
let {
|
|
1440
1435
|
show_extras_: [get_show_extras, set_show_extras],
|
|
@@ -1442,7 +1437,7 @@ function $3e850b2f2cca761f$export$ca21a16d65b3dd8(_ref) {
|
|
|
1442
1437
|
} = _ref;
|
|
1443
1438
|
return $b8hua$ssr($3e850b2f2cca761f$var$_tmpl$, $b8hua$ssrHydrationKey(), "expand-filter ".concat(get_show_extras() ? "expanded" : ""), $b8hua$escape($b8hua$createComponent((0, $ff3225aef892a467$export$f21ab0717a89c77f), {})), get_show_extras() ? $b8hua$escape(i18n_.view_less_()) : $b8hua$escape(i18n_.view_more_()));
|
|
1444
1439
|
}
|
|
1445
|
-
const $133484ef10e4e954$var$_tmpl$ = ["<form", ' class="checkboxes"
|
|
1440
|
+
const $133484ef10e4e954$var$_tmpl$ = ["<form", ' class="checkboxes"><!--$-->', "<!--/--><!--$-->", "<!--/--></form>"];
|
|
1446
1441
|
const $133484ef10e4e954$var$max_visible_without_collapsing = 15;
|
|
1447
1442
|
const $133484ef10e4e954$var$show_non_collapsible_when_collapsed = 4;
|
|
1448
1443
|
function $133484ef10e4e954$export$dd948f91abc3a1c4(_ref) {
|
|
@@ -1549,7 +1544,7 @@ function $133484ef10e4e954$export$dd948f91abc3a1c4(_ref) {
|
|
|
1549
1544
|
}
|
|
1550
1545
|
const $b54fc842e721c9eb$var$_tmpl$ = ["<form", ' class="radios">', "</form>"],
|
|
1551
1546
|
$b54fc842e721c9eb$var$_tmpl$2 = ["<span", ' class="count">', "</span>"],
|
|
1552
|
-
$b54fc842e721c9eb$var$_tmpl$3 = ["<label", ' class="', '"', '><div class="left"><input type="radio"', "", '><span class="custom-indicator"></span
|
|
1547
|
+
$b54fc842e721c9eb$var$_tmpl$3 = ["<label", ' class="', '"', '><div class="left"><input type="radio"', "", '><span class="custom-indicator"></span><!--$-->', "<!--/--></div><!--$-->", "<!--/--></label>"];
|
|
1553
1548
|
function $b54fc842e721c9eb$export$430444115f70a734(_ref) {
|
|
1554
1549
|
let {
|
|
1555
1550
|
selected_filters_: selected_filters_,
|
|
@@ -1602,7 +1597,7 @@ function $b54fc842e721c9eb$export$430444115f70a734(_ref) {
|
|
|
1602
1597
|
}
|
|
1603
1598
|
})));
|
|
1604
1599
|
}
|
|
1605
|
-
const $1e7465a8ffa97f6c$var$_tmpl$ = ["<div", ' class="', '"><div class="input-group"><div class="field"><input', ' type="number"', '></div><div class="separator">-</div><div class="field"><input', ' type="number"', "></div></div
|
|
1600
|
+
const $1e7465a8ffa97f6c$var$_tmpl$ = ["<div", ' class="', '"><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"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></span></div></div>"],
|
|
1606
1601
|
$1e7465a8ffa97f6c$var$_tmpl$2 = ["<div", ' class="slider"><div class="progress" style="', '"></div></div>'],
|
|
1607
1602
|
$1e7465a8ffa97f6c$var$_tmpl$3 = ["<div", ' class="range-group"><input', ' type="range"', ' step="any"><input', ' type="range"', ' step="any"></div>'];
|
|
1608
1603
|
function $1e7465a8ffa97f6c$export$e0d834a0ad870cda(_ref) {
|
|
@@ -1840,10 +1835,10 @@ function $457279ff15864cb9$export$e5c2828934226505(_ref) {
|
|
|
1840
1835
|
});
|
|
1841
1836
|
return outer_div;
|
|
1842
1837
|
}
|
|
1843
|
-
const $0ae614c5c7babb43$var$_tmpl$ = ["<form", ' class="', '"
|
|
1844
|
-
$0ae614c5c7babb43$var$_tmpl$2 = ["<div", ' class="', '"
|
|
1838
|
+
const $0ae614c5c7babb43$var$_tmpl$ = ["<form", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></form>"],
|
|
1839
|
+
$0ae614c5c7babb43$var$_tmpl$2 = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
1845
1840
|
$0ae614c5c7babb43$var$_tmpl$3 = ["<details", "></details>"],
|
|
1846
|
-
$0ae614c5c7babb43$var$_tmpl$4 = ["<summary", ' class="category-parent"><div class="summary"><span class="', '">', "</span
|
|
1841
|
+
$0ae614c5c7babb43$var$_tmpl$4 = ["<summary", ' class="category-parent"><div class="summary"><span class="', '">', "</span><!--$-->", "<!--/--></div></summary>"];
|
|
1847
1842
|
const $0ae614c5c7babb43$var$max_visible_without_collapsing = 15;
|
|
1848
1843
|
const $0ae614c5c7babb43$var$show_non_collapsible_when_collapsed = 4;
|
|
1849
1844
|
function $0ae614c5c7babb43$export$a32086fa6616eafd(_ref) {
|
|
@@ -2354,15 +2349,18 @@ const $830ea8efda59884e$export$414f6a19d38e655c = _ref => {
|
|
|
2354
2349
|
const current_value = $af5d8e0b7d97a7f6$export$325f75597868c4f0(value().value_);
|
|
2355
2350
|
return !!(data !== null && data !== void 0 && data.some(item => $af5d8e0b7d97a7f6$export$325f75597868c4f0(item) === current_value));
|
|
2356
2351
|
});
|
|
2357
|
-
const MakeButton = attributes => $b8hua$ssrElement("button", (
|
|
2358
|
-
|
|
2359
|
-
|
|
2360
|
-
|
|
2361
|
-
|
|
2362
|
-
|
|
2363
|
-
|
|
2352
|
+
const MakeButton = attributes => $b8hua$ssrElement("button", $b8hua$mergeProps(attributes, {
|
|
2353
|
+
get disabled() {
|
|
2354
|
+
return value().count_ === 0 && !is_selected();
|
|
2355
|
+
},
|
|
2356
|
+
get classList() {
|
|
2357
|
+
return {
|
|
2358
|
+
minor: !is_selected(),
|
|
2359
|
+
major: is_selected(),
|
|
2360
|
+
"major-minor-transition": true
|
|
2361
|
+
};
|
|
2364
2362
|
}
|
|
2365
|
-
}), () => ["
|
|
2363
|
+
}), () => ["<!--$-->", $b8hua$escape(value().value_), "<!--/-->", "<!--$-->", $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
|
|
2366
2364
|
get when() {
|
|
2367
2365
|
return value().count_ != undefined;
|
|
2368
2366
|
},
|
|
@@ -2451,7 +2449,7 @@ function $830ea8efda59884e$var$adjust_sizes(container_width, sizes, set_cols_at_
|
|
|
2451
2449
|
overrides: column_to_row_result
|
|
2452
2450
|
}]]);
|
|
2453
2451
|
}
|
|
2454
|
-
const $2cb856c297c53e6c$var$_tmpl$ = ["<form", ' class="checkbox-color"
|
|
2452
|
+
const $2cb856c297c53e6c$var$_tmpl$ = ["<form", ' class="checkbox-color"><!--$-->', "<!--/--><!--$-->", "<!--/--></form>"];
|
|
2455
2453
|
const $2cb856c297c53e6c$var$max_visible_without_collapsing = 30;
|
|
2456
2454
|
const $2cb856c297c53e6c$var$show_non_collapsible_when_collapsed = 8;
|
|
2457
2455
|
function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
|
|
@@ -2615,14 +2613,13 @@ var $d2988f745661df9c$export$2e2bcd8739ae039 = {
|
|
|
2615
2613
|
const $905f44be08b7378e$var$_tmpl$ = '<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"></path>';
|
|
2616
2614
|
function $905f44be08b7378e$export$f2ca6fc699ca1fb4() {
|
|
2617
2615
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
2618
|
-
return $b8hua$ssrElement("svg", (
|
|
2619
|
-
|
|
2620
|
-
|
|
2621
|
-
|
|
2622
|
-
|
|
2623
|
-
|
|
2624
|
-
|
|
2625
|
-
const $d0ff304c14f50521$var$_tmpl$ = ["<span", ' class="show-selected" aria-hidden="true"><span>', "</span><!--#-->", "<!--/--></span>"];
|
|
2616
|
+
return $b8hua$ssrElement("svg", $b8hua$mergeProps({
|
|
2617
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2618
|
+
width: "16.8",
|
|
2619
|
+
height: "14"
|
|
2620
|
+
}, props), () => $b8hua$ssr($905f44be08b7378e$var$_tmpl$), true);
|
|
2621
|
+
}
|
|
2622
|
+
const $d0ff304c14f50521$var$_tmpl$ = ["<span", ' class="show-selected" aria-hidden="true"><span>', "</span><!--$-->", "<!--/--></span>"];
|
|
2626
2623
|
function $d0ff304c14f50521$export$53c59af873b303c9(_ref) {
|
|
2627
2624
|
let {
|
|
2628
2625
|
selected_filters_in_group_: selected_filters_in_group_,
|
|
@@ -2769,11 +2766,11 @@ function $ceafb6fb91c6f394$export$89c6019e4baa40b1(props) {
|
|
|
2769
2766
|
});
|
|
2770
2767
|
}
|
|
2771
2768
|
const $f6b0500577e1b210$var$_tmpl$ = ["<div", ' class="filter-collapsible">', "</div>"],
|
|
2772
|
-
$f6b0500577e1b210$var$_tmpl$2 = ["<button", ' class="clear-group"
|
|
2773
|
-
$f6b0500577e1b210$var$_tmpl$3 = ["<div", ' class="view-more-clear"
|
|
2774
|
-
$f6b0500577e1b210$var$_tmpl$4 = ["<div", ' class="filter-collapsible-body"><div class="filter-part">', "</div
|
|
2769
|
+
$f6b0500577e1b210$var$_tmpl$2 = ["<button", ' class="clear-group"><!--$-->', "<!--/--><span>", "</span></button>"],
|
|
2770
|
+
$f6b0500577e1b210$var$_tmpl$3 = ["<div", ' class="view-more-clear"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
2771
|
+
$f6b0500577e1b210$var$_tmpl$4 = ["<div", ' class="filter-collapsible-body"><div class="filter-part">', "</div><!--$-->", "<!--/--></div>"],
|
|
2775
2772
|
$f6b0500577e1b210$var$_tmpl$5 = ["<details", ' class="filter-collapsible"', "></details>"],
|
|
2776
|
-
$f6b0500577e1b210$var$_tmpl$6 = ["<summary", ' class="filter-group-summary"><div class="summary"><span>', '</span><div class="selected-w-sign"
|
|
2773
|
+
$f6b0500577e1b210$var$_tmpl$6 = ["<summary", ' class="filter-group-summary"><div class="summary"><span>', '</span><div class="selected-w-sign"><!--$-->', "<!--/--><!--$-->", "<!--/--></div></div></summary>"],
|
|
2777
2774
|
$f6b0500577e1b210$var$_tmpl$7 = ["<div", ' class="ungrouped">', "</div>"],
|
|
2778
2775
|
$f6b0500577e1b210$var$_tmpl$8 = ["<button", ' class="clear-all-filters major">', "</button>"];
|
|
2779
2776
|
function $f6b0500577e1b210$export$3f1a388cc0d8fed7(props) {
|
|
@@ -3732,7 +3729,7 @@ function $33e7d1906c93db7d$export$205efb947c7ffd78(handler) {
|
|
|
3732
3729
|
$b8hua$onCleanup(() => removeEventListener(event, catchified_handler));
|
|
3733
3730
|
}
|
|
3734
3731
|
}
|
|
3735
|
-
const $b69740fc6de9f17e$var$_tmpl$ = ["<div", ' class="scroll-status" style="display:none"><span class="text"><b>', "</b> – <b>", "</b>
|
|
3732
|
+
const $b69740fc6de9f17e$var$_tmpl$ = ["<div", ' class="scroll-status" style="display:none"><span class="text"><b>', "</b> – <b>", "</b> <!--$-->", "<!--/--> <b>", "</b></span></div>"];
|
|
3736
3733
|
function $b69740fc6de9f17e$export$83fd5de5504a7a67(_ref) {
|
|
3737
3734
|
let {
|
|
3738
3735
|
formatted_number_of_results_: formatted_number_of_results_,
|
|
@@ -3853,7 +3850,7 @@ function $b69740fc6de9f17e$export$83fd5de5504a7a67(_ref) {
|
|
|
3853
3850
|
})), $b8hua$escape(of_()), $b8hua$escape(count_to_show()));
|
|
3854
3851
|
}
|
|
3855
3852
|
const $94af29837186eb21$var$_tmpl$ = ["<a", ' class="hint" href="javascript:void(0)">', "</a>"],
|
|
3856
|
-
$94af29837186eb21$var$_tmpl$2 = ["<div", ' class="no-results"><div class="text">', "</div
|
|
3853
|
+
$94af29837186eb21$var$_tmpl$2 = ["<div", ' class="no-results"><div class="text">', "</div><!--$-->", "<!--/--></div>"];
|
|
3857
3854
|
function $94af29837186eb21$export$ef6006467f04ee41(_ref) {
|
|
3858
3855
|
let {
|
|
3859
3856
|
i18n_: i18n_,
|
|
@@ -3992,8 +3989,7 @@ function $45a8953d760b5e58$export$a1fd619a4743ca08(_ref) {
|
|
|
3992
3989
|
query_base_: query_base_,
|
|
3993
3990
|
depict_api_: depict_api_,
|
|
3994
3991
|
is_loading_: is_loading_,
|
|
3995
|
-
content_blocks_: content_blocks_
|
|
3996
|
-
set_number_loaded_displays_: set_number_loaded_displays_
|
|
3992
|
+
content_blocks_: content_blocks_
|
|
3997
3993
|
} = _ref;
|
|
3998
3994
|
// The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator and knowing when to load more
|
|
3999
3995
|
const target_to_index_map = new Map();
|
|
@@ -4040,7 +4036,6 @@ function $45a8953d760b5e58$export$a1fd619a4743ca08(_ref) {
|
|
|
4040
4036
|
query_base_: query_base_,
|
|
4041
4037
|
depict_api_: depict_api_
|
|
4042
4038
|
});
|
|
4043
|
-
$b8hua$createComputed(() => set_number_loaded_displays_(displays_by_key_().size));
|
|
4044
4039
|
return $2d7bad8684bc7f44$export$43f0fb951fcb0c54({
|
|
4045
4040
|
displays_by_key_: displays_by_key_,
|
|
4046
4041
|
merchant_: merchant_,
|
|
@@ -4072,9 +4067,8 @@ const $64d94dcaa058dc7b$var$_tmpl$ = ["<style", ' type="text/css">', "</style>"]
|
|
|
4072
4067
|
const $64d94dcaa058dc7b$export$c500183c31c2b22e = "--spans-columns";
|
|
4073
4068
|
function $64d94dcaa058dc7b$export$ab6b147eec64fea5(props) {
|
|
4074
4069
|
const container_class = "x" + $b8hua$createUniqueId();
|
|
4075
|
-
const container_element_ = $b8hua$ssrElement("div", () =>
|
|
4076
|
-
|
|
4077
|
-
"classList": {
|
|
4070
|
+
const container_element_ = $b8hua$ssrElement("div", $b8hua$mergeProps(() => props.element_attributes, {
|
|
4071
|
+
classList: {
|
|
4078
4072
|
[container_class]: true
|
|
4079
4073
|
}
|
|
4080
4074
|
}), () => $b8hua$escape(props.children), true); // Don't want this in the error boundary below, it should only be for the actual layouting
|
|
@@ -4236,27 +4230,22 @@ function $ff7feae4dddd6073$export$791ef57e62e21c3f(_ref) {
|
|
|
4236
4230
|
let {
|
|
4237
4231
|
content_blocks_: incoming_content_blocks,
|
|
4238
4232
|
cols_at_size_: cols_at_size_,
|
|
4239
|
-
number_of_items_shown_: number_of_items_shown_,
|
|
4240
4233
|
set_top_row_shortened_by_: set_top_row_shortened_by_
|
|
4241
4234
|
} = _ref;
|
|
4242
4235
|
// these are by row
|
|
4243
4236
|
const [content_blocks, set_content_blocks] = $b8hua$createStore([]);
|
|
4244
4237
|
const n_cols_currently_showing_ = $8244fdad249f8d5f$export$a79e666719b3647c(cols_at_size_);
|
|
4245
|
-
const products_to_rows = products => {
|
|
4246
|
-
const cols_currently_showing = n_cols_currently_showing_();
|
|
4247
|
-
if (cols_currently_showing === null) return 0;
|
|
4248
|
-
return Math.ceil(products / cols_currently_showing);
|
|
4249
|
-
};
|
|
4250
|
-
const showing_rows = $b8hua$createMemo(() => products_to_rows(number_of_items_shown_()));
|
|
4251
4238
|
$b8hua$createEffect(() => {
|
|
4252
4239
|
const incoming_value = incoming_content_blocks();
|
|
4253
4240
|
if (!incoming_value) {
|
|
4254
4241
|
set_content_blocks([]);
|
|
4255
4242
|
return;
|
|
4256
4243
|
}
|
|
4257
|
-
|
|
4258
|
-
|
|
4244
|
+
set_content_blocks($b8hua$reconcile(incoming_value, {
|
|
4245
|
+
key: "content"
|
|
4246
|
+
})); // key: Make moving blocks faster, see https://github.com/solidjs/solid/issues/1925#issuecomment-1769671596
|
|
4259
4247
|
});
|
|
4248
|
+
|
|
4260
4249
|
const get_wrapped_blocks_ = $ff7feae4dddd6073$var$wrap_blocks_in_div(content_blocks, n_cols_currently_showing_);
|
|
4261
4250
|
$b8hua$createComputed(() => {
|
|
4262
4251
|
// 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
|
|
@@ -4310,12 +4299,12 @@ function $ff7feae4dddd6073$var$remap_blocks_to_index(_ref2) {
|
|
|
4310
4299
|
for (let j = 0; j < i; j++) {
|
|
4311
4300
|
const row = displaced_products[j];
|
|
4312
4301
|
if (row === undefined) continue; // there were no blocks in this row
|
|
4313
|
-
let
|
|
4314
|
-
if (typeof row === "number")
|
|
4315
|
-
|
|
4316
|
-
displaced_products[j] =
|
|
4302
|
+
let displaced_items_in_row;
|
|
4303
|
+
if (typeof row === "number") displaced_items_in_row = row;else {
|
|
4304
|
+
displaced_items_in_row = row.filter(item => item).length;
|
|
4305
|
+
displaced_products[j] = displaced_items_in_row;
|
|
4317
4306
|
}
|
|
4318
|
-
displacement_by_added_blocks +=
|
|
4307
|
+
displacement_by_added_blocks += displaced_items_in_row;
|
|
4319
4308
|
}
|
|
4320
4309
|
const index_of_us_in_row = target_index - index_of_first_item_in_row;
|
|
4321
4310
|
for (let j = 0; j < index_of_us_in_row; j++) {
|
|
@@ -4360,13 +4349,27 @@ function $ff7feae4dddd6073$var$wrap_blocks_in_div(rendered_content_blocks, max_s
|
|
|
4360
4349
|
var _max_span_columns;
|
|
4361
4350
|
return Math.min(block.span_columns, (_max_span_columns = max_span_columns()) !== null && _max_span_columns !== void 0 ? _max_span_columns : Infinity);
|
|
4362
4351
|
};
|
|
4352
|
+
const [rendering_delayed, set_rendering_delayed_] = $b8hua$createSignal(true);
|
|
4353
|
+
const content = $b8hua$createComponent((0, $b8hua$Show), {
|
|
4354
|
+
get when() {
|
|
4355
|
+
return !rendering_delayed();
|
|
4356
|
+
},
|
|
4357
|
+
get children() {
|
|
4358
|
+
return $b8hua$ssr($ff7feae4dddd6073$var$_tmpl$, $b8hua$ssrHydrationKey(), "grid-column:" + "span ".concat($b8hua$escape(get_span_columns(), true)) + (";grid-row:" + "span ".concat($b8hua$escape(block.span_rows, true))) + (";spans_columns_variable_name:" + $b8hua$escape(get_span_columns(), true)), $b8hua$escape($b8hua$createComponent($ff7feae4dddd6073$var$RenderContent, {
|
|
4359
|
+
get content() {
|
|
4360
|
+
return block.content;
|
|
4361
|
+
}
|
|
4362
|
+
})));
|
|
4363
|
+
}
|
|
4364
|
+
});
|
|
4363
4365
|
return $b8hua$mergeProps1(block, {
|
|
4364
4366
|
// Create content divs for the blocks with as much fine-grained diffing as possible?
|
|
4365
|
-
content:
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4367
|
+
content: () => {
|
|
4368
|
+
// Sneaky on-demand rendering, so we don't render more blocks than we can show: we have the rendered value here and don't return a function that renders because if our block would be moved around we'd be guaranteed to re-render
|
|
4369
|
+
// However, no need to count products to know if we should render: the <For> loops in Placeholders and render_displays will only call this function if there's actually a product here that wants to display this block
|
|
4370
|
+
set_rendering_delayed_(false);
|
|
4371
|
+
return content;
|
|
4372
|
+
},
|
|
4370
4373
|
get span_columns() {
|
|
4371
4374
|
// Cap max width of block to the number of columns available, for everyone downstream
|
|
4372
4375
|
return get_span_columns();
|
|
@@ -4396,7 +4399,7 @@ function $ff7feae4dddd6073$var$RenderContent(props) {
|
|
|
4396
4399
|
children: resource
|
|
4397
4400
|
});
|
|
4398
4401
|
}
|
|
4399
|
-
const $7faea0096f14b59b$var$_tmpl$ = ["<div", ' class="', '"
|
|
4402
|
+
const $7faea0096f14b59b$var$_tmpl$ = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
|
|
4400
4403
|
function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
4401
4404
|
let {
|
|
4402
4405
|
plp_results_: plp_results_,
|
|
@@ -4457,8 +4460,7 @@ function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
|
4457
4460
|
let fallback_is_alive = false;
|
|
4458
4461
|
const [get_should_have_placeholders_rendered, set_should_have_placeholders_rendered] = $b8hua$createSignal(true);
|
|
4459
4462
|
const [top_row_shortened_by_, set_top_row_shortened_by_] = $b8hua$createSignal(0);
|
|
4460
|
-
|
|
4461
|
-
const [number_loaded_displays, set_number_loaded_displays_] = $b8hua$createSignal(0);
|
|
4463
|
+
$b8hua$createSignal(false);
|
|
4462
4464
|
const modified_cols_at_size = $b2dbaafb23d00c7f$export$cb5808ba002cdeed({
|
|
4463
4465
|
layout_options_: layout_options_,
|
|
4464
4466
|
sort_or_filter_open_: sort_or_filter_open_
|
|
@@ -4473,12 +4475,10 @@ function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
|
4473
4475
|
return for_id === id_currently_querying_for_();
|
|
4474
4476
|
})) === null || _get_scroll_restorati2 === void 0 ? void 0 : _get_scroll_restorati2.min_results_loaded) !== null && _get_scroll_restorati !== void 0 ? _get_scroll_restorati : min_products_to_fetch_);
|
|
4475
4477
|
});
|
|
4476
|
-
const number_of_items_shown_ = $b8hua$createMemo(() => is_loading_() || product_card_suspense_is_in_fallback() ? num_placeholders_() : number_loaded_displays());
|
|
4477
4478
|
const doesnt_have_content_blocks = $b8hua$createMemo(() => !content_blocks_by_row_());
|
|
4478
4479
|
const content_blocks_ = $b8hua$createMemo(() => doesnt_have_content_blocks() ? () => [] : $ff7feae4dddd6073$export$791ef57e62e21c3f({
|
|
4479
4480
|
content_blocks_: content_blocks_by_row_,
|
|
4480
4481
|
cols_at_size_: modified_cols_at_size,
|
|
4481
|
-
number_of_items_shown_: number_of_items_shown_,
|
|
4482
4482
|
set_top_row_shortened_by_: set_top_row_shortened_by_
|
|
4483
4483
|
}));
|
|
4484
4484
|
const rendered_placeholders = $b8hua$createMemo(() => get_should_have_placeholders_rendered() ? $bdd80c7862246dc2$export$f33414a4df0afd3f({
|
|
@@ -4516,20 +4516,16 @@ function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
|
4516
4516
|
*/
|
|
4517
4517
|
const product_cards_when_data = $b8hua$createComponent((0, $b8hua$Suspense), {
|
|
4518
4518
|
get fallback() {
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
$b8hua$onCleanup(() => set_should_have_placeholders_rendered(false));
|
|
4530
|
-
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>
|
|
4531
|
-
});
|
|
4532
|
-
})();
|
|
4519
|
+
fallback_is_alive = true;
|
|
4520
|
+
$b8hua$onCleanup(block_suspense_if_needed); // Block suspense after initial run every time after we fetch
|
|
4521
|
+
return $b8hua$createMemo(() => {
|
|
4522
|
+
// 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
|
|
4523
|
+
// In future we could have individual suspense's for each product card, but that's too much for now
|
|
4524
|
+
if (get_suspense_is_blocked()) return suspense_contents;
|
|
4525
|
+
set_should_have_placeholders_rendered(true); // just in case
|
|
4526
|
+
$b8hua$onCleanup(() => set_should_have_placeholders_rendered(false));
|
|
4527
|
+
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>
|
|
4528
|
+
});
|
|
4533
4529
|
},
|
|
4534
4530
|
|
|
4535
4531
|
get children() {
|
|
@@ -4546,8 +4542,7 @@ function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
|
4546
4542
|
query_base_: query_base_,
|
|
4547
4543
|
depict_api_: depict_api_,
|
|
4548
4544
|
is_loading_: is_loading_,
|
|
4549
|
-
content_blocks_: content_blocks_
|
|
4550
|
-
set_number_loaded_displays_: set_number_loaded_displays_
|
|
4545
|
+
content_blocks_: content_blocks_
|
|
4551
4546
|
});
|
|
4552
4547
|
$b8hua$onCleanup(() => suspense_contents = undefined);
|
|
4553
4548
|
return suspense_contents;
|
|
@@ -4613,8 +4608,8 @@ function $7faea0096f14b59b$export$3925f87b1545cfc6(_ref) {
|
|
|
4613
4608
|
}
|
|
4614
4609
|
const $cfdbd124dd09d713$var$_tmpl$ = ["<div", ' class="sorting-attributes">', "</div>"],
|
|
4615
4610
|
$cfdbd124dd09d713$var$_tmpl$2 = ["<div", ' class="sorting-direction">', "</div>"],
|
|
4616
|
-
$cfdbd124dd09d713$var$_tmpl$3 = ["<div", '><div class="input-row"><input type="radio"', '><span class="custom-indicator"></span
|
|
4617
|
-
$cfdbd124dd09d713$var$_tmpl$4 = ["<div", '><label class="input-row"><input type="radio"', "", '><span class="custom-indicator"></span
|
|
4611
|
+
$cfdbd124dd09d713$var$_tmpl$3 = ["<div", '><div class="input-row"><input type="radio"', '><span class="custom-indicator"></span><!--$-->', "<!--/--></div></div>"],
|
|
4612
|
+
$cfdbd124dd09d713$var$_tmpl$4 = ["<div", '><label class="input-row"><input type="radio"', "", '><span class="custom-indicator"></span><!--$-->', "<!--/--></label></div>"];
|
|
4618
4613
|
function $cfdbd124dd09d713$export$1f1775a58da589b5(_ref) {
|
|
4619
4614
|
let {
|
|
4620
4615
|
available_sortings_: available_sortings_,
|
|
@@ -4722,24 +4717,22 @@ const $79af35736fe8e5c8$var$_tmpl$ = '<path d="M6.199 10.254a.35.35 0 0 0-.496 0
|
|
|
4722
4717
|
$79af35736fe8e5c8$var$_tmpl$2 = '<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"></path>';
|
|
4723
4718
|
function $79af35736fe8e5c8$export$da32f7add8a22e86() {
|
|
4724
4719
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4725
|
-
return $b8hua$ssrElement("svg", (
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
"class": "sort-icon"
|
|
4730
|
-
|
|
4731
|
-
}), () => [$b8hua$ssr($79af35736fe8e5c8$var$_tmpl$), $b8hua$ssr($79af35736fe8e5c8$var$_tmpl$2)], true);
|
|
4720
|
+
return $b8hua$ssrElement("svg", $b8hua$mergeProps({
|
|
4721
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4722
|
+
width: "14",
|
|
4723
|
+
height: "14",
|
|
4724
|
+
"class": "sort-icon"
|
|
4725
|
+
}, props), () => [$b8hua$ssr($79af35736fe8e5c8$var$_tmpl$), $b8hua$ssr($79af35736fe8e5c8$var$_tmpl$2)], true);
|
|
4732
4726
|
}
|
|
4733
4727
|
const $73e3c96bc365e0e9$var$_tmpl$ = '<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"></path>';
|
|
4734
4728
|
function $73e3c96bc365e0e9$export$d10e63059ddb9fd4() {
|
|
4735
4729
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4736
|
-
return $b8hua$ssrElement("svg", (
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
"class": "sort-icon"
|
|
4741
|
-
|
|
4742
|
-
}), () => $b8hua$ssr($73e3c96bc365e0e9$var$_tmpl$), true);
|
|
4730
|
+
return $b8hua$ssrElement("svg", $b8hua$mergeProps({
|
|
4731
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
4732
|
+
width: "14",
|
|
4733
|
+
height: "14",
|
|
4734
|
+
"class": "sort-icon"
|
|
4735
|
+
}, props), () => $b8hua$ssr($73e3c96bc365e0e9$var$_tmpl$), true);
|
|
4743
4736
|
}
|
|
4744
4737
|
const $05f67356defcdd65$var$_tmpl$ = ["<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"></path></svg>'];
|
|
4745
4738
|
function $05f67356defcdd65$export$28f6150e232898de() {
|
|
@@ -4755,9 +4748,9 @@ function $6fcb97029a69ec44$export$50f68cc9882e36a4(args_for_filtering) {
|
|
|
4755
4748
|
return ((_args_for_filtering$a = args_for_filtering.available_filters_()) === null || _args_for_filtering$a === void 0 ? void 0 : _args_for_filtering$a.length) === 0 && !((_args_for_filtering$s = args_for_filtering.selected_filters_[0]()) !== null && _args_for_filtering$s !== void 0 && _args_for_filtering$s.length);
|
|
4756
4749
|
}
|
|
4757
4750
|
const $082c4ed3e22f8d71$var$_tmpl$ = ["<button", ' class="clear minor">', "</button>"],
|
|
4758
|
-
$082c4ed3e22f8d71$var$_tmpl$2 = ["<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" style="', '"
|
|
4751
|
+
$082c4ed3e22f8d71$var$_tmpl$2 = ["<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" style="', '"><!--$-->', "<!--/--><!--$-->", '<!--/--></div><div class="bottom-row"><!--$-->', '<!--/--><button class="show-results major">', "</button></div></div></div>"],
|
|
4759
4752
|
$082c4ed3e22f8d71$var$_tmpl$3 = ["<details", ' class="sorting"></details>'],
|
|
4760
|
-
$082c4ed3e22f8d71$var$_tmpl$4 = ["<summary", ' class="sort-filter-summary"><div class="summary"><div class="left-els"
|
|
4753
|
+
$082c4ed3e22f8d71$var$_tmpl$4 = ["<summary", ' class="sort-filter-summary"><div class="summary"><div class="left-els"><!--$-->', "<!--/--><span>", "</span></div><!--$-->", "<!--/--></div></summary>"],
|
|
4761
4754
|
$082c4ed3e22f8d71$var$_tmpl$5 = ["<div", ' class="body">', "</div>"],
|
|
4762
4755
|
$082c4ed3e22f8d71$var$_tmpl$6 = ["<details", ' class="filters"></details>'],
|
|
4763
4756
|
$082c4ed3e22f8d71$var$_tmpl$7 = ["<b", ">", "</b>"];
|
|
@@ -4872,10 +4865,10 @@ function $bce10e104a1dd893$export$cb808a3c41736d8e() {
|
|
|
4872
4865
|
}
|
|
4873
4866
|
const $7396052a1484264f$var$_tmpl$ = ["<div", ' class="filters"><div class="body">', "</div></div>"],
|
|
4874
4867
|
$7396052a1484264f$var$_tmpl$2 = ["<div", ' class="sorting"><div class="body">', "</div></div>"],
|
|
4875
|
-
$7396052a1484264f$var$_tmpl$3 = ["<div", ' class="sort-and-filter-buttons"><div class="outer"><div class="inner"
|
|
4868
|
+
$7396052a1484264f$var$_tmpl$3 = ["<div", ' class="sort-and-filter-buttons"><div class="outer"><div class="inner"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div></div></div>"],
|
|
4876
4869
|
$7396052a1484264f$var$_tmpl$4 = ["<span", ' class="num-filters" style="', '">', "</span>"],
|
|
4877
|
-
$7396052a1484264f$var$_tmpl$5 = ["<div", ' class="open-filters-button-container" style="', '"
|
|
4878
|
-
$7396052a1484264f$var$_tmpl$6 = ["<button", ' class="', '"', ' style="', '"><span>', "</span
|
|
4870
|
+
$7396052a1484264f$var$_tmpl$5 = ["<div", ' class="open-filters-button-container" style="', '"><!--$-->', "<!--/--><button", ' class="', '" type="button"', ' style="', '"><!--$-->', "<!--/--><span>", "</span></button></div>"],
|
|
4871
|
+
$7396052a1484264f$var$_tmpl$6 = ["<button", ' class="', '"', ' style="', '"><span>', "</span><!--$-->", "<!--/--></button>"];
|
|
4879
4872
|
function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
4880
4873
|
let {
|
|
4881
4874
|
current_sorting_: current_sorting_,
|
|
@@ -5855,10 +5848,10 @@ function $3a2bed57c9a57e21$export$d31a1a1a83ad9413(plp_results_, _ref) {
|
|
|
5855
5848
|
set_selected_filters(new_filters);
|
|
5856
5849
|
});
|
|
5857
5850
|
}
|
|
5858
|
-
const $4b4b262708b516ee$var$_tmpl$ = ["<div", ' class="product-count"
|
|
5851
|
+
const $4b4b262708b516ee$var$_tmpl$ = ["<div", ' class="product-count"><!--$-->', "<!--/--> <!--$-->", "<!--/--></div>"],
|
|
5859
5852
|
$4b4b262708b516ee$var$_tmpl$2 = ["<div", "></div>"],
|
|
5860
|
-
$4b4b262708b516ee$var$_tmpl$3 = ["<div", ' class="filter-results-for-one-row"
|
|
5861
|
-
$4b4b262708b516ee$var$_tmpl$4 = ["<div", ' class="depict plp category"><div class="listing-page"
|
|
5853
|
+
$4b4b262708b516ee$var$_tmpl$3 = ["<div", ' class="filter-results-for-one-row"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
5854
|
+
$4b4b262708b516ee$var$_tmpl$4 = ["<div", ' class="depict plp category"><div class="listing-page"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"];
|
|
5862
5855
|
function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
|
|
5863
5856
|
var _on_filters_construct;
|
|
5864
5857
|
let {
|
|
@@ -6838,7 +6831,7 @@ function $f5f54892fd0c7d9f$var$get_shared_properties(depict_category) {
|
|
|
6838
6831
|
if (!shared_properties) throw new Error("Can't connect to provided DepictCategory instance");
|
|
6839
6832
|
return shared_properties;
|
|
6840
6833
|
}
|
|
6841
|
-
const $fa332ea03168857c$var$_tmpl$ = ["<div", ' class="category-title"><h1 class="title">', '</h1><span class="explanation"> —
|
|
6834
|
+
const $fa332ea03168857c$var$_tmpl$ = ["<div", ' class="category-title"><h1 class="title">', '</h1><span class="explanation"> — <!--$-->', "<!--/--></span></div>"];
|
|
6842
6835
|
const $fa332ea03168857c$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
6843
6836
|
const actual_function = _ref => {
|
|
6844
6837
|
let {
|
|
@@ -6854,7 +6847,7 @@ const $fa332ea03168857c$export$b91cec6bdc6b32a1 = /*@__PURE__*/(() => {
|
|
|
6854
6847
|
actual_function[(0, $ec8a6e10026dcff9$export$5c28802497c8a83c)] = "simple";
|
|
6855
6848
|
return actual_function;
|
|
6856
6849
|
})();
|
|
6857
|
-
const $702d7656a373973e$var$_tmpl$ = ["<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"
|
|
6850
|
+
const $702d7656a373973e$var$_tmpl$ = ["<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"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div></div></div>"];
|
|
6858
6851
|
const $702d7656a373973e$export$824dde41348efed1 = /*@__PURE__*/(() => {
|
|
6859
6852
|
const actual_function = _ref => {
|
|
6860
6853
|
let {
|
|
@@ -7015,7 +7008,7 @@ function $5eaa00b951637e96$export$ee1733d9a8495996() {
|
|
|
7015
7008
|
})));
|
|
7016
7009
|
}
|
|
7017
7010
|
const $dea31647b99a443b$var$_tmpl$ = ["<span", ' class="parent-title">', "</span>"],
|
|
7018
|
-
$dea31647b99a443b$var$_tmpl$2 = ["<a", ' class="category-suggestion"', '><span class="title">', "</span
|
|
7011
|
+
$dea31647b99a443b$var$_tmpl$2 = ["<a", ' class="category-suggestion"', '><span class="title">', "</span><!--$-->", "<!--/--></a>"];
|
|
7019
7012
|
function $dea31647b99a443b$export$d757d54550ebfb3d(_ref) {
|
|
7020
7013
|
let {
|
|
7021
7014
|
category_suggestion_: category_suggestion_,
|
|
@@ -7037,15 +7030,14 @@ function $ecc323d9c29305ee$export$1c641004b5485fed() {
|
|
|
7037
7030
|
const $ef0f18a578b32578$var$_tmpl$ = '<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"></path>';
|
|
7038
7031
|
function $ef0f18a578b32578$export$82eafebb825fc23f() {
|
|
7039
7032
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7040
|
-
return $b8hua$ssrElement("svg", (
|
|
7041
|
-
|
|
7042
|
-
|
|
7043
|
-
|
|
7044
|
-
"height": "22"
|
|
7033
|
+
return $b8hua$ssrElement("svg", $b8hua$mergeProps(props, {
|
|
7034
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7035
|
+
width: "20",
|
|
7036
|
+
height: "22"
|
|
7045
7037
|
}), () => $b8hua$ssr($ef0f18a578b32578$var$_tmpl$), true);
|
|
7046
7038
|
}
|
|
7047
7039
|
const $584c06c09cf4609d$var$_tmpl$ = ["<button", ' class="back" type="button"', ">", "</button>"],
|
|
7048
|
-
$584c06c09cf4609d$var$_tmpl$2 = ["<div", ' class="search-field"
|
|
7040
|
+
$584c06c09cf4609d$var$_tmpl$2 = ["<div", ' class="search-field"><!--$-->', '<!--/--><div class="field"><input class="', '" tabindex="0"', '><button type="button" class="clear"', ' style="', '">', '</button></div><button class="submit major" type="button"', ">", "</button></div>"];
|
|
7049
7041
|
function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
7050
7042
|
let {
|
|
7051
7043
|
search_field_value_: search_field_value_,
|
|
@@ -7077,7 +7069,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
|
7077
7069
|
}
|
|
7078
7070
|
})), "query ".concat(!!on_back_ ? "has-adjacent-back-button" : ""), $b8hua$ssrAttribute("aria-label", $b8hua$escape(i18n_.search_field_field_aria_label_(), true), false) + $b8hua$ssrAttribute("value", $b8hua$escape(search_field_value_[0](), true), false) + $b8hua$ssrAttribute("placeholder", $b8hua$escape(i18n_.placeholder_text_(), true), false), $b8hua$ssrAttribute("title", $b8hua$escape(i18n_.clear_filters_query_sorting_after_submit_(), true), false), $b8hua$ssrStyle($b8hua$createMemo(() => search_field_value_[0]() ? "" : "display: none")()), $b8hua$escape($b8hua$createComponent((0, $9783d437ad61594c$export$3b621d86b1566b2), {})), $b8hua$ssrAttribute("aria-label", $b8hua$escape(i18n_.search_submit_button_aria_label_(), true), false), $b8hua$escape($b8hua$createComponent((0, $ef0f18a578b32578$export$82eafebb825fc23f), {})));
|
|
7079
7071
|
}
|
|
7080
|
-
const $8ef6232475d44150$var$_tmpl$ = ["<div", ' class="search-recs"><h3 class="search-recs-title">', "</h3
|
|
7072
|
+
const $8ef6232475d44150$var$_tmpl$ = ["<div", ' class="search-recs"><h3 class="search-recs-title">', "</h3><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"],
|
|
7081
7073
|
$8ef6232475d44150$var$_tmpl$2 = ["<button", ' class="show-more major" type="button">', "</button>"];
|
|
7082
7074
|
const $8ef6232475d44150$export$1c8c715550dc689d = 2;
|
|
7083
7075
|
function $8ef6232475d44150$export$7de92c4c2205ebf3(_ref) {
|
|
@@ -7319,8 +7311,8 @@ async function $86b0ff0c85e5fc6c$export$e16630ecb9644a1c(_ref) {
|
|
|
7319
7311
|
const $b65f93acbf91da56$export$27b710c08412a7ad = obj => {
|
|
7320
7312
|
return Object.fromEntries(Object.keys(obj).map(key => [key, obj[key]()]));
|
|
7321
7313
|
};
|
|
7322
|
-
const $9a693c7e832d3f18$var$_tmpl$ = ["<span", ' class="orig price"
|
|
7323
|
-
$9a693c7e832d3f18$var$_tmpl$2 = ["<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
|
|
7314
|
+
const $9a693c7e832d3f18$var$_tmpl$ = ["<span", ' class="orig price"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></span>"],
|
|
7315
|
+
$9a693c7e832d3f18$var$_tmpl$2 = ["<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="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></span></div></div></a>"],
|
|
7324
7316
|
$9a693c7e832d3f18$var$_tmpl$3 = ["<div", ' class="tagline">', "</div>"];
|
|
7325
7317
|
const $9a693c7e832d3f18$export$b05c0ae390cf3e06 = (display_or_variant_container, _ref, router_) => {
|
|
7326
7318
|
let {
|
|
@@ -7504,7 +7496,7 @@ function $6d95ef50ee01d5a1$export$5d2caaa6b530761c() {
|
|
|
7504
7496
|
return $b8hua$ssr($6d95ef50ee01d5a1$var$_tmpl$, $b8hua$ssrHydrationKey());
|
|
7505
7497
|
}
|
|
7506
7498
|
const $494c9ad553139dbc$var$_tmpl$ = ["<div", ' class="previous-searches"><h2 class="text">', '</h2><div class="list">', "</div></div>"],
|
|
7507
|
-
$494c9ad553139dbc$var$_tmpl$2 = ["<a", ' class="', '"', '><div class="left"
|
|
7499
|
+
$494c9ad553139dbc$var$_tmpl$2 = ["<a", ' class="', '"', '><div class="left"><!--$-->', '<!--/--><span class="line-clamp"', ">", '</span></div><button class="delete"', ">", "</button></a>"];
|
|
7508
7500
|
function $494c9ad553139dbc$export$a146ac6fa8346a25(_ref) {
|
|
7509
7501
|
let {
|
|
7510
7502
|
text_: text_,
|
|
@@ -7611,23 +7603,22 @@ function $02b6641aa50ce528$export$ba17c5b7e6dda39f(_ref) {
|
|
|
7611
7603
|
const $3c5e15c6ee4227a9$var$_tmpl$ = '<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"></path>';
|
|
7612
7604
|
function $3c5e15c6ee4227a9$export$605674723bcc715c() {
|
|
7613
7605
|
let props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
7614
|
-
return $b8hua$ssrElement("svg", (
|
|
7615
|
-
|
|
7616
|
-
|
|
7617
|
-
|
|
7618
|
-
|
|
7619
|
-
|
|
7620
|
-
}), () => $b8hua$ssr($3c5e15c6ee4227a9$var$_tmpl$), true);
|
|
7606
|
+
return $b8hua$ssrElement("svg", $b8hua$mergeProps({
|
|
7607
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7608
|
+
width: "32",
|
|
7609
|
+
height: "32",
|
|
7610
|
+
viewBox: "0 0 256 256"
|
|
7611
|
+
}, props), () => $b8hua$ssr($3c5e15c6ee4227a9$var$_tmpl$), true);
|
|
7621
7612
|
}
|
|
7622
7613
|
const $40dd3f46f55d62ba$var$_tmpl$ = ["<a", ' class="', '"', ">", "</a>"],
|
|
7623
7614
|
$40dd3f46f55d62ba$var$_tmpl$2 = ["<div", ' class="search-icon">', "</div>"],
|
|
7624
7615
|
$40dd3f46f55d62ba$var$_tmpl$3 = ["<span", ' class="type">', "</span>"],
|
|
7625
|
-
$40dd3f46f55d62ba$var$_tmpl$4 = ["<div", ' class="with-parent-title"
|
|
7626
|
-
$40dd3f46f55d62ba$var$_tmpl$5 = ["<div", ' class="with-icon"
|
|
7616
|
+
$40dd3f46f55d62ba$var$_tmpl$4 = ["<div", ' class="with-parent-title"><!--$-->', '<!--/--><span class="value line-clamp">', "</span></div>"],
|
|
7617
|
+
$40dd3f46f55d62ba$var$_tmpl$5 = ["<div", ' class="with-icon"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
7627
7618
|
$40dd3f46f55d62ba$var$_tmpl$6 = ["<h2", ' class="text">', "</h2>"],
|
|
7628
|
-
$40dd3f46f55d62ba$var$_tmpl$7 = ["<div", ' class="suggestion-container query"
|
|
7619
|
+
$40dd3f46f55d62ba$var$_tmpl$7 = ["<div", ' class="suggestion-container query"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
7629
7620
|
$40dd3f46f55d62ba$var$_tmpl$8 = ["<div", ' class="suggestion-container page">', "</div>"],
|
|
7630
|
-
$40dd3f46f55d62ba$var$_tmpl$9 = ["<div", ' class="', '"
|
|
7621
|
+
$40dd3f46f55d62ba$var$_tmpl$9 = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"];
|
|
7631
7622
|
function $40dd3f46f55d62ba$export$e872e2339fb04a7f(_ref) {
|
|
7632
7623
|
let {
|
|
7633
7624
|
suggestion_memo_: suggestion_memo_,
|
|
@@ -8218,8 +8209,8 @@ function $a86e71c0015bd8ab$export$f021bdedd3ec901a(props) {
|
|
|
8218
8209
|
}
|
|
8219
8210
|
const $e82132ed97521828$var$_tmpl$ = ["<div", ' class="discover-more"><button class="major" type="button">', "</button></div>"],
|
|
8220
8211
|
$e82132ed97521828$var$_tmpl$2 = ["<b", ">", "</b>"],
|
|
8221
|
-
$e82132ed97521828$var$_tmpl$3 = ["<div", ' class="', '"><div class="', '"
|
|
8222
|
-
$e82132ed97521828$var$_tmpl$4 = ["<div", ' class="', '"><div class="depict-search-modal-backdrop"></div
|
|
8212
|
+
$e82132ed97521828$var$_tmpl$3 = ["<div", ' class="', '"><div class="', '"><!--$-->', '<!--/--><div class="padded"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div><!--$-->", "<!--/--></div><!--$-->", "<!--/--></div>"],
|
|
8213
|
+
$e82132ed97521828$var$_tmpl$4 = ["<div", ' class="', '"><div class="depict-search-modal-backdrop"></div><!--$-->', "<!--/--></div>"];
|
|
8223
8214
|
function $e82132ed97521828$export$1c593cbd6f1e10bc(_ref) {
|
|
8224
8215
|
let {
|
|
8225
8216
|
search_field_value_: props_search_field_value,
|
|
@@ -8724,7 +8715,7 @@ function $f3a159279dc1a8fb$var$segment_text(text, matched_strings) {
|
|
|
8724
8715
|
return output;
|
|
8725
8716
|
}
|
|
8726
8717
|
const $22470de5f42cc35d$var$_tmpl$ = ["<div", ' class="description line-clamp">', "</div>"],
|
|
8727
|
-
$22470de5f42cc35d$var$_tmpl$2 = ["<div", ' class="content-card"><div class="image">', '</div><div class="info"
|
|
8718
|
+
$22470de5f42cc35d$var$_tmpl$2 = ["<div", ' class="content-card"><div class="image">', '</div><div class="info"><!--$-->', "<!--/--><!--$-->", "<!--/--></div></div>"];
|
|
8728
8719
|
function $22470de5f42cc35d$export$f631859cab12b342(_ref) {
|
|
8729
8720
|
let {
|
|
8730
8721
|
router_: router_,
|
|
@@ -8864,7 +8855,7 @@ function $ad4f3c9872fbeb48$export$4405d077f0a20494(_ref) {
|
|
|
8864
8855
|
children: () => $b8hua$createComponent((0, $22470de5f42cc35d$export$f631859cab12b342), {})
|
|
8865
8856
|
});
|
|
8866
8857
|
}
|
|
8867
|
-
const $d53ebed6f63304e4$var$_tmpl$ = ["<div", ' class="content-results" style="', '"
|
|
8858
|
+
const $d53ebed6f63304e4$var$_tmpl$ = ["<div", ' class="content-results" style="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
8868
8859
|
$d53ebed6f63304e4$var$_tmpl$2 = ["<button", ' class="view-more">', "</button>"],
|
|
8869
8860
|
$d53ebed6f63304e4$var$_tmpl$3 = ["<button", ' class="view-less">', "</button>"];
|
|
8870
8861
|
const $d53ebed6f63304e4$export$70ceae36059a1036 = 1;
|
|
@@ -8960,8 +8951,8 @@ function $d53ebed6f63304e4$var$make_state_saved_rows(_ref2, i18n_) {
|
|
|
8960
8951
|
}));
|
|
8961
8952
|
return rows;
|
|
8962
8953
|
}
|
|
8963
|
-
const $da279c5a540c6846$var$_tmpl$ = ["<div", ' class="filter-results-for-one-row"
|
|
8964
|
-
$da279c5a540c6846$var$_tmpl$2 = ["<div", ' class="depict plp search"><div class="listing-page"
|
|
8954
|
+
const $da279c5a540c6846$var$_tmpl$ = ["<div", ' class="filter-results-for-one-row"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"],
|
|
8955
|
+
$da279c5a540c6846$var$_tmpl$2 = ["<div", ' class="depict plp search"><div class="listing-page"><!--$-->', "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--><!--$-->", "<!--/--></div><!--$-->", "<!--/--><!--$-->", "<!--/--></div>"];
|
|
8965
8956
|
function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
8966
8957
|
let {
|
|
8967
8958
|
depict_api_: depict_api_,
|