@depict-ai/ui 4.10.29 → 4.10.31
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 +119 -58
- package/ES10/index.d.ts +6 -1
- package/ES10/index.js +119 -58
- package/latest/index.cjs +114 -58
- package/latest/index.d.ts +6 -1
- package/latest/index.js +114 -58
- package/locales/ES10/index.cjs +27 -13
- package/locales/ES10/index.d.ts +5 -0
- package/locales/ES10/index.js +27 -13
- package/locales/latest/index.cjs +27 -13
- package/locales/latest/index.d.ts +5 -0
- package/locales/latest/index.js +27 -13
- package/package.json +4 -4
- package/server/ES10/index.cjs +56 -7
- package/server/ES10/index.d.ts +6 -1
- package/server/ES10/index.js +56 -7
- package/server/latest/index.cjs +51 -7
- package/server/latest/index.d.ts +6 -1
- package/server/latest/index.js +51 -7
package/ES10/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
|
|
|
10
10
|
/*! Depict.ai search and product listing SDK */
|
|
11
11
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
12
12
|
register_es_version("ui", "ES10");
|
|
13
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.31";
|
|
14
14
|
function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
|
|
15
15
|
const signal = $8tj43$createSignal(false);
|
|
16
16
|
$8tj43$onCleanup($8tj43$javascript_media_query(media_query, _ref => {
|
|
@@ -10342,6 +10342,37 @@ function $01c33966d9ddb108$export$f50b88e2a00918b5(fn) {
|
|
|
10342
10342
|
}
|
|
10343
10343
|
};
|
|
10344
10344
|
}
|
|
10345
|
+
var $f0f23d1343f3986f$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<b>`),
|
|
10346
|
+
$f0f23d1343f3986f$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class=no-exact-matches role=status>`);
|
|
10347
|
+
function $f0f23d1343f3986f$export$cff209a01196ea2a(response) {
|
|
10348
|
+
var _response$displays;
|
|
10349
|
+
return (response === null || response === void 0 ? void 0 : response.is_fallback) === true && !!((_response$displays = response.displays) !== null && _response$displays !== void 0 && _response$displays.length);
|
|
10350
|
+
}
|
|
10351
|
+
function $f0f23d1343f3986f$export$6011f3c8b3c691cd(_ref) {
|
|
10352
|
+
let {
|
|
10353
|
+
get_search_query_: get_search_query_,
|
|
10354
|
+
i18n_: i18n_,
|
|
10355
|
+
is_fallback_: is_fallback_
|
|
10356
|
+
} = _ref;
|
|
10357
|
+
const contents = $8tj43$createMemo($8tj43$catchify1(() => {
|
|
10358
|
+
var _i18n_$get_no_exact_m, _i18n_$get_no_exact_m2;
|
|
10359
|
+
return (_i18n_$get_no_exact_m = i18n_.get_no_exact_matches_) === null || _i18n_$get_no_exact_m === void 0 ? void 0 : (_i18n_$get_no_exact_m2 = _i18n_$get_no_exact_m.call(i18n_)) === null || _i18n_$get_no_exact_m2 === void 0 ? void 0 : _i18n_$get_no_exact_m2((() => {
|
|
10360
|
+
var _el$ = $8tj43$getNextElement($f0f23d1343f3986f$var$_tmpl$);
|
|
10361
|
+
$8tj43$insert(_el$, get_search_query_);
|
|
10362
|
+
return _el$;
|
|
10363
|
+
})());
|
|
10364
|
+
}));
|
|
10365
|
+
return $8tj43$createComponent((0, $8tj43$Show), {
|
|
10366
|
+
get when() {
|
|
10367
|
+
return $8tj43$memo(() => !!(is_fallback_() && get_search_query_().trim() !== ""))() && contents();
|
|
10368
|
+
},
|
|
10369
|
+
get children() {
|
|
10370
|
+
var _el$2 = $8tj43$getNextElement($f0f23d1343f3986f$var$_tmpl$2);
|
|
10371
|
+
$8tj43$insert(_el$2, contents);
|
|
10372
|
+
return _el$2;
|
|
10373
|
+
}
|
|
10374
|
+
});
|
|
10375
|
+
}
|
|
10345
10376
|
function $d0883254246d3eb6$export$fb40a80c530e5f2b(selectedIndex, groupIndex, indexInGroup) {
|
|
10346
10377
|
const isSelected = $8tj43$createMemo(() => {
|
|
10347
10378
|
const selectedValue = selectedIndex();
|
|
@@ -10569,6 +10600,7 @@ function $f7414b949aeabc90$export$62f101a8aa597bf8(_ref) {
|
|
|
10569
10600
|
i18n_: i18n_,
|
|
10570
10601
|
router_: router_,
|
|
10571
10602
|
set_modal_search_results_: set_modal_search_results_,
|
|
10603
|
+
set_instant_query_: set_instant_query_,
|
|
10572
10604
|
InstantCardImageComponent_: InstantCardImageComponent_,
|
|
10573
10605
|
itemIndex_: itemIndex_,
|
|
10574
10606
|
selected_index_: selected_index_,
|
|
@@ -10607,6 +10639,7 @@ function $f7414b949aeabc90$export$62f101a8aa597bf8(_ref) {
|
|
|
10607
10639
|
// Maybe we should move this createResource out of this component, on the other hand it bloats the parent component and if it fails it takes more than needed with it, so I think writing the content results from here is better
|
|
10608
10640
|
// This is for the press-enter-to-instant-content-result feature which gets called from Autocomplete.tsx/TextSuggestions.tsx
|
|
10609
10641
|
set_modal_search_results_(() => search_results);
|
|
10642
|
+
if (set_instant_query_) $8tj43$createComputed(() => set_instant_query_(read_current_instant_query()));
|
|
10610
10643
|
$8tj43$onCleanup(() => set_modal_search_results_(undefined)); // for consistency, in case this component crashes
|
|
10611
10644
|
if (itemIndex_) {
|
|
10612
10645
|
const [, set_currently_showing_suggestions] = currently_showing_suggestions_;
|
|
@@ -11919,6 +11952,7 @@ function $40411f2ec772c376$var$RawClassicSearchModal(_ref) {
|
|
|
11919
11952
|
body_: bodyAlignmentSignal = $8tj43$createSignal({})
|
|
11920
11953
|
} = alignmentSignals_ || {};
|
|
11921
11954
|
const [bodyAlignmentStyle] = bodyAlignmentSignal;
|
|
11955
|
+
const [get_instant_query_, set_instant_query_] = $8tj43$createSignal("");
|
|
11922
11956
|
const [get_modal_search_results, set_modal_search_results_] = $8tj43$createSignal();
|
|
11923
11957
|
const close_on_escape_handler = $8tj43$catchify1(_ref2 => {
|
|
11924
11958
|
let {
|
|
@@ -12079,7 +12113,14 @@ function $40411f2ec772c376$var$RawClassicSearchModal(_ref) {
|
|
|
12079
12113
|
get children() {
|
|
12080
12114
|
return $8tj43$createComponent((0, $5441862cd2f5e111$export$e68cff63f76bd15b), {
|
|
12081
12115
|
get children() {
|
|
12082
|
-
return $
|
|
12116
|
+
return [$8tj43$createComponent((0, $f0f23d1343f3986f$export$6011f3c8b3c691cd), {
|
|
12117
|
+
get_search_query_: get_instant_query_,
|
|
12118
|
+
i18n_: i18n_,
|
|
12119
|
+
is_fallback_: () => {
|
|
12120
|
+
const results = get_modal_search_results();
|
|
12121
|
+
return !!results && !results.loading && $f0f23d1343f3986f$export$cff209a01196ea2a(results());
|
|
12122
|
+
}
|
|
12123
|
+
}), $8tj43$memo(() => $f7414b949aeabc90$export$62f101a8aa597bf8({
|
|
12083
12124
|
search_field_value_: search_field_value_,
|
|
12084
12125
|
depict_api_: depict_api_,
|
|
12085
12126
|
merchant_: merchant_,
|
|
@@ -12087,6 +12128,7 @@ function $40411f2ec772c376$var$RawClassicSearchModal(_ref) {
|
|
|
12087
12128
|
market_: market_,
|
|
12088
12129
|
router_: router_,
|
|
12089
12130
|
set_modal_search_results_: set_modal_search_results_,
|
|
12131
|
+
set_instant_query_: set_instant_query_,
|
|
12090
12132
|
InstantCardImageComponent_: props => $8tj43$createMemo(() => {
|
|
12091
12133
|
var _props$alt_;
|
|
12092
12134
|
return $8tj43$ContainedImage({
|
|
@@ -12102,7 +12144,7 @@ function $40411f2ec772c376$var$RawClassicSearchModal(_ref) {
|
|
|
12102
12144
|
});
|
|
12103
12145
|
}),
|
|
12104
12146
|
...instant_results_options_
|
|
12105
|
-
});
|
|
12147
|
+
}))];
|
|
12106
12148
|
}
|
|
12107
12149
|
});
|
|
12108
12150
|
}
|
|
@@ -12724,7 +12766,7 @@ function $1abb91ab5abc8994$export$66d1697a0f27069c(modalLayoutStacked) {
|
|
|
12724
12766
|
instantResultsIndex_: instantResultsIndex_
|
|
12725
12767
|
};
|
|
12726
12768
|
}
|
|
12727
|
-
var $06fcd2a345efd24d$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=instant-results-wrapper><h2></h2
|
|
12769
|
+
var $06fcd2a345efd24d$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=instant-results-wrapper><h2></h2><!$><!/><!$><!/>`),
|
|
12728
12770
|
$06fcd2a345efd24d$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div>`),
|
|
12729
12771
|
$06fcd2a345efd24d$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<dialog>`),
|
|
12730
12772
|
$06fcd2a345efd24d$var$_tmpl$4 = /*#__PURE__*/$8tj43$template(`<div class=discover-more><button class=major type=button>`),
|
|
@@ -12799,6 +12841,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
12799
12841
|
const [unfiltered_previous_searches] = previous_searches_;
|
|
12800
12842
|
const random_classname_body = $8tj43$make_random_classname();
|
|
12801
12843
|
const backdropRandomClassname = $8tj43$make_random_classname();
|
|
12844
|
+
const [get_instant_query_, set_instant_query_] = $8tj43$createSignal("");
|
|
12802
12845
|
const [get_modal_search_results_, set_modal_search_results_] = $8tj43$createSignal();
|
|
12803
12846
|
const close_on_escape_handler = $8tj43$catchify1(evt => {
|
|
12804
12847
|
if (evt.key === "Escape") {
|
|
@@ -12963,8 +13006,18 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
12963
13006
|
var _el$ = $8tj43$getNextElement($06fcd2a345efd24d$var$_tmpl$),
|
|
12964
13007
|
_el$2 = _el$.firstChild,
|
|
12965
13008
|
_el$3 = _el$2.nextSibling,
|
|
12966
|
-
[_el$4, _co$] = $8tj43$getNextMarker(_el$3.nextSibling)
|
|
13009
|
+
[_el$4, _co$] = $8tj43$getNextMarker(_el$3.nextSibling),
|
|
13010
|
+
_el$5 = _el$4.nextSibling,
|
|
13011
|
+
[_el$6, _co$2] = $8tj43$getNextMarker(_el$5.nextSibling);
|
|
12967
13012
|
$8tj43$insert(_el$2, () => i18n_.products_());
|
|
13013
|
+
$8tj43$insert(_el$, $8tj43$createComponent((0, $f0f23d1343f3986f$export$6011f3c8b3c691cd), {
|
|
13014
|
+
get_search_query_: get_instant_query_,
|
|
13015
|
+
i18n_: i18n_,
|
|
13016
|
+
is_fallback_: () => {
|
|
13017
|
+
const results = get_modal_search_results_();
|
|
13018
|
+
return !!results && !results.loading && $f0f23d1343f3986f$export$cff209a01196ea2a(results());
|
|
13019
|
+
}
|
|
13020
|
+
}), _el$4, _co$);
|
|
12968
13021
|
$8tj43$insert(_el$, () => $f7414b949aeabc90$export$62f101a8aa597bf8({
|
|
12969
13022
|
search_field_value_: search_field_value_,
|
|
12970
13023
|
depict_api_: depict_api_,
|
|
@@ -12973,6 +13026,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
12973
13026
|
market_: market_,
|
|
12974
13027
|
router_: router_,
|
|
12975
13028
|
set_modal_search_results_: set_modal_search_results_,
|
|
13029
|
+
set_instant_query_: set_instant_query_,
|
|
12976
13030
|
itemIndex_: itemIndexes.instantResultsIndex_,
|
|
12977
13031
|
selected_index_: selected_index_,
|
|
12978
13032
|
currently_showing_suggestions_: currently_showing_suggestions_,
|
|
@@ -12994,7 +13048,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
12994
13048
|
imageResizer_: imageResizer_
|
|
12995
13049
|
}),
|
|
12996
13050
|
...instant_results_options_
|
|
12997
|
-
}), _el$
|
|
13051
|
+
}), _el$6, _co$2);
|
|
12998
13052
|
$8tj43$effect(_$p => (_$p = itemIndexes.instantResultsIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
|
|
12999
13053
|
return _el$;
|
|
13000
13054
|
}
|
|
@@ -13033,25 +13087,25 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
13033
13087
|
})]);
|
|
13034
13088
|
const DialogElement = props => {
|
|
13035
13089
|
if (forceUseDiv_) return (() => {
|
|
13036
|
-
var _el$
|
|
13037
|
-
$8tj43$spread(_el$
|
|
13038
|
-
$8tj43$insert(_el$
|
|
13090
|
+
var _el$7 = $8tj43$getNextElement($06fcd2a345efd24d$var$_tmpl$2);
|
|
13091
|
+
$8tj43$spread(_el$7, props, false, true);
|
|
13092
|
+
$8tj43$insert(_el$7, () => props.children);
|
|
13039
13093
|
$8tj43$runHydrationEvents();
|
|
13040
|
-
return _el$
|
|
13094
|
+
return _el$7;
|
|
13041
13095
|
})();
|
|
13042
13096
|
return (() => {
|
|
13043
|
-
var _el$
|
|
13044
|
-
$8tj43$spread(_el$
|
|
13045
|
-
$8tj43$insert(_el$
|
|
13097
|
+
var _el$8 = $8tj43$getNextElement($06fcd2a345efd24d$var$_tmpl$3);
|
|
13098
|
+
$8tj43$spread(_el$8, props, false, true);
|
|
13099
|
+
$8tj43$insert(_el$8, () => props.children);
|
|
13046
13100
|
$8tj43$runHydrationEvents();
|
|
13047
|
-
return _el$
|
|
13101
|
+
return _el$8;
|
|
13048
13102
|
})();
|
|
13049
13103
|
};
|
|
13050
13104
|
const discoverMoreSection = (() => {
|
|
13051
|
-
var _el$
|
|
13052
|
-
_el$
|
|
13053
|
-
$8tj43$addEventListener(_el$
|
|
13054
|
-
$8tj43$insert(_el$
|
|
13105
|
+
var _el$9 = $8tj43$getNextElement($06fcd2a345efd24d$var$_tmpl$4),
|
|
13106
|
+
_el$10 = _el$9.firstChild;
|
|
13107
|
+
$8tj43$addEventListener(_el$10, "click", $8tj43$catchify1(() => submit_query_()), true);
|
|
13108
|
+
$8tj43$insert(_el$10, $8tj43$createComponent((0, $8tj43$Show), {
|
|
13055
13109
|
get when() {
|
|
13056
13110
|
return get_search_field_value_();
|
|
13057
13111
|
},
|
|
@@ -13068,16 +13122,16 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
13068
13122
|
},
|
|
13069
13123
|
get children() {
|
|
13070
13124
|
return i18n_.modal_view_all_results_()((() => {
|
|
13071
|
-
var _el$
|
|
13072
|
-
$8tj43$insert(_el$
|
|
13073
|
-
return _el$
|
|
13125
|
+
var _el$11 = $8tj43$getNextElement($06fcd2a345efd24d$var$_tmpl$5);
|
|
13126
|
+
$8tj43$insert(_el$11, formattedTotalNumberResults);
|
|
13127
|
+
return _el$11;
|
|
13074
13128
|
})());
|
|
13075
13129
|
}
|
|
13076
13130
|
});
|
|
13077
13131
|
}
|
|
13078
13132
|
}));
|
|
13079
13133
|
$8tj43$runHydrationEvents();
|
|
13080
|
-
return _el$
|
|
13134
|
+
return _el$9;
|
|
13081
13135
|
})();
|
|
13082
13136
|
const search_field = $584c06c09cf4609d$export$b94867ecbd698f21({
|
|
13083
13137
|
BackIcon_: (0, $c2fe922d21c40514$export$11e9f390c90a537f),
|
|
@@ -13129,22 +13183,22 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
13129
13183
|
},
|
|
13130
13184
|
get children() {
|
|
13131
13185
|
return [(() => {
|
|
13132
|
-
var _el$
|
|
13133
|
-
$8tj43$addEventListener(_el$
|
|
13134
|
-
$8tj43$effect(_$p => $8tj43$classList(_el$
|
|
13186
|
+
var _el$12 = $8tj43$getNextElement($06fcd2a345efd24d$var$_tmpl$6);
|
|
13187
|
+
$8tj43$addEventListener(_el$12, "click", close_modal_, true);
|
|
13188
|
+
$8tj43$effect(_$p => $8tj43$classList(_el$12, {
|
|
13135
13189
|
[backdropRandomClassname]: true
|
|
13136
13190
|
}, _$p));
|
|
13137
13191
|
$8tj43$runHydrationEvents();
|
|
13138
|
-
return _el$
|
|
13192
|
+
return _el$12;
|
|
13139
13193
|
})(), (() => {
|
|
13140
|
-
var _el$
|
|
13141
|
-
_el$
|
|
13142
|
-
_el$
|
|
13143
|
-
[_el$
|
|
13144
|
-
_el$
|
|
13145
|
-
_el$
|
|
13146
|
-
[_el$
|
|
13147
|
-
$8tj43$addEventListener(_el$
|
|
13194
|
+
var _el$13 = $8tj43$getNextElement($06fcd2a345efd24d$var$_tmpl$7),
|
|
13195
|
+
_el$14 = _el$13.firstChild,
|
|
13196
|
+
_el$16 = _el$14.firstChild,
|
|
13197
|
+
[_el$17, _co$3] = $8tj43$getNextMarker(_el$16.nextSibling),
|
|
13198
|
+
_el$15 = _el$17.nextSibling,
|
|
13199
|
+
_el$18 = _el$14.nextSibling,
|
|
13200
|
+
[_el$19, _co$4] = $8tj43$getNextMarker(_el$18.nextSibling);
|
|
13201
|
+
$8tj43$addEventListener(_el$13, "click", $8tj43$catchify1(_ref3 => {
|
|
13148
13202
|
let {
|
|
13149
13203
|
target: target,
|
|
13150
13204
|
currentTarget: currentTarget
|
|
@@ -13156,8 +13210,8 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
13156
13210
|
const resizeObserver = new ResizeObserver($8tj43$catchify1(records => setModalBodyWidth(records.at(-1).contentRect.width)));
|
|
13157
13211
|
resizeObserver.observe(element);
|
|
13158
13212
|
$8tj43$onCleanup(() => resizeObserver.disconnect());
|
|
13159
|
-
}, _el$
|
|
13160
|
-
$8tj43$insert(_el$
|
|
13213
|
+
}, _el$14);
|
|
13214
|
+
$8tj43$insert(_el$14, search_field, _el$17, _co$3);
|
|
13161
13215
|
$8tj43$use(el => {
|
|
13162
13216
|
$8tj43$catchify1((0, $558d0596fcf0e0b0$export$50b90be27d8502d9))(el, bodyAlignmentSignal, bottom_distance_under_modal_ || (() => 0.03 // 3% under SearchModalV2 by default
|
|
13163
13217
|
));
|
|
@@ -13172,28 +13226,28 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
13172
13226
|
return;
|
|
13173
13227
|
}
|
|
13174
13228
|
el.replaceChildren(...[(() => {
|
|
13175
|
-
var _el$
|
|
13176
|
-
$8tj43$insert(_el$
|
|
13177
|
-
return _el$
|
|
13229
|
+
var _el$20 = $8tj43$getNextElement($06fcd2a345efd24d$var$_tmpl$8);
|
|
13230
|
+
$8tj43$insert(_el$20, renderedTextSuggestions);
|
|
13231
|
+
return _el$20;
|
|
13178
13232
|
})(), (() => {
|
|
13179
|
-
var _el$
|
|
13180
|
-
$8tj43$insert(_el$
|
|
13181
|
-
return _el$
|
|
13233
|
+
var _el$21 = $8tj43$getNextElement($06fcd2a345efd24d$var$_tmpl$9);
|
|
13234
|
+
$8tj43$insert(_el$21, renderedVisualSuggestions);
|
|
13235
|
+
return _el$21;
|
|
13182
13236
|
})(), discoverMoreSection]);
|
|
13183
13237
|
});
|
|
13184
|
-
}, _el$
|
|
13185
|
-
$8tj43$insert(_el$
|
|
13238
|
+
}, _el$15);
|
|
13239
|
+
$8tj43$insert(_el$13, $8tj43$createComponent((0, $a86e71c0015bd8ab$export$f021bdedd3ec901a), {
|
|
13186
13240
|
styles: mergedCssObject
|
|
13187
|
-
}), _el$
|
|
13241
|
+
}), _el$19, _co$4);
|
|
13188
13242
|
$8tj43$effect(_p$ => {
|
|
13189
13243
|
var _v$ = !!modalLayoutStacked_(),
|
|
13190
13244
|
_v$2 = {
|
|
13191
13245
|
[random_classname_body]: true
|
|
13192
13246
|
},
|
|
13193
13247
|
_v$3 = !!noResults();
|
|
13194
|
-
_v$ !== _p$.e && _el$
|
|
13195
|
-
_p$.t = $8tj43$classList(_el$
|
|
13196
|
-
_v$3 !== _p$.a && _el$
|
|
13248
|
+
_v$ !== _p$.e && _el$13.classList.toggle("stacked", _p$.e = _v$);
|
|
13249
|
+
_p$.t = $8tj43$classList(_el$14, _v$2, _p$.t);
|
|
13250
|
+
_v$3 !== _p$.a && _el$15.classList.toggle("no-results", _p$.a = _v$3);
|
|
13197
13251
|
return _p$;
|
|
13198
13252
|
}, {
|
|
13199
13253
|
e: undefined,
|
|
@@ -13201,7 +13255,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
13201
13255
|
a: undefined
|
|
13202
13256
|
});
|
|
13203
13257
|
$8tj43$runHydrationEvents();
|
|
13204
|
-
return _el$
|
|
13258
|
+
return _el$13;
|
|
13205
13259
|
})()];
|
|
13206
13260
|
}
|
|
13207
13261
|
})];
|
|
@@ -15916,7 +15970,7 @@ function $937791b86d3d1509$export$44f738469d5570cf(_ref) {
|
|
|
15916
15970
|
});
|
|
15917
15971
|
}
|
|
15918
15972
|
var $da279c5a540c6846$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div class=filter-results-for-one-row><!$><!/><!$><!/>`),
|
|
15919
|
-
$da279c5a540c6846$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div><div class=listing-page
|
|
15973
|
+
$da279c5a540c6846$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div><div class=listing-page><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/><!$><!/></div><!$><!/><!$><!/>`);
|
|
15920
15974
|
function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
15921
15975
|
let {
|
|
15922
15976
|
depict_api_: depict_api_,
|
|
@@ -16231,10 +16285,12 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
16231
16285
|
[_el$19, _co$8] = $8tj43$getNextMarker(_el$18.nextSibling),
|
|
16232
16286
|
_el$20 = _el$19.nextSibling,
|
|
16233
16287
|
[_el$21, _co$9] = $8tj43$getNextMarker(_el$20.nextSibling),
|
|
16234
|
-
_el$22 = _el$
|
|
16288
|
+
_el$22 = _el$21.nextSibling,
|
|
16235
16289
|
[_el$23, _co$10] = $8tj43$getNextMarker(_el$22.nextSibling),
|
|
16236
|
-
_el$24 = _el$
|
|
16237
|
-
[_el$25, _co$11] = $8tj43$getNextMarker(_el$24.nextSibling)
|
|
16290
|
+
_el$24 = _el$7.nextSibling,
|
|
16291
|
+
[_el$25, _co$11] = $8tj43$getNextMarker(_el$24.nextSibling),
|
|
16292
|
+
_el$26 = _el$25.nextSibling,
|
|
16293
|
+
[_el$27, _co$12] = $8tj43$getNextMarker(_el$26.nextSibling);
|
|
16238
16294
|
$8tj43$insert(_el$7, get_search_field_elements, _el$9, _co$3);
|
|
16239
16295
|
$8tj43$insert(_el$7, make_category_suggestion_card_ ? $8tj43$createComponent((0, $74777e8fe65b3dcb$export$b69d0d92862de18b), {
|
|
16240
16296
|
severity_: "error",
|
|
@@ -16273,6 +16329,11 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
16273
16329
|
}
|
|
16274
16330
|
}), _el$13, _co$5);
|
|
16275
16331
|
$8tj43$insert(_el$7, () => results_filters[0](), _el$15, _co$6);
|
|
16332
|
+
$8tj43$insert(_el$7, $8tj43$createComponent((0, $f0f23d1343f3986f$export$6011f3c8b3c691cd), {
|
|
16333
|
+
get_search_query_: get_search_query_,
|
|
16334
|
+
i18n_: i18n_,
|
|
16335
|
+
is_fallback_: () => !search_results_.loading && $f0f23d1343f3986f$export$cff209a01196ea2a(search_results_())
|
|
16336
|
+
}), _el$17, _co$7);
|
|
16276
16337
|
$8tj43$insert(_el$7, $8tj43$createComponent((0, $8tj43$Show), {
|
|
16277
16338
|
get when() {
|
|
16278
16339
|
var _selected_filters_$;
|
|
@@ -16296,7 +16357,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
16296
16357
|
}
|
|
16297
16358
|
});
|
|
16298
16359
|
}
|
|
16299
|
-
}), _el$
|
|
16360
|
+
}), _el$19, _co$8);
|
|
16300
16361
|
$8tj43$insert(_el$7, $8tj43$createComponent((0, $74777e8fe65b3dcb$export$b69d0d92862de18b), {
|
|
16301
16362
|
severity_: "error",
|
|
16302
16363
|
message_: "Search results failed",
|
|
@@ -16333,7 +16394,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
16333
16394
|
}
|
|
16334
16395
|
});
|
|
16335
16396
|
}
|
|
16336
|
-
}), _el$
|
|
16397
|
+
}), _el$21, _co$9);
|
|
16337
16398
|
$8tj43$insert(_el$7, $8tj43$createComponent((0, $74777e8fe65b3dcb$export$b69d0d92862de18b), {
|
|
16338
16399
|
severity_: "error",
|
|
16339
16400
|
message_: "Search recommendations failed",
|
|
@@ -16352,7 +16413,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
16352
16413
|
}
|
|
16353
16414
|
});
|
|
16354
16415
|
}
|
|
16355
|
-
}), _el$
|
|
16416
|
+
}), _el$23, _co$10);
|
|
16356
16417
|
$8tj43$insert(_el$6, $8tj43$createComponent((0, $74777e8fe65b3dcb$export$b69d0d92862de18b), {
|
|
16357
16418
|
message_: "Scroll status failed",
|
|
16358
16419
|
severity_: "error",
|
|
@@ -16365,7 +16426,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
16365
16426
|
number_of_results_: countOfProductsForUI
|
|
16366
16427
|
});
|
|
16367
16428
|
}
|
|
16368
|
-
}), _el$
|
|
16429
|
+
}), _el$25, _co$11);
|
|
16369
16430
|
$8tj43$insert(_el$6, $8tj43$createComponent((0, $74777e8fe65b3dcb$export$b69d0d92862de18b), {
|
|
16370
16431
|
message_: "Floating buttons failed",
|
|
16371
16432
|
severity_: "error",
|
|
@@ -16378,7 +16439,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
16378
16439
|
i18n_: i18n_
|
|
16379
16440
|
});
|
|
16380
16441
|
}
|
|
16381
|
-
}), _el$
|
|
16442
|
+
}), _el$27, _co$12);
|
|
16382
16443
|
$8tj43$effect(_p$ => {
|
|
16383
16444
|
var _v$ = (0, $c3820807ac1e6fd7$export$44dad306455dddf).SEARCH_PAGE,
|
|
16384
16445
|
_v$2 = "depict plp search".concat(class_ !== null && class_ !== void 0 && class_() ? " ".concat(class_()) : "");
|