@depict-ai/ui 1.0.16 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/main.js +79 -89
- package/dist/client/module.js +80 -90
- package/dist/index.d.ts +8 -2
- package/dist/main.js +8605 -0
- package/dist/module.js +8571 -0
- package/dist/server/main.js +54 -66
- package/dist/server/module.js +54 -66
- package/package.json +4 -4
package/dist/client/main.js
CHANGED
|
@@ -42,7 +42,7 @@ $parcel$export(module.exports, "defaultGridSpacing", () => $a3280f0aad997933$exp
|
|
|
42
42
|
$parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$export$c3834fa86c616831);
|
|
43
43
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
44
44
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
45
|
-
/*! Depict.ai search and product listing SDK */ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.0.
|
|
45
|
+
/*! Depict.ai search and product listing SDK */ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.0.18";
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
|
|
@@ -763,6 +763,7 @@ function $47e2cc552c02110c$export$8895d39404bd2bb1(props) {
|
|
|
763
763
|
|
|
764
764
|
const $0d0b172488865048$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<a class="hint" href="javascript:void(0)"></a>`, 2), $0d0b172488865048$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="no-results"><div class="text"></div><!#><!/></div>`, 6);
|
|
765
765
|
function $0d0b172488865048$export$ef6006467f04ee41({ i18n_: i18n_ , expanded_hierarchical_filters_: expanded_hierarchical_filters_ , selected_filters_: selected_filters_ , local_filter_cache_: local_filter_cache_ }) {
|
|
766
|
+
const root = (0, $57o7A$solidjs.getOwner)();
|
|
766
767
|
return [
|
|
767
768
|
(()=>{
|
|
768
769
|
const _el$ = (0, $57o7A$solidjsweb.getNextElement)($0d0b172488865048$var$_tmpl$2), _el$2 = _el$.firstChild, _el$4 = _el$2.nextSibling, [_el$5, _co$] = (0, $57o7A$solidjsweb.getNextMarker)(_el$4.nextSibling);
|
|
@@ -773,14 +774,14 @@ function $0d0b172488865048$export$ef6006467f04ee41({ i18n_: i18n_ , expanded_hie
|
|
|
773
774
|
},
|
|
774
775
|
get children () {
|
|
775
776
|
const _el$3 = (0, $57o7A$solidjsweb.getNextElement)($0d0b172488865048$var$_tmpl$);
|
|
776
|
-
(0, $57o7A$solidjsweb.addEventListener)(_el$3, "click", (0, $57o7A$depictaiutilishared.catchify)(()=>(0, $47e2cc552c02110c$export$8895d39404bd2bb1)({
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
777
|
+
(0, $57o7A$solidjsweb.addEventListener)(_el$3, "click", (0, $57o7A$depictaiutilishared.catchify)(()=>(0, $57o7A$solidjs.runWithOwner)(root, ()=>(0, $47e2cc552c02110c$export$8895d39404bd2bb1)({
|
|
778
|
+
user_triggered_: true,
|
|
779
|
+
selected_filters_: selected_filters_,
|
|
780
|
+
also_clear_sorting_: false,
|
|
781
|
+
expanded_hierarchical_filters_: expanded_hierarchical_filters_,
|
|
782
|
+
i18n_: i18n_,
|
|
783
|
+
local_filter_cache_: local_filter_cache_
|
|
784
|
+
}))), true);
|
|
784
785
|
(0, $57o7A$solidjsweb.insert)(_el$3, ()=>i18n_.try_without_filters_());
|
|
785
786
|
(0, $57o7A$solidjsweb.runHydrationEvents)();
|
|
786
787
|
return _el$3;
|
|
@@ -870,11 +871,20 @@ function $5f7d55c710fd1bc2$var$unwrapping_helper(elements) {
|
|
|
870
871
|
}
|
|
871
872
|
|
|
872
873
|
|
|
874
|
+
|
|
873
875
|
let $0caf87eaa19079da$var$cached_placeholder_element;
|
|
874
876
|
let $0caf87eaa19079da$var$rendering_cached_placeholder_element;
|
|
875
877
|
function $0caf87eaa19079da$export$f33414a4df0afd3f({ product_card_template_: product_card_template_ , num_placeholders_: num_placeholders_ }) {
|
|
876
878
|
const [get_elements, set_elements] = (0, $57o7A$solidjs.createSignal)([]);
|
|
877
879
|
let existing_num = 0;
|
|
880
|
+
if (0, $57o7A$solidjsweb.isServer) // want to render simple placeholders on server, effects don't run there
|
|
881
|
+
return (0, $57o7A$solidjs.createMemo)(()=>Array.from({
|
|
882
|
+
length: num_placeholders_()
|
|
883
|
+
}).map(()=>{
|
|
884
|
+
const template_result = product_card_template_(null, undefined);
|
|
885
|
+
// @ts-ignore
|
|
886
|
+
if (typeof template_result?.then !== "function") return template_result;
|
|
887
|
+
}));
|
|
878
888
|
(0, $57o7A$solidjs.createRenderEffect)(()=>{
|
|
879
889
|
const to_add = num_placeholders_() - existing_num;
|
|
880
890
|
if (to_add <= 0) return;
|
|
@@ -1067,22 +1077,17 @@ function $a73063cc642f3e5f$export$43f0fb951fcb0c54({ displays_by_key_: displays_
|
|
|
1067
1077
|
];
|
|
1068
1078
|
},
|
|
1069
1079
|
children: (product_id, index)=>{
|
|
1070
|
-
// We're using `untrack` here since we don't want to react in here to displays_by_key changing
|
|
1071
|
-
// As long as our key stays the same we assume that the display hasn't changed, so we don't want to rerender
|
|
1072
|
-
// If the key gets removed, <For> will remove us
|
|
1073
1080
|
const owner = (0, $57o7A$solidjs.getOwner)();
|
|
1074
1081
|
const display_accessor = (0, $57o7A$solidjs.createMemo)(()=>displays_by_key_().get(product_id));
|
|
1075
|
-
const [product_card_resource] = (0, $57o7A$solidjs.createResource)(
|
|
1076
|
-
|
|
1077
|
-
|
|
1078
|
-
]), // re-render when merchant or market changes
|
|
1079
|
-
([merchant, market])=>{
|
|
1082
|
+
const [product_card_resource] = (0, $57o7A$solidjs.createResource)(display_accessor, // re-render when the reference to the display object changes
|
|
1083
|
+
// this should only be the case when the merchant or market changes and the new request has completed
|
|
1084
|
+
(display)=>{
|
|
1080
1085
|
// get display in the function that re-runs when merchant or market have changed, since the display may have changed but product_id not
|
|
1081
|
-
const display = (0, $57o7A$solidjs.untrack)(display_accessor);
|
|
1082
1086
|
return product_card_template_(display, {
|
|
1083
1087
|
set_on_index_change: (fn)=>(0, $57o7A$solidjs.runWithOwner)(owner, ()=>(0, $57o7A$solidjs.createEffect)(()=>fn(index()))),
|
|
1084
|
-
merchant:
|
|
1085
|
-
market
|
|
1088
|
+
merchant: (0, $57o7A$solidjs.untrack)(merchant_),
|
|
1089
|
+
// this means that the merchant and market provided to the template is wrong while we do another fetch, but I don't see how anyone would need to know the correct market there
|
|
1090
|
+
market: (0, $57o7A$solidjs.untrack)(market_)
|
|
1086
1091
|
});
|
|
1087
1092
|
});
|
|
1088
1093
|
const node_accessor = (0, $5f7d55c710fd1bc2$export$2f0cbfbb4354bb52)(product_card_resource);
|
|
@@ -1225,7 +1230,7 @@ function $fe76fb463cc60b89$export$3925f87b1545cfc6({ plp_results_: plp_results_
|
|
|
1225
1230
|
const random_id = (0, $57o7A$depictaiutilishared.make_random_classname)();
|
|
1226
1231
|
const selector_beginning_ = `.depict.plp #${random_id}>`;
|
|
1227
1232
|
const [get_styling, set_styling_] = (0, $57o7A$solidjs.createSignal)("");
|
|
1228
|
-
const [get_should_have_placeholders_rendered, set_should_have_placeholders_rendered] = (0, $57o7A$solidjs.createSignal)(
|
|
1233
|
+
const [get_should_have_placeholders_rendered, set_should_have_placeholders_rendered] = (0, $57o7A$solidjs.createSignal)(true);
|
|
1229
1234
|
const rendered_placeholders = (0, $57o7A$solidjs.createMemo)(()=>get_should_have_placeholders_rendered() ? (0, $0caf87eaa19079da$export$f33414a4df0afd3f)({
|
|
1230
1235
|
product_card_template_: product_card_template_,
|
|
1231
1236
|
num_placeholders_: (0, $57o7A$solidjs.createMemo)(()=>{
|
|
@@ -1481,28 +1486,24 @@ function $a69e505a12a77874$export$e13dddbb31c3a42f() {
|
|
|
1481
1486
|
|
|
1482
1487
|
|
|
1483
1488
|
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
const _el$ = (0, $57o7A$solidjsweb.getNextElement)($a0e53f99354809d9$var$_tmpl$), _el$2 = _el$.firstChild;
|
|
1489
|
-
(0, $57o7A$solidjsweb.insert)(_el$2, children);
|
|
1490
|
-
return _el$;
|
|
1491
|
-
})();
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
const $a0e53f99354809d9$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div></div>`, 2);
|
|
1492
|
+
function $a0e53f99354809d9$export$6649caad96ef8870({ children: children , slider_ref_: slider_ref_ , faded_opacity_: faded_opacity_ = 0.7 , mutation_plugins_: mutation_plugins_ = [] }) {
|
|
1492
1493
|
const slider = new (0, $57o7A$depictaiutilishared.Amazing_Slider)({
|
|
1493
1494
|
button_contents: {
|
|
1494
1495
|
left: [
|
|
1495
1496
|
(()=>{
|
|
1496
|
-
const _el$
|
|
1497
|
-
(0, $57o7A$solidjsweb.insert)(_el
|
|
1498
|
-
return _el
|
|
1497
|
+
const _el$ = (0, $57o7A$solidjsweb.getNextElement)($a0e53f99354809d9$var$_tmpl$);
|
|
1498
|
+
(0, $57o7A$solidjsweb.insert)(_el$, (0, $57o7A$solidjsweb.createComponent)((0, $0f313083912e447a$export$8be2714ec7f169ee), {}));
|
|
1499
|
+
return _el$;
|
|
1499
1500
|
})()
|
|
1500
1501
|
],
|
|
1501
1502
|
right: [
|
|
1502
1503
|
(()=>{
|
|
1503
|
-
const _el$
|
|
1504
|
-
(0, $57o7A$solidjsweb.insert)(_el$
|
|
1505
|
-
return _el$
|
|
1504
|
+
const _el$2 = (0, $57o7A$solidjsweb.getNextElement)($a0e53f99354809d9$var$_tmpl$);
|
|
1505
|
+
(0, $57o7A$solidjsweb.insert)(_el$2, (0, $57o7A$solidjsweb.createComponent)((0, $0f313083912e447a$export$8be2714ec7f169ee), {}));
|
|
1506
|
+
return _el$2;
|
|
1506
1507
|
})()
|
|
1507
1508
|
]
|
|
1508
1509
|
},
|
|
@@ -1527,7 +1528,7 @@ function $a0e53f99354809d9$export$6649caad96ef8870({ children: children , button
|
|
|
1527
1528
|
|
|
1528
1529
|
|
|
1529
1530
|
const $235a2771a44e28e9$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<button class="clear-all-filters minor"></button>`, 2), $235a2771a44e28e9$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="inner"><span class="title"><!#><!/>: </span><!#><!/></div>`, 8), $235a2771a44e28e9$var$_tmpl$3 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<button class="clear-filter major"><!#><!/><span><!#><!/><!#><!/><!#><!/> – <!#><!/><!#><!/><!#><!/></span></button>`, 18), $235a2771a44e28e9$var$_tmpl$4 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<button class="clear-filter major"><!#><!/><span></span></button>`, 6);
|
|
1530
|
-
function $235a2771a44e28e9$export$fecbb157621501bd({ number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_ , i18n_: i18n_ , selected_filters_: selected_filters_ , local_filter_cache_: [read_local_filter_cache] , search_filters_open_: [read_search_filters_open] , search_sorting_open_: [read_search_sorting_open] ,
|
|
1531
|
+
function $235a2771a44e28e9$export$fecbb157621501bd({ number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_ , i18n_: i18n_ , selected_filters_: selected_filters_ , local_filter_cache_: [read_local_filter_cache] , search_filters_open_: [read_search_filters_open] , search_sorting_open_: [read_search_sorting_open] , local_filter_cache_: local_filter_cache_ , expanded_hierarchical_filters_: expanded_hierarchical_filters_ }) {
|
|
1531
1532
|
const { price_formatting_: price_formatting_ } = i18n_;
|
|
1532
1533
|
const [read_selected_filters, write_selected_filters] = selected_filters_;
|
|
1533
1534
|
const { collapse: collapse , expand: expand , ExpandingContainer: ExpandingContainer } = (0, $4b455f60dadde8b8$export$5bad61ecde080b1f)({
|
|
@@ -1544,7 +1545,6 @@ function $235a2771a44e28e9$export$fecbb157621501bd({ number_of_rendered_selected
|
|
|
1544
1545
|
const _el$ = (0, $57o7A$solidjsweb.getNextElement)($235a2771a44e28e9$var$_tmpl$2), _el$2 = _el$.firstChild, _el$4 = _el$2.firstChild, [_el$5, _co$] = (0, $57o7A$solidjsweb.getNextMarker)(_el$4.nextSibling), _el$3 = _el$5.nextSibling, _el$7 = _el$2.nextSibling, [_el$8, _co$2] = (0, $57o7A$solidjsweb.getNextMarker)(_el$7.nextSibling);
|
|
1545
1546
|
(0, $57o7A$solidjsweb.insert)(_el$2, ()=>i18n_.selected_filters_title_(), _el$5, _co$);
|
|
1546
1547
|
(0, $57o7A$solidjsweb.insert)(_el$, (0, $57o7A$solidjsweb.createComponent)((0, $a0e53f99354809d9$export$6649caad96ef8870), {
|
|
1547
|
-
button_: slider_arrow_button_,
|
|
1548
1548
|
slider_ref_: (slider)=>slider.container.classList.add("filter-crumbs"),
|
|
1549
1549
|
get children () {
|
|
1550
1550
|
return [
|
|
@@ -1811,6 +1811,7 @@ function $235a2771a44e28e9$export$fecbb157621501bd({ number_of_rendered_selected
|
|
|
1811
1811
|
|
|
1812
1812
|
|
|
1813
1813
|
|
|
1814
|
+
|
|
1814
1815
|
async function $9abb0a35d4b60ed3$export$79b1565500412d9b(search_modal, modal_fn_opts) {
|
|
1815
1816
|
const body = await (0, $57o7A$depictaiutilishared.observer).wait_for_element("body");
|
|
1816
1817
|
let dispose_and_remove;
|
|
@@ -4255,7 +4256,8 @@ function $f49857214f7675b1$export$cb808a3c41736d8e() {
|
|
|
4255
4256
|
|
|
4256
4257
|
|
|
4257
4258
|
|
|
4258
|
-
|
|
4259
|
+
|
|
4260
|
+
const $f8f64d05c525825b$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="filters"><div class="body"></div></div>`, 4), $f8f64d05c525825b$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="sorting"><div class="body"></div></div>`, 4), $f8f64d05c525825b$var$_tmpl$3 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="sort-and-filter-buttons"><div class="outer"><div class="inner"><!#><!/><!#><!/><!#><!/></div></div></div>`, 12), $f8f64d05c525825b$var$_tmpl$4 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<span class="num-filters"></span>`, 2), $f8f64d05c525825b$var$_tmpl$5 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="open-filters-button-container"><!#><!/><button type="button"><!#><!/><span></span></button></div>`, 10), $f8f64d05c525825b$var$_tmpl$6 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<button class="toggle-button for-sorting major-minor-transition"><span></span><!#><!/></button>`, 6);
|
|
4259
4261
|
function $f8f64d05c525825b$export$d7841e452f2e59a8({ current_sorting_: current_sorting_ , set_extra_els_in_results_container_: set_extra_els_in_results_container_ , search_filters_open_: search_filters_open_ , search_sorting_open_: search_sorting_open_ , set_sort_or_filter_open_: set_sort_or_filter_open_ , i18n_: i18n_ , available_sortings_: available_sortings_ , available_filters_: available_filters_ , expanded_filters_: expanded_filters_ , middle_elements_: middle_elements_ , input_modal_open_: input_modal_open_ , expanded_hierarchical_filters_: expanded_hierarchical_filters_ , number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_ , set_sort_and_filter_element_: set_sort_and_filter_element_ , formatted_number_of_results_: formatted_number_of_results_ , filter_button_width_: filter_button_width_ , sort_button_width_: sort_button_width_ , selected_filters_: selected_filters_ , local_filter_cache_: local_filter_cache_ , get_extra_filters_button_: get_extra_filters_button_ , get_extra_sorting_button_: get_extra_sorting_button_ }) {
|
|
4260
4262
|
const Self = ()=>{
|
|
4261
4263
|
// This could technically be in SearchPage and CategoryPage and would be better suited there since it writes into local_filter_cache_ which i.e. SelectedFilters uses, but it's better suited here IMO due to DRY and being inside the correct error boundary here
|
|
@@ -4407,6 +4409,7 @@ function $f8f64d05c525825b$var$OpenFiltersButton({ i18n_: i18n_ , search_filters
|
|
|
4407
4409
|
search_sorting_open_[1](false);
|
|
4408
4410
|
})), true);
|
|
4409
4411
|
(0, $57o7A$solidjsweb.setAttribute)(_el$16, "tabindex", tabindex_);
|
|
4412
|
+
(0, $57o7A$solidjsweb.className)(_el$16, "filter toggle-button major-minor-transition" + ((0, $57o7A$solidjsweb.isServer) ? " minor" : ""));
|
|
4410
4413
|
(0, $57o7A$solidjsweb.insert)(_el$16, (0, $57o7A$solidjsweb.createComponent)((0, $57o7A$solidjs.Show), {
|
|
4411
4414
|
get when () {
|
|
4412
4415
|
return filters_closed();
|
|
@@ -4892,7 +4895,7 @@ function $e53b2e7e632ac4cb$export$5646050d516e06bc({ crumb_data_: get_api_crumb_
|
|
|
4892
4895
|
|
|
4893
4896
|
|
|
4894
4897
|
const $8cceb1d3a967f369$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<nav class="quicklinks"></nav>`, 2), $8cceb1d3a967f369$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div>QuickLinks failed</div>`, 2), $8cceb1d3a967f369$var$_tmpl$3 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<a class="quicklink"></a>`, 2);
|
|
4895
|
-
function $8cceb1d3a967f369$export$466cdc317043f6cb({ quicklinks_data_: quicklinks_data_ , router_: router_ , current_query_id_: current_query_id_ ,
|
|
4898
|
+
function $8cceb1d3a967f369$export$466cdc317043f6cb({ quicklinks_data_: quicklinks_data_ , router_: router_ , current_query_id_: current_query_id_ , breadcrumb_data_: breadcrumb_data_ , i18n_: i18n_ }) {
|
|
4896
4899
|
let scrolling_logic_ran_for_query_id = false;
|
|
4897
4900
|
let last_scroll_position;
|
|
4898
4901
|
let scroll_to_element_on_dom_insertion;
|
|
@@ -4949,7 +4952,6 @@ function $8cceb1d3a967f369$export$466cdc317043f6cb({ quicklinks_data_: quicklink
|
|
|
4949
4952
|
const _el$ = (0, $57o7A$solidjsweb.getNextElement)($8cceb1d3a967f369$var$_tmpl$);
|
|
4950
4953
|
(0, $57o7A$solidjsweb.insert)(_el$, (0, $57o7A$solidjsweb.createComponent)((0, $a0e53f99354809d9$export$6649caad96ef8870), {
|
|
4951
4954
|
faded_opacity_: 0.5,
|
|
4952
|
-
button_: slider_arrow_button_,
|
|
4953
4955
|
mutation_plugins_: mutation_plugins,
|
|
4954
4956
|
slider_ref_: (slider)=>{
|
|
4955
4957
|
const { insert_here: insert_here , intersecting_items_object: intersecting_items_object } = slider;
|
|
@@ -5304,7 +5306,7 @@ function $cafad5eca9f09cb5$export$d4fc5c0e68a52116(el, query_id_, i18n_) {
|
|
|
5304
5306
|
|
|
5305
5307
|
|
|
5306
5308
|
const $840d88a04b2d22a7$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="product-count"><!#><!/> <!#><!/></div>`, 6), $840d88a04b2d22a7$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div></div>`, 2), $840d88a04b2d22a7$var$_tmpl$3 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="filter-results-for-one-row"><!#><!/><!#><!/></div>`, 6), $840d88a04b2d22a7$var$_tmpl$4 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="depict plp category"><div class="listing-page"><!#><!/><!#><!/><!#><!/><!#><!/><!#><!/><!#><!/></div><!#><!/><!#><!/></div>`, 20);
|
|
5307
|
-
function $840d88a04b2d22a7$export$f7d2f673fc2f091d({ depict_api_: depict_api_ , query_id_: query_id_ , current_sorting_: current_sorting_ , min_products_to_fetch_: min_products_to_fetch_ , category_filters_open_: category_filters_open_ , category_sorting_open_: category_sorting_open_ , expanded_filters_: expanded_filters_ , selected_filters_: selected_filters_ , get_quicklinks_accessor_: get_quicklinks_accessor_ , i18n_: incoming_i18n , get_breadcrumb_accessor_: get_breadcrumb_accessor_ ,
|
|
5309
|
+
function $840d88a04b2d22a7$export$f7d2f673fc2f091d({ depict_api_: depict_api_ , query_id_: query_id_ , current_sorting_: current_sorting_ , min_products_to_fetch_: min_products_to_fetch_ , category_filters_open_: category_filters_open_ , category_sorting_open_: category_sorting_open_ , expanded_filters_: expanded_filters_ , selected_filters_: selected_filters_ , get_quicklinks_accessor_: get_quicklinks_accessor_ , i18n_: incoming_i18n , get_breadcrumb_accessor_: get_breadcrumb_accessor_ , expanded_hierarchical_filters_: expanded_hierarchical_filters_ , local_filter_cache_: local_filter_cache_ , tenant_: tenant_ , market_: market_ , router_: router_ , show_quicklinks_: show_quicklinks_ , category_title_: category_title_ , show_breadcrumbs_: show_breadcrumbs_ , layout_options_: layout_options_ , scroll_restoration_data_: scroll_restoration_data_ , product_card_template_: product_card_template_ , sideways_filter_clearing_flag_: sideways_filter_clearing_flag_ }) {
|
|
5308
5310
|
let results_for;
|
|
5309
5311
|
let only_show_filters_opener_;
|
|
5310
5312
|
let middle_elements_;
|
|
@@ -5456,17 +5458,18 @@ function $840d88a04b2d22a7$export$f7d2f673fc2f091d({ depict_api_: depict_api_ ,
|
|
|
5456
5458
|
(0, $57o7A$solidjs.createRenderEffect)((0, $57o7A$depictaiutilishared.catchify)(async ()=>{
|
|
5457
5459
|
const slim = is_slim_();
|
|
5458
5460
|
const only_show_filters_opener = only_show_filters_opener_?.();
|
|
5461
|
+
const owner = (0, $57o7A$solidjs.getOwner)();
|
|
5459
5462
|
await set_results_filters(); // remove elements, wait one microtask for updates to have been committed to the DOM, otherwise we'd try to do illegal DOM operations
|
|
5460
5463
|
// signals can't be read reactively anymore after the await FYI
|
|
5461
|
-
set_results_filters(slim ? only_show_filters_opener ? filters_opener : [
|
|
5462
|
-
|
|
5463
|
-
|
|
5464
|
-
|
|
5465
|
-
|
|
5466
|
-
|
|
5467
|
-
|
|
5468
|
-
|
|
5469
|
-
|
|
5464
|
+
(0, $57o7A$solidjs.runWithOwner)(owner, ()=>set_results_filters(slim ? only_show_filters_opener ? filters_opener : [
|
|
5465
|
+
results_for,
|
|
5466
|
+
filters_opener
|
|
5467
|
+
] : (()=>{
|
|
5468
|
+
const _el$8 = (0, $57o7A$solidjsweb.getNextElement)($840d88a04b2d22a7$var$_tmpl$3), _el$9 = _el$8.firstChild, [_el$10, _co$3] = (0, $57o7A$solidjsweb.getNextMarker)(_el$9.nextSibling), _el$11 = _el$10.nextSibling, [_el$12, _co$4] = (0, $57o7A$solidjsweb.getNextMarker)(_el$11.nextSibling);
|
|
5469
|
+
(0, $57o7A$solidjsweb.insert)(_el$8, results_for, _el$10, _co$3);
|
|
5470
|
+
(0, $57o7A$solidjsweb.insert)(_el$8, filters_opener, _el$12, _co$4);
|
|
5471
|
+
return _el$8;
|
|
5472
|
+
})()));
|
|
5470
5473
|
}));
|
|
5471
5474
|
(0, $6b384adf40a5f4d7$export$e702733a056c40d6)({
|
|
5472
5475
|
selected_filters_: selected_filters_,
|
|
@@ -5506,7 +5509,6 @@ function $840d88a04b2d22a7$export$f7d2f673fc2f091d({ depict_api_: depict_api_ ,
|
|
|
5506
5509
|
quicklinks_data_: quicklinks_data_,
|
|
5507
5510
|
current_query_id_: query_id_,
|
|
5508
5511
|
router_: router_,
|
|
5509
|
-
slider_arrow_button_: slider_arrow_button_,
|
|
5510
5512
|
breadcrumb_data_: crumb_data_,
|
|
5511
5513
|
i18n_: i18n_
|
|
5512
5514
|
});
|
|
@@ -5527,7 +5529,6 @@ function $840d88a04b2d22a7$export$f7d2f673fc2f091d({ depict_api_: depict_api_ ,
|
|
|
5527
5529
|
i18n_: i18n_,
|
|
5528
5530
|
selected_filters_: selected_filters_,
|
|
5529
5531
|
local_filter_cache_: local_filter_cache_,
|
|
5530
|
-
slider_arrow_button_: slider_arrow_button_,
|
|
5531
5532
|
search_filters_open_: category_filters_open_,
|
|
5532
5533
|
search_sorting_open_: category_sorting_open_,
|
|
5533
5534
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
|
|
@@ -5928,7 +5929,6 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
|
|
|
5928
5929
|
|
|
5929
5930
|
|
|
5930
5931
|
|
|
5931
|
-
|
|
5932
5932
|
const $48567ac5b39bac56$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="depict plp category"></div>`, 2);
|
|
5933
5933
|
const $48567ac5b39bac56$var$min_products_to_fetch_ = 20;
|
|
5934
5934
|
const $48567ac5b39bac56$var$privately_shared_properties = /*@__PURE__*/ new WeakMap();
|
|
@@ -6009,11 +6009,7 @@ class $48567ac5b39bac56$export$f34314aa9505732e {
|
|
|
6009
6009
|
router_: this.#router,
|
|
6010
6010
|
selected_filters_: selected_filters_,
|
|
6011
6011
|
current_sorting_: current_sorting_,
|
|
6012
|
-
sideways_filter_clearing_flag_: sideways_filter_clearing_flag_
|
|
6013
|
-
slider_arrow_button_: (0, $0f313083912e447a$export$8be2714ec7f169ee)({
|
|
6014
|
-
height_: 12,
|
|
6015
|
-
width_: 6.46
|
|
6016
|
-
})
|
|
6012
|
+
sideways_filter_clearing_flag_: sideways_filter_clearing_flag_
|
|
6017
6013
|
});
|
|
6018
6014
|
});
|
|
6019
6015
|
}
|
|
@@ -6027,7 +6023,7 @@ function $48567ac5b39bac56$export$e2bf8ce7779e827e({ depict_category: depict_cat
|
|
|
6027
6023
|
grid_spacing: grid_spacing.horizontal
|
|
6028
6024
|
};
|
|
6029
6025
|
return (0, $95837413165cc2df$export$23fca46f3143581f)(()=>{
|
|
6030
|
-
const { state_: { category_local_filter_cache: local_filter_cache_ , category_filters_open: category_filters_open_ , category_sorting_open: category_sorting_open_ , category_expanded_filters: expanded_filters_ , category_expanded_hierarchical_filters: expanded_hierarchical_filters_ , category_scroll_restoration_data: scroll_restoration_data_ } , current_sorting_: current_sorting_ , selected_filters_: selected_filters_ , reset_history_state_: reset_history_state_ , depict_api_: depict_api_ , i18n_: i18n_ , router_: router_ , breadcrumb_signal_: breadcrumb_signal_ , quicklinks_signal_: quicklinks_signal_ ,
|
|
6026
|
+
const { state_: { category_local_filter_cache: local_filter_cache_ , category_filters_open: category_filters_open_ , category_sorting_open: category_sorting_open_ , category_expanded_filters: expanded_filters_ , category_expanded_hierarchical_filters: expanded_hierarchical_filters_ , category_scroll_restoration_data: scroll_restoration_data_ } , current_sorting_: current_sorting_ , selected_filters_: selected_filters_ , reset_history_state_: reset_history_state_ , depict_api_: depict_api_ , i18n_: i18n_ , router_: router_ , breadcrumb_signal_: breadcrumb_signal_ , quicklinks_signal_: quicklinks_signal_ , sideways_filter_clearing_flag_: sideways_filter_clearing_flag_ } = shared_properties;
|
|
6031
6027
|
(0, $57o7A$solidjs.onCleanup)(reset_history_state_);
|
|
6032
6028
|
return (0, $840d88a04b2d22a7$export$f7d2f673fc2f091d)({
|
|
6033
6029
|
tenant_: ()=>depict_category.merchant,
|
|
@@ -6046,7 +6042,6 @@ function $48567ac5b39bac56$export$e2bf8ce7779e827e({ depict_category: depict_cat
|
|
|
6046
6042
|
get_quicklinks_accessor_: (accessor)=>(0, $57o7A$solidjs.createComputed)(()=>quicklinks_signal_[1](accessor())),
|
|
6047
6043
|
category_filters_open_: category_filters_open_,
|
|
6048
6044
|
category_sorting_open_: category_sorting_open_,
|
|
6049
|
-
slider_arrow_button_: slider_arrow_button_,
|
|
6050
6045
|
expanded_filters_: expanded_filters_,
|
|
6051
6046
|
expanded_hierarchical_filters_: expanded_hierarchical_filters_,
|
|
6052
6047
|
selected_filters_: selected_filters_,
|
|
@@ -6073,7 +6068,7 @@ function $48567ac5b39bac56$export$5b7c3ce0ebe51f86({ depict_category: depict_cat
|
|
|
6073
6068
|
});
|
|
6074
6069
|
}
|
|
6075
6070
|
function $48567ac5b39bac56$export$de035477d6fef996({ depict_category: depict_category }) {
|
|
6076
|
-
const { i18n_: i18n_ , quicklinks_signal_: [quicklinks_data_] , breadcrumb_signal_: [breadcrumb_data_] , router_: router_
|
|
6071
|
+
const { i18n_: i18n_ , quicklinks_signal_: [quicklinks_data_] , breadcrumb_signal_: [breadcrumb_data_] , router_: router_ } = $48567ac5b39bac56$var$get_shared_properties(depict_category);
|
|
6077
6072
|
return (0, $57o7A$solidjsweb.createComponent)($48567ac5b39bac56$var$InExternalAreaDiv, {
|
|
6078
6073
|
get children () {
|
|
6079
6074
|
return (0, $8cceb1d3a967f369$export$466cdc317043f6cb)({
|
|
@@ -6081,7 +6076,6 @@ function $48567ac5b39bac56$export$de035477d6fef996({ depict_category: depict_cat
|
|
|
6081
6076
|
quicklinks_data_: quicklinks_data_,
|
|
6082
6077
|
router_: router_,
|
|
6083
6078
|
current_query_id_: ()=>depict_category.category_id,
|
|
6084
|
-
slider_arrow_button_: slider_arrow_button_,
|
|
6085
6079
|
breadcrumb_data_: breadcrumb_data_
|
|
6086
6080
|
});
|
|
6087
6081
|
}
|
|
@@ -6215,9 +6209,9 @@ const $93e94e7b0aa8ca88$export$824dde41348efed1 = /*@__PURE__*/ (()=>{
|
|
|
6215
6209
|
|
|
6216
6210
|
const $7b4bc889571cc67b$var$TEN_MINUTES = 600000;
|
|
6217
6211
|
const $7b4bc889571cc67b$var$TWENTY_FOUR_HOURS = 86400000;
|
|
6218
|
-
async function $7b4bc889571cc67b$export$643598a327b5833e(tenant, market) {
|
|
6212
|
+
async function $7b4bc889571cc67b$export$643598a327b5833e(tenant, market, type) {
|
|
6219
6213
|
let localstorage_value;
|
|
6220
|
-
const localstorage_key = `
|
|
6214
|
+
const localstorage_key = `depict_${tenant}_${type ?? "categories"}_` + market;
|
|
6221
6215
|
try {
|
|
6222
6216
|
const in_ls = localStorage[localstorage_key];
|
|
6223
6217
|
if (in_ls) localstorage_value = JSON.parse(in_ls);
|
|
@@ -6233,7 +6227,7 @@ async function $7b4bc889571cc67b$export$643598a327b5833e(tenant, market) {
|
|
|
6233
6227
|
return stored_queries;
|
|
6234
6228
|
else if (age < $7b4bc889571cc67b$var$TWENTY_FOUR_HOURS) {
|
|
6235
6229
|
// if younger than a day, return stored value but still trigger re-fetch, so we have fresh data next page load (stale data this one but never a delay)
|
|
6236
|
-
$7b4bc889571cc67b$var$fetch_and_store_categories(tenant, market, localstorage_key).catch((e)=>(0, $57o7A$depictaiutilishared.report)([
|
|
6230
|
+
$7b4bc889571cc67b$var$fetch_and_store_categories(tenant, market, localstorage_key, type).catch((e)=>(0, $57o7A$depictaiutilishared.report)([
|
|
6237
6231
|
e,
|
|
6238
6232
|
"couldn't fetch categories"
|
|
6239
6233
|
], "warning"));
|
|
@@ -6241,10 +6235,10 @@ async function $7b4bc889571cc67b$export$643598a327b5833e(tenant, market) {
|
|
|
6241
6235
|
}
|
|
6242
6236
|
// else: we are older and just fetch, store and return new queries
|
|
6243
6237
|
}
|
|
6244
|
-
return await $7b4bc889571cc67b$var$fetch_and_store_categories(tenant, market, localstorage_key);
|
|
6238
|
+
return await $7b4bc889571cc67b$var$fetch_and_store_categories(tenant, market, localstorage_key, type);
|
|
6245
6239
|
}
|
|
6246
|
-
async function $7b4bc889571cc67b$var$fetch_and_store_categories(tenant, market, localstorage_key) {
|
|
6247
|
-
const new_categories = await $7b4bc889571cc67b$var$download_categories(tenant, market);
|
|
6240
|
+
async function $7b4bc889571cc67b$var$fetch_and_store_categories(tenant, market, localstorage_key, type) {
|
|
6241
|
+
const new_categories = await $7b4bc889571cc67b$var$download_categories(tenant, market, type);
|
|
6248
6242
|
try {
|
|
6249
6243
|
localStorage[localstorage_key] = JSON.stringify({
|
|
6250
6244
|
updated: +new Date(),
|
|
@@ -6258,12 +6252,15 @@ async function $7b4bc889571cc67b$var$fetch_and_store_categories(tenant, market,
|
|
|
6258
6252
|
}
|
|
6259
6253
|
return new_categories;
|
|
6260
6254
|
}
|
|
6261
|
-
async function $7b4bc889571cc67b$var$download_categories(tenant, market) {
|
|
6255
|
+
async function $7b4bc889571cc67b$var$download_categories(tenant, market, type) {
|
|
6262
6256
|
const fetched = await (0, $57o7A$depictaiutilishared.fetch_retry)((0, $57o7A$depictaiutilishared.base_url) + "/v2/product-listing/queries", {
|
|
6263
6257
|
method: "POST",
|
|
6264
6258
|
body: JSON.stringify({
|
|
6265
6259
|
tenant: tenant,
|
|
6266
|
-
market: market
|
|
6260
|
+
market: market,
|
|
6261
|
+
...type ? {
|
|
6262
|
+
type: type
|
|
6263
|
+
} : {}
|
|
6267
6264
|
})
|
|
6268
6265
|
});
|
|
6269
6266
|
if (!fetched) return [];
|
|
@@ -7964,7 +7961,7 @@ function $f40a47a30a358305$var$close_modal_when_navigating_away(close_modal, sea
|
|
|
7964
7961
|
|
|
7965
7962
|
|
|
7966
7963
|
const $04048c1bef16c249$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="category-suggestions"></div>`, 2), $04048c1bef16c249$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="category-suggestion"></div>`, 2);
|
|
7967
|
-
function $04048c1bef16c249$export$c05a196222ba1302({ suggestions_: suggestions_ , children: children
|
|
7964
|
+
function $04048c1bef16c249$export$c05a196222ba1302({ suggestions_: suggestions_ , children: children }) {
|
|
7968
7965
|
const category_suggestions_ = (0, $57o7A$solidjs.createMemo)(()=>suggestions_()?.suggestions.filter((s)=>s.type === "category"));
|
|
7969
7966
|
return (0, $57o7A$solidjsweb.createComponent)((0, $57o7A$solidjs.Show), {
|
|
7970
7967
|
get when () {
|
|
@@ -7973,7 +7970,6 @@ function $04048c1bef16c249$export$c05a196222ba1302({ suggestions_: suggestions_
|
|
|
7973
7970
|
get children () {
|
|
7974
7971
|
const _el$ = (0, $57o7A$solidjsweb.getNextElement)($04048c1bef16c249$var$_tmpl$);
|
|
7975
7972
|
(0, $57o7A$solidjsweb.insert)(_el$, (0, $57o7A$solidjsweb.createComponent)((0, $a0e53f99354809d9$export$6649caad96ef8870), {
|
|
7976
|
-
button_: slider_arrow_button_,
|
|
7977
7973
|
faded_opacity_: 0.7,
|
|
7978
7974
|
get children () {
|
|
7979
7975
|
return (0, $57o7A$solidjsweb.createComponent)((0, $57o7A$solidjs.Show), {
|
|
@@ -8049,7 +8045,7 @@ function $65a0c4b1c2eb5d0b$export$9dd50d35b9d94fdf({ get_search_query_: get_sear
|
|
|
8049
8045
|
|
|
8050
8046
|
const $f1d7cb69f839a526$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="filter-results-for-one-row"><!#><!/><!#><!/></div>`, 6), $f1d7cb69f839a526$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="depict plp search"><div class="listing-page"><!#><!/><!#><!/><!#><!/><!#><!/><!#><!/><!#><!/></div><!#><!/><!#><!/></div>`, 20);
|
|
8051
8047
|
function $f1d7cb69f839a526$export$a54ec244c8863715(opts) {
|
|
8052
|
-
const { depict_api_: depict_api_ , search_field_value_: search_field_value_ , get_search_query_: get_search_query_ , open_modal_: open_modal_ , submit_query_: submit_query_ , current_sorting_: current_sorting_ , min_products_to_fetch_: min_products_to_fetch_ , search_filters_open_: search_filters_open_ , search_sorting_open_: search_sorting_open_ , expanded_filters_: expanded_filters_ , input_modal_open_: input_modal_open_ , selected_filters_: selected_filters_ , i18n_: i18n_ ,
|
|
8048
|
+
const { depict_api_: depict_api_ , search_field_value_: search_field_value_ , get_search_query_: get_search_query_ , open_modal_: open_modal_ , submit_query_: submit_query_ , current_sorting_: current_sorting_ , min_products_to_fetch_: min_products_to_fetch_ , search_filters_open_: search_filters_open_ , search_sorting_open_: search_sorting_open_ , expanded_filters_: expanded_filters_ , input_modal_open_: input_modal_open_ , selected_filters_: selected_filters_ , i18n_: i18n_ , make_category_suggestion_card_: make_category_suggestion_card_ , expanded_hierarchical_filters_: expanded_hierarchical_filters_ , clear_filters_on_next_submit_: clear_filters_on_next_submit_ , local_filter_cache_: local_filter_cache_ , include_input_field_: include_input_field_ , tenant_: tenant_ , market_: market_ , showing_recommendation_rows_: showing_recommendation_rows_ , search_recs_view_more_: search_recs_view_more_ , disable_search_recommendations_: disable_search_recommendations_ , layout_options_: layout_options_ , recommendations_layout_options_: recommendations_layout_options_ = layout_options_ , scroll_restoration_data_: scroll_restoration_data_ , product_card_template_: product_card_template_ } = opts;
|
|
8053
8049
|
const [get_sorting] = current_sorting_;
|
|
8054
8050
|
const all_products_loaded_ = (0, $57o7A$solidjs.createSignal)(false);
|
|
8055
8051
|
const [get_all_products_loaded, set_all_products_loaded] = all_products_loaded_;
|
|
@@ -8169,18 +8165,19 @@ function $f1d7cb69f839a526$export$a54ec244c8863715(opts) {
|
|
|
8169
8165
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_
|
|
8170
8166
|
});
|
|
8171
8167
|
const results_filters = (0, $57o7A$solidjs.createSignal)();
|
|
8168
|
+
const owner = (0, $57o7A$solidjs.getOwner)();
|
|
8172
8169
|
(0, $57o7A$solidjs.onCleanup)((0, $57o7A$depictaiutilishared.javascript_media_query)("(max-width:600px)", async ({ matches: matches })=>{
|
|
8173
8170
|
results_filters[1]();
|
|
8174
8171
|
await new Promise((r)=>queueMicrotask(r));
|
|
8175
|
-
results_filters[1](matches ? [
|
|
8176
|
-
|
|
8177
|
-
|
|
8178
|
-
|
|
8179
|
-
|
|
8180
|
-
|
|
8181
|
-
|
|
8182
|
-
|
|
8183
|
-
|
|
8172
|
+
(0, $57o7A$solidjs.runWithOwner)(owner, ()=>results_filters[1](matches ? [
|
|
8173
|
+
results_for,
|
|
8174
|
+
filters_opener
|
|
8175
|
+
] : (()=>{
|
|
8176
|
+
const _el$ = (0, $57o7A$solidjsweb.getNextElement)($f1d7cb69f839a526$var$_tmpl$), _el$2 = _el$.firstChild, [_el$3, _co$] = (0, $57o7A$solidjsweb.getNextMarker)(_el$2.nextSibling), _el$4 = _el$3.nextSibling, [_el$5, _co$2] = (0, $57o7A$solidjsweb.getNextMarker)(_el$4.nextSibling);
|
|
8177
|
+
(0, $57o7A$solidjsweb.insert)(_el$, results_for, _el$3, _co$);
|
|
8178
|
+
(0, $57o7A$solidjsweb.insert)(_el$, filters_opener, _el$5, _co$2);
|
|
8179
|
+
return _el$;
|
|
8180
|
+
})()));
|
|
8184
8181
|
}).remove);
|
|
8185
8182
|
(0, $57o7A$depictaiutilishared.catchify)((0, $276380e4607fb9fb$export$6e49da55e449af7c))({
|
|
8186
8183
|
scroll_restoration_data_: scroll_restoration_data_,
|
|
@@ -8212,7 +8209,6 @@ function $f1d7cb69f839a526$export$a54ec244c8863715(opts) {
|
|
|
8212
8209
|
get children () {
|
|
8213
8210
|
return (0, $57o7A$solidjsweb.createComponent)((0, $04048c1bef16c249$export$c05a196222ba1302), {
|
|
8214
8211
|
suggestions_: suggestions,
|
|
8215
|
-
slider_arrow_button_: slider_arrow_button_,
|
|
8216
8212
|
children: make_category_suggestion_card_
|
|
8217
8213
|
});
|
|
8218
8214
|
}
|
|
@@ -8232,7 +8228,6 @@ function $f1d7cb69f839a526$export$a54ec244c8863715(opts) {
|
|
|
8232
8228
|
i18n_: i18n_,
|
|
8233
8229
|
selected_filters_: selected_filters_,
|
|
8234
8230
|
local_filter_cache_: local_filter_cache_,
|
|
8235
|
-
slider_arrow_button_: slider_arrow_button_,
|
|
8236
8231
|
search_filters_open_: search_filters_open_,
|
|
8237
8232
|
search_sorting_open_: search_sorting_open_,
|
|
8238
8233
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
|
|
@@ -8359,7 +8354,6 @@ function $d8e94ea381ab57fa$export$828dcdd425fd3231(aligner) {
|
|
|
8359
8354
|
|
|
8360
8355
|
|
|
8361
8356
|
|
|
8362
|
-
|
|
8363
8357
|
const $2c61e4cd8229c49a$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div class="depict plp search"></div>`, 2);
|
|
8364
8358
|
/**
|
|
8365
8359
|
* Type for the private properties that are shared between the different exported search SDK wrapper functions. SDK users are not allowed to change/access these, they're an internal implementation detail.
|
|
@@ -8645,10 +8639,6 @@ function $2c61e4cd8229c49a$export$f2dc7e4e4aa11abb({ depict_search: depict_searc
|
|
|
8645
8639
|
cols_at_size: (0, $4e04be41243c3d80$export$6daf8749b65a1b77)(extra_depict_options.recommendations_cols_at_size),
|
|
8646
8640
|
...grid_spacing_override
|
|
8647
8641
|
} : undefined,
|
|
8648
|
-
slider_arrow_button_: (0, $0f313083912e447a$export$8be2714ec7f169ee)({
|
|
8649
|
-
height_: 12,
|
|
8650
|
-
width_: 6.46
|
|
8651
|
-
}),
|
|
8652
8642
|
product_card_template_: product_card_template
|
|
8653
8643
|
});
|
|
8654
8644
|
}, "Entire SearchPage failed");
|