@depict-ai/ui 1.4.18 → 1.4.20
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 +73 -7
- package/ES10/index.d.ts +33 -2
- package/ES10/index.js +228 -165
- package/latest/index.cjs +64 -2
- package/latest/index.d.ts +33 -2
- package/latest/index.js +219 -160
- package/package.json +4 -4
- package/server/ES10/index.cjs +62 -7
- package/server/ES10/index.d.ts +33 -2
- package/server/ES10/index.js +158 -106
- package/server/latest/index.cjs +53 -2
- package/server/latest/index.d.ts +33 -2
- package/server/latest/index.js +149 -101
package/ES10/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { add_to_version_info as $8tj43$add_to_version_info, report as $8tj43$report, observer as $8tj43$observer, catchify as $8tj43$
|
|
2
|
-
import { template as $8tj43$template, getNextElement as $8tj43$getNextElement,
|
|
3
|
-
import {
|
|
1
|
+
import { add_to_version_info as $8tj43$add_to_version_info, is_safari as $8tj43$is_safari, report as $8tj43$report, observer as $8tj43$observer, catchify as $8tj43$catchify1, useExpandingContainer as $8tj43$useExpandingContainer, standard_price_format as $8tj43$standard_price_format, Amazing_Slider as $8tj43$Amazing_Slider, slider_snap_css as $8tj43$slider_snap_css, slider_fading_factory as $8tj43$slider_fading_factory, make_random_classname as $8tj43$make_random_classname, dlog as $8tj43$dlog, hex_to_rgb as $8tj43$hex_to_rgb, relative_luminance_from_rgb as $8tj43$relative_luminance_from_rgb, javascript_media_query as $8tj43$javascript_media_query, n_col_styling_with_dist as $8tj43$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $8tj43$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $8tj43$layout_get_total_rec_amount_for_row, layout_media_query_header as $8tj43$layout_media_query_header, fetch_recs as $8tj43$fetch_recs, snakeCasifyObject as $8tj43$snakeCasifyObject, instant_exec_on_suspect_history_change as $8tj43$instant_exec_on_suspect_history_change, base_url as $8tj43$base_url, get_depict_id as $8tj43$get_depict_id, get_user_id as $8tj43$get_user_id, get_session_id as $8tj43$get_session_id, make_url_with_query_params as $8tj43$make_url_with_query_params, fetch_retry as $8tj43$fetch_retry, add_version_query_params as $8tj43$add_version_query_params, dwarn as $8tj43$dwarn, sort_obj as $8tj43$sort_obj, edit_current_page_meta_tags as $8tj43$edit_current_page_meta_tags, use_href_accessor as $8tj43$use_href_accessor, base64_encode_unicode as $8tj43$base64_encode_unicode, base64_decode_unicode as $8tj43$base64_decode_unicode, queueMacroTask as $8tj43$queueMacroTask, is_debug as $8tj43$is_debug, make_asyncIterable_exiter as $8tj43$make_asyncIterable_exiter, href_change_ipns as $8tj43$href_change_ipns, ContainedImage as $8tj43$ContainedImage, buildThresholdList as $8tj43$buildThresholdList, deparallelize_no_drop as $8tj43$deparallelize_no_drop, insert_surfaces as $8tj43$insert_surfaces } from "@depict-ai/utilishared/ES10";
|
|
2
|
+
import { template as $8tj43$template, getNextElement as $8tj43$getNextElement, spread as $8tj43$spread, mergeProps as $8tj43$mergeProps, runHydrationEvents as $8tj43$runHydrationEvents, effect as $8tj43$effect, style as $8tj43$style, insert as $8tj43$insert, classList as $8tj43$classList, createComponent as $8tj43$createComponent, getNextMarker as $8tj43$getNextMarker, addEventListener as $8tj43$addEventListener, memo as $8tj43$memo, delegateEvents as $8tj43$delegateEvents, setAttribute as $8tj43$setAttribute, Dynamic as $8tj43$Dynamic, use as $8tj43$use, className as $8tj43$className, isServer as $8tj43$isServer } from "solid-js/web";
|
|
3
|
+
import { catchify as $8tj43$catchify } from "@depict-ai/utilishared/latest/ES10";
|
|
4
|
+
import { createSignal as $8tj43$createSignal, onCleanup as $8tj43$onCleanup, ErrorBoundary as $8tj43$ErrorBoundary, createMemo as $8tj43$createMemo, untrack as $8tj43$untrack, createEffect as $8tj43$createEffect, getOwner as $8tj43$getOwner, Show as $8tj43$Show, runWithOwner as $8tj43$runWithOwner, Index as $8tj43$Index, createRoot as $8tj43$createRoot, on as $8tj43$on, For as $8tj43$For, createRenderEffect as $8tj43$createRenderEffect, createComputed as $8tj43$createComputed, batch as $8tj43$batch, createResource as $8tj43$createResource, createReaction as $8tj43$createReaction, Suspense as $8tj43$Suspense } from "solid-js";
|
|
4
5
|
import $8tj43$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
|
|
5
6
|
import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpers/classPrivateFieldGet";
|
|
6
7
|
import $8tj43$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/defineProperty";
|
|
@@ -8,7 +9,63 @@ import $8tj43$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/def
|
|
|
8
9
|
/*! Depict.ai search and product listing SDK */
|
|
9
10
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
10
11
|
register_es_version("ui", "ES10");
|
|
11
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.
|
|
12
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "1.4.20";
|
|
13
|
+
const $56047603f9d212b6$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<img>`, 1);
|
|
14
|
+
function $56047603f9d212b6$export$e6fffe67d4cdd848(whatToWatch) {
|
|
15
|
+
const [size, setSize] = $8tj43$createSignal(0);
|
|
16
|
+
const resizeObserver = new ResizeObserver($8tj43$catchify(records => {
|
|
17
|
+
for (let j = 0; j < records.length; j++) {
|
|
18
|
+
const {
|
|
19
|
+
width: width
|
|
20
|
+
} = records[j].contentRect;
|
|
21
|
+
if (!width) continue;
|
|
22
|
+
// add extra 5% just in case. + safari is (in some cases) acting a bit questionable and needs a third extra to fill the set width
|
|
23
|
+
const new_size = width * 1.05 * ((0, $8tj43$is_safari) ? 4 / 3 : 1);
|
|
24
|
+
setSize(Math.round(new_size));
|
|
25
|
+
}
|
|
26
|
+
}));
|
|
27
|
+
resizeObserver.observe(whatToWatch);
|
|
28
|
+
$8tj43$onCleanup(() => resizeObserver.disconnect());
|
|
29
|
+
return size;
|
|
30
|
+
}
|
|
31
|
+
function $56047603f9d212b6$export$6e5611bc7e57e477(_ref) {
|
|
32
|
+
let {
|
|
33
|
+
src: raw_src,
|
|
34
|
+
size: size,
|
|
35
|
+
resolutions = [64, 128, 256, 300, 400, 512, 768, 1024, 1280, 1536, 2048, 4096],
|
|
36
|
+
...otherOptions
|
|
37
|
+
} = _ref;
|
|
38
|
+
const src = new URL(raw_src, location.origin);
|
|
39
|
+
const fallbackSrc = $56047603f9d212b6$var$generateImageUrl(src, 400);
|
|
40
|
+
const srcset = $56047603f9d212b6$var$make_srcset(src, resolutions);
|
|
41
|
+
return (() => {
|
|
42
|
+
const _el$ = $8tj43$getNextElement($56047603f9d212b6$var$_tmpl$);
|
|
43
|
+
$8tj43$spread(_el$, $8tj43$mergeProps(otherOptions, {
|
|
44
|
+
"src": fallbackSrc,
|
|
45
|
+
"srcset": srcset,
|
|
46
|
+
get sizes() {
|
|
47
|
+
return size() + "px";
|
|
48
|
+
}
|
|
49
|
+
}), false, false);
|
|
50
|
+
$8tj43$runHydrationEvents();
|
|
51
|
+
return _el$;
|
|
52
|
+
})();
|
|
53
|
+
}
|
|
54
|
+
function $56047603f9d212b6$var$make_srcset(url, resolutions) {
|
|
55
|
+
return resolutions.map(width => "".concat($56047603f9d212b6$var$generateImageUrl(url, width), " ").concat(width, "w")).join(", ");
|
|
56
|
+
}
|
|
57
|
+
function $56047603f9d212b6$var$generateImageUrl(url, width) {
|
|
58
|
+
url.searchParams.set("width", width);
|
|
59
|
+
return url.href;
|
|
60
|
+
}
|
|
61
|
+
const $801e8845d3fa3653$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div></div>`, 2);
|
|
62
|
+
function $801e8845d3fa3653$export$94026ee33dbabc26(props) {
|
|
63
|
+
return (() => {
|
|
64
|
+
const _el$ = $8tj43$getNextElement($801e8845d3fa3653$var$_tmpl$);
|
|
65
|
+
$8tj43$effect(_$p => $8tj43$style(_el$, "position:relative;width:100%;padding-bottom:".concat(1 / props.aspectRatio * 100, "%"), _$p));
|
|
66
|
+
return _el$;
|
|
67
|
+
})();
|
|
68
|
+
}
|
|
12
69
|
|
|
13
70
|
// Errors caused by SDK consuming code interfacing with the SDK, not the SDK itself or other Depict packages
|
|
14
71
|
class $f3b7124b76123e44$export$e1d52e4f0c7557a1 extends Error {}
|
|
@@ -101,15 +158,15 @@ function $ad371564683947ab$export$6c6d7a51fa9aa15d(props) {
|
|
|
101
158
|
$8tj43$insert(details_, [summary_, $8tj43$createComponent(ExpandingContainer, {
|
|
102
159
|
children: children
|
|
103
160
|
})], null);
|
|
104
|
-
if (!$8tj43$untrack(is_in_dom)) (0, $8tj43$observer).wait_for_element(details_).then($8tj43$
|
|
105
|
-
$8tj43$createEffect($8tj43$
|
|
161
|
+
if (!$8tj43$untrack(is_in_dom)) (0, $8tj43$observer).wait_for_element(details_).then($8tj43$catchify1(() => set_is_in_dom(true)));
|
|
162
|
+
$8tj43$createEffect($8tj43$catchify1(async () => {
|
|
106
163
|
const is_open = is_open_memo();
|
|
107
164
|
if (!is_in_dom())
|
|
108
165
|
// wait with setting state until we're in DOM, animation won't work otherwise
|
|
109
166
|
return;
|
|
110
167
|
if (dont_animate_if_instant_open_ && fresh_component && !timeout_started) {
|
|
111
168
|
timeout_started = true;
|
|
112
|
-
setTimeout($8tj43$
|
|
169
|
+
setTimeout($8tj43$catchify1(() => fresh_component = false));
|
|
113
170
|
}
|
|
114
171
|
if (is_open) {
|
|
115
172
|
details_.open = true; // open up the toggle so the animation can happen
|
|
@@ -117,10 +174,10 @@ function $ad371564683947ab$export$6c6d7a51fa9aa15d(props) {
|
|
|
117
174
|
await expand(0, do_duration);
|
|
118
175
|
} else {
|
|
119
176
|
const animation = await collapse();
|
|
120
|
-
animation === null || animation === void 0 || animation.addEventListener("finish", $8tj43$
|
|
177
|
+
animation === null || animation === void 0 || animation.addEventListener("finish", $8tj43$catchify1(() => details_.open = false));
|
|
121
178
|
}
|
|
122
179
|
}));
|
|
123
|
-
details_.addEventListener("toggle", $8tj43$
|
|
180
|
+
details_.addEventListener("toggle", $8tj43$catchify1(() => {
|
|
124
181
|
const {
|
|
125
182
|
open: open
|
|
126
183
|
} = details_;
|
|
@@ -130,11 +187,11 @@ function $ad371564683947ab$export$6c6d7a51fa9aa15d(props) {
|
|
|
130
187
|
}) // in case someone somehow toggles it without us intercepting it at least follow suit
|
|
131
188
|
);
|
|
132
189
|
|
|
133
|
-
summary_.addEventListener("click", $8tj43$
|
|
190
|
+
summary_.addEventListener("click", $8tj43$catchify1(ev => {
|
|
134
191
|
ev.preventDefault();
|
|
135
192
|
toggle();
|
|
136
193
|
}));
|
|
137
|
-
summary_.addEventListener("keydown", $8tj43$
|
|
194
|
+
summary_.addEventListener("keydown", $8tj43$catchify1(ev => {
|
|
138
195
|
const {
|
|
139
196
|
key: key
|
|
140
197
|
} = ev;
|
|
@@ -231,7 +288,7 @@ function $a61a2051e15c8d7a$export$5196e4c01fa56fcb(_ref) {
|
|
|
231
288
|
} = _ref;
|
|
232
289
|
let close_toast_;
|
|
233
290
|
const stay_open_promise = new Promise(r => close_toast_ = r);
|
|
234
|
-
$8tj43$
|
|
291
|
+
$8tj43$catchify1(async () => {
|
|
235
292
|
const closing_animation_duration = 300; // ms
|
|
236
293
|
const element = (() => {
|
|
237
294
|
const _el$ = $8tj43$getNextElement($a61a2051e15c8d7a$var$_tmpl$);
|
|
@@ -242,8 +299,8 @@ function $a61a2051e15c8d7a$export$5196e4c01fa56fcb(_ref) {
|
|
|
242
299
|
})();
|
|
243
300
|
const [, set_is_showing_toast] = $a61a2051e15c8d7a$export$22970a0140fc759c;
|
|
244
301
|
// if this is a memory leak the garbage collector is stupid - does someone know?
|
|
245
|
-
for (const ev of ["pointerover", "focusin"]) element.addEventListener(ev, $8tj43$
|
|
246
|
-
for (const ev of ["pointerout", "focusout"]) element.addEventListener(ev, $8tj43$
|
|
302
|
+
for (const ev of ["pointerover", "focusin"]) element.addEventListener(ev, $8tj43$catchify1(() => closing_animation.pause()));
|
|
303
|
+
for (const ev of ["pointerout", "focusout"]) element.addEventListener(ev, $8tj43$catchify1(() => closing_animation.play()));
|
|
247
304
|
const body = await (0, $8tj43$observer).wait_for_element("body");
|
|
248
305
|
const x_translate = "translateX(-50%) ";
|
|
249
306
|
let remove_keyboard_listener;
|
|
@@ -268,7 +325,7 @@ function $a61a2051e15c8d7a$export$5196e4c01fa56fcb(_ref) {
|
|
|
268
325
|
// let other toasts close us if they open while we're still here
|
|
269
326
|
$a61a2051e15c8d7a$var$closing_functions.add(close_toast_);
|
|
270
327
|
set_is_showing_toast(true);
|
|
271
|
-
const handler = $8tj43$
|
|
328
|
+
const handler = $8tj43$catchify1(_ref2 => {
|
|
272
329
|
let {
|
|
273
330
|
key: key
|
|
274
331
|
} = _ref2;
|
|
@@ -375,7 +432,7 @@ function $b4465d8d605f61e9$export$8895d39404bd2bb1(props) {
|
|
|
375
432
|
const _el$2 = $8tj43$getNextElement($b4465d8d605f61e9$var$_tmpl$2),
|
|
376
433
|
_el$3 = _el$2.firstChild,
|
|
377
434
|
_el$4 = _el$3.nextSibling;
|
|
378
|
-
$8tj43$addEventListener(_el$3, "click", $8tj43$
|
|
435
|
+
$8tj43$addEventListener(_el$3, "click", $8tj43$catchify1(() => {
|
|
379
436
|
set_selected_filters(previous_selected_filters);
|
|
380
437
|
set_expanded_hierarchical_filters(previous_expanded_hierarchical_filters);
|
|
381
438
|
if (also_clear_sorting_ && previous_sorting) props.current_sorting_[1](previous_sorting);
|
|
@@ -458,7 +515,7 @@ function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
|
|
|
458
515
|
get children() {
|
|
459
516
|
return [(() => {
|
|
460
517
|
const _el$6 = $8tj43$getNextElement($4711a82d08d2021b$var$_tmpl$);
|
|
461
|
-
$8tj43$addEventListener(_el$6, "click", $8tj43$
|
|
518
|
+
$8tj43$addEventListener(_el$6, "click", $8tj43$catchify1(() =>
|
|
462
519
|
// click event handlers don't have an owner, carry it over
|
|
463
520
|
$8tj43$runWithOwner(owner, () => $b4465d8d605f61e9$export$8895d39404bd2bb1({
|
|
464
521
|
selected_filters_: selected_filters_,
|
|
@@ -655,7 +712,7 @@ function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
|
|
|
655
712
|
_el$28 = _el$26.firstChild,
|
|
656
713
|
[_el$29, _co$10] = $8tj43$getNextMarker(_el$28.nextSibling),
|
|
657
714
|
_el$27 = _el$29.nextSibling;
|
|
658
|
-
$8tj43$addEventListener(_el$26, "click", $8tj43$
|
|
715
|
+
$8tj43$addEventListener(_el$26, "click", $8tj43$catchify1(() => {
|
|
659
716
|
const to_remove = selected_data();
|
|
660
717
|
const cloned_selected_filters = [...read_selected_filters()];
|
|
661
718
|
cloned_selected_filters.splice(index_in_selected_filters, 1);
|
|
@@ -711,9 +768,9 @@ function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
|
|
|
711
768
|
});
|
|
712
769
|
const [is_in_dom, set_is_in_dom] = $8tj43$createSignal(document.documentElement.contains(outmost_element));
|
|
713
770
|
const hidden = $8tj43$createMemo(() => get_search_filters_open_() || get_search_sorting_open_());
|
|
714
|
-
if (!$8tj43$untrack(is_in_dom)) (0, $8tj43$observer).wait_for_element(outmost_element).then($8tj43$
|
|
771
|
+
if (!$8tj43$untrack(is_in_dom)) (0, $8tj43$observer).wait_for_element(outmost_element).then($8tj43$catchify1(() => set_is_in_dom(true)));
|
|
715
772
|
outmost_element.classList.add("selected-filters");
|
|
716
|
-
$8tj43$createEffect($8tj43$
|
|
773
|
+
$8tj43$createEffect($8tj43$catchify1(async () => {
|
|
717
774
|
if (!is_in_dom())
|
|
718
775
|
// wait with setting state until we're in DOM, animation won't work otherwise
|
|
719
776
|
return;
|
|
@@ -751,7 +808,7 @@ const $6b73914551534ea8$export$48513f6b9f8ce62d = props => {
|
|
|
751
808
|
// The reason for that being that we re-use the checkboxes. That means if one box was unchecked by the user and then removed, the "checked" value of "another" checkbox (that now had position 0) had changed to 0 (because the user unchecked the box with position 0) while solid js still believed that it was checked because it's checked signal hadn't changed.
|
|
752
809
|
// I've worked around this by restoring the state of the checkbox to what it is in solid js a bit after it was changed
|
|
753
810
|
// Why it can't be done instantaneously I don't know.
|
|
754
|
-
input_el.addEventListener("change", $8tj43$
|
|
811
|
+
input_el.addEventListener("change", $8tj43$catchify1(() => requestAnimationFrame($8tj43$catchify1(() => {
|
|
755
812
|
if (input_el.checked !== checked()) input_el.checked = checked();
|
|
756
813
|
}))));
|
|
757
814
|
(_props$input_ref_ = props.input_ref_) === null || _props$input_ref_ === void 0 || _props$input_ref_.call(props, input_el);
|
|
@@ -811,7 +868,7 @@ function $3e850b2f2cca761f$export$ca21a16d65b3dd8(_ref) {
|
|
|
811
868
|
_el$3 = _el$.firstChild,
|
|
812
869
|
[_el$4, _co$] = $8tj43$getNextMarker(_el$3.nextSibling),
|
|
813
870
|
_el$2 = _el$4.nextSibling;
|
|
814
|
-
$8tj43$addEventListener(_el$, "click", $8tj43$
|
|
871
|
+
$8tj43$addEventListener(_el$, "click", $8tj43$catchify1(() => set_show_extras(p => !p)), true);
|
|
815
872
|
$8tj43$insert(_el$, $8tj43$createComponent((0, $ff3225aef892a467$export$f21ab0717a89c77f), {}), _el$4, _co$);
|
|
816
873
|
$8tj43$insert(_el$2, (() => {
|
|
817
874
|
const _c$ = $8tj43$memo(() => !!get_show_extras());
|
|
@@ -909,7 +966,7 @@ function $133484ef10e4e954$export$dd948f91abc3a1c4(_ref) {
|
|
|
909
966
|
i18n_: i18n_
|
|
910
967
|
}) : []);
|
|
911
968
|
});
|
|
912
|
-
$8tj43$createEffect($8tj43$
|
|
969
|
+
$8tj43$createEffect($8tj43$catchify1(async () => {
|
|
913
970
|
if (!togglable_rest()) {
|
|
914
971
|
await collapse();
|
|
915
972
|
return;
|
|
@@ -922,7 +979,7 @@ function $133484ef10e4e954$export$dd948f91abc3a1c4(_ref) {
|
|
|
922
979
|
[_el$3, _co$] = $8tj43$getNextMarker(_el$2.nextSibling),
|
|
923
980
|
_el$4 = _el$3.nextSibling,
|
|
924
981
|
[_el$5, _co$2] = $8tj43$getNextMarker(_el$4.nextSibling);
|
|
925
|
-
$8tj43$addEventListener(_el$, "change", $8tj43$
|
|
982
|
+
$8tj43$addEventListener(_el$, "change", $8tj43$catchify1(() => {
|
|
926
983
|
const set_filter = existing_filter();
|
|
927
984
|
const {
|
|
928
985
|
field: field,
|
|
@@ -1003,7 +1060,7 @@ function $b54fc842e721c9eb$export$430444115f70a734(_ref) {
|
|
|
1003
1060
|
_el$9 = _el$3.nextSibling,
|
|
1004
1061
|
[_el$10, _co$2] = $8tj43$getNextMarker(_el$9.nextSibling);
|
|
1005
1062
|
$8tj43$setAttribute(_el$2, "for", random_selector);
|
|
1006
|
-
$8tj43$addEventListener(_el$4, "change", $8tj43$
|
|
1063
|
+
$8tj43$addEventListener(_el$4, "change", $8tj43$catchify1(() => {
|
|
1007
1064
|
const filter_object = {
|
|
1008
1065
|
op: filter_().op,
|
|
1009
1066
|
field: filter_().field,
|
|
@@ -1076,7 +1133,7 @@ function $1e7465a8ffa97f6c$export$e0d834a0ad870cda(_ref) {
|
|
|
1076
1133
|
});
|
|
1077
1134
|
$8tj43$createComputed(() => {
|
|
1078
1135
|
clearTimeout(debounce_timeout);
|
|
1079
|
-
debounce_timeout = setTimeout($8tj43$
|
|
1136
|
+
debounce_timeout = setTimeout($8tj43$catchify1(range => $8tj43$untrack(() => {
|
|
1080
1137
|
const default_data = filter_().data;
|
|
1081
1138
|
const filter_object = {
|
|
1082
1139
|
op: filter_().op,
|
|
@@ -1154,22 +1211,22 @@ function $1e7465a8ffa97f6c$var$RangeSelector(_ref3) {
|
|
|
1154
1211
|
[_el$22, _co$6] = $8tj43$getNextMarker(_el$21.nextSibling);
|
|
1155
1212
|
const _ref$ = price_input_1;
|
|
1156
1213
|
typeof _ref$ === "function" ? $8tj43$use(_ref$, _el$4) : price_input_1 = _el$4;
|
|
1157
|
-
$8tj43$addEventListener(_el$4, "keydown", $8tj43$
|
|
1214
|
+
$8tj43$addEventListener(_el$4, "keydown", $8tj43$catchify1(_ref4 => {
|
|
1158
1215
|
let {
|
|
1159
1216
|
key: key
|
|
1160
1217
|
} = _ref4;
|
|
1161
1218
|
if (key === "Enter") $1e7465a8ffa97f6c$var$set_range_with_sanitation(min_, max_, current_range_, 0, price_input_1);
|
|
1162
1219
|
}), true);
|
|
1163
|
-
$8tj43$addEventListener(_el$4, "blur", $8tj43$
|
|
1220
|
+
$8tj43$addEventListener(_el$4, "blur", $8tj43$catchify1(() => $1e7465a8ffa97f6c$var$set_range_with_sanitation(min_, max_, current_range_, 0, price_input_1)));
|
|
1164
1221
|
const _ref$2 = price_input_2;
|
|
1165
1222
|
typeof _ref$2 === "function" ? $8tj43$use(_ref$2, _el$7) : price_input_2 = _el$7;
|
|
1166
|
-
$8tj43$addEventListener(_el$7, "keydown", $8tj43$
|
|
1223
|
+
$8tj43$addEventListener(_el$7, "keydown", $8tj43$catchify1(_ref5 => {
|
|
1167
1224
|
let {
|
|
1168
1225
|
key: key
|
|
1169
1226
|
} = _ref5;
|
|
1170
1227
|
if (key === "Enter") $1e7465a8ffa97f6c$var$set_range_with_sanitation(min_, max_, current_range_, 1, price_input_2);
|
|
1171
1228
|
}), true);
|
|
1172
|
-
$8tj43$addEventListener(_el$7, "blur", $8tj43$
|
|
1229
|
+
$8tj43$addEventListener(_el$7, "blur", $8tj43$catchify1(() => $1e7465a8ffa97f6c$var$set_range_with_sanitation(min_, max_, current_range_, 1, price_input_2)));
|
|
1173
1230
|
$8tj43$insert(_el$, $8tj43$createComponent($1e7465a8ffa97f6c$var$ExponentialSlider, {
|
|
1174
1231
|
max_: max_,
|
|
1175
1232
|
min_: min_,
|
|
@@ -1297,7 +1354,7 @@ function $1e7465a8ffa97f6c$var$LinearSlider(_ref9) {
|
|
|
1297
1354
|
return [(() => {
|
|
1298
1355
|
const _el$25 = $8tj43$getNextElement($1e7465a8ffa97f6c$var$_tmpl$2),
|
|
1299
1356
|
_el$26 = _el$25.firstChild;
|
|
1300
|
-
$8tj43$addEventListener(_el$25, "click", $8tj43$
|
|
1357
|
+
$8tj43$addEventListener(_el$25, "click", $8tj43$catchify1(e => {
|
|
1301
1358
|
const rect = clickable_slider.getBoundingClientRect();
|
|
1302
1359
|
const slider_beginning_left = rect.left;
|
|
1303
1360
|
const slider_width = rect.width;
|
|
@@ -1323,12 +1380,12 @@ function $1e7465a8ffa97f6c$var$LinearSlider(_ref9) {
|
|
|
1323
1380
|
range_input_1 = el;
|
|
1324
1381
|
set_value(range_input_1, 0);
|
|
1325
1382
|
}, _el$28);
|
|
1326
|
-
$8tj43$addEventListener(_el$28, "input", $8tj43$
|
|
1383
|
+
$8tj43$addEventListener(_el$28, "input", $8tj43$catchify1(() => $1e7465a8ffa97f6c$var$set_range_with_sanitation(min_, max_, current_range_, 0, range_input_1, offset_value_calculator_)), true);
|
|
1327
1384
|
$8tj43$use(el => {
|
|
1328
1385
|
range_input_2 = el;
|
|
1329
1386
|
set_value(range_input_2, 1);
|
|
1330
1387
|
}, _el$29);
|
|
1331
|
-
$8tj43$addEventListener(_el$29, "input", $8tj43$
|
|
1388
|
+
$8tj43$addEventListener(_el$29, "input", $8tj43$catchify1(() => $1e7465a8ffa97f6c$var$set_range_with_sanitation(min_, max_, current_range_, 1, range_input_2, offset_value_calculator_)), true);
|
|
1332
1389
|
$8tj43$effect(_p$ => {
|
|
1333
1390
|
const _v$7 = i18n_.range_filter_low_point_aria_label_(),
|
|
1334
1391
|
_v$8 = min_(),
|
|
@@ -1401,7 +1458,7 @@ function $457279ff15864cb9$export$e5c2828934226505(_ref) {
|
|
|
1401
1458
|
return _el$;
|
|
1402
1459
|
})();
|
|
1403
1460
|
const [is_in_dom, set_is_in_dom] = $8tj43$createSignal(false);
|
|
1404
|
-
(0, $8tj43$observer).wait_for_element(outer_div).then($8tj43$
|
|
1461
|
+
(0, $8tj43$observer).wait_for_element(outer_div).then($8tj43$catchify1(() => set_is_in_dom(true)));
|
|
1405
1462
|
$8tj43$createEffect(() => {
|
|
1406
1463
|
if (!is_in_dom())
|
|
1407
1464
|
// wait for us to being in DOM as animations don't work otherwise
|
|
@@ -1559,7 +1616,7 @@ function $0ae614c5c7babb43$export$a32086fa6616eafd(_ref) {
|
|
|
1559
1616
|
i18n_: i18n_
|
|
1560
1617
|
}) : []);
|
|
1561
1618
|
});
|
|
1562
|
-
$8tj43$createEffect($8tj43$
|
|
1619
|
+
$8tj43$createEffect($8tj43$catchify1(async () => {
|
|
1563
1620
|
if (!some_top_level_are_hidden()) {
|
|
1564
1621
|
await collapse();
|
|
1565
1622
|
return;
|
|
@@ -1626,7 +1683,7 @@ function $0ae614c5c7babb43$var$render_stuff(data, existing_filter, i18n_) {
|
|
|
1626
1683
|
return (_value$is_checked_$ = (_value6 = value()) === null || _value6 === void 0 ? void 0 : (_value6$is_checked_ = _value6.is_checked_) === null || _value6$is_checked_ === void 0 ? void 0 : (_value6$is_checked_$ = _value6$is_checked_[0]) === null || _value6$is_checked_$ === void 0 ? void 0 : _value6$is_checked_$.call(_value6$is_checked_)) !== null && _value$is_checked_$ !== void 0 ? _value$is_checked_$ : false;
|
|
1627
1684
|
},
|
|
1628
1685
|
input_ref_: input => {
|
|
1629
|
-
input.addEventListener("change", $8tj43$
|
|
1686
|
+
input.addEventListener("change", $8tj43$catchify1(() => $8tj43$untrack(() => {
|
|
1630
1687
|
var _value8;
|
|
1631
1688
|
const {
|
|
1632
1689
|
checked: checked
|
|
@@ -1725,7 +1782,7 @@ function $0ae614c5c7babb43$var$batching_filter_state_syncer(props) {
|
|
|
1725
1782
|
existing_filter_: existing_filter_
|
|
1726
1783
|
} = props;
|
|
1727
1784
|
let sync_queued = false;
|
|
1728
|
-
const sync_fn = $8tj43$
|
|
1785
|
+
const sync_fn = $8tj43$catchify1(async () => {
|
|
1729
1786
|
sync_queued = false;
|
|
1730
1787
|
// if we change, update filter state - next microtask, so that "reactions" to the change can process before we send it off to the API
|
|
1731
1788
|
const set_filter = existing_filter_();
|
|
@@ -1787,13 +1844,13 @@ function $0ae614c5c7babb43$var$create_updating_signal(_ref3) {
|
|
|
1787
1844
|
$8tj43$createComputed($8tj43$on(read_checked, trigger_sync_, {
|
|
1788
1845
|
defer: true
|
|
1789
1846
|
}));
|
|
1790
|
-
$8tj43$createComputed($8tj43$on(read_checked, $8tj43$
|
|
1847
|
+
$8tj43$createComputed($8tj43$on(read_checked, $8tj43$catchify1(new_value => {
|
|
1791
1848
|
if (updating_blocked) return;
|
|
1792
1849
|
for (const child of child_objects) child.is_checked_[1](new_value);
|
|
1793
1850
|
}), {
|
|
1794
1851
|
defer: true
|
|
1795
1852
|
}));
|
|
1796
|
-
$8tj43$createEffect($8tj43$on(get_child_object_values, $8tj43$
|
|
1853
|
+
$8tj43$createEffect($8tj43$on(get_child_object_values, $8tj43$catchify1(() => {
|
|
1797
1854
|
const all_kids_checked = get_child_object_values.every(accessor => accessor());
|
|
1798
1855
|
if (all_kids_checked === read_checked()) return;
|
|
1799
1856
|
updating_blocked = true;
|
|
@@ -1934,7 +1991,7 @@ const $830ea8efda59884e$export$414f6a19d38e655c = _ref => {
|
|
|
1934
1991
|
});
|
|
1935
1992
|
return (() => {
|
|
1936
1993
|
const _el$2 = $8tj43$getNextElement($830ea8efda59884e$var$_tmpl$2);
|
|
1937
|
-
$8tj43$addEventListener(_el$2, "click", $8tj43$
|
|
1994
|
+
$8tj43$addEventListener(_el$2, "click", $8tj43$catchify1(() => {
|
|
1938
1995
|
const set_filter = existing_filter();
|
|
1939
1996
|
const {
|
|
1940
1997
|
field: field,
|
|
@@ -2103,7 +2160,7 @@ function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
|
|
|
2103
2160
|
i18n_: i18n_
|
|
2104
2161
|
}) : []);
|
|
2105
2162
|
});
|
|
2106
|
-
$8tj43$createEffect($8tj43$
|
|
2163
|
+
$8tj43$createEffect($8tj43$catchify1(async () => {
|
|
2107
2164
|
if (!togglable_rest()) {
|
|
2108
2165
|
await collapse();
|
|
2109
2166
|
set_having_expanding_in_dom(false); // Once animation has finished, remove expanding from DOM
|
|
@@ -2118,7 +2175,7 @@ function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
|
|
|
2118
2175
|
[_el$3, _co$] = $8tj43$getNextMarker(_el$2.nextSibling),
|
|
2119
2176
|
_el$4 = _el$3.nextSibling,
|
|
2120
2177
|
[_el$5, _co$2] = $8tj43$getNextMarker(_el$4.nextSibling);
|
|
2121
|
-
$8tj43$addEventListener(_el$, "change", $8tj43$
|
|
2178
|
+
$8tj43$addEventListener(_el$, "change", $8tj43$catchify1(() => {
|
|
2122
2179
|
const set_filter = existing_filter();
|
|
2123
2180
|
const {
|
|
2124
2181
|
field: field,
|
|
@@ -2532,7 +2589,7 @@ function $f6b0500577e1b210$var$ActualFilterBody(props) {
|
|
|
2532
2589
|
_el$7 = _el$5.firstChild,
|
|
2533
2590
|
[_el$8, _co$] = $8tj43$getNextMarker(_el$7.nextSibling),
|
|
2534
2591
|
_el$6 = _el$8.nextSibling;
|
|
2535
|
-
$8tj43$addEventListener(_el$5, "click", $8tj43$
|
|
2592
|
+
$8tj43$addEventListener(_el$5, "click", $8tj43$catchify1(() => {
|
|
2536
2593
|
const new_filter_obj = [...props.selected_filters_[0]()];
|
|
2537
2594
|
for (const filter of filter_array_()) {
|
|
2538
2595
|
const index = new_filter_obj.findIndex(_ref2 => {
|
|
@@ -2604,7 +2661,7 @@ function $f6b0500577e1b210$var$ActualFilterBody(props) {
|
|
|
2604
2661
|
},
|
|
2605
2662
|
get children() {
|
|
2606
2663
|
const _el$25 = $8tj43$getNextElement($f6b0500577e1b210$var$_tmpl$8);
|
|
2607
|
-
$8tj43$addEventListener(_el$25, "click", $8tj43$
|
|
2664
|
+
$8tj43$addEventListener(_el$25, "click", $8tj43$catchify1(() => $b4465d8d605f61e9$export$8895d39404bd2bb1({
|
|
2608
2665
|
user_triggered_: true,
|
|
2609
2666
|
selected_filters_: props.selected_filters_,
|
|
2610
2667
|
i18n_: props.i18n_,
|
|
@@ -2835,7 +2892,7 @@ function $63f1f8dbcd07d3b0$var$ActualSolidLayout(props, container_element) {
|
|
|
2835
2892
|
const view_less_button_class = $8tj43$make_random_classname();
|
|
2836
2893
|
const view_more_button_container = $8tj43$createMemo(() => have_a_view_more_button() && (() => {
|
|
2837
2894
|
const _el$2 = $8tj43$getNextElement($63f1f8dbcd07d3b0$var$_tmpl$);
|
|
2838
|
-
$8tj43$addEventListener(_el$2, "click", $8tj43$
|
|
2895
|
+
$8tj43$addEventListener(_el$2, "click", $8tj43$catchify1(() => set_rows_visible()(prev => {
|
|
2839
2896
|
var _rows_or_empty_object2;
|
|
2840
2897
|
return prev + ((_rows_or_empty_object2 = rows_or_empty_object().rows_per_click) !== null && _rows_or_empty_object2 !== void 0 ? _rows_or_empty_object2 : 1);
|
|
2841
2898
|
})), true);
|
|
@@ -2847,7 +2904,7 @@ function $63f1f8dbcd07d3b0$var$ActualSolidLayout(props, container_element) {
|
|
|
2847
2904
|
// We need to have duplicate buttons because which ones is shown depends on the number of rows visible and therefore on the viewport size and therefore on the css media queries
|
|
2848
2905
|
const view_less_button_container = $8tj43$createMemo(() => have_a_view_less_button() && (() => {
|
|
2849
2906
|
const _el$3 = $8tj43$getNextElement($63f1f8dbcd07d3b0$var$_tmpl$);
|
|
2850
|
-
$8tj43$addEventListener(_el$3, "click", $8tj43$
|
|
2907
|
+
$8tj43$addEventListener(_el$3, "click", $8tj43$catchify1(() => set_rows_visible()(() => {
|
|
2851
2908
|
var _rows_or_empty_object3;
|
|
2852
2909
|
return (_rows_or_empty_object3 = rows_or_empty_object().start_rows) !== null && _rows_or_empty_object3 !== void 0 ? _rows_or_empty_object3 : 1;
|
|
2853
2910
|
})), true);
|
|
@@ -2871,7 +2928,7 @@ function $63f1f8dbcd07d3b0$var$ActualSolidLayout(props, container_element) {
|
|
|
2871
2928
|
return;
|
|
2872
2929
|
}
|
|
2873
2930
|
update_children_count();
|
|
2874
|
-
const mutation_observer = new MutationObserver($8tj43$
|
|
2931
|
+
const mutation_observer = new MutationObserver($8tj43$catchify1(update_children_count));
|
|
2875
2932
|
mutation_observer.observe(container_element, {
|
|
2876
2933
|
childList: true
|
|
2877
2934
|
});
|
|
@@ -2937,7 +2994,7 @@ async function $d5f1e6a0f9117286$export$79b1565500412d9b(search_modal, modal_fn_
|
|
|
2937
2994
|
actually_close();else if (!animation_started && closing_animation) {
|
|
2938
2995
|
var _catchify;
|
|
2939
2996
|
animation_started = +new Date();
|
|
2940
|
-
(_catchify = $8tj43$
|
|
2997
|
+
(_catchify = $8tj43$catchify1(closing_animation)()) === null || _catchify === void 0 || _catchify.then($8tj43$catchify1(actually_close));
|
|
2941
2998
|
} else actually_close();
|
|
2942
2999
|
};
|
|
2943
3000
|
return search_modal({
|
|
@@ -2979,7 +3036,7 @@ async function $5c5732ef44f05b26$export$58e808b1db15d3bc(_ref) {
|
|
|
2979
3036
|
function $972f6bce0f9d61be$export$e183a13865960371(params_to_default_value, router_) {
|
|
2980
3037
|
const signals = {};
|
|
2981
3038
|
const entries = Object.entries(params_to_default_value);
|
|
2982
|
-
const event_handler = $8tj43$
|
|
3039
|
+
const event_handler = $8tj43$catchify1((what_happened, args) => {
|
|
2983
3040
|
if (what_happened == "popstate") $972f6bce0f9d61be$var$history_state_change(signals, entries, args.state);
|
|
2984
3041
|
});
|
|
2985
3042
|
// createRenderEffect because we need the instant execution so the signals always contain values, even before solid's render phase
|
|
@@ -3004,8 +3061,8 @@ function $972f6bce0f9d61be$export$e183a13865960371(params_to_default_value, rout
|
|
|
3004
3061
|
});
|
|
3005
3062
|
// history_dot_state_to_state needs to update after its signals after url_state does BUT in the same task (might even have to be in the same tick in the microtask queue). If we'd use window.addEventListener("popstate") it would be guaranteed to be too late since each event listener has its own task
|
|
3006
3063
|
(0, $8tj43$instant_exec_on_suspect_history_change).add(event_handler);
|
|
3007
|
-
$8tj43$onCleanup($8tj43$
|
|
3008
|
-
$8tj43$createEffect($8tj43$
|
|
3064
|
+
$8tj43$onCleanup($8tj43$catchify1(() => (0, $8tj43$instant_exec_on_suspect_history_change).delete(event_handler)));
|
|
3065
|
+
$8tj43$createEffect($8tj43$catchify1(() => $8tj43$untrack($8tj43$catchify1(() => $972f6bce0f9d61be$var$history_state_change(signals, entries, history.state))))); // we need this to run after reading the initial state from history.state to write the defaults to history.state
|
|
3009
3066
|
return signals;
|
|
3010
3067
|
}
|
|
3011
3068
|
function $972f6bce0f9d61be$var$history_state_change(signals, entries, state) {
|
|
@@ -3259,7 +3316,7 @@ function $284849364a6ef73a$var$_get_cache_obj_for_endpoint2(endpoint) {
|
|
|
3259
3316
|
return (_classPrivateFieldGet5 = $8tj43$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_cache_objs))[endpoint] || (_classPrivateFieldGet5[endpoint] = {
|
|
3260
3317
|
in_progress_: {},
|
|
3261
3318
|
cache_: {},
|
|
3262
|
-
finalization_registry_: $8tj43$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_supports_finalization_registry) ? new FinalizationRegistry($8tj43$
|
|
3319
|
+
finalization_registry_: $8tj43$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_supports_finalization_registry) ? new FinalizationRegistry($8tj43$catchify1(key => {
|
|
3263
3320
|
const our_cache = $8tj43$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_cache_objs)[endpoint].cache_;
|
|
3264
3321
|
$8tj43$dlog("[Search API]: removing", key, "from", our_cache);
|
|
3265
3322
|
delete our_cache[key];
|
|
@@ -3396,11 +3453,11 @@ async function $284849364a6ef73a$var$_cached_post_request2(endpoint, input_req,
|
|
|
3396
3453
|
result = $ed0fefda39a0f15d$export$967e966fca9515e(result);
|
|
3397
3454
|
cache_obj.cache_[body] = new WeakRef(result);
|
|
3398
3455
|
resolve_in_progress(result);
|
|
3399
|
-
setTimeout($8tj43$
|
|
3456
|
+
setTimeout($8tj43$catchify1(() => {
|
|
3400
3457
|
if ($8tj43$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_supports_finalization_registry)) cache_obj.finalization_registry_.register(result, body); // delete key from cache when value (WeakRefs) are collected
|
|
3401
3458
|
else
|
|
3402
3459
|
// delete things from cache after 5 minutes, so it doesn't get too heavy
|
|
3403
|
-
setTimeout($8tj43$
|
|
3460
|
+
setTimeout($8tj43$catchify1(() => delete cache_obj.cache_[body]), 300000);
|
|
3404
3461
|
}), 60000 // cache values for at least 60 seconds
|
|
3405
3462
|
);
|
|
3406
3463
|
|
|
@@ -3491,7 +3548,7 @@ function $43fbdca0f726a34b$export$92f2da32c6e7e7ee(_ref) {
|
|
|
3491
3548
|
}
|
|
3492
3549
|
function $33e7d1906c93db7d$export$205efb947c7ffd78(handler) {
|
|
3493
3550
|
let passive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
3494
|
-
const catchified_handler = $8tj43$
|
|
3551
|
+
const catchified_handler = $8tj43$catchify1(handler);
|
|
3495
3552
|
const owner = $8tj43$getOwner();
|
|
3496
3553
|
// Some customers (e.g. equestrian) have `height: 100%` and/or `overflow-x: hidden` on the body, which means that scroll events won't get dispatched on `window`. The pages who get it on <body> won't get it on `window` and vice-versa, so there shouldn't be a worry about duplicate calling of the handler.
|
|
3497
3554
|
// Use observer in case that this gets called before body exists
|
|
@@ -3610,7 +3667,7 @@ function $b69740fc6de9f17e$export$83fd5de5504a7a67(_ref) {
|
|
|
3610
3667
|
fill: "forwards",
|
|
3611
3668
|
easing: "ease-in-out"
|
|
3612
3669
|
});
|
|
3613
|
-
animation.addEventListener("finish", $8tj43$
|
|
3670
|
+
animation.addEventListener("finish", $8tj43$catchify1(() => {
|
|
3614
3671
|
if (unpermit_when_possible) set_permitted_to_show(false);
|
|
3615
3672
|
animation = undefined;
|
|
3616
3673
|
element.style.display = "none";
|
|
@@ -3672,7 +3729,7 @@ function $94af29837186eb21$export$ef6006467f04ee41(_ref) {
|
|
|
3672
3729
|
},
|
|
3673
3730
|
get children() {
|
|
3674
3731
|
const _el$3 = $8tj43$getNextElement($94af29837186eb21$var$_tmpl$);
|
|
3675
|
-
$8tj43$addEventListener(_el$3, "click", $8tj43$
|
|
3732
|
+
$8tj43$addEventListener(_el$3, "click", $8tj43$catchify1(() => $8tj43$runWithOwner(root, () => $b4465d8d605f61e9$export$8895d39404bd2bb1({
|
|
3676
3733
|
user_triggered_: true,
|
|
3677
3734
|
selected_filters_: selected_filters_,
|
|
3678
3735
|
also_clear_sorting_: false,
|
|
@@ -3812,7 +3869,7 @@ function $6d2962bc9370f884$export$5e4aed86c12acdd9(_ref) {
|
|
|
3812
3869
|
last_loaded = +new Date();
|
|
3813
3870
|
is_first_load = true;
|
|
3814
3871
|
});
|
|
3815
|
-
$8tj43$createEffect($8tj43$
|
|
3872
|
+
$8tj43$createEffect($8tj43$catchify1(async () => {
|
|
3816
3873
|
const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
|
|
3817
3874
|
if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
|
|
3818
3875
|
if (!get_last_cursor()) {
|
|
@@ -3985,7 +4042,7 @@ function $45a8953d760b5e58$export$a1fd619a4743ca08(_ref) {
|
|
|
3985
4042
|
const target_to_index_map = new Map();
|
|
3986
4043
|
const index_to_target_map_ = new Map();
|
|
3987
4044
|
const currently_intersecting = new Set();
|
|
3988
|
-
const intersection_observer = new IntersectionObserver($8tj43$
|
|
4045
|
+
const intersection_observer = new IntersectionObserver($8tj43$catchify1(records => {
|
|
3989
4046
|
for (let i = 0; i < records.length; i++) {
|
|
3990
4047
|
const record = records[i];
|
|
3991
4048
|
const {
|
|
@@ -4322,7 +4379,7 @@ function $cfdbd124dd09d713$export$1f1775a58da589b5(_ref) {
|
|
|
4322
4379
|
_el$13 = _el$12.nextSibling,
|
|
4323
4380
|
_el$14 = _el$13.nextSibling,
|
|
4324
4381
|
[_el$15, _co$2] = $8tj43$getNextMarker(_el$14.nextSibling);
|
|
4325
|
-
$8tj43$addEventListener(_el$12, "change", $8tj43$
|
|
4382
|
+
$8tj43$addEventListener(_el$12, "change", $8tj43$catchify1(() => set_current_sorting(item())));
|
|
4326
4383
|
$8tj43$setAttribute(_el$12, "name", title_radio_name);
|
|
4327
4384
|
$8tj43$insert(_el$11, () => item().meta.title, _el$15, _co$2);
|
|
4328
4385
|
$8tj43$effect(() => _el$12.checked = is_checked());
|
|
@@ -4356,7 +4413,7 @@ function $cfdbd124dd09d713$export$1f1775a58da589b5(_ref) {
|
|
|
4356
4413
|
_el$19 = _el$18.nextSibling,
|
|
4357
4414
|
_el$20 = _el$19.nextSibling,
|
|
4358
4415
|
[_el$21, _co$3] = $8tj43$getNextMarker(_el$20.nextSibling);
|
|
4359
|
-
$8tj43$addEventListener(_el$18, "change", $8tj43$
|
|
4416
|
+
$8tj43$addEventListener(_el$18, "change", $8tj43$catchify1(() => set_current_sorting(c => c && {
|
|
4360
4417
|
...c,
|
|
4361
4418
|
order: order_value()
|
|
4362
4419
|
})));
|
|
@@ -4387,7 +4444,7 @@ function $e56d241d0f33d459$export$fe334901e8bebd57() {
|
|
|
4387
4444
|
offset: 0
|
|
4388
4445
|
}, 1);
|
|
4389
4446
|
animation.pause();
|
|
4390
|
-
const fn = $8tj43$
|
|
4447
|
+
const fn = $8tj43$catchify1(animation.play.bind(animation));
|
|
4391
4448
|
cleanup_fns.push(fn);
|
|
4392
4449
|
$8tj43$onCleanup(fn);
|
|
4393
4450
|
} catch (e) {
|
|
@@ -4398,7 +4455,7 @@ function $e56d241d0f33d459$export$fe334901e8bebd57() {
|
|
|
4398
4455
|
const style = element.style;
|
|
4399
4456
|
const original_value = style.overflow;
|
|
4400
4457
|
style.overflow = "hidden";
|
|
4401
|
-
const fn = $8tj43$
|
|
4458
|
+
const fn = $8tj43$catchify1(() => style.overflow = original_value);
|
|
4402
4459
|
cleanup_fns.push(fn);
|
|
4403
4460
|
$8tj43$onCleanup(fn);
|
|
4404
4461
|
}
|
|
@@ -4484,7 +4541,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
4484
4541
|
set_search_sorting_open(true);
|
|
4485
4542
|
}
|
|
4486
4543
|
});
|
|
4487
|
-
$8tj43$onCleanup($8tj43$
|
|
4544
|
+
$8tj43$onCleanup($8tj43$catchify1(() => {
|
|
4488
4545
|
if (!sorting_expanded() && !filters_expanded()) {
|
|
4489
4546
|
set_search_filters_open(false);
|
|
4490
4547
|
set_search_sorting_open(false);
|
|
@@ -4516,7 +4573,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
4516
4573
|
_el$12 = _el$14.nextSibling;
|
|
4517
4574
|
$8tj43$use(el => {
|
|
4518
4575
|
background = el;
|
|
4519
|
-
(0, $8tj43$observer).wait_for_element(el).then($8tj43$
|
|
4576
|
+
(0, $8tj43$observer).wait_for_element(el).then($8tj43$catchify1(() => {
|
|
4520
4577
|
set_background_style("transition", "all 200ms ease-in");
|
|
4521
4578
|
set_background_style("opacity", "1");
|
|
4522
4579
|
}));
|
|
@@ -4524,7 +4581,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
4524
4581
|
$8tj43$addEventListener(_el$2, "click", dismiss_modal_, true);
|
|
4525
4582
|
$8tj43$use(el => {
|
|
4526
4583
|
dismiss_button = el;
|
|
4527
|
-
(0, $8tj43$observer).wait_for_element(el).then($8tj43$
|
|
4584
|
+
(0, $8tj43$observer).wait_for_element(el).then($8tj43$catchify1(() => {
|
|
4528
4585
|
set_button_style("transition", "all 200ms ease-in");
|
|
4529
4586
|
set_button_fraction_in(1);
|
|
4530
4587
|
}));
|
|
@@ -4558,7 +4615,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
4558
4615
|
let last_move_page_y = start_page_y;
|
|
4559
4616
|
let first_move_was_downwards = false;
|
|
4560
4617
|
let distance_from_start_of_gesture = 0;
|
|
4561
|
-
const end_handler = $8tj43$
|
|
4618
|
+
const end_handler = $8tj43$catchify1(e => {
|
|
4562
4619
|
const changedTouches = e === null || e === void 0 ? void 0 : e.changedTouches;
|
|
4563
4620
|
if (changedTouches && changedTouches[0].identifier !== our_fingers_identifier)
|
|
4564
4621
|
// other finger stopped touch, ignore it
|
|
@@ -4582,7 +4639,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
4582
4639
|
modal.removeEventListener("touchcancel", end_handler);
|
|
4583
4640
|
modal.removeEventListener("touchmove", move_handler);
|
|
4584
4641
|
});
|
|
4585
|
-
const move_handler = $8tj43$
|
|
4642
|
+
const move_handler = $8tj43$catchify1(e => {
|
|
4586
4643
|
const {
|
|
4587
4644
|
changedTouches: changedTouches
|
|
4588
4645
|
} = e;
|
|
@@ -4632,7 +4689,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
4632
4689
|
};
|
|
4633
4690
|
$8tj43$use(el => {
|
|
4634
4691
|
modal = el;
|
|
4635
|
-
(0, $8tj43$observer).wait_for_element(el).then($8tj43$
|
|
4692
|
+
(0, $8tj43$observer).wait_for_element(el).then($8tj43$catchify1(() => {
|
|
4636
4693
|
set_modal_style("transition", "all 200ms ease-in");
|
|
4637
4694
|
set_modal_style("transform", "translateY(0)");
|
|
4638
4695
|
}));
|
|
@@ -4718,7 +4775,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
4718
4775
|
},
|
|
4719
4776
|
get children() {
|
|
4720
4777
|
const _el$11 = $8tj43$getNextElement($082c4ed3e22f8d71$var$_tmpl$);
|
|
4721
|
-
$8tj43$addEventListener(_el$11, "click", $8tj43$
|
|
4778
|
+
$8tj43$addEventListener(_el$11, "click", $8tj43$catchify1(() => {
|
|
4722
4779
|
const show_toast = $b4465d8d605f61e9$export$8895d39404bd2bb1({
|
|
4723
4780
|
user_triggered_: true,
|
|
4724
4781
|
expanded_hierarchical_filters_: args_for_filtering_.expanded_hierarchical_filters_,
|
|
@@ -4728,7 +4785,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
4728
4785
|
also_clear_sorting_: false,
|
|
4729
4786
|
delay_toast_: true
|
|
4730
4787
|
});
|
|
4731
|
-
cleanup_promise.then($8tj43$
|
|
4788
|
+
cleanup_promise.then($8tj43$catchify1(show_toast));
|
|
4732
4789
|
}), true);
|
|
4733
4790
|
$8tj43$insert(_el$11, () => i18n_.clear_individual_filter_());
|
|
4734
4791
|
$8tj43$runHydrationEvents();
|
|
@@ -4802,7 +4859,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
4802
4859
|
const [sorting_open, set_sorting_open] = search_sorting_open_;
|
|
4803
4860
|
const [get_current_sorting_] = current_sorting_;
|
|
4804
4861
|
const [is_small, set_is_small] = $8tj43$createSignal(false);
|
|
4805
|
-
const dismiss_modal_ = $8tj43$
|
|
4862
|
+
const dismiss_modal_ = $8tj43$catchify1(() => {
|
|
4806
4863
|
set_filters_open(false);
|
|
4807
4864
|
set_sorting_open(false);
|
|
4808
4865
|
});
|
|
@@ -4900,7 +4957,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
4900
4957
|
})());
|
|
4901
4958
|
}
|
|
4902
4959
|
});
|
|
4903
|
-
$8tj43$
|
|
4960
|
+
$8tj43$catchify1(async () => {
|
|
4904
4961
|
({
|
|
4905
4962
|
open_modal_: open_modal_,
|
|
4906
4963
|
close_modal_: close_modal_
|
|
@@ -4981,7 +5038,7 @@ function $7396052a1484264f$var$OpenFiltersButton(_ref3) {
|
|
|
4981
5038
|
return _el$15;
|
|
4982
5039
|
}
|
|
4983
5040
|
}), _el$21, _co$5);
|
|
4984
|
-
$8tj43$addEventListener(_el$16, "click", $8tj43$
|
|
5041
|
+
$8tj43$addEventListener(_el$16, "click", $8tj43$catchify1(() => $8tj43$batch(() => {
|
|
4985
5042
|
if (search_filters_open_[0]()) {
|
|
4986
5043
|
search_filters_open_[1](false);
|
|
4987
5044
|
return;
|
|
@@ -5043,7 +5100,7 @@ function $7396052a1484264f$var$OpenSortingButton(_ref4) {
|
|
|
5043
5100
|
_el$23 = _el$22.firstChild,
|
|
5044
5101
|
_el$24 = _el$23.nextSibling,
|
|
5045
5102
|
[_el$25, _co$6] = $8tj43$getNextMarker(_el$24.nextSibling);
|
|
5046
|
-
$8tj43$addEventListener(_el$22, "click", $8tj43$
|
|
5103
|
+
$8tj43$addEventListener(_el$22, "click", $8tj43$catchify1(() => $8tj43$batch(() => {
|
|
5047
5104
|
if (search_sorting_open_[0]()) {
|
|
5048
5105
|
search_sorting_open_[1](false);
|
|
5049
5106
|
return;
|
|
@@ -5161,7 +5218,7 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
|
|
|
5161
5218
|
}
|
|
5162
5219
|
old_pos = new_pos;
|
|
5163
5220
|
});
|
|
5164
|
-
const touchstart_handler = $8tj43$
|
|
5221
|
+
const touchstart_handler = $8tj43$catchify1(e => {
|
|
5165
5222
|
is_in_touch_scroll = true;
|
|
5166
5223
|
if (e.touches.length === 1) {
|
|
5167
5224
|
// we had no touches but then we got some. Adding a new touch cancels the inertia. We are in a new touch so do reset the diff
|
|
@@ -5169,12 +5226,12 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
|
|
|
5169
5226
|
diff_over_second_or_touch = 0;
|
|
5170
5227
|
}
|
|
5171
5228
|
});
|
|
5172
|
-
const touchend_handler = $8tj43$
|
|
5229
|
+
const touchend_handler = $8tj43$catchify1(e => {
|
|
5173
5230
|
if (e.touches.length === 0)
|
|
5174
5231
|
// scroll gesture of any type (pinch can also be used as scroll, etc.) ended
|
|
5175
5232
|
inertia_timeout = setTimeout(
|
|
5176
5233
|
// inertia ends after 500ms (educated guess)
|
|
5177
|
-
$8tj43$
|
|
5234
|
+
$8tj43$catchify1(() => {
|
|
5178
5235
|
is_in_touch_scroll = false;
|
|
5179
5236
|
diff_over_second_or_touch = 0;
|
|
5180
5237
|
}), 500);
|
|
@@ -5192,9 +5249,9 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
|
|
|
5192
5249
|
const everything_closed = !get_search_filters_open_() && !get_search_sorting_open_();
|
|
5193
5250
|
if (!$8tj43$untrack(modal_is_closed) && everything_closed)
|
|
5194
5251
|
// I think the point of this is to delay the animation a bit IIRC
|
|
5195
|
-
timeout = setTimeout($8tj43$
|
|
5252
|
+
timeout = setTimeout($8tj43$catchify1(() => set_if_modal_is_closed(true)), 200);else set_if_modal_is_closed(everything_closed);
|
|
5196
5253
|
});
|
|
5197
|
-
$8tj43$createComputed($8tj43$
|
|
5254
|
+
$8tj43$createComputed($8tj43$catchify1(async () => {
|
|
5198
5255
|
const element = sort_and_filter_element_();
|
|
5199
5256
|
if (!element) return;
|
|
5200
5257
|
await (0, $8tj43$observer).wait_for_element(element);
|
|
@@ -5213,12 +5270,12 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
|
|
|
5213
5270
|
_el$5 = _el$4.firstChild,
|
|
5214
5271
|
_el$6 = _el$4.nextSibling,
|
|
5215
5272
|
_el$7 = _el$6.firstChild;
|
|
5216
|
-
$8tj43$addEventListener(_el$2, "click", $8tj43$
|
|
5273
|
+
$8tj43$addEventListener(_el$2, "click", $8tj43$catchify1(() => {
|
|
5217
5274
|
set_search_filters_open_(true);
|
|
5218
5275
|
set_search_sorting_open_(false);
|
|
5219
5276
|
}), true);
|
|
5220
5277
|
$8tj43$insert(_el$3, $8tj43$createComponent((0, $05f67356defcdd65$export$28f6150e232898de), {}));
|
|
5221
|
-
$8tj43$addEventListener(_el$4, "click", $8tj43$
|
|
5278
|
+
$8tj43$addEventListener(_el$4, "click", $8tj43$catchify1(() => {
|
|
5222
5279
|
set_search_filters_open_(false);
|
|
5223
5280
|
set_search_sorting_open_(true);
|
|
5224
5281
|
}), true);
|
|
@@ -5229,7 +5286,7 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
|
|
|
5229
5286
|
});
|
|
5230
5287
|
return () => _c$() ? $8tj43$createComponent((0, $79af35736fe8e5c8$export$da32f7add8a22e86), {}) : $8tj43$createComponent((0, $73e3c96bc365e0e9$export$d10e63059ddb9fd4), {});
|
|
5231
5288
|
})());
|
|
5232
|
-
$8tj43$addEventListener(_el$6, "click", $8tj43$
|
|
5289
|
+
$8tj43$addEventListener(_el$6, "click", $8tj43$catchify1(() => scrollTo({
|
|
5233
5290
|
top: 0,
|
|
5234
5291
|
behavior: "smooth"
|
|
5235
5292
|
})), true);
|
|
@@ -5446,6 +5503,7 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
5446
5503
|
} = _ref;
|
|
5447
5504
|
const placeholder_crumb_data = [,,,];
|
|
5448
5505
|
const crumb_data = $8tj43$createMemo(() => get_api_crumb_data() || placeholder_crumb_data);
|
|
5506
|
+
const href_accessor = $8tj43$use_href_accessor();
|
|
5449
5507
|
return $8tj43$createComponent((0, $74777e8fe65b3dcb$export$b69d0d92862de18b), {
|
|
5450
5508
|
severity_: "error",
|
|
5451
5509
|
message_: "BreadCrumbs failed",
|
|
@@ -5456,14 +5514,19 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
5456
5514
|
return crumb_data();
|
|
5457
5515
|
},
|
|
5458
5516
|
children: (display_accessor, index) => {
|
|
5459
|
-
const
|
|
5517
|
+
const is_last = $8tj43$createMemo(() => {
|
|
5518
|
+
var _crumb_data;
|
|
5519
|
+
return index === ((_crumb_data = crumb_data()) === null || _crumb_data === void 0 ? void 0 : _crumb_data.length) - 1;
|
|
5520
|
+
});
|
|
5521
|
+
const url = $8tj43$createMemo(() => {
|
|
5460
5522
|
var _display_accessor;
|
|
5461
|
-
return
|
|
5462
|
-
to_url_: (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url,
|
|
5463
|
-
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
5464
|
-
sorting_query_param_: sorting_query_param_
|
|
5465
|
-
});
|
|
5523
|
+
return is_last() ? href_accessor() : (_display_accessor = display_accessor()) === null || _display_accessor === void 0 ? void 0 : _display_accessor.page_url;
|
|
5466
5524
|
});
|
|
5525
|
+
const href = $8tj43$createMemo(() => $2855bffe06ef7a03$export$43cd1e747fecd42e({
|
|
5526
|
+
to_url_: url(),
|
|
5527
|
+
filter_query_param_prefix_: filter_query_param_prefix_,
|
|
5528
|
+
sorting_query_param_: sorting_query_param_
|
|
5529
|
+
}));
|
|
5467
5530
|
return [$8tj43$createComponent((0, $8tj43$Show), {
|
|
5468
5531
|
get when() {
|
|
5469
5532
|
return display_accessor();
|
|
@@ -5476,7 +5539,7 @@ function $52efc9ae4382e25a$export$5646050d516e06bc(_ref) {
|
|
|
5476
5539
|
},
|
|
5477
5540
|
get children() {
|
|
5478
5541
|
const _el$2 = $8tj43$getNextElement($52efc9ae4382e25a$var$_tmpl$2);
|
|
5479
|
-
$8tj43$addEventListener(_el$2, "click", $8tj43$
|
|
5542
|
+
$8tj43$addEventListener(_el$2, "click", $8tj43$catchify1(ev => {
|
|
5480
5543
|
var _display_accessor2;
|
|
5481
5544
|
return router_.navigate_.go_to_({
|
|
5482
5545
|
new_url_: href(),
|
|
@@ -5556,7 +5619,7 @@ function $43fbb365ed0ac99e$export$466cdc317043f6cb(_ref) {
|
|
|
5556
5619
|
$8tj43$createComputed(() => {
|
|
5557
5620
|
var _place_holdey_quickli, _place_holdey_quickli2;
|
|
5558
5621
|
if ((_place_holdey_quickli = place_holdey_quicklinks_data()) !== null && _place_holdey_quickli !== void 0 && (_place_holdey_quickli2 = _place_holdey_quickli[0]) !== null && _place_holdey_quickli2 !== void 0 && _place_holdey_quickli2.query_id) {
|
|
5559
|
-
if (last_was_placeholder) queueMicrotask($8tj43$
|
|
5622
|
+
if (last_was_placeholder) queueMicrotask($8tj43$catchify1(() => {
|
|
5560
5623
|
var _sliding_element;
|
|
5561
5624
|
(_sliding_element = sliding_element) === null || _sliding_element === void 0 || _sliding_element.scrollTo({
|
|
5562
5625
|
left: 0
|
|
@@ -5626,7 +5689,7 @@ function $43fbb365ed0ac99e$export$466cdc317043f6cb(_ref) {
|
|
|
5626
5689
|
} else if (!(((_intersecting_items_o = intersecting_items_object[selected_index()]) === null || _intersecting_items_o === void 0 ? void 0 : _intersecting_items_o.intersectionRatio) >= 0.95)) {
|
|
5627
5690
|
// negated larger than to handle left side of comparison being undefined
|
|
5628
5691
|
let done_work = false;
|
|
5629
|
-
$8tj43$runWithOwner(owner, () => $8tj43$createComputed($8tj43$
|
|
5692
|
+
$8tj43$runWithOwner(owner, () => $8tj43$createComputed($8tj43$catchify1(() => {
|
|
5630
5693
|
if (done_work || !Array.isArray(quicklinks_data_())) return;
|
|
5631
5694
|
const sel_index = selected_index();
|
|
5632
5695
|
const target_element = sel_index >= 0 ? sel_index : 0;
|
|
@@ -5682,7 +5745,7 @@ function $43fbb365ed0ac99e$export$466cdc317043f6cb(_ref) {
|
|
|
5682
5745
|
});
|
|
5683
5746
|
return (() => {
|
|
5684
5747
|
const _el$3 = $8tj43$getNextElement($43fbb365ed0ac99e$var$_tmpl$3);
|
|
5685
|
-
$8tj43$addEventListener(_el$3, "click", $8tj43$
|
|
5748
|
+
$8tj43$addEventListener(_el$3, "click", $8tj43$catchify1(ev => {
|
|
5686
5749
|
const url = href();
|
|
5687
5750
|
if (is_selected() && !ev.metaKey && !ev.ctrlKey && !ev.button || !url)
|
|
5688
5751
|
// allow open currently selected one in new tab but otherwise prevent clicks
|
|
@@ -5748,7 +5811,7 @@ function $5e6abec0dab4e610$export$6e49da55e449af7c(_ref) {
|
|
|
5748
5811
|
}]); // get rid of old data the browser saves the old state and will restore it later on
|
|
5749
5812
|
};
|
|
5750
5813
|
|
|
5751
|
-
$8tj43$createComputed($8tj43$
|
|
5814
|
+
$8tj43$createComputed($8tj43$catchify1(() => {
|
|
5752
5815
|
const last_result = get_last_result_in_viewport_();
|
|
5753
5816
|
if (last_result == undefined || last_result <= 0 || last_result == Infinity) return;
|
|
5754
5817
|
if (isNaN(last_result)) {
|
|
@@ -5775,7 +5838,7 @@ function $5e6abec0dab4e610$export$6e49da55e449af7c(_ref) {
|
|
|
5775
5838
|
set_to_later = last_result;
|
|
5776
5839
|
// If a delayed push timeout is already running, just changing the value that will be pushed is sufficient
|
|
5777
5840
|
if (timeout) return;
|
|
5778
|
-
timeout = setTimeout($8tj43$
|
|
5841
|
+
timeout = setTimeout($8tj43$catchify1(() => {
|
|
5779
5842
|
timeout = undefined;
|
|
5780
5843
|
last_time_history_changed = +new Date();
|
|
5781
5844
|
set_min_results_loaded(set_to_later);
|
|
@@ -5823,7 +5886,7 @@ function $ec225bf1f1627ea8$export$210f130a61ac1e8d(fn) {
|
|
|
5823
5886
|
let last_queued;
|
|
5824
5887
|
let last_value;
|
|
5825
5888
|
let initial_run = true;
|
|
5826
|
-
$8tj43$createComputed($8tj43$
|
|
5889
|
+
$8tj43$createComputed($8tj43$catchify1(async () => {
|
|
5827
5890
|
last_value = fn();
|
|
5828
5891
|
if (initial_run) {
|
|
5829
5892
|
initial_run = false;
|
|
@@ -5884,7 +5947,7 @@ function $a4777acaffa35a82$export$3945d6db2dfd3d12(_ref) {
|
|
|
5884
5947
|
const handler = () => allow_filter_clearing = false;
|
|
5885
5948
|
window.addEventListener("popstate", handler); // popstate only gets called when using back/forwards button of browser or the history navigate to achieve the same, but not on pushState or replaceState
|
|
5886
5949
|
$8tj43$onCleanup(() => window.removeEventListener("popstate", handler));
|
|
5887
|
-
$8tj43$createEffect($8tj43$on(crumb_data_, $8tj43$
|
|
5950
|
+
$8tj43$createEffect($8tj43$on(crumb_data_, $8tj43$catchify1(new_crumb_data => {
|
|
5888
5951
|
const query_id_of_new_data = query_id_();
|
|
5889
5952
|
if (allow_filter_clearing && previous_crumb_data && new_crumb_data && query_id_of_new_data !== query_id_when_we_got_previous_data) {
|
|
5890
5953
|
const previous_length = previous_crumb_data.length;
|
|
@@ -6080,7 +6143,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
|
|
|
6080
6143
|
});
|
|
6081
6144
|
const [plp_results_] = $8tj43$createResource(query_base_,
|
|
6082
6145
|
// only first page of results, unless the history state says we should load more (can't do that in load more thing, I tested, they need to be added at once for the browser to not give up scroll restoration)
|
|
6083
|
-
$8tj43$
|
|
6146
|
+
$8tj43$catchify1(base_query => $5e6abec0dab4e610$export$cc42dd29bf655ab6({
|
|
6084
6147
|
id_: $8tj43$untrack(query_id_),
|
|
6085
6148
|
scroll_restoration_data_: scroll_restoration_data_,
|
|
6086
6149
|
min_products_to_fetch_: min_products_to_fetch_,
|
|
@@ -6224,7 +6287,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
|
|
|
6224
6287
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
|
|
6225
6288
|
...extra_sort_and_filter_args_
|
|
6226
6289
|
});
|
|
6227
|
-
$8tj43$
|
|
6290
|
+
$8tj43$catchify1((0, $5e6abec0dab4e610$export$6e49da55e449af7c))({
|
|
6228
6291
|
scroll_restoration_data_: scroll_restoration_data_,
|
|
6229
6292
|
last_result_in_viewport_: last_result_in_viewport_,
|
|
6230
6293
|
id_: query_id_,
|
|
@@ -6234,7 +6297,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
|
|
|
6234
6297
|
$8tj43$createComputed(() => {
|
|
6235
6298
|
if (plp_results_.loading) set_can_write_scroll_restoration(false);else if (plp_results_()) set_can_write_scroll_restoration(true);
|
|
6236
6299
|
});
|
|
6237
|
-
$8tj43$createRenderEffect($8tj43$
|
|
6300
|
+
$8tj43$createRenderEffect($8tj43$catchify1(async () => {
|
|
6238
6301
|
var _only_show_filters_op;
|
|
6239
6302
|
const slim = is_slim_();
|
|
6240
6303
|
const only_show_filters_opener = (_only_show_filters_op = only_show_filters_opener_) === null || _only_show_filters_op === void 0 ? void 0 : _only_show_filters_op();
|
|
@@ -6490,7 +6553,7 @@ function $9d3d794b62318ecc$export$477caf01aecaeb2a(options) {
|
|
|
6490
6553
|
const [get_selected_filters_, set_selected_filters] = selected_filters_;
|
|
6491
6554
|
const [get_has_sideways_filter_clearing_flag_, set_has_sideways_filter_clearing_flag] = sideways_filter_clearing_flag_;
|
|
6492
6555
|
const [get_current_href, set_current_href] = $8tj43$createSignal((_globalThis$location$ = globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$location = globalThis.location) === null || _globalThis$location === void 0 ? void 0 : _globalThis$location.href) !== null && _globalThis$location$ !== void 0 ? _globalThis$location$ : "https://example.com");
|
|
6493
|
-
const history_change_handler = $8tj43$
|
|
6556
|
+
const history_change_handler = $8tj43$catchify1(() => set_current_href(location.href));
|
|
6494
6557
|
const owner = $8tj43$getOwner() || $8tj43$createRoot(() => $8tj43$getOwner());
|
|
6495
6558
|
const {
|
|
6496
6559
|
sorting_query_param_: sorting_query_param_,
|
|
@@ -6662,7 +6725,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
|
|
|
6662
6725
|
* @param is_replace_ if you want to replace the current URL in history instead of pushing a new one
|
|
6663
6726
|
* @param category_query_id_ If you are navigating to a category and know the query_id of, please provide it. This is for making a better devEx in js-ui
|
|
6664
6727
|
*/
|
|
6665
|
-
go_to_: $8tj43$
|
|
6728
|
+
go_to_: $8tj43$catchify1(async _ref => {
|
|
6666
6729
|
let {
|
|
6667
6730
|
new_url_: raw_new_url,
|
|
6668
6731
|
event_: event_,
|
|
@@ -7188,7 +7251,7 @@ const $702d7656a373973e$export$824dde41348efed1 = /*@__PURE__*/(() => {
|
|
|
7188
7251
|
|
|
7189
7252
|
const observe_to_signal = (element, setter) => {
|
|
7190
7253
|
const computed_style = getComputedStyle(element);
|
|
7191
|
-
const resize_observer = new ResizeObserver($8tj43$
|
|
7254
|
+
const resize_observer = new ResizeObserver($8tj43$catchify1(() => {
|
|
7192
7255
|
setter(element.getBoundingClientRect().width + parseFloat(computed_style.marginLeft) + parseFloat(computed_style.marginRight) + parseFloat(computed_style.borderRightWidth) + parseFloat(computed_style.borderLeftWidth));
|
|
7193
7256
|
}));
|
|
7194
7257
|
resize_observer.observe(element);
|
|
@@ -7360,7 +7423,7 @@ function $dea31647b99a443b$export$d757d54550ebfb3d(_ref) {
|
|
|
7360
7423
|
_el$2 = _el$.firstChild,
|
|
7361
7424
|
_el$4 = _el$2.nextSibling,
|
|
7362
7425
|
[_el$5, _co$] = $8tj43$getNextMarker(_el$4.nextSibling);
|
|
7363
|
-
$8tj43$addEventListener(_el$, "click", $8tj43$
|
|
7426
|
+
$8tj43$addEventListener(_el$, "click", $8tj43$catchify1(e => {
|
|
7364
7427
|
router_.navigate_.go_to_({
|
|
7365
7428
|
new_url_: category_suggestion_().page_url,
|
|
7366
7429
|
is_replace_: false,
|
|
@@ -7420,7 +7483,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
|
7420
7483
|
let input_element;
|
|
7421
7484
|
// This is the div where we recommend (and ourselves do) attach the event listener to that opens the search modal.
|
|
7422
7485
|
let field_div;
|
|
7423
|
-
$8tj43$createEffect($8tj43$
|
|
7486
|
+
$8tj43$createEffect($8tj43$catchify1(async () => {
|
|
7424
7487
|
if (disabled_) return;
|
|
7425
7488
|
// we aren't in DOM yet unfortunately, wouldn't even be with onMount
|
|
7426
7489
|
await (0, $8tj43$observer).wait_for_element(input_element);
|
|
@@ -7440,7 +7503,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
|
7440
7503
|
when: on_back_,
|
|
7441
7504
|
get children() {
|
|
7442
7505
|
const _el$2 = $8tj43$getNextElement($584c06c09cf4609d$var$_tmpl$);
|
|
7443
|
-
$8tj43$addEventListener(_el$2, "click", $8tj43$
|
|
7506
|
+
$8tj43$addEventListener(_el$2, "click", $8tj43$catchify1(on_back_), true);
|
|
7444
7507
|
$8tj43$insert(_el$2, $8tj43$createComponent((0, $ecc323d9c29305ee$export$1c641004b5485fed), {}));
|
|
7445
7508
|
$8tj43$effect(() => $8tj43$setAttribute(_el$2, "aria-label", i18n_.back_()));
|
|
7446
7509
|
$8tj43$runHydrationEvents();
|
|
@@ -7457,7 +7520,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
|
7457
7520
|
} = _ref2;
|
|
7458
7521
|
// When selecting text with a mouse we want a SearchField to be focussed even when releasing the mouse outside the .field element (we assume the event listener which opens the modal is attached to that).
|
|
7459
7522
|
if (pointerType === "mouse") {
|
|
7460
|
-
const handler = $8tj43$
|
|
7523
|
+
const handler = $8tj43$catchify1(_ref3 => {
|
|
7461
7524
|
let {
|
|
7462
7525
|
pointerType: pointerType,
|
|
7463
7526
|
target: target
|
|
@@ -7471,26 +7534,26 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
|
7471
7534
|
if (owner_of_field_element) $8tj43$runWithOwner(owner_of_field_element, () => $8tj43$onCleanup(() => window.removeEventListener("pointerup", handler)));
|
|
7472
7535
|
}
|
|
7473
7536
|
};
|
|
7474
|
-
$8tj43$addEventListener(_el$4, "select", $8tj43$
|
|
7537
|
+
$8tj43$addEventListener(_el$4, "select", $8tj43$catchify1(() => {
|
|
7475
7538
|
if (disabled_)
|
|
7476
7539
|
// just in case. The field not actually being disabled when being disabled_ is so that you can focus it and open the modal. We don't want any of the other input-field-interaction features to work
|
|
7477
7540
|
return;
|
|
7478
7541
|
if (input_element.selectionStart === 0 && input_element.selectionEnd === input_element.value.length)
|
|
7479
7542
|
// everything was selected, clear filters on next submit on next input
|
|
7480
|
-
input_element.addEventListener("input", $8tj43$
|
|
7543
|
+
input_element.addEventListener("input", $8tj43$catchify1(() => clear_filters_(false)),
|
|
7481
7544
|
// We don't count this as user triggered since it wasn't explicit
|
|
7482
7545
|
{
|
|
7483
7546
|
once: true
|
|
7484
7547
|
});
|
|
7485
7548
|
}));
|
|
7486
|
-
$8tj43$addEventListener(_el$4, "input", $8tj43$
|
|
7549
|
+
$8tj43$addEventListener(_el$4, "input", $8tj43$catchify1(() => {
|
|
7487
7550
|
const {
|
|
7488
7551
|
value: value
|
|
7489
7552
|
} = input_element;
|
|
7490
7553
|
if (!disabled_ && !value.length) clear_filters_(false); // if the user clears the whole field, reset filters on next submit
|
|
7491
7554
|
search_field_value_[1](value);
|
|
7492
7555
|
}), true);
|
|
7493
|
-
$8tj43$addEventListener(_el$4, "keydown", $8tj43$
|
|
7556
|
+
$8tj43$addEventListener(_el$4, "keydown", $8tj43$catchify1(e => {
|
|
7494
7557
|
if (disabled_) {
|
|
7495
7558
|
if (e.key !== "Tab" && e.key !== "Shift")
|
|
7496
7559
|
// alow tab-selecting the input field and then open the modal when the user start writing but also to move past the field with tab
|
|
@@ -7500,19 +7563,19 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
|
7500
7563
|
if (!dont_submit) submit_query_();
|
|
7501
7564
|
}
|
|
7502
7565
|
}), true);
|
|
7503
|
-
const _ref$ = $8tj43$
|
|
7566
|
+
const _ref$ = $8tj43$catchify1(el => {
|
|
7504
7567
|
input_element = el;
|
|
7505
7568
|
input_field_ref_ === null || input_field_ref_ === void 0 || input_field_ref_(el);
|
|
7506
7569
|
});
|
|
7507
7570
|
typeof _ref$ === "function" && $8tj43$use(_ref$, _el$4);
|
|
7508
7571
|
_el$4.classList.toggle("has-adjacent-back-button", !!on_back_);
|
|
7509
|
-
$8tj43$addEventListener(_el$5, "click", $8tj43$
|
|
7572
|
+
$8tj43$addEventListener(_el$5, "click", $8tj43$catchify1(() => {
|
|
7510
7573
|
search_field_value_[1]("");
|
|
7511
7574
|
clear_filters_(true);
|
|
7512
7575
|
if (!disabled_) input_element.focus();
|
|
7513
7576
|
}), true);
|
|
7514
7577
|
$8tj43$insert(_el$5, $8tj43$createComponent((0, $9783d437ad61594c$export$3b621d86b1566b2), {}));
|
|
7515
|
-
$8tj43$addEventListener(_el$6, "click", $8tj43$
|
|
7578
|
+
$8tj43$addEventListener(_el$6, "click", $8tj43$catchify1(() => submit_query_()), true);
|
|
7516
7579
|
$8tj43$insert(_el$6, $8tj43$createComponent((0, $ef0f18a578b32578$export$82eafebb825fc23f), {}));
|
|
7517
7580
|
$8tj43$effect(_p$ => {
|
|
7518
7581
|
const _v$ = i18n_.search_field_field_aria_label_(),
|
|
@@ -7654,7 +7717,7 @@ function $1308a7816c3d4f2d$export$b3ad617e9036868(modal_body_style, input_field,
|
|
|
7654
7717
|
};
|
|
7655
7718
|
let ro;
|
|
7656
7719
|
if (one_axies_only !== "top") {
|
|
7657
|
-
ro = new ResizeObserver($8tj43$
|
|
7720
|
+
ro = new ResizeObserver($8tj43$catchify1(records => {
|
|
7658
7721
|
records.forEach(_ref => {
|
|
7659
7722
|
let {
|
|
7660
7723
|
contentRect: {
|
|
@@ -7676,10 +7739,10 @@ function $1308a7816c3d4f2d$export$b3ad617e9036868(modal_body_style, input_field,
|
|
|
7676
7739
|
// "resize" doesn't fire sometimes when it should, also it doesn't when showing/hiding scrollbars which disabling scrolling does
|
|
7677
7740
|
// this works
|
|
7678
7741
|
// keeping resize just in case
|
|
7679
|
-
const resize_resize_observer = new ResizeObserver($8tj43$
|
|
7742
|
+
const resize_resize_observer = new ResizeObserver($8tj43$catchify1(align_position));
|
|
7680
7743
|
resize_resize_observer.observe(document.documentElement);
|
|
7681
7744
|
(0, $8tj43$observer).wait_for_element("body").then(resize_resize_observer.observe.bind(resize_resize_observer));
|
|
7682
|
-
$8tj43$onCleanup($8tj43$
|
|
7745
|
+
$8tj43$onCleanup($8tj43$catchify1(() => {
|
|
7683
7746
|
var _ro;
|
|
7684
7747
|
(_ro = ro) === null || _ro === void 0 || _ro.disconnect();
|
|
7685
7748
|
resize_resize_observer.disconnect();
|
|
@@ -7709,7 +7772,7 @@ function $d8a66ba54a42eb3e$export$e026af0c7b64ea5f(_ref) {
|
|
|
7709
7772
|
}, {
|
|
7710
7773
|
defer: true
|
|
7711
7774
|
}));
|
|
7712
|
-
$8tj43$createComputed($8tj43$on(get_search_query_, $8tj43$
|
|
7775
|
+
$8tj43$createComputed($8tj43$on(get_search_query_, $8tj43$catchify1(() => {
|
|
7713
7776
|
// when a query was submitted, clear filters if clear was pressed before
|
|
7714
7777
|
const clear_value = $8tj43$untrack(get_clear_filters_next_submit);
|
|
7715
7778
|
if (clear_value) {
|
|
@@ -7734,11 +7797,11 @@ function $07d90b8270ece8de$export$84bba84a7b837187(read_search_query) {
|
|
|
7734
7797
|
const key = "depict_searches";
|
|
7735
7798
|
const previous_searches = $8tj43$createSignal(JSON.parse(ls[key] || "[]"));
|
|
7736
7799
|
const [read_previous_searches, write_previous_searches] = previous_searches;
|
|
7737
|
-
$8tj43$createEffect($8tj43$
|
|
7800
|
+
$8tj43$createEffect($8tj43$catchify1(() => {
|
|
7738
7801
|
const json_encoded = JSON.stringify(read_previous_searches());
|
|
7739
7802
|
if (ls[key] !== json_encoded) ls[key] = json_encoded;
|
|
7740
7803
|
}));
|
|
7741
|
-
$8tj43$createComputed($8tj43$
|
|
7804
|
+
$8tj43$createComputed($8tj43$catchify1(() => {
|
|
7742
7805
|
const searches = $8tj43$untrack(read_previous_searches);
|
|
7743
7806
|
const current_query = read_search_query();
|
|
7744
7807
|
if (!current_query)
|
|
@@ -7847,7 +7910,7 @@ const $9a693c7e832d3f18$export$b05c0ae390cf3e06 = (display_or_variant_container,
|
|
|
7847
7910
|
[_el$21, _co$6] = $8tj43$getNextMarker(_el$20.nextSibling),
|
|
7848
7911
|
_el$22 = _el$21.nextSibling,
|
|
7849
7912
|
[_el$23, _co$7] = $8tj43$getNextMarker(_el$22.nextSibling);
|
|
7850
|
-
$8tj43$addEventListener(_el$, "click", $8tj43$
|
|
7913
|
+
$8tj43$addEventListener(_el$, "click", $8tj43$catchify1(event_ => router_.navigate_.go_to_({
|
|
7851
7914
|
new_url_: href(),
|
|
7852
7915
|
is_replace_: false,
|
|
7853
7916
|
event_: event_
|
|
@@ -7942,13 +8005,13 @@ function $f7414b949aeabc90$export$62f101a8aa597bf8(_ref) {
|
|
|
7942
8005
|
// don't wait if it's the first request
|
|
7943
8006
|
write_current_instant_query(value);
|
|
7944
8007
|
clearTimeout(timeout);
|
|
7945
|
-
timeout = setTimeout($8tj43$
|
|
8008
|
+
timeout = setTimeout($8tj43$catchify1(() => write_current_instant_query(value)), 250);
|
|
7946
8009
|
});
|
|
7947
8010
|
const [search_results] = $8tj43$createResource($8tj43$createMemo(() => ({
|
|
7948
8011
|
tenant: tenant_(),
|
|
7949
8012
|
market: market_(),
|
|
7950
8013
|
query: read_current_instant_query()
|
|
7951
|
-
})), $8tj43$
|
|
8014
|
+
})), $8tj43$catchify1(variable_data => {
|
|
7952
8015
|
return depict_api_.query({
|
|
7953
8016
|
// here it is (unfortunately) important that the keys in the object are in the same order as in SearchPage.tsx, because when JSON-encoding them to compare for caching the strings will be different otherwise
|
|
7954
8017
|
limit: $8tj43$untrack(has_sort_or_filters_) ? max_cards : min_products_to_fetch_,
|
|
@@ -8034,7 +8097,7 @@ function $558d0596fcf0e0b0$export$50b90be27d8502d9(el, _ref, bottom_distance) {
|
|
|
8034
8097
|
[key]: new_value
|
|
8035
8098
|
});
|
|
8036
8099
|
};
|
|
8037
|
-
const is = new IntersectionObserver($8tj43$
|
|
8100
|
+
const is = new IntersectionObserver($8tj43$catchify1(_records => {
|
|
8038
8101
|
do_positioning();
|
|
8039
8102
|
}), {
|
|
8040
8103
|
threshold: $8tj43$buildThresholdList(100)
|
|
@@ -8056,7 +8119,7 @@ function $e8776b492383c292$export$91c3b6774e8be0f5(_ref) {
|
|
|
8056
8119
|
const [get_current_href, set_current_href] = $8tj43$createSignal(location.href);
|
|
8057
8120
|
const [exit_iterable, exitable_iterable] = $8tj43$make_asyncIterable_exiter((0, $8tj43$href_change_ipns));
|
|
8058
8121
|
$8tj43$onCleanup(exit_iterable);
|
|
8059
|
-
$8tj43$
|
|
8122
|
+
$8tj43$catchify1(async () => {
|
|
8060
8123
|
for await (const href of exitable_iterable)
|
|
8061
8124
|
// use native links so ppl can cmdclick/right click and open in new tab and see target URL
|
|
8062
8125
|
set_current_href(href);
|
|
@@ -8127,18 +8190,18 @@ function $494c9ad553139dbc$export$a146ac6fa8346a25(_ref) {
|
|
|
8127
8190
|
_el$9 = _el$5.nextSibling;
|
|
8128
8191
|
$8tj43$use(element => element.addEventListener(
|
|
8129
8192
|
// Viskan's Oscar Jacobson site requires us to add the event listener normally here. They do too much when this element is clicked. We work around it by blocking the event and just dispatching it non-bubbling on this element.
|
|
8130
|
-
"click", $8tj43$
|
|
8193
|
+
"click", $8tj43$catchify1(ev => {
|
|
8131
8194
|
if (ev.button || ev.metaKey || ev.ctrlKey)
|
|
8132
8195
|
// not button 0 or cmd/ctrl click
|
|
8133
8196
|
return;
|
|
8134
8197
|
ev.preventDefault();
|
|
8135
8198
|
submit_query_(item());
|
|
8136
8199
|
})), _el$4);
|
|
8137
|
-
$8tj43$addEventListener(_el$4, "mouseleave", $8tj43$
|
|
8138
|
-
$8tj43$addEventListener(_el$4, "mouseenter", $8tj43$
|
|
8200
|
+
$8tj43$addEventListener(_el$4, "mouseleave", $8tj43$catchify1(() => write_selected_index_(undefined)));
|
|
8201
|
+
$8tj43$addEventListener(_el$4, "mouseenter", $8tj43$catchify1(() => write_selected_index_([0, index])));
|
|
8139
8202
|
$8tj43$insert(_el$5, $8tj43$createComponent((0, $6d95ef50ee01d5a1$export$5d2caaa6b530761c), {}), _el$8, _co$);
|
|
8140
8203
|
$8tj43$insert(_el$6, item);
|
|
8141
|
-
$8tj43$use(element => element.addEventListener("click", $8tj43$
|
|
8204
|
+
$8tj43$use(element => element.addEventListener("click", $8tj43$catchify1(e => {
|
|
8142
8205
|
// Viskan's Oscar Jacobson site requires us to add the event listener normally here. They do too much when this element is clicked. We work around it by blocking the event and just dispatching it non-bubbling on this element.
|
|
8143
8206
|
set_unfiltered_previous_searches_(prev => {
|
|
8144
8207
|
const new_value = [...prev];
|
|
@@ -8324,7 +8387,7 @@ function $40dd3f46f55d62ba$export$e872e2339fb04a7f(_ref) {
|
|
|
8324
8387
|
});
|
|
8325
8388
|
return (() => {
|
|
8326
8389
|
const _el$ = $8tj43$getNextElement($40dd3f46f55d62ba$var$_tmpl$);
|
|
8327
|
-
$8tj43$use(element => element.addEventListener("click", $8tj43$
|
|
8390
|
+
$8tj43$use(element => element.addEventListener("click", $8tj43$catchify1(ev => {
|
|
8328
8391
|
// Viskan's Oscar Jacobson site requires us to add the event listener normally here. They do too much when this element is clicked. We work around it by blocking the event and just dispatching it non-bubbling on this element.
|
|
8329
8392
|
if (is_query()) {
|
|
8330
8393
|
if (ev.button || ev.metaKey || ev.ctrlKey)
|
|
@@ -8340,8 +8403,8 @@ function $40dd3f46f55d62ba$export$e872e2339fb04a7f(_ref) {
|
|
|
8340
8403
|
event_: ev
|
|
8341
8404
|
});
|
|
8342
8405
|
})), _el$);
|
|
8343
|
-
$8tj43$addEventListener(_el$, "mouseleave", $8tj43$
|
|
8344
|
-
$8tj43$addEventListener(_el$, "mouseenter", $8tj43$
|
|
8406
|
+
$8tj43$addEventListener(_el$, "mouseleave", $8tj43$catchify1(() => write_selected_index_(undefined)));
|
|
8407
|
+
$8tj43$addEventListener(_el$, "mouseenter", $8tj43$catchify1(() => write_selected_index_([autocomplete_data_index, index])));
|
|
8345
8408
|
$8tj43$insert(_el$, (() => {
|
|
8346
8409
|
const _c$ = $8tj43$memo(() => !!is_query());
|
|
8347
8410
|
return () => _c$() ? [$8tj43$createComponent((0, $8tj43$Show), {
|
|
@@ -8637,7 +8700,7 @@ function $2ebb1d6ae6763f7a$var$actual_navigation_working_on_fake_data(_ref2) {
|
|
|
8637
8700
|
if (!$8tj43$untrack(() => read_updating_blocked())) previous_value = sfv;
|
|
8638
8701
|
});
|
|
8639
8702
|
const owner = $8tj43$getOwner();
|
|
8640
|
-
const handler = $8tj43$
|
|
8703
|
+
const handler = $8tj43$catchify1(_ref3 => {
|
|
8641
8704
|
let {
|
|
8642
8705
|
keyCode: keyCode
|
|
8643
8706
|
} = _ref3;
|
|
@@ -8700,7 +8763,7 @@ function $2ebb1d6ae6763f7a$var$actual_navigation_working_on_fake_data(_ref2) {
|
|
|
8700
8763
|
const el = element_();
|
|
8701
8764
|
if (!el) return;
|
|
8702
8765
|
el.addEventListener("keyup", handler);
|
|
8703
|
-
$8tj43$onCleanup($8tj43$
|
|
8766
|
+
$8tj43$onCleanup($8tj43$catchify1(() => el.removeEventListener("keyup", handler)));
|
|
8704
8767
|
});
|
|
8705
8768
|
}
|
|
8706
8769
|
function $c4dee1ef44de29ca$export$af0124069c150252(_ref) {
|
|
@@ -8909,7 +8972,7 @@ function $a09bb7c652acf957$export$3340fdd8259bd4fd(_ref) {
|
|
|
8909
8972
|
if (process.env.GA === "false") return;
|
|
8910
8973
|
let debounce_timeout;
|
|
8911
8974
|
const stop_timeout = () => clearTimeout(debounce_timeout);
|
|
8912
|
-
const send_to_ga = $8tj43$
|
|
8975
|
+
const send_to_ga = $8tj43$catchify1(() => {
|
|
8913
8976
|
const fake_url = new URL(location.href);
|
|
8914
8977
|
const {
|
|
8915
8978
|
searchParams: searchParams
|
|
@@ -8922,12 +8985,12 @@ function $a09bb7c652acf957$export$3340fdd8259bd4fd(_ref) {
|
|
|
8922
8985
|
$8tj43$onCleanup(() => {
|
|
8923
8986
|
setTimeout(
|
|
8924
8987
|
// do it next event loop because search_field_value_ is wrong this one and search_query might be too because we want the old value to be put into the history entry and a framework like NextJS might take some time to navigate
|
|
8925
|
-
$8tj43$
|
|
8988
|
+
$8tj43$catchify1(() => {
|
|
8926
8989
|
if ($8tj43$untrack(get_search_query_) === $8tj43$untrack(get_search_field_value_)) stop_timeout();
|
|
8927
8990
|
}));
|
|
8928
8991
|
});
|
|
8929
8992
|
let first_call = true;
|
|
8930
|
-
$8tj43$createEffect($8tj43$
|
|
8993
|
+
$8tj43$createEffect($8tj43$catchify1(() => {
|
|
8931
8994
|
get_search_field_value_();
|
|
8932
8995
|
if (first_call) {
|
|
8933
8996
|
// we only want to do stuff when it changes
|
|
@@ -9008,7 +9071,7 @@ function $e82132ed97521828$export$1c593cbd6f1e10bc(_ref) {
|
|
|
9008
9071
|
const [input_field, set_input_field] = $8tj43$createSignal();
|
|
9009
9072
|
const [get_search_field_value_] = search_field_value_;
|
|
9010
9073
|
const [get_modal_search_results, set_modal_search_results_] = $8tj43$createSignal();
|
|
9011
|
-
const close_on_escape_handler = $8tj43$
|
|
9074
|
+
const close_on_escape_handler = $8tj43$catchify1(_ref2 => {
|
|
9012
9075
|
let {
|
|
9013
9076
|
key: key
|
|
9014
9077
|
} = _ref2;
|
|
@@ -9023,7 +9086,7 @@ function $e82132ed97521828$export$1c593cbd6f1e10bc(_ref) {
|
|
|
9023
9086
|
const DiscoverMoreSection = () => (() => {
|
|
9024
9087
|
const _el$ = $8tj43$getNextElement($e82132ed97521828$var$_tmpl$),
|
|
9025
9088
|
_el$2 = _el$.firstChild;
|
|
9026
|
-
$8tj43$addEventListener(_el$2, "click", $8tj43$
|
|
9089
|
+
$8tj43$addEventListener(_el$2, "click", $8tj43$catchify1(() => submit_query_()), true);
|
|
9027
9090
|
$8tj43$insert(_el$2, (() => {
|
|
9028
9091
|
const _c$ = $8tj43$memo(() => !!get_search_field_value_());
|
|
9029
9092
|
return () => _c$() ? i18n_.modal_view_all_results_()((() => {
|
|
@@ -9038,7 +9101,7 @@ function $e82132ed97521828$export$1c593cbd6f1e10bc(_ref) {
|
|
|
9038
9101
|
if (disable_scrolling_) $e56d241d0f33d459$export$fe334901e8bebd57();
|
|
9039
9102
|
$e82132ed97521828$var$close_modal_when_navigating_away(close_modal_, search_query_url_param_name_);
|
|
9040
9103
|
window.addEventListener("keydown", close_on_escape_handler);
|
|
9041
|
-
$8tj43$onCleanup($8tj43$
|
|
9104
|
+
$8tj43$onCleanup($8tj43$catchify1(() => window.removeEventListener("keydown", close_on_escape_handler)));
|
|
9042
9105
|
if (closing_animation_) register_closing_animation_(closing_animation_);
|
|
9043
9106
|
$a09bb7c652acf957$export$3340fdd8259bd4fd({
|
|
9044
9107
|
get_search_field_value_: get_search_field_value_,
|
|
@@ -9093,14 +9156,14 @@ function $e82132ed97521828$export$1c593cbd6f1e10bc(_ref) {
|
|
|
9093
9156
|
[_el$16, _co$5] = $8tj43$getNextMarker(_el$15.nextSibling),
|
|
9094
9157
|
_el$17 = _el$5.nextSibling,
|
|
9095
9158
|
[_el$18, _co$6] = $8tj43$getNextMarker(_el$17.nextSibling);
|
|
9096
|
-
$8tj43$addEventListener(_el$4, "click", $8tj43$
|
|
9159
|
+
$8tj43$addEventListener(_el$4, "click", $8tj43$catchify1(_ref3 => {
|
|
9097
9160
|
let {
|
|
9098
9161
|
target: target
|
|
9099
9162
|
} = _ref3;
|
|
9100
9163
|
if (target === modal_element) close_modal_();
|
|
9101
9164
|
}), true);
|
|
9102
9165
|
$8tj43$insert(_el$5, search_field, _el$14, _co$4);
|
|
9103
|
-
$8tj43$use(el => $8tj43$
|
|
9166
|
+
$8tj43$use(el => $8tj43$catchify1((0, $558d0596fcf0e0b0$export$50b90be27d8502d9))(el, style_props_, bottom_distance_under_modal_), _el$6);
|
|
9104
9167
|
$8tj43$insert(_el$6, $8tj43$createComponent((0, $74777e8fe65b3dcb$export$b69d0d92862de18b), {
|
|
9105
9168
|
severity_: "error",
|
|
9106
9169
|
message_: "Autocomplete/suggestions failed",
|
|
@@ -9199,8 +9262,8 @@ function $e82132ed97521828$var$close_modal_when_navigating_away(close_modal, sea
|
|
|
9199
9262
|
let set_initial_values = false;
|
|
9200
9263
|
let old_pathname;
|
|
9201
9264
|
let old_param_value;
|
|
9202
|
-
$8tj43$onCleanup($8tj43$
|
|
9203
|
-
$8tj43$
|
|
9265
|
+
$8tj43$onCleanup($8tj43$catchify1(exit_iterable));
|
|
9266
|
+
$8tj43$catchify1(async () => {
|
|
9204
9267
|
for await (const href of exitable_iterable) {
|
|
9205
9268
|
const u_o = new URL(href);
|
|
9206
9269
|
const new_pathname = u_o.pathname;
|
|
@@ -9278,7 +9341,7 @@ function $69602b3d8fd54c38$export$9dd50d35b9d94fdf(_ref) {
|
|
|
9278
9341
|
number_of_results_: number_of_results_,
|
|
9279
9342
|
type: type
|
|
9280
9343
|
} = _ref;
|
|
9281
|
-
const contents = $8tj43$createMemo($8tj43$
|
|
9344
|
+
const contents = $8tj43$createMemo($8tj43$catchify1(() => {
|
|
9282
9345
|
const q = get_search_query_();
|
|
9283
9346
|
return i18n_[type === $69602b3d8fd54c38$export$2452208c79fe93ea.content ? "get_showing_pages_for_" : "get_showing_results_for_"]()((() => {
|
|
9284
9347
|
const _el$ = $8tj43$getNextElement($69602b3d8fd54c38$var$_tmpl$);
|
|
@@ -9566,7 +9629,7 @@ function $22470de5f42cc35d$export$f631859cab12b342(_ref) {
|
|
|
9566
9629
|
if (!result) return;
|
|
9567
9630
|
return {
|
|
9568
9631
|
href: result.page_url,
|
|
9569
|
-
onClick: $8tj43$
|
|
9632
|
+
onClick: $8tj43$catchify1(ev => router_.navigate_.go_to_({
|
|
9570
9633
|
new_url_: result.page_url,
|
|
9571
9634
|
is_replace_: false,
|
|
9572
9635
|
event_: ev
|
|
@@ -9895,7 +9958,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
9895
9958
|
} : {})
|
|
9896
9959
|
};
|
|
9897
9960
|
});
|
|
9898
|
-
const [search_results_] = $8tj43$createResource(search_query_base_, $8tj43$
|
|
9961
|
+
const [search_results_] = $8tj43$createResource(search_query_base_, $8tj43$catchify1(async base_query => {
|
|
9899
9962
|
set_all_products_loaded(false);
|
|
9900
9963
|
// only first page of results
|
|
9901
9964
|
return await $5e6abec0dab4e610$export$cc42dd29bf655ab6({
|
|
@@ -9932,7 +9995,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
9932
9995
|
});
|
|
9933
9996
|
const modal_body_style = $8tj43$createSignal({});
|
|
9934
9997
|
const [get_search_field_elements, set_search_field_elements] = $8tj43$createSignal();
|
|
9935
|
-
const SafeSearchField = $8tj43$
|
|
9998
|
+
const SafeSearchField = $8tj43$catchify1((0, $584c06c09cf4609d$export$b94867ecbd698f21));
|
|
9936
9999
|
const [sort_or_filter_open_, set_sort_or_filter_open_] = $8tj43$createSignal(false);
|
|
9937
10000
|
const [desktop_filter_elements_, set_desktop_filter_elements] = $8tj43$createSignal();
|
|
9938
10001
|
const n_hits = $8tj43$createMemo(() => {
|
|
@@ -9996,7 +10059,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
9996
10059
|
})()));
|
|
9997
10060
|
}).remove);
|
|
9998
10061
|
$3a2bed57c9a57e21$export$d31a1a1a83ad9413(search_results_, selected_filters_);
|
|
9999
|
-
$8tj43$
|
|
10062
|
+
$8tj43$catchify1((0, $5e6abec0dab4e610$export$6e49da55e449af7c))({
|
|
10000
10063
|
scroll_restoration_data_: scroll_restoration_data_,
|
|
10001
10064
|
last_result_in_viewport_: last_result_in_viewport_,
|
|
10002
10065
|
id_: get_search_query_,
|
|
@@ -10035,8 +10098,8 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
10035
10098
|
if (!search_field) break add_input_field;
|
|
10036
10099
|
modal_body_style[1]({});
|
|
10037
10100
|
modal_body_style_ref_ === null || modal_body_style_ref_ === void 0 || modal_body_style_ref_(modal_body_style);
|
|
10038
|
-
const align_position = $8tj43$
|
|
10039
|
-
div_with_field_class.addEventListener("click", $8tj43$
|
|
10101
|
+
const align_position = $8tj43$catchify1((0, $1308a7816c3d4f2d$export$b3ad617e9036868))(modal_body_style, search_field, undefined, true);
|
|
10102
|
+
div_with_field_class.addEventListener("click", $8tj43$catchify1(e => {
|
|
10040
10103
|
var _target$matches, _target$closest, _on_open_, _ref4;
|
|
10041
10104
|
const target = e.target;
|
|
10042
10105
|
const sel = ".submit";
|
|
@@ -10239,7 +10302,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
10239
10302
|
function $37e8c97bb6876197$export$828dcdd425fd3231(aligner) {
|
|
10240
10303
|
const style_element = document.createElement("style");
|
|
10241
10304
|
document.head.append(style_element);
|
|
10242
|
-
const resize_observer = new ResizeObserver($8tj43$
|
|
10305
|
+
const resize_observer = new ResizeObserver($8tj43$catchify1(() => {
|
|
10243
10306
|
const styles = $cc64aabf2c7a1f1a$export$1233ca167bf71f9a({
|
|
10244
10307
|
".depict.plp .depict-search-modal .search-field": {
|
|
10245
10308
|
"height": "".concat(aligner === null || aligner === void 0 ? void 0 : aligner.clientHeight, "px")
|
|
@@ -10466,7 +10529,7 @@ class $eb064bc3350276c1$export$ac6237957a15b3f0 {
|
|
|
10466
10529
|
selected_filters_: selected_filters_
|
|
10467
10530
|
});
|
|
10468
10531
|
$68e6625c8d51f847$export$5162a71f252e6122();
|
|
10469
|
-
$8tj43$
|
|
10532
|
+
$8tj43$catchify1(async () => {
|
|
10470
10533
|
const {
|
|
10471
10534
|
open_modal_: open_modal_,
|
|
10472
10535
|
close_modal_: close_modal_
|
|
@@ -10751,7 +10814,7 @@ function $eb064bc3350276c1$export$316f6f283ae64765(props) {
|
|
|
10751
10814
|
const style_props_ = $8tj43$createSignal({
|
|
10752
10815
|
position: "fixed"
|
|
10753
10816
|
});
|
|
10754
|
-
const defaultHandler = $8tj43$
|
|
10817
|
+
const defaultHandler = $8tj43$catchify1(() => {
|
|
10755
10818
|
// When selecting text in the SearchField that's in the page we want the same selection to persist. It doesn't by itself, since the SearchModal has an entirely different SearchField. Therefore, we manually copy the selection over.
|
|
10756
10819
|
const selected_text_range_ = [input_element.selectionStart, input_element.selectionEnd];
|
|
10757
10820
|
const {
|
|
@@ -10844,7 +10907,7 @@ const $169c13c0531d91d2$export$d86a33413558014e = openModalParams => {
|
|
|
10844
10907
|
}, dispose_aligner];
|
|
10845
10908
|
};
|
|
10846
10909
|
function $573c007c697a1831$export$d0596b5cae35ad4(open_search) {
|
|
10847
|
-
const handler = $8tj43$
|
|
10910
|
+
const handler = $8tj43$catchify1(e => {
|
|
10848
10911
|
const {
|
|
10849
10912
|
key: key,
|
|
10850
10913
|
target: target
|
|
@@ -10863,7 +10926,7 @@ function $573c007c697a1831$export$d0596b5cae35ad4(open_search) {
|
|
|
10863
10926
|
function $e60a76195ac6d408$export$689e204eadb33baf(pr) {
|
|
10864
10927
|
let old_url;
|
|
10865
10928
|
let disconnect_link_observer;
|
|
10866
|
-
const link_handler = $8tj43$
|
|
10929
|
+
const link_handler = $8tj43$catchify1(e => {
|
|
10867
10930
|
const link = e.currentTarget || e.target;
|
|
10868
10931
|
if (link.href === old_url) {
|
|
10869
10932
|
history.pushState(history.state, "", link.href);
|
|
@@ -10872,7 +10935,7 @@ function $e60a76195ac6d408$export$689e204eadb33baf(pr) {
|
|
|
10872
10935
|
});
|
|
10873
10936
|
let remove_added_listeners;
|
|
10874
10937
|
let resolve_remove_added_listeners;
|
|
10875
|
-
pr.addEventListener("open", $8tj43$
|
|
10938
|
+
pr.addEventListener("open", $8tj43$catchify1(() => {
|
|
10876
10939
|
remove_added_listeners = new Promise(r => resolve_remove_added_listeners = r);
|
|
10877
10940
|
disconnect_link_observer = (0, $8tj43$observer).onexists("a", async _ref => {
|
|
10878
10941
|
let {
|
|
@@ -10883,12 +10946,12 @@ function $e60a76195ac6d408$export$689e204eadb33baf(pr) {
|
|
|
10883
10946
|
element.removeEventListener("click", link_handler);
|
|
10884
10947
|
});
|
|
10885
10948
|
}));
|
|
10886
|
-
pr.addEventListener("close", $8tj43$
|
|
10949
|
+
pr.addEventListener("close", $8tj43$catchify1(() => {
|
|
10887
10950
|
var _disconnect_link_obse, _resolve_remove_added;
|
|
10888
10951
|
(_disconnect_link_obse = disconnect_link_observer) === null || _disconnect_link_obse === void 0 || _disconnect_link_obse();
|
|
10889
10952
|
(_resolve_remove_added = resolve_remove_added_listeners) === null || _resolve_remove_added === void 0 || _resolve_remove_added();
|
|
10890
10953
|
}));
|
|
10891
|
-
$8tj43$
|
|
10954
|
+
$8tj43$catchify1(async () => {
|
|
10892
10955
|
for await (const href of (0, $8tj43$href_change_ipns)) if (!pr.is_page_(new URL(href))) old_url = href;
|
|
10893
10956
|
})();
|
|
10894
10957
|
}
|
|
@@ -10986,7 +11049,7 @@ class $f9fd3017c20b774a$export$3ccaa27d81dd8556 extends EventTarget {
|
|
|
10986
11049
|
});
|
|
10987
11050
|
$f9fd3017c20b774a$var$_classPrivateFieldInitSpec(this, $f9fd3017c20b774a$var$_unload, {
|
|
10988
11051
|
writable: true,
|
|
10989
|
-
value: $8tj43$
|
|
11052
|
+
value: $8tj43$catchify1(() => {
|
|
10990
11053
|
var _classPrivateFieldGet3;
|
|
10991
11054
|
if (!$8tj43$babelruntimehelpersclassPrivateFieldGet(this, $f9fd3017c20b774a$var$_is_open)) return;
|
|
10992
11055
|
(_classPrivateFieldGet3 = $8tj43$babelruntimehelpersclassPrivateFieldGet(this, $f9fd3017c20b774a$var$_disconnect_observer)) === null || _classPrivateFieldGet3 === void 0 || _classPrivateFieldGet3.call(this);
|
|
@@ -11000,7 +11063,7 @@ class $f9fd3017c20b774a$export$3ccaa27d81dd8556 extends EventTarget {
|
|
|
11000
11063
|
});
|
|
11001
11064
|
$f9fd3017c20b774a$var$_classPrivateFieldInitSpec(this, $f9fd3017c20b774a$var$_load, {
|
|
11002
11065
|
writable: true,
|
|
11003
|
-
value: $8tj43$
|
|
11066
|
+
value: $8tj43$catchify1(async els => {
|
|
11004
11067
|
$8tj43$babelruntimehelpersclassPrivateFieldSet(this, $f9fd3017c20b774a$var$_is_open, true);
|
|
11005
11068
|
// So that #load doesn't get called again
|
|
11006
11069
|
let set_should_stay_inserted;
|
|
@@ -11064,7 +11127,7 @@ class $f9fd3017c20b774a$export$3ccaa27d81dd8556 extends EventTarget {
|
|
|
11064
11127
|
async function $f9fd3017c20b774a$var$_listen2() {
|
|
11065
11128
|
const [exit_ipns, exitable_ipns] = $8tj43$make_asyncIterable_exiter((0, $8tj43$href_change_ipns));
|
|
11066
11129
|
$8tj43$babelruntimehelpersclassPrivateFieldSet(this, $f9fd3017c20b774a$var$_stop_listening, exit_ipns);
|
|
11067
|
-
const caught_page_check_fn = $8tj43$
|
|
11130
|
+
const caught_page_check_fn = $8tj43$catchify1(this.is_page_, "page check failed");
|
|
11068
11131
|
for await (const href of exitable_ipns) {
|
|
11069
11132
|
const url = new URL(href);
|
|
11070
11133
|
if (!caught_page_check_fn(url)) {
|
|
@@ -11082,7 +11145,7 @@ function $f9fd3017c20b774a$var$_get_rendered_recs2() {
|
|
|
11082
11145
|
this.addEventListener("close", dispose, {
|
|
11083
11146
|
once: true
|
|
11084
11147
|
});
|
|
11085
|
-
return $8tj43$
|
|
11148
|
+
return $8tj43$catchify1(this.render_, "rendering failed")() || [];
|
|
11086
11149
|
});
|
|
11087
11150
|
}
|
|
11088
11151
|
function $f9fd3017c20b774a$var$_empty_page_bugfix2() {
|
|
@@ -11130,7 +11193,7 @@ var $f9fd3017c20b774a$var$_visited_urls = {
|
|
|
11130
11193
|
writable: true,
|
|
11131
11194
|
value: (() => {
|
|
11132
11195
|
// Keep track of all URLs that have been visited since the document that was initially loaded (loaded means the process where the browser creates a new `document` and `window` object).
|
|
11133
|
-
$8tj43$
|
|
11196
|
+
$8tj43$catchify1(async () => {
|
|
11134
11197
|
// Static initialization blocks aren't supported in MobileSafari yet, otherwise this would be one.
|
|
11135
11198
|
// I don't think we want to ship a library that users are *forced* to transpile, it should run in the newest version of all major browsers. So we'll just use a function wrapper for now (adding "last 1 ios version" to the build target does a bunch of other unneeded transpilations).
|
|
11136
11199
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Static_initialization_blocks
|
|
@@ -11150,4 +11213,4 @@ const $d399250dfa491636$export$c3834fa86c616831 = [[4], [3, 1024], [2, 901]];
|
|
|
11150
11213
|
const $d399250dfa491636$export$864d304a0bc46829 = "2%";
|
|
11151
11214
|
const $d399250dfa491636$export$7bf543b9d9be2c22 = (0, $fa332ea03168857c$export$b91cec6bdc6b32a1);
|
|
11152
11215
|
$8tj43$add_to_version_info("ui", (0, $8db9a15135765c11$export$83d89fbfd8236492));
|
|
11153
|
-
export { $74777e8fe65b3dcb$export$b69d0d92862de18b as SentryErrorBoundary, $ad371564683947ab$export$6c6d7a51fa9aa15d as ExpandingDetails, $e18ab2868df26f40$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $4711a82d08d2021b$export$fecbb157621501bd as SelectedFilters, $f6b0500577e1b210$export$3f1a388cc0d8fed7 as FilterBody, $44aa24b1bb793549$export$b288c38ae3fddb56 as create_modified_filters, $63f1f8dbcd07d3b0$export$d21e32dfedac04be as SolidLayout, $d5f1e6a0f9117286$export$79b1565500412d9b as general_modal_abstraction, $9783d437ad61594c$export$3b621d86b1566b2 as CrossIcon, $ca6ab5f08bd28bca$export$8be2714ec7f169ee as GenericSliderArrowButton, $5c5732ef44f05b26$export$58e808b1db15d3bc as fetchDepictRecommendations, $f5f54892fd0c7d9f$export$de035477d6fef996 as QuickLinks, $f5f54892fd0c7d9f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $fa332ea03168857c$export$b91cec6bdc6b32a1 as CategoryTitle, $702d7656a373973e$export$824dde41348efed1 as embedded_num_products, $96fd967c5b358ead$export$643598a327b5833e as get_categories, $f5f54892fd0c7d9f$export$f34314aa9505732e as DepictCategory, $f5f54892fd0c7d9f$export$e2bf8ce7779e827e as CategoryPage, $eb064bc3350276c1$export$ac6237957a15b3f0 as DepictSearch, $eb064bc3350276c1$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $eb064bc3350276c1$export$f2dc7e4e4aa11abb as SearchPage, $eb064bc3350276c1$export$316f6f283ae64765 as SearchField, $f3b7124b76123e44$export$aa14a9f43128f61f as ProductCardError, $169c13c0531d91d2$export$d86a33413558014e as open_modal_with_alignment, $5eaa00b951637e96$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $1308a7816c3d4f2d$export$b3ad617e9036868 as align_field, $a9c7ba6087881ac2$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $cc64aabf2c7a1f1a$export$1233ca167bf71f9a as styles_to_valid_css_string, $e56d241d0f33d459$export$fe334901e8bebd57 as disable_scrolling, $573c007c697a1831$export$d0596b5cae35ad4 as open_search_with_shift_slash, $284849364a6ef73a$export$e015ed2f2950f2e3 as DepictAPI, $00a5b94f0c11efbb$export$d9f36cf74e24d595 as media_query_to_accessor, $e60a76195ac6d408$export$689e204eadb33baf as setup_fast_leave, $a61a2051e15c8d7a$export$5196e4c01fa56fcb as show_toast, $60ec7a29849d81db$export$a71e92cfbb498adc as SolidFormatPrice, $37e8c97bb6876197$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $bc2337c9a05ecd18$export$acb3eaade4b23afd as BasePlaceholder, $ceafb6fb91c6f394$export$89c6019e4baa40b1 as TextPlaceholder, $3ab4aa97880fb88d$export$3f37af283f8fb843 as ImagePlaceholder, $f9fd3017c20b774a$export$3ccaa27d81dd8556 as PageReplacer, $d399250dfa491636$export$864d304a0bc46829 as defaultGridSpacing, $d399250dfa491636$export$c3834fa86c616831 as defaultColsAtSize, $d399250dfa491636$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $8db9a15135765c11$export$83d89fbfd8236492 as version };
|
|
11216
|
+
export { $56047603f9d212b6$export$6e5611bc7e57e477 as ShopifyResponsiveImg, $56047603f9d212b6$export$e6fffe67d4cdd848 as makeSizeAccessor, $801e8845d3fa3653$export$94026ee33dbabc26 as ImageContainer, $74777e8fe65b3dcb$export$b69d0d92862de18b as SentryErrorBoundary, $ad371564683947ab$export$6c6d7a51fa9aa15d as ExpandingDetails, $e18ab2868df26f40$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $4711a82d08d2021b$export$fecbb157621501bd as SelectedFilters, $f6b0500577e1b210$export$3f1a388cc0d8fed7 as FilterBody, $44aa24b1bb793549$export$b288c38ae3fddb56 as create_modified_filters, $63f1f8dbcd07d3b0$export$d21e32dfedac04be as SolidLayout, $d5f1e6a0f9117286$export$79b1565500412d9b as general_modal_abstraction, $9783d437ad61594c$export$3b621d86b1566b2 as CrossIcon, $ca6ab5f08bd28bca$export$8be2714ec7f169ee as GenericSliderArrowButton, $5c5732ef44f05b26$export$58e808b1db15d3bc as fetchDepictRecommendations, $f5f54892fd0c7d9f$export$de035477d6fef996 as QuickLinks, $f5f54892fd0c7d9f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $fa332ea03168857c$export$b91cec6bdc6b32a1 as CategoryTitle, $702d7656a373973e$export$824dde41348efed1 as embedded_num_products, $96fd967c5b358ead$export$643598a327b5833e as get_categories, $f5f54892fd0c7d9f$export$f34314aa9505732e as DepictCategory, $f5f54892fd0c7d9f$export$e2bf8ce7779e827e as CategoryPage, $eb064bc3350276c1$export$ac6237957a15b3f0 as DepictSearch, $eb064bc3350276c1$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $eb064bc3350276c1$export$f2dc7e4e4aa11abb as SearchPage, $eb064bc3350276c1$export$316f6f283ae64765 as SearchField, $f3b7124b76123e44$export$aa14a9f43128f61f as ProductCardError, $169c13c0531d91d2$export$d86a33413558014e as open_modal_with_alignment, $5eaa00b951637e96$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $1308a7816c3d4f2d$export$b3ad617e9036868 as align_field, $a9c7ba6087881ac2$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $cc64aabf2c7a1f1a$export$1233ca167bf71f9a as styles_to_valid_css_string, $e56d241d0f33d459$export$fe334901e8bebd57 as disable_scrolling, $573c007c697a1831$export$d0596b5cae35ad4 as open_search_with_shift_slash, $284849364a6ef73a$export$e015ed2f2950f2e3 as DepictAPI, $00a5b94f0c11efbb$export$d9f36cf74e24d595 as media_query_to_accessor, $e60a76195ac6d408$export$689e204eadb33baf as setup_fast_leave, $a61a2051e15c8d7a$export$5196e4c01fa56fcb as show_toast, $60ec7a29849d81db$export$a71e92cfbb498adc as SolidFormatPrice, $37e8c97bb6876197$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $bc2337c9a05ecd18$export$acb3eaade4b23afd as BasePlaceholder, $ceafb6fb91c6f394$export$89c6019e4baa40b1 as TextPlaceholder, $3ab4aa97880fb88d$export$3f37af283f8fb843 as ImagePlaceholder, $f9fd3017c20b774a$export$3ccaa27d81dd8556 as PageReplacer, $d399250dfa491636$export$864d304a0bc46829 as defaultGridSpacing, $d399250dfa491636$export$c3834fa86c616831 as defaultColsAtSize, $d399250dfa491636$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $8db9a15135765c11$export$83d89fbfd8236492 as version };
|