@depict-ai/ui 4.7.24 → 4.7.25
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 +112 -33
- package/ES10/index.d.ts +5 -1
- package/ES10/index.js +330 -252
- package/latest/index.cjs +112 -33
- package/latest/index.d.ts +5 -1
- package/latest/index.js +330 -252
- package/package.json +1 -1
- package/server/ES10/index.cjs +83 -20
- package/server/ES10/index.d.ts +5 -1
- package/server/ES10/index.js +219 -157
- package/server/latest/index.cjs +83 -20
- package/server/latest/index.d.ts +5 -1
- package/server/latest/index.js +219 -157
package/server/ES10/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { add_to_version_info as $b8hua$add_to_version_info, slider_fading_factory as $b8hua$slider_fading_factory, Amazing_Slider as $b8hua$Amazing_Slider, slider_snap_css as $b8hua$slider_snap_css, catchify as $b8hua$
|
|
2
|
-
import {
|
|
1
|
+
import { add_to_version_info as $b8hua$add_to_version_info, slider_fading_factory as $b8hua$slider_fading_factory, Amazing_Slider as $b8hua$Amazing_Slider, slider_snap_css as $b8hua$slider_snap_css, catchify as $b8hua$catchify1, dlog as $b8hua$dlog1, camelCasifyObject as $b8hua$camelCasifyObject, useExpandingContainer as $b8hua$useExpandingContainer, fetch_retry as $b8hua$fetch_retry, base_url as $b8hua$base_url, dwarn as $b8hua$dwarn, slider_fractional_factory as $b8hua$slider_fractional_factory, make_random_classname as $b8hua$make_random_classname, n_col_styling_with_dist as $b8hua$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $b8hua$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $b8hua$layout_get_total_rec_amount_for_row, layout_media_query_header as $b8hua$layout_media_query_header, report as $b8hua$report, observer as $b8hua$observer, javascript_media_query as $b8hua$javascript_media_query, queueMacroTask as $b8hua$queueMacroTask, findMostFrequentItem as $b8hua$findMostFrequentItem, standard_price_format as $b8hua$standard_price_format, instant_exec_on_suspect_history_change as $b8hua$instant_exec_on_suspect_history_change, deparallelize_no_drop as $b8hua$deparallelize_no_drop, ContainedImage as $b8hua$ContainedImage, make_asyncIterable_exiter as $b8hua$make_asyncIterable_exiter, href_change_ipns as $b8hua$href_change_ipns, base64_encode_unicode as $b8hua$base64_encode_unicode, base64_decode_unicode as $b8hua$base64_decode_unicode, use_href_accessor as $b8hua$use_href_accessor, get_session_id as $b8hua$get_session_id, add_version_query_params as $b8hua$add_version_query_params, hex_to_rgb as $b8hua$hex_to_rgb, relative_luminance_from_rgb as $b8hua$relative_luminance_from_rgb, snakeCasifyObject as $b8hua$snakeCasifyObject, make_url_with_query_params as $b8hua$make_url_with_query_params, sort_obj as $b8hua$sort_obj, insert_surfaces as $b8hua$insert_surfaces } from "@depict-ai/utilishared/ES10";
|
|
2
|
+
import { dlog as $b8hua$dlog, catchify as $b8hua$catchify, ListenableSet as $b8hua$ListenableSet, use_href_accessor as $b8hua$use_href_accessor1, queueMacroTask as $b8hua$queueMacroTask1, report as $b8hua$report1 } from "@depict-ai/utilishared/ES10";
|
|
3
|
+
import { createRoot as $b8hua$createRoot, createSignal as $b8hua$createSignal, createEffect as $b8hua$createEffect, onCleanup as $b8hua$onCleanup, createContext as $b8hua$createContext, Show as $b8hua$Show, useContext as $b8hua$useContext, createMemo as $b8hua$createMemo, untrack as $b8hua$untrack, For as $b8hua$For, getOwner as $b8hua$getOwner, createResource as $b8hua$createResource, runWithOwner as $b8hua$runWithOwner, mergeProps as $b8hua$mergeProps1, Suspense as $b8hua$Suspense, createRenderEffect as $b8hua$createRenderEffect, Index as $b8hua$Index, createUniqueId as $b8hua$createUniqueId, createComputed as $b8hua$createComputed, ErrorBoundary as $b8hua$ErrorBoundary, splitProps as $b8hua$splitProps, on as $b8hua$on, batch as $b8hua$batch, createSelector as $b8hua$createSelector, children as $b8hua$children, createReaction as $b8hua$createReaction, mapArray as $b8hua$mapArray } from "solid-js";
|
|
3
4
|
import { ssr as $b8hua$ssr, ssrHydrationKey as $b8hua$ssrHydrationKey, escape as $b8hua$escape, createComponent as $b8hua$createComponent, isServer as $b8hua$isServer, insert as $b8hua$insert, ssrAttribute as $b8hua$ssrAttribute, ssrStyle as $b8hua$ssrStyle, mergeProps as $b8hua$mergeProps, ssrElement as $b8hua$ssrElement, ssrClassList as $b8hua$ssrClassList, spread as $b8hua$spread, Dynamic as $b8hua$Dynamic } from "solid-js/web";
|
|
4
5
|
import $b8hua$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
|
-
import { ListenableSet as $b8hua$ListenableSet, catchify as $b8hua$catchify1, use_href_accessor as $b8hua$use_href_accessor1, queueMacroTask as $b8hua$queueMacroTask1, report as $b8hua$report1 } from "@depict-ai/utilishared/ES10";
|
|
6
6
|
import $b8hua$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
|
|
7
7
|
import $b8hua$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpers/classPrivateFieldGet";
|
|
8
8
|
import { createStore as $b8hua$createStore, reconcile as $b8hua$reconcile } from "solid-js/store";
|
|
@@ -10,7 +10,68 @@ import { createStore as $b8hua$createStore, reconcile as $b8hua$reconcile } from
|
|
|
10
10
|
/*! Depict.ai search and product listing SDK */
|
|
11
11
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
12
12
|
register_es_version("ui", "ES10");
|
|
13
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.
|
|
13
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.25";
|
|
14
|
+
let $715f7f2e53146662$var$elementsHoveredSignal;
|
|
15
|
+
let $715f7f2e53146662$var$consumersSignal;
|
|
16
|
+
function $715f7f2e53146662$export$d4d96868197be50e() {
|
|
17
|
+
if (!$715f7f2e53146662$var$elementsHoveredSignal || !$715f7f2e53146662$var$consumersSignal) $b8hua$createRoot(dispose => {
|
|
18
|
+
$715f7f2e53146662$var$elementsHoveredSignal = $b8hua$createSignal(new Set());
|
|
19
|
+
$715f7f2e53146662$var$consumersSignal = $b8hua$createSignal(0);
|
|
20
|
+
const [consumers] = $715f7f2e53146662$var$consumersSignal;
|
|
21
|
+
// No matter how often useMobileHover is called, only add one listener and get hovered elements once per touchmove event, for efficiency
|
|
22
|
+
$715f7f2e53146662$var$doHeavyCalculations();
|
|
23
|
+
$b8hua$createEffect(() => {
|
|
24
|
+
// No-one needs information anymore, stop listening
|
|
25
|
+
const users = consumers();
|
|
26
|
+
if (users < 1) {
|
|
27
|
+
$b8hua$dlog("Stopping to listen for mobile hover");
|
|
28
|
+
dispose();
|
|
29
|
+
$715f7f2e53146662$var$elementsHoveredSignal = undefined;
|
|
30
|
+
$715f7f2e53146662$var$consumersSignal = undefined;
|
|
31
|
+
}
|
|
32
|
+
});
|
|
33
|
+
});
|
|
34
|
+
const [elementsHovered] = $715f7f2e53146662$var$elementsHoveredSignal;
|
|
35
|
+
const [, setConsumers] = $715f7f2e53146662$var$consumersSignal;
|
|
36
|
+
setConsumers(prev => prev + 1);
|
|
37
|
+
$b8hua$onCleanup(() => setConsumers(prev => prev - 1));
|
|
38
|
+
return elementsHovered;
|
|
39
|
+
}
|
|
40
|
+
function $715f7f2e53146662$var$doHeavyCalculations() {
|
|
41
|
+
$b8hua$dlog("Starting to listen for mobile hover");
|
|
42
|
+
const [, setElementsHovered] = $715f7f2e53146662$var$elementsHoveredSignal;
|
|
43
|
+
const elementAtTouch = new Map();
|
|
44
|
+
const updateSet = () => setElementsHovered(new Set([...elementAtTouch.values()].filter(v => v)));
|
|
45
|
+
const setPositionHandler = $b8hua$catchify(evt => {
|
|
46
|
+
for (const touch of evt.changedTouches) elementAtTouch.set(touch.identifier, $715f7f2e53146662$var$getElementAtTouch(touch));
|
|
47
|
+
updateSet();
|
|
48
|
+
});
|
|
49
|
+
const deleteTouchHandler = $b8hua$catchify(evt => {
|
|
50
|
+
for (const touch of evt.changedTouches) elementAtTouch.delete(touch.identifier);
|
|
51
|
+
updateSet();
|
|
52
|
+
});
|
|
53
|
+
addEventListener("touchstart", setPositionHandler, {
|
|
54
|
+
passive: true
|
|
55
|
+
});
|
|
56
|
+
addEventListener("touchmove", setPositionHandler, {
|
|
57
|
+
passive: true
|
|
58
|
+
});
|
|
59
|
+
addEventListener("touchend", deleteTouchHandler, {
|
|
60
|
+
passive: true
|
|
61
|
+
});
|
|
62
|
+
addEventListener("touchcancel", deleteTouchHandler, {
|
|
63
|
+
passive: true
|
|
64
|
+
});
|
|
65
|
+
$b8hua$onCleanup(() => {
|
|
66
|
+
removeEventListener("touchstart", setPositionHandler);
|
|
67
|
+
removeEventListener("touchmove", setPositionHandler);
|
|
68
|
+
removeEventListener("touchend", deleteTouchHandler);
|
|
69
|
+
removeEventListener("touchcancel", deleteTouchHandler);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
function $715f7f2e53146662$var$getElementAtTouch(touch) {
|
|
73
|
+
return document.elementFromPoint(touch.clientX, touch.clientY);
|
|
74
|
+
}
|
|
14
75
|
function $a35e6f680c5bbc60$export$54299a3c81f5425() {
|
|
15
76
|
const d = document;
|
|
16
77
|
const [isVisible, setIsVisible] = $b8hua$createSignal(d.visibilityState !== "hidden");
|
|
@@ -260,7 +321,7 @@ function $2d7bad8684bc7f44$export$43f0fb951fcb0c54(_ref) {
|
|
|
260
321
|
} catch (e) {
|
|
261
322
|
if (!$2d7bad8684bc7f44$var$printedCloneError) {
|
|
262
323
|
$2d7bad8684bc7f44$var$printedCloneError = true;
|
|
263
|
-
$b8hua$
|
|
324
|
+
$b8hua$dlog1("Can't clone display", display, " (uncloneable objects in it), make sure you don't mutate it in the template since we cache.", e);
|
|
264
325
|
}
|
|
265
326
|
}
|
|
266
327
|
let renderingResult;
|
|
@@ -360,7 +421,7 @@ function $618bd53ea0a41cd4$export$4a14175d33d81a96(_ref) {
|
|
|
360
421
|
};
|
|
361
422
|
// The following sets up an intersection observer to determine which results are in the viewport, used for the ScrollStatus indicator, knowing when to load more and any other consumer of the useProductCardIsVisible hook.
|
|
362
423
|
const shouldObserve = $b8hua$createMemo(() => alwaysObserveCards_ || listenersForIntersecting() > 0);
|
|
363
|
-
const intersection_observer = new IntersectionObserver($b8hua$
|
|
424
|
+
const intersection_observer = new IntersectionObserver($b8hua$catchify1(records => {
|
|
364
425
|
const intersectingValue = currentlyIntersecting();
|
|
365
426
|
for (let i = 0; i < records.length; i++) {
|
|
366
427
|
const record = records[i];
|
|
@@ -726,7 +787,7 @@ function $63f1f8dbcd07d3b0$export$445d8d3f5f706a40(props, container_element) {
|
|
|
726
787
|
}
|
|
727
788
|
update_children_count();
|
|
728
789
|
if (!(0, $b8hua$isServer)) {
|
|
729
|
-
const mutation_observer = new MutationObserver($b8hua$
|
|
790
|
+
const mutation_observer = new MutationObserver($b8hua$catchify1(update_children_count));
|
|
730
791
|
mutation_observer.observe(container_element, {
|
|
731
792
|
childList: true
|
|
732
793
|
});
|
|
@@ -1013,7 +1074,7 @@ function $6db93f70c2db1486$export$2972b890694ced75(callback, _ref) {
|
|
|
1013
1074
|
}
|
|
1014
1075
|
function $56047603f9d212b6$export$e6fffe67d4cdd848(whatToWatch) {
|
|
1015
1076
|
const [size, setSize] = $b8hua$createSignal(0);
|
|
1016
|
-
const resizeObserver = new ResizeObserver($b8hua$
|
|
1077
|
+
const resizeObserver = new ResizeObserver($b8hua$catchify1(records => {
|
|
1017
1078
|
for (let j = 0; j < records.length; j++) {
|
|
1018
1079
|
const {
|
|
1019
1080
|
width: width
|
|
@@ -1028,7 +1089,7 @@ function $56047603f9d212b6$export$e6fffe67d4cdd848(whatToWatch) {
|
|
|
1028
1089
|
let {
|
|
1029
1090
|
element: element
|
|
1030
1091
|
} = _ref;
|
|
1031
|
-
return requestAnimationFrame($b8hua$
|
|
1092
|
+
return requestAnimationFrame($b8hua$catchify1(() => resizeObserver.observe(element)));
|
|
1032
1093
|
});
|
|
1033
1094
|
$b8hua$onCleanup(() => {
|
|
1034
1095
|
resizeObserver.disconnect();
|
|
@@ -1086,7 +1147,7 @@ function $56047603f9d212b6$export$6e5611bc7e57e477(props) {
|
|
|
1086
1147
|
if (existingStack) return existingStack.add(fn);
|
|
1087
1148
|
const newStack = new Set([fn]);
|
|
1088
1149
|
if (listingContext) listingContext[$56047603f9d212b6$var$onIdleFunctionsSymbol] = newStack;
|
|
1089
|
-
const processStackWhenIdle = () => $6db93f70c2db1486$export$2972b890694ced75($b8hua$
|
|
1150
|
+
const processStackWhenIdle = () => $6db93f70c2db1486$export$2972b890694ced75($b8hua$catchify1(deadline => {
|
|
1090
1151
|
const start = performance.now();
|
|
1091
1152
|
const thirdDeadlineTime = deadline.timeRemaining() / 3; // observers coming after this take up 2-3x the time so don't use all of it
|
|
1092
1153
|
for (const fn of newStack) {
|
|
@@ -1118,7 +1179,7 @@ function $56047603f9d212b6$export$6e5611bc7e57e477(props) {
|
|
|
1118
1179
|
let prevValue;
|
|
1119
1180
|
const aspectRatios = listingContext[$56047603f9d212b6$export$f8945274f08a3105] || (listingContext[$56047603f9d212b6$export$f8945274f08a3105] = new Set());
|
|
1120
1181
|
const [, setMostPrevalentAspectRatio] = listingContext[$56047603f9d212b6$export$6066eb417ed2e9f7] || (listingContext[$56047603f9d212b6$export$6066eb417ed2e9f7] = $b8hua$createSignal());
|
|
1121
|
-
img.addEventListener("load", $b8hua$
|
|
1182
|
+
img.addEventListener("load", $b8hua$catchify1(() => {
|
|
1122
1183
|
if (props.keyRatioUpdating) {
|
|
1123
1184
|
if (!srcJustChanged) return;
|
|
1124
1185
|
srcJustChanged = false;
|
|
@@ -1152,7 +1213,7 @@ function $56047603f9d212b6$export$6e5611bc7e57e477(props) {
|
|
|
1152
1213
|
$b8hua$createEffect(() => {
|
|
1153
1214
|
if (!props.size()) return; // wait until we have a size, run every time the size changes
|
|
1154
1215
|
if (timeoutSet) return;
|
|
1155
|
-
const handler = $b8hua$
|
|
1216
|
+
const handler = $b8hua$catchify1(() => {
|
|
1156
1217
|
if (gotCleanedUp) return;
|
|
1157
1218
|
img.sizes = sizePX(); // use latest available value of props.size
|
|
1158
1219
|
if (!sizeSetFastPath) {
|
|
@@ -1289,10 +1350,10 @@ function $60ec7a29849d81db$export$a71e92cfbb498adc(props) {
|
|
|
1289
1350
|
return $b8hua$standard_price_format(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
|
|
1290
1351
|
});
|
|
1291
1352
|
}
|
|
1292
|
-
var $
|
|
1293
|
-
$
|
|
1294
|
-
$
|
|
1295
|
-
function $
|
|
1353
|
+
var $f84b097e079b0a33$var$_tmpl$ = ["<div", ' class="img-wrapper">', "</div>"],
|
|
1354
|
+
$f84b097e079b0a33$var$_tmpl$2 = ["<span", ' class="d-price original">', "</span>"],
|
|
1355
|
+
$f84b097e079b0a33$var$_tmpl$3 = ["<div", ' class="right-part"><div class="text-container">', '<span class="', '">', "</span><!--$-->", "<!--/--></div><!--$-->", "<!--/--></div>"];
|
|
1356
|
+
function $f84b097e079b0a33$export$b73ed90f0ee50dc3(_ref) {
|
|
1296
1357
|
let {
|
|
1297
1358
|
display_: display_,
|
|
1298
1359
|
FavoriteButton_: FavoriteButton_,
|
|
@@ -1345,7 +1406,7 @@ function $0c5b1686f971e5e7$export$b73ed90f0ee50dc3(_ref) {
|
|
|
1345
1406
|
});
|
|
1346
1407
|
},
|
|
1347
1408
|
get children() {
|
|
1348
|
-
return $b8hua$ssr($
|
|
1409
|
+
return $b8hua$ssr($f84b097e079b0a33$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
|
|
1349
1410
|
get when() {
|
|
1350
1411
|
return imageUrl();
|
|
1351
1412
|
},
|
|
@@ -1377,7 +1438,7 @@ function $0c5b1686f971e5e7$export$b73ed90f0ee50dc3(_ref) {
|
|
|
1377
1438
|
return (animationEffectExists() ? isExpandedThrottledByOurEffectRun() : userWantsExpanded()) || animationIsRunning();
|
|
1378
1439
|
},
|
|
1379
1440
|
get children() {
|
|
1380
|
-
return $b8hua$ssr($
|
|
1441
|
+
return $b8hua$ssr($f84b097e079b0a33$var$_tmpl$3, $b8hua$ssrHydrationKey(), $b8hua$ssrElement("span", $b8hua$mergeProps({
|
|
1381
1442
|
"class": "d-title line-clamp"
|
|
1382
1443
|
}, () => title() && {
|
|
1383
1444
|
title: title()
|
|
@@ -1419,7 +1480,7 @@ function $0c5b1686f971e5e7$export$b73ed90f0ee50dc3(_ref) {
|
|
|
1419
1480
|
return isOnSale();
|
|
1420
1481
|
},
|
|
1421
1482
|
get children() {
|
|
1422
|
-
return $b8hua$ssr($
|
|
1483
|
+
return $b8hua$ssr($f84b097e079b0a33$var$_tmpl$2, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
|
|
1423
1484
|
get when() {
|
|
1424
1485
|
return variantToUse() && !originalPrice.loading;
|
|
1425
1486
|
},
|
|
@@ -1473,7 +1534,7 @@ async function $c4103af154850e50$var$checkIfIsAffectedByChromeBug326498383() {
|
|
|
1473
1534
|
const waitAFrame = () => new Promise(r => requestAnimationFrame(() => requestAnimationFrame(r)));
|
|
1474
1535
|
const timeoutPromise = new Promise(r => {
|
|
1475
1536
|
resolveTimeoutPromise = r;
|
|
1476
|
-
setTimeout($b8hua$
|
|
1537
|
+
setTimeout($b8hua$catchify1(() => {
|
|
1477
1538
|
r();
|
|
1478
1539
|
div.remove();
|
|
1479
1540
|
}), 500);
|
|
@@ -1505,12 +1566,12 @@ async function $c4103af154850e50$var$checkIfIsAffectedByChromeBug326498383() {
|
|
|
1505
1566
|
});
|
|
1506
1567
|
await timeoutPromise;
|
|
1507
1568
|
} catch (e) {
|
|
1508
|
-
$b8hua$
|
|
1569
|
+
$b8hua$dlog1("Failed to check if affected by chrome bug 326498383", e);
|
|
1509
1570
|
}
|
|
1510
1571
|
return isAffected;
|
|
1511
1572
|
}
|
|
1512
|
-
var $
|
|
1513
|
-
function $
|
|
1573
|
+
var $275d06a183ca0a29$var$_tmpl$ = ["<div", ' class="scroll-padding"><div class="', '" style="', '">', "</div></div>"];
|
|
1574
|
+
function $275d06a183ca0a29$export$ebf0b1d4f90c09ae(_ref) {
|
|
1514
1575
|
let {
|
|
1515
1576
|
displays_: displays_,
|
|
1516
1577
|
FavoriteButton_: FavoriteButton_,
|
|
@@ -1530,6 +1591,7 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
|
|
|
1530
1591
|
const textFadeInAnimationRunning = $b8hua$createSignal(false);
|
|
1531
1592
|
const [getSecondPartAnimationRunning] = textFadeInAnimationRunning;
|
|
1532
1593
|
const [userWantsExpanded, setUserWantsExpanded] = userWantsExpandedSignal_;
|
|
1594
|
+
//const elementsHovered = useMobileHover();
|
|
1533
1595
|
$c4103af154850e50$export$7b9a0e99f0aeb2f3().then(is => isAffectedByChromeBug = is);
|
|
1534
1596
|
return $b8hua$createComponent((0, $5441862cd2f5e111$export$e68cff63f76bd15b), {
|
|
1535
1597
|
get children() {
|
|
@@ -1538,7 +1600,7 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
|
|
|
1538
1600
|
return containerWidth_() || !displays_();
|
|
1539
1601
|
},
|
|
1540
1602
|
get children() {
|
|
1541
|
-
return $b8hua$ssr($
|
|
1603
|
+
return $b8hua$ssr($275d06a183ca0a29$var$_tmpl$, $b8hua$ssrHydrationKey(), "look-overlay ".concat(userWantsExpanded() ? "expanded" : "", " ").concat(!getSecondPartAnimationRunning() && userWantsExpanded() ? "resting-fully-expanded" : ""), $b8hua$ssrStyle(displays_() &&
|
|
1542
1604
|
// The styling is written like this to eke out animation smoothness on low CPU devices, git blame for previous, more readable versions.
|
|
1543
1605
|
"--look-card-width:".concat(containerWidth_(), "px;--look-card-height:").concat(containerHeight_(), "px;--look-item-height:").concat(lookItemHeight() || 200, "px")), $b8hua$escape($b8hua$createComponent((0, $b8hua$Index), {
|
|
1544
1606
|
get each() {
|
|
@@ -1547,7 +1609,7 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
|
|
|
1547
1609
|
});
|
|
1548
1610
|
},
|
|
1549
1611
|
children: (display, index) => {
|
|
1550
|
-
return $b8hua$createComponent((0, $
|
|
1612
|
+
return $b8hua$createComponent((0, $f84b097e079b0a33$export$b73ed90f0ee50dc3), {
|
|
1551
1613
|
pseudoRouter_: pseudoRouter_,
|
|
1552
1614
|
animationDuration_: animationDuration_,
|
|
1553
1615
|
display_: display,
|
|
@@ -1557,7 +1619,7 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
|
|
|
1557
1619
|
priceFormatting_: priceFormatting_,
|
|
1558
1620
|
outerRef_: el => $b8hua$createEffect(() => {
|
|
1559
1621
|
if (index !== 0) return;
|
|
1560
|
-
const resizeObserver = new ResizeObserver($b8hua$
|
|
1622
|
+
const resizeObserver = new ResizeObserver($b8hua$catchify1(records => setLookItemHeight(records.at(-1).contentRect.height)));
|
|
1561
1623
|
resizeObserver.observe(el);
|
|
1562
1624
|
$b8hua$onCleanup(() => resizeObserver.disconnect());
|
|
1563
1625
|
})
|
|
@@ -1572,11 +1634,11 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
|
|
|
1572
1634
|
/**
|
|
1573
1635
|
* Workaround for Chrome bug 326498383, adapted version of https://stackoverflow.com/a/39494245
|
|
1574
1636
|
*/
|
|
1575
|
-
function $
|
|
1637
|
+
function $275d06a183ca0a29$var$scrollingFunctionForChrome(element, targetScrollY, duration) {
|
|
1576
1638
|
let start;
|
|
1577
1639
|
const startingY = element.scrollTop;
|
|
1578
1640
|
const diff = targetScrollY - startingY;
|
|
1579
|
-
const step = $b8hua$
|
|
1641
|
+
const step = $b8hua$catchify1(timestamp => {
|
|
1580
1642
|
if (!start) start = timestamp;
|
|
1581
1643
|
// Elapsed milliseconds since start of scrolling.
|
|
1582
1644
|
const time = timestamp - start;
|
|
@@ -1589,8 +1651,8 @@ function $4089a7972a508539$var$scrollingFunctionForChrome(element, targetScrollY
|
|
|
1589
1651
|
// Bootstrap our animation - it will get called right before next frame shall be rendered.
|
|
1590
1652
|
requestAnimationFrame(step);
|
|
1591
1653
|
}
|
|
1592
|
-
var $
|
|
1593
|
-
function $
|
|
1654
|
+
var $22dd375b476673e2$var$_tmpl$ = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
|
|
1655
|
+
function $22dd375b476673e2$export$44809a8a3e867e30(_ref) {
|
|
1594
1656
|
let {
|
|
1595
1657
|
display_: display_,
|
|
1596
1658
|
expandedLooksSignal_: [expandedLooks_, setExpandedLooks],
|
|
@@ -1608,7 +1670,7 @@ function $697d8713dc82b9ab$export$44809a8a3e867e30(_ref) {
|
|
|
1608
1670
|
const index = $1e69163caedaab4e$export$e3faf4d95300054f();
|
|
1609
1671
|
const [containerWidth_, setContainerWidth] = $b8hua$createSignal();
|
|
1610
1672
|
const [containerHeight_, setContainerHeight] = $b8hua$createSignal();
|
|
1611
|
-
const clickHandler = $b8hua$
|
|
1673
|
+
const clickHandler = $b8hua$catchify1(_ref2 => {
|
|
1612
1674
|
let {
|
|
1613
1675
|
target: target
|
|
1614
1676
|
} = _ref2;
|
|
@@ -1649,7 +1711,7 @@ function $697d8713dc82b9ab$export$44809a8a3e867e30(_ref) {
|
|
|
1649
1711
|
}
|
|
1650
1712
|
// Close us if another look expands
|
|
1651
1713
|
$b8hua$createEffect(() => !expandedLooks_().has(us) && setUserWantsExpanded(false));
|
|
1652
|
-
return $b8hua$ssr($
|
|
1714
|
+
return $b8hua$ssr($22dd375b476673e2$var$_tmpl$, $b8hua$ssrHydrationKey(), "look-card ".concat(!display_() ? "placeholder" : ""), $b8hua$escape($b8hua$createComponent((0, $b8hua$Show), {
|
|
1653
1715
|
get when() {
|
|
1654
1716
|
return display_();
|
|
1655
1717
|
},
|
|
@@ -1668,7 +1730,7 @@ function $697d8713dc82b9ab$export$44809a8a3e867e30(_ref) {
|
|
|
1668
1730
|
autoAdjustAspectRatio: true
|
|
1669
1731
|
});
|
|
1670
1732
|
}
|
|
1671
|
-
})), $b8hua$escape($b8hua$createComponent((0, $
|
|
1733
|
+
})), $b8hua$escape($b8hua$createComponent((0, $275d06a183ca0a29$export$ebf0b1d4f90c09ae), {
|
|
1672
1734
|
displays_: () => {
|
|
1673
1735
|
var _display_2;
|
|
1674
1736
|
return (_display_2 = display_()) === null || _display_2 === void 0 ? void 0 : _display_2.displays;
|
|
@@ -1737,7 +1799,7 @@ class $ac571292d606f30b$export$7e1297a3a19f10d8 {
|
|
|
1737
1799
|
* @param is_replace_ if you want to replace the current URL in history instead of pushing a new one
|
|
1738
1800
|
* @param listing_id_ If you are navigating to a category and know the listing_id of, please provide it. This is for making a better devEx in js-ui
|
|
1739
1801
|
*/
|
|
1740
|
-
go_to_: $b8hua$
|
|
1802
|
+
go_to_: $b8hua$catchify1(async _ref => {
|
|
1741
1803
|
let {
|
|
1742
1804
|
new_url_: raw_new_url,
|
|
1743
1805
|
event_: event_,
|
|
@@ -1948,7 +2010,7 @@ function $bb34cd283e904784$export$2c9f9bf2092486aa(props) {
|
|
|
1948
2010
|
return $bb34cd283e904784$var$runDisplayTransformersForLooks(baseData, listings, props.displayTransformers_);
|
|
1949
2011
|
});
|
|
1950
2012
|
const sharedOptions = {
|
|
1951
|
-
product_card_template_: display => $
|
|
2013
|
+
product_card_template_: display => $22dd375b476673e2$export$44809a8a3e867e30({
|
|
1952
2014
|
display_: () => display,
|
|
1953
2015
|
FavoriteButton_: props.FavoriteButton_,
|
|
1954
2016
|
placeholderImageAspectRatio_: props.imagePlaceholderAspectRatio_,
|
|
@@ -2280,7 +2342,7 @@ function $f7414b949aeabc90$export$62f101a8aa597bf8(_ref) {
|
|
|
2280
2342
|
// don't wait if it's the first request
|
|
2281
2343
|
write_current_instant_query(value);
|
|
2282
2344
|
clearTimeout(timeout);
|
|
2283
|
-
timeout = setTimeout($b8hua$
|
|
2345
|
+
timeout = setTimeout($b8hua$catchify1(() => write_current_instant_query(value)), 250);
|
|
2284
2346
|
});
|
|
2285
2347
|
const [search_results] = $b8hua$createResource($b8hua$createMemo(() => ({
|
|
2286
2348
|
// <-- key order important, see comment below
|
|
@@ -2288,7 +2350,7 @@ function $f7414b949aeabc90$export$62f101a8aa597bf8(_ref) {
|
|
|
2288
2350
|
market: market_(),
|
|
2289
2351
|
locale: i18n_.backend_locale_(),
|
|
2290
2352
|
query: read_current_instant_query()
|
|
2291
|
-
})), $b8hua$
|
|
2353
|
+
})), $b8hua$catchify1(async variable_data => {
|
|
2292
2354
|
return depict_api_.query({
|
|
2293
2355
|
// 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
|
|
2294
2356
|
limit: $b8hua$untrack(has_sort_or_filters_) ? max_cards : min_products_to_fetch_,
|
|
@@ -2389,7 +2451,7 @@ function $9974e016866745eb$export$c7e181728ad525f(url) {
|
|
|
2389
2451
|
return;
|
|
2390
2452
|
$9974e016866745eb$var$last_sent_value = new_value;
|
|
2391
2453
|
const args = ["depict.send", "pageview", new_value];
|
|
2392
|
-
$b8hua$
|
|
2454
|
+
$b8hua$dlog1("Calling ga with args", ...args);
|
|
2393
2455
|
// @ts-ignore
|
|
2394
2456
|
ga(...args);
|
|
2395
2457
|
}
|
|
@@ -2404,7 +2466,7 @@ function $a09bb7c652acf957$export$3340fdd8259bd4fd(_ref) {
|
|
|
2404
2466
|
if (process.env.GA === "false") return;
|
|
2405
2467
|
let debounce_timeout;
|
|
2406
2468
|
const stop_timeout = () => clearTimeout(debounce_timeout);
|
|
2407
|
-
const send_to_ga = $b8hua$
|
|
2469
|
+
const send_to_ga = $b8hua$catchify1(() => {
|
|
2408
2470
|
const fake_url = new URL(location.href);
|
|
2409
2471
|
const {
|
|
2410
2472
|
searchParams: searchParams
|
|
@@ -2417,12 +2479,12 @@ function $a09bb7c652acf957$export$3340fdd8259bd4fd(_ref) {
|
|
|
2417
2479
|
$b8hua$onCleanup(() => {
|
|
2418
2480
|
setTimeout(
|
|
2419
2481
|
// 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
|
|
2420
|
-
$b8hua$
|
|
2482
|
+
$b8hua$catchify1(() => {
|
|
2421
2483
|
if ($b8hua$untrack(get_search_query_) === $b8hua$untrack(get_search_field_value_)) stop_timeout();
|
|
2422
2484
|
}));
|
|
2423
2485
|
});
|
|
2424
2486
|
let first_call = true;
|
|
2425
|
-
$b8hua$createEffect($b8hua$
|
|
2487
|
+
$b8hua$createEffect($b8hua$catchify1(() => {
|
|
2426
2488
|
get_search_field_value_();
|
|
2427
2489
|
if (first_call) {
|
|
2428
2490
|
// we only want to do stuff when it changes
|
|
@@ -2442,7 +2504,7 @@ function $e8776b492383c292$export$91c3b6774e8be0f5(_ref) {
|
|
|
2442
2504
|
const [get_current_href, set_current_href] = $b8hua$createSignal(location.href);
|
|
2443
2505
|
const [exit_iterable, exitable_iterable] = $b8hua$make_asyncIterable_exiter((0, $b8hua$href_change_ipns));
|
|
2444
2506
|
$b8hua$onCleanup(exit_iterable);
|
|
2445
|
-
$b8hua$
|
|
2507
|
+
$b8hua$catchify1(async () => {
|
|
2446
2508
|
for await (const href of exitable_iterable)
|
|
2447
2509
|
// use native links so ppl can cmdclick/right click and open in new tab and see target URL
|
|
2448
2510
|
set_current_href(href);
|
|
@@ -2856,7 +2918,7 @@ function $75e33704f2a83029$var$actual_navigation_working_on_fake_data(_ref2) {
|
|
|
2856
2918
|
if (!$b8hua$untrack(() => read_updating_blocked())) previous_value = sfv;
|
|
2857
2919
|
});
|
|
2858
2920
|
const owner = $b8hua$getOwner();
|
|
2859
|
-
const handler = $b8hua$
|
|
2921
|
+
const handler = $b8hua$catchify1(_ref3 => {
|
|
2860
2922
|
let {
|
|
2861
2923
|
keyCode: keyCode
|
|
2862
2924
|
} = _ref3;
|
|
@@ -2923,7 +2985,7 @@ function $75e33704f2a83029$var$actual_navigation_working_on_fake_data(_ref2) {
|
|
|
2923
2985
|
const el = element_();
|
|
2924
2986
|
if (!el) return;
|
|
2925
2987
|
el.addEventListener("keyup", handler);
|
|
2926
|
-
$b8hua$onCleanup($b8hua$
|
|
2988
|
+
$b8hua$onCleanup($b8hua$catchify1(() => el.removeEventListener("keyup", handler)));
|
|
2927
2989
|
});
|
|
2928
2990
|
}
|
|
2929
2991
|
function $c4dee1ef44de29ca$export$af0124069c150252(_ref) {
|
|
@@ -3136,7 +3198,7 @@ let $c3820807ac1e6fd7$export$44dad306455dddf;
|
|
|
3136
3198
|
|
|
3137
3199
|
function $fc830a7ee59416ef$export$ebdc3711f7e02ccd(what_to_watch) {
|
|
3138
3200
|
const [width, setWidth] = $b8hua$createSignal();
|
|
3139
|
-
const resizeObserver = new ResizeObserver($b8hua$
|
|
3201
|
+
const resizeObserver = new ResizeObserver($b8hua$catchify1(records => {
|
|
3140
3202
|
for (let j = 0; j < records.length; j++) {
|
|
3141
3203
|
var _records$j$borderBoxS, _records$j$borderBoxS2, _records$j$borderBoxS3;
|
|
3142
3204
|
const width = (_records$j$borderBoxS = (_records$j$borderBoxS2 = records[j].borderBoxSize) === null || _records$j$borderBoxS2 === void 0 ? void 0 : (_records$j$borderBoxS3 = _records$j$borderBoxS2[0]) === null || _records$j$borderBoxS3 === void 0 ? void 0 : _records$j$borderBoxS3.inlineSize) !== null && _records$j$borderBoxS !== void 0 ? _records$j$borderBoxS : what_to_watch.getBoundingClientRect().width;
|
|
@@ -3149,7 +3211,7 @@ function $fc830a7ee59416ef$export$ebdc3711f7e02ccd(what_to_watch) {
|
|
|
3149
3211
|
let {
|
|
3150
3212
|
element: element
|
|
3151
3213
|
} = _ref;
|
|
3152
|
-
return requestAnimationFrame($b8hua$
|
|
3214
|
+
return requestAnimationFrame($b8hua$catchify1(() => {
|
|
3153
3215
|
const current_size = what_to_watch.getBoundingClientRect().width;
|
|
3154
3216
|
if (current_size)
|
|
3155
3217
|
// If element has size, set signal to that. ResizeObserver only triggers when the content is visible in some cases, but it might already have a size. This reduces size filter expanding animation jank in chrome.
|
|
@@ -3196,7 +3258,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
|
|
|
3196
3258
|
let input_element;
|
|
3197
3259
|
// This is the div where we recommend (and ourselves do) attach the event listener to that opens the search modal.
|
|
3198
3260
|
let field_div;
|
|
3199
|
-
$b8hua$createEffect($b8hua$
|
|
3261
|
+
$b8hua$createEffect($b8hua$catchify1(async () => {
|
|
3200
3262
|
if (disabled_) return;
|
|
3201
3263
|
// we aren't in DOM yet unfortunately, wouldn't even be with onMount
|
|
3202
3264
|
await (0, $b8hua$observer).wait_for_element(input_element);
|
|
@@ -3276,18 +3338,18 @@ function $e56d241d0f33d459$export$fe334901e8bebd57() {
|
|
|
3276
3338
|
offset: 0
|
|
3277
3339
|
}, 1);
|
|
3278
3340
|
animation.pause();
|
|
3279
|
-
const fn = $b8hua$
|
|
3341
|
+
const fn = $b8hua$catchify1(animation.play.bind(animation));
|
|
3280
3342
|
cleanup_fns.push(fn);
|
|
3281
3343
|
$b8hua$onCleanup(fn);
|
|
3282
3344
|
} catch (e) {
|
|
3283
|
-
$b8hua$
|
|
3345
|
+
$b8hua$dlog1("Probably partial keyframe error", e);
|
|
3284
3346
|
}
|
|
3285
3347
|
if (getComputedStyle(element).overflow !== "hidden") {
|
|
3286
3348
|
// safari gets special hacky treatment
|
|
3287
3349
|
const style = element.style;
|
|
3288
3350
|
const original_value = style.overflow;
|
|
3289
3351
|
style.overflow = "hidden";
|
|
3290
|
-
const fn = $b8hua$
|
|
3352
|
+
const fn = $b8hua$catchify1(() => style.overflow = original_value);
|
|
3291
3353
|
cleanup_fns.push(fn);
|
|
3292
3354
|
$b8hua$onCleanup(fn);
|
|
3293
3355
|
}
|
|
@@ -3310,8 +3372,8 @@ function $a82a41ab7188eda2$export$93d9bfd0c9c1a5b8(close_modal, search_query_url
|
|
|
3310
3372
|
let set_initial_values = false;
|
|
3311
3373
|
let old_pathname;
|
|
3312
3374
|
let old_param_value;
|
|
3313
|
-
$b8hua$onCleanup($b8hua$
|
|
3314
|
-
$b8hua$
|
|
3375
|
+
$b8hua$onCleanup($b8hua$catchify1(exit_iterable));
|
|
3376
|
+
$b8hua$catchify1(async () => {
|
|
3315
3377
|
for await (const href of exitable_iterable) {
|
|
3316
3378
|
const u_o = new URL(href);
|
|
3317
3379
|
const new_pathname = u_o.pathname;
|
|
@@ -3383,7 +3445,7 @@ function $40411f2ec772c376$var$RawClassicSearchModal(_ref) {
|
|
|
3383
3445
|
} = alignmentSignals_ || {};
|
|
3384
3446
|
const [bodyAlignmentStyle] = bodyAlignmentSignal;
|
|
3385
3447
|
const [get_modal_search_results, set_modal_search_results_] = $b8hua$createSignal();
|
|
3386
|
-
const close_on_escape_handler = $b8hua$
|
|
3448
|
+
const close_on_escape_handler = $b8hua$catchify1(_ref2 => {
|
|
3387
3449
|
let {
|
|
3388
3450
|
key: key
|
|
3389
3451
|
} = _ref2;
|
|
@@ -3410,7 +3472,7 @@ function $40411f2ec772c376$var$RawClassicSearchModal(_ref) {
|
|
|
3410
3472
|
if (disable_scrolling_) $e56d241d0f33d459$export$fe334901e8bebd57();
|
|
3411
3473
|
$a82a41ab7188eda2$export$93d9bfd0c9c1a5b8(close_modal_, search_query_url_param_name_);
|
|
3412
3474
|
window.addEventListener("keydown", close_on_escape_handler);
|
|
3413
|
-
$b8hua$onCleanup($b8hua$
|
|
3475
|
+
$b8hua$onCleanup($b8hua$catchify1(() => window.removeEventListener("keydown", close_on_escape_handler)));
|
|
3414
3476
|
if (closing_animation_) register_closing_animation_(closing_animation_);
|
|
3415
3477
|
$a09bb7c652acf957$export$3340fdd8259bd4fd({
|
|
3416
3478
|
get_search_field_value_: get_search_field_value_,
|
|
@@ -3619,7 +3681,7 @@ function $2855bffe06ef7a03$var$decode_filter_data(op, encoded_data) {
|
|
|
3619
3681
|
try {
|
|
3620
3682
|
return JSON.parse($b8hua$base64_decode_unicode(encoded_data));
|
|
3621
3683
|
} catch (e) {
|
|
3622
|
-
$b8hua$
|
|
3684
|
+
$b8hua$dlog1("Failed to fallback parse filter data", op, encoded_data, e);
|
|
3623
3685
|
}
|
|
3624
3686
|
return null;
|
|
3625
3687
|
}
|
|
@@ -3680,7 +3742,7 @@ function $2855bffe06ef7a03$export$766e9676e74997d3(search_params, sorting_query_
|
|
|
3680
3742
|
field: encoded_sorting.slice(0, -$2855bffe06ef7a03$var$descending_token.length),
|
|
3681
3743
|
order: "desc"
|
|
3682
3744
|
};
|
|
3683
|
-
$b8hua$
|
|
3745
|
+
$b8hua$dlog1("Invalid sorting query param value", encoded_sorting);
|
|
3684
3746
|
return;
|
|
3685
3747
|
}
|
|
3686
3748
|
function $2855bffe06ef7a03$export$916e6850778505f6(search_params, filter_query_param_prefix, sorting_query_param) {
|
|
@@ -4269,7 +4331,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
4269
4331
|
const random_classname_body = $b8hua$make_random_classname();
|
|
4270
4332
|
const backdropRandomClassname = $b8hua$make_random_classname();
|
|
4271
4333
|
const [get_modal_search_results_, set_modal_search_results_] = $b8hua$createSignal();
|
|
4272
|
-
const close_on_escape_handler = $b8hua$
|
|
4334
|
+
const close_on_escape_handler = $b8hua$catchify1(evt => {
|
|
4273
4335
|
if (evt.key === "Escape") {
|
|
4274
4336
|
evt.preventDefault(); // Prevent the browser from closing/cancelling the modal so our animations have time to run
|
|
4275
4337
|
close_modal_();
|
|
@@ -4372,7 +4434,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
4372
4434
|
$b8hua$createEffect($b8hua$on(get_search_field_value_, () => {
|
|
4373
4435
|
setShowStaleListingSuggestions(true);
|
|
4374
4436
|
clearTimeout(listingSuggestionsDebounceTimeout);
|
|
4375
|
-
listingSuggestionsDebounceTimeout = setTimeout($b8hua$
|
|
4437
|
+
listingSuggestionsDebounceTimeout = setTimeout($b8hua$catchify1(() => setShowStaleListingSuggestions(false)), 350);
|
|
4376
4438
|
}, {
|
|
4377
4439
|
defer: true
|
|
4378
4440
|
}));
|
|
@@ -4510,7 +4572,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
|
|
|
4510
4572
|
}
|
|
4511
4573
|
});
|
|
4512
4574
|
if (setSearchFieldOuterWidth_) {
|
|
4513
|
-
const resizeObserver = new ResizeObserver($b8hua$
|
|
4575
|
+
const resizeObserver = new ResizeObserver($b8hua$catchify1(records => setSearchFieldOuterWidth_(records.at(-1).contentRect.width)));
|
|
4514
4576
|
resizeObserver.observe(search_field);
|
|
4515
4577
|
$b8hua$onCleanup(() => resizeObserver.disconnect());
|
|
4516
4578
|
}
|
|
@@ -4560,7 +4622,7 @@ function $6a439680ae7e9ba3$var$ActualTabs(props) {
|
|
|
4560
4622
|
});
|
|
4561
4623
|
const isSelected = $b8hua$createSelector(currentlySelected);
|
|
4562
4624
|
const owner = $b8hua$getOwner();
|
|
4563
|
-
const updateTabsSignal = $b8hua$
|
|
4625
|
+
const updateTabsSignal = $b8hua$catchify(() => $b8hua$runWithOwner(owner, () => setTabsReactive([...ourTabsSet])));
|
|
4564
4626
|
const ourTabsSet = $6a439680ae7e9ba3$var$useTabs();
|
|
4565
4627
|
const location = $b8hua$use_href_accessor1();
|
|
4566
4628
|
const linkWithChangedHash = hash => {
|
|
@@ -4667,7 +4729,7 @@ function $6a439680ae7e9ba3$export$3e41faf802a29e71(props) {
|
|
|
4667
4729
|
async function $d5f1e6a0f9117286$export$79b1565500412d9b(search_modal, modal_fn_opts, parent) {
|
|
4668
4730
|
const body = parent || document.body || (await (0, $b8hua$observer).wait_for_element("body"));
|
|
4669
4731
|
let dispose_and_remove;
|
|
4670
|
-
const open_modal_ = $b8hua$
|
|
4732
|
+
const open_modal_ = $b8hua$catchify1(async function () {
|
|
4671
4733
|
let extra_options_for_modal = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4672
4734
|
let on_dispose = arguments.length > 1 ? arguments[1] : undefined;
|
|
4673
4735
|
// Below await is very intentional,
|
|
@@ -4702,7 +4764,7 @@ async function $d5f1e6a0f9117286$export$79b1565500412d9b(search_modal, modal_fn_
|
|
|
4702
4764
|
actually_close();else if (!animation_started && closing_animation) {
|
|
4703
4765
|
var _catchify;
|
|
4704
4766
|
animation_started = +new Date();
|
|
4705
|
-
(_catchify = $b8hua$
|
|
4767
|
+
(_catchify = $b8hua$catchify1(closing_animation)()) === null || _catchify === void 0 || _catchify.then($b8hua$catchify1(actually_close));
|
|
4706
4768
|
} else actually_close();
|
|
4707
4769
|
};
|
|
4708
4770
|
return search_modal({
|
|
@@ -4715,7 +4777,7 @@ async function $d5f1e6a0f9117286$export$79b1565500412d9b(search_modal, modal_fn_
|
|
|
4715
4777
|
});
|
|
4716
4778
|
body.append(...modal_els);
|
|
4717
4779
|
});
|
|
4718
|
-
const close_modal_ = $b8hua$
|
|
4780
|
+
const close_modal_ = $b8hua$catchify1(() => {
|
|
4719
4781
|
if (dispose_and_remove) {
|
|
4720
4782
|
// modal is open
|
|
4721
4783
|
const dispose_fn = dispose_and_remove;
|
|
@@ -4732,7 +4794,7 @@ async function $d5f1e6a0f9117286$export$79b1565500412d9b(search_modal, modal_fn_
|
|
|
4732
4794
|
function $972f6bce0f9d61be$export$e183a13865960371(params_to_default_value, router_) {
|
|
4733
4795
|
const signals = {};
|
|
4734
4796
|
const entries = Object.entries(params_to_default_value);
|
|
4735
|
-
const event_handler = $b8hua$
|
|
4797
|
+
const event_handler = $b8hua$catchify1((what_happened, args) => {
|
|
4736
4798
|
// Intentionally always update our signals to the history state to allow external control of SDK state for doing things like https://linear.app/depictai/issue/X-1432/is-this-possible-with-the-depict-sdk
|
|
4737
4799
|
if (what_happened !== "popstate") return;
|
|
4738
4800
|
// Had to undo the comment above,but leaving the history. Doing this because discovering why it doesn't work is a deja-vu and I don't want to have to discover it again.
|
|
@@ -4764,8 +4826,8 @@ function $972f6bce0f9d61be$export$e183a13865960371(params_to_default_value, rout
|
|
|
4764
4826
|
});
|
|
4765
4827
|
// 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
|
|
4766
4828
|
(0, $b8hua$instant_exec_on_suspect_history_change).add(event_handler);
|
|
4767
|
-
$b8hua$onCleanup($b8hua$
|
|
4768
|
-
$b8hua$createEffect($b8hua$
|
|
4829
|
+
$b8hua$onCleanup($b8hua$catchify1(() => (0, $b8hua$instant_exec_on_suspect_history_change).delete(event_handler)));
|
|
4830
|
+
$b8hua$createEffect($b8hua$catchify1(() => $b8hua$untrack($b8hua$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
|
|
4769
4831
|
return signals;
|
|
4770
4832
|
}
|
|
4771
4833
|
function $972f6bce0f9d61be$var$history_state_change(signals, entries, state) {
|
|
@@ -4903,7 +4965,7 @@ function $0706a7702baafc06$export$6b35356958ae5587(props) {
|
|
|
4903
4965
|
// If someone clicks on a product card in the shop the look modal, close the modal the next time the href changes
|
|
4904
4966
|
for (const item of resolved()) {
|
|
4905
4967
|
if (!(item instanceof Element)) return;
|
|
4906
|
-
item.addEventListener("click", $b8hua$
|
|
4968
|
+
item.addEventListener("click", $b8hua$catchify1(() =>
|
|
4907
4969
|
// run with modal owner so we don't do stuff after the modal closes
|
|
4908
4970
|
// can't have the owner of the product card as that gets disposed if the productId changes which might be too early (before location.href has changed)
|
|
4909
4971
|
$b8hua$runWithOwner(props.modalOwner_, () => $b8hua$createEffect($b8hua$on(hrefWithoutHash, props.actually_close_modal_, {
|
|
@@ -5124,7 +5186,7 @@ function $6b0fd8fd20df8ccf$var$actualSetupModal() {
|
|
|
5124
5186
|
(0, $68e6625c8d51f847$export$3064e1e8c6513da3).add(history_key);
|
|
5125
5187
|
const actually_close_modal_ = () => set_history_value(false);
|
|
5126
5188
|
const owner = $b8hua$getOwner();
|
|
5127
|
-
$b8hua$
|
|
5189
|
+
$b8hua$catchify1(async () => {
|
|
5128
5190
|
const {
|
|
5129
5191
|
open_modal_: open_modal_,
|
|
5130
5192
|
close_modal_: close_modal_
|
|
@@ -5199,15 +5261,15 @@ function $ad371564683947ab$export$6c6d7a51fa9aa15d(props) {
|
|
|
5199
5261
|
$b8hua$insert(details_, [summary_, $b8hua$createComponent(ExpandingContainer, {
|
|
5200
5262
|
children: children
|
|
5201
5263
|
})], null);
|
|
5202
|
-
if (!$b8hua$untrack(is_in_dom)) (0, $b8hua$observer).wait_for_element(details_).then($b8hua$
|
|
5203
|
-
$b8hua$createEffect($b8hua$
|
|
5264
|
+
if (!$b8hua$untrack(is_in_dom)) (0, $b8hua$observer).wait_for_element(details_).then($b8hua$catchify1(() => set_is_in_dom(true)));
|
|
5265
|
+
$b8hua$createEffect($b8hua$catchify1(async () => {
|
|
5204
5266
|
const is_open = is_open_memo();
|
|
5205
5267
|
if (!is_in_dom())
|
|
5206
5268
|
// wait with setting state until we're in DOM, animation won't work otherwise
|
|
5207
5269
|
return;
|
|
5208
5270
|
if (dont_animate_if_instant_open_ && fresh_component && !timeout_started) {
|
|
5209
5271
|
timeout_started = true;
|
|
5210
|
-
setTimeout($b8hua$
|
|
5272
|
+
setTimeout($b8hua$catchify1(() => fresh_component = false));
|
|
5211
5273
|
}
|
|
5212
5274
|
if (is_open) {
|
|
5213
5275
|
details_.open = true; // open up the toggle so the animation can happen
|
|
@@ -5215,10 +5277,10 @@ function $ad371564683947ab$export$6c6d7a51fa9aa15d(props) {
|
|
|
5215
5277
|
await expand(0, do_duration);
|
|
5216
5278
|
} else {
|
|
5217
5279
|
const animation = await collapse();
|
|
5218
|
-
animation === null || animation === void 0 || animation.addEventListener("finish", $b8hua$
|
|
5280
|
+
animation === null || animation === void 0 || animation.addEventListener("finish", $b8hua$catchify1(() => details_.open = false));
|
|
5219
5281
|
}
|
|
5220
5282
|
}));
|
|
5221
|
-
details_.addEventListener("toggle", $b8hua$
|
|
5283
|
+
details_.addEventListener("toggle", $b8hua$catchify1(() => {
|
|
5222
5284
|
const {
|
|
5223
5285
|
open: open
|
|
5224
5286
|
} = details_;
|
|
@@ -5228,11 +5290,11 @@ function $ad371564683947ab$export$6c6d7a51fa9aa15d(props) {
|
|
|
5228
5290
|
}) // in case someone somehow toggles it without us intercepting it at least follow suit
|
|
5229
5291
|
);
|
|
5230
5292
|
|
|
5231
|
-
summary_.addEventListener("click", $b8hua$
|
|
5293
|
+
summary_.addEventListener("click", $b8hua$catchify1(ev => {
|
|
5232
5294
|
ev.preventDefault();
|
|
5233
5295
|
toggle();
|
|
5234
5296
|
}));
|
|
5235
|
-
summary_.addEventListener("keydown", $b8hua$
|
|
5297
|
+
summary_.addEventListener("keydown", $b8hua$catchify1(ev => {
|
|
5236
5298
|
const {
|
|
5237
5299
|
key: key
|
|
5238
5300
|
} = ev;
|
|
@@ -5469,9 +5531,9 @@ function $4711a82d08d2021b$export$fecbb157621501bd(_ref) {
|
|
|
5469
5531
|
});
|
|
5470
5532
|
const [is_in_dom, set_is_in_dom] = $b8hua$createSignal(document.documentElement.contains(outmost_element));
|
|
5471
5533
|
const hidden = $b8hua$createMemo(() => get_search_filters_open_() || get_search_sorting_open_());
|
|
5472
|
-
if (!$b8hua$untrack(is_in_dom)) (0, $b8hua$observer).wait_for_element(outmost_element).then($b8hua$
|
|
5534
|
+
if (!$b8hua$untrack(is_in_dom)) (0, $b8hua$observer).wait_for_element(outmost_element).then($b8hua$catchify1(() => set_is_in_dom(true)));
|
|
5473
5535
|
outmost_element.classList.add("selected-filters");
|
|
5474
|
-
$b8hua$createEffect($b8hua$
|
|
5536
|
+
$b8hua$createEffect($b8hua$catchify1(async () => {
|
|
5475
5537
|
if (!is_in_dom())
|
|
5476
5538
|
// wait with setting state until we're in DOM, animation won't work otherwise
|
|
5477
5539
|
return;
|
|
@@ -5627,7 +5689,7 @@ function $133484ef10e4e954$export$dd948f91abc3a1c4(_ref) {
|
|
|
5627
5689
|
}) : []);
|
|
5628
5690
|
});
|
|
5629
5691
|
$b8hua$onCleanup(() => set_view_more_button_below_group_());
|
|
5630
|
-
$b8hua$createEffect($b8hua$
|
|
5692
|
+
$b8hua$createEffect($b8hua$catchify1(async () => {
|
|
5631
5693
|
if (!togglable_rest()) {
|
|
5632
5694
|
await collapse();
|
|
5633
5695
|
return;
|
|
@@ -5753,7 +5815,7 @@ function $1e7465a8ffa97f6c$export$e0d834a0ad870cda(_ref) {
|
|
|
5753
5815
|
});
|
|
5754
5816
|
$b8hua$createComputed(() => {
|
|
5755
5817
|
clearTimeout(debounce_timeout);
|
|
5756
|
-
debounce_timeout = setTimeout($b8hua$
|
|
5818
|
+
debounce_timeout = setTimeout($b8hua$catchify1(range => $b8hua$untrack(() => {
|
|
5757
5819
|
const default_data = defaultRange();
|
|
5758
5820
|
const filter_object = {
|
|
5759
5821
|
op: filter_().op,
|
|
@@ -6306,7 +6368,7 @@ function $0ae614c5c7babb43$export$a32086fa6616eafd(_ref) {
|
|
|
6306
6368
|
}
|
|
6307
6369
|
while (execute_when_structure_finished.length) execute_when_structure_finished.pop()();
|
|
6308
6370
|
$0ae614c5c7babb43$var$expand_until_choice(data_structure);
|
|
6309
|
-
$b8hua$
|
|
6371
|
+
$b8hua$dlog1("CheckboxHierarchicalFilter: Recomputed structured_categories", data_structure);
|
|
6310
6372
|
return data_structure;
|
|
6311
6373
|
});
|
|
6312
6374
|
const some_top_level_are_hidden = $b8hua$createMemo(() => Object.keys(structured_categories()).length > $0ae614c5c7babb43$var$max_visible_without_collapsing);
|
|
@@ -6336,7 +6398,7 @@ function $0ae614c5c7babb43$export$a32086fa6616eafd(_ref) {
|
|
|
6336
6398
|
}) : []);
|
|
6337
6399
|
});
|
|
6338
6400
|
$b8hua$onCleanup(() => set_view_more_button_below_group());
|
|
6339
|
-
$b8hua$createEffect($b8hua$
|
|
6401
|
+
$b8hua$createEffect($b8hua$catchify1(async () => {
|
|
6340
6402
|
if (!some_top_level_are_hidden()) {
|
|
6341
6403
|
await collapse();
|
|
6342
6404
|
return;
|
|
@@ -6409,7 +6471,7 @@ function $0ae614c5c7babb43$var$render_stuff(data, existing_filter, i18n_, filter
|
|
|
6409
6471
|
return (_value$is_checked_$ = (_value7 = value()) === null || _value7 === void 0 ? void 0 : (_value7$is_checked_ = _value7.is_checked_) === null || _value7$is_checked_ === void 0 ? void 0 : (_value7$is_checked_$ = _value7$is_checked_[0]) === null || _value7$is_checked_$ === void 0 ? void 0 : _value7$is_checked_$.call(_value7$is_checked_)) !== null && _value$is_checked_$ !== void 0 ? _value$is_checked_$ : false;
|
|
6410
6472
|
},
|
|
6411
6473
|
input_ref_: input => {
|
|
6412
|
-
input.addEventListener("change", $b8hua$
|
|
6474
|
+
input.addEventListener("change", $b8hua$catchify1(() => $b8hua$untrack(() => {
|
|
6413
6475
|
var _value9;
|
|
6414
6476
|
const {
|
|
6415
6477
|
checked: checked
|
|
@@ -6496,7 +6558,7 @@ function $0ae614c5c7babb43$var$batching_filter_state_syncer(props) {
|
|
|
6496
6558
|
existing_filter_: existing_filter_
|
|
6497
6559
|
} = props;
|
|
6498
6560
|
let sync_queued = false;
|
|
6499
|
-
const sync_fn = $b8hua$
|
|
6561
|
+
const sync_fn = $b8hua$catchify1(async () => {
|
|
6500
6562
|
sync_queued = false;
|
|
6501
6563
|
// if we change, update filter state - next microtask, so that "reactions" to the change can process before we send it off to the API
|
|
6502
6564
|
const set_filter = existing_filter_();
|
|
@@ -6520,7 +6582,7 @@ function $0ae614c5c7babb43$var$batching_filter_state_syncer(props) {
|
|
|
6520
6582
|
...base_object,
|
|
6521
6583
|
data: data
|
|
6522
6584
|
};
|
|
6523
|
-
$b8hua$
|
|
6585
|
+
$b8hua$dlog1("CheckboxHierarchicalFilter: Updating API state", filter_object);
|
|
6524
6586
|
const selected_filters = [...selected_filters_[0]()];
|
|
6525
6587
|
if (set_filter) selected_filters.splice(selected_filters.indexOf(set_filter), 1);
|
|
6526
6588
|
if (filter_object.data.length) selected_filters.push(filter_object);
|
|
@@ -6558,13 +6620,13 @@ function $0ae614c5c7babb43$var$create_updating_signal(_ref3) {
|
|
|
6558
6620
|
$b8hua$createComputed($b8hua$on(read_checked, trigger_sync_, {
|
|
6559
6621
|
defer: true
|
|
6560
6622
|
}));
|
|
6561
|
-
$b8hua$createComputed($b8hua$on(read_checked, $b8hua$
|
|
6623
|
+
$b8hua$createComputed($b8hua$on(read_checked, $b8hua$catchify1(new_value => {
|
|
6562
6624
|
if (updating_blocked) return;
|
|
6563
6625
|
for (const child of child_objects) child.is_checked_[1](new_value);
|
|
6564
6626
|
}), {
|
|
6565
6627
|
defer: true
|
|
6566
6628
|
}));
|
|
6567
|
-
$b8hua$createEffect($b8hua$on(get_child_object_values, $b8hua$
|
|
6629
|
+
$b8hua$createEffect($b8hua$on(get_child_object_values, $b8hua$catchify1(() => {
|
|
6568
6630
|
const all_kids_checked = get_child_object_values.every(accessor => accessor());
|
|
6569
6631
|
if (all_kids_checked === read_checked()) return;
|
|
6570
6632
|
updating_blocked = true;
|
|
@@ -7016,7 +7078,7 @@ function $2cb856c297c53e6c$export$82ed4b28ecb67608(_ref) {
|
|
|
7016
7078
|
}) : []);
|
|
7017
7079
|
});
|
|
7018
7080
|
$b8hua$onCleanup(() => set_view_more_button_below_group_());
|
|
7019
|
-
$b8hua$createEffect($b8hua$
|
|
7081
|
+
$b8hua$createEffect($b8hua$catchify1(async () => {
|
|
7020
7082
|
if (!togglable_rest()) {
|
|
7021
7083
|
await collapse();
|
|
7022
7084
|
set_having_expanding_in_dom(false); // Once animation has finished, remove expanding from DOM
|
|
@@ -7710,14 +7772,14 @@ async function $50aebf5b445518eb$export$58e808b1db15d3bc(options) {
|
|
|
7710
7772
|
headers: headers
|
|
7711
7773
|
} : {}),
|
|
7712
7774
|
method: "POST"
|
|
7713
|
-
}).catch(e => $b8hua$
|
|
7775
|
+
}).catch(e => $b8hua$dlog1("fetch_retry threw", e)).then(async maybe_response => {
|
|
7714
7776
|
var _decoded;
|
|
7715
7777
|
if (!maybe_response) return [];
|
|
7716
7778
|
let decoded;
|
|
7717
7779
|
try {
|
|
7718
7780
|
decoded = await maybe_response.json();
|
|
7719
7781
|
} catch (e) {
|
|
7720
|
-
$b8hua$
|
|
7782
|
+
$b8hua$dlog1("Failed to decode JSON", e);
|
|
7721
7783
|
}
|
|
7722
7784
|
return ((_decoded = decoded) === null || _decoded === void 0 ? void 0 : _decoded.displays) || [];
|
|
7723
7785
|
});
|
|
@@ -7762,7 +7824,7 @@ const $702d7656a373973e$export$824dde41348efed1 = /*@__PURE__*/(() => {
|
|
|
7762
7824
|
|
|
7763
7825
|
const observe_to_signal = (element, setter) => {
|
|
7764
7826
|
const computed_style = getComputedStyle(element);
|
|
7765
|
-
const resize_observer = new ResizeObserver($b8hua$
|
|
7827
|
+
const resize_observer = new ResizeObserver($b8hua$catchify1(() => {
|
|
7766
7828
|
setter(element.getBoundingClientRect().width + parseFloat(computed_style.marginLeft) + parseFloat(computed_style.marginRight) + parseFloat(computed_style.borderRightWidth) + parseFloat(computed_style.borderLeftWidth));
|
|
7767
7829
|
}));
|
|
7768
7830
|
resize_observer.observe(element);
|
|
@@ -7817,7 +7879,7 @@ async function $160ea2b55d8772d2$export$c1a6b039e689a58e(merchant, market, local
|
|
|
7817
7879
|
const in_ls = localStorage[localstorage_key];
|
|
7818
7880
|
if (in_ls) localstorage_value = JSON.parse(in_ls);
|
|
7819
7881
|
} catch (e) {
|
|
7820
|
-
$b8hua$
|
|
7882
|
+
$b8hua$dlog1("Failed parsing JSON from localStorage", e);
|
|
7821
7883
|
}
|
|
7822
7884
|
const updated = (_localstorage_value = localstorage_value) === null || _localstorage_value === void 0 ? void 0 : _localstorage_value.updated;
|
|
7823
7885
|
const now = +new Date();
|
|
@@ -7861,12 +7923,12 @@ async function $160ea2b55d8772d2$var$download_categories(merchant, market, local
|
|
|
7861
7923
|
if (!fetched) return [];
|
|
7862
7924
|
try {
|
|
7863
7925
|
if (fetched.status !== 200) {
|
|
7864
|
-
$b8hua$
|
|
7926
|
+
$b8hua$dlog1("failed to fetch queries, server responded with", fetched.status, fetched, await fetched.text());
|
|
7865
7927
|
return [];
|
|
7866
7928
|
}
|
|
7867
7929
|
return await fetched.json();
|
|
7868
7930
|
} catch (e) {
|
|
7869
|
-
$b8hua$
|
|
7931
|
+
$b8hua$dlog1("failed to decode queries json", fetched, e);
|
|
7870
7932
|
return [];
|
|
7871
7933
|
}
|
|
7872
7934
|
}
|
|
@@ -8172,9 +8234,9 @@ function $284849364a6ef73a$var$_get_cache_obj_for_endpoint2(endpoint) {
|
|
|
8172
8234
|
return (_classPrivateFieldGet4 = $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_cache_objs))[endpoint] || (_classPrivateFieldGet4[endpoint] = {
|
|
8173
8235
|
in_progress_: {},
|
|
8174
8236
|
cache_: {},
|
|
8175
|
-
finalization_registry_: $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_supports_finalization_registry) ? new FinalizationRegistry($b8hua$
|
|
8237
|
+
finalization_registry_: $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_supports_finalization_registry) ? new FinalizationRegistry($b8hua$catchify1(key => {
|
|
8176
8238
|
const our_cache = $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_cache_objs)[endpoint].cache_;
|
|
8177
|
-
$b8hua$
|
|
8239
|
+
$b8hua$dlog1("[Search API]: removing", key, "from", our_cache);
|
|
8178
8240
|
delete our_cache[key];
|
|
8179
8241
|
})) : undefined
|
|
8180
8242
|
});
|
|
@@ -8311,11 +8373,11 @@ async function $284849364a6ef73a$var$_cached_request2(_ref4) {
|
|
|
8311
8373
|
result = $ed0fefda39a0f15d$export$967e966fca9515e(result);
|
|
8312
8374
|
cache_obj.cache_[body] = new WeakRef(result);
|
|
8313
8375
|
resolve_in_progress(result);
|
|
8314
|
-
setTimeout($b8hua$
|
|
8376
|
+
setTimeout($b8hua$catchify1(() => {
|
|
8315
8377
|
if ($b8hua$babelruntimehelpersclassPrivateFieldGet(this, $284849364a6ef73a$var$_supports_finalization_registry)) cache_obj.finalization_registry_.register(result, body); // delete key from cache when value (WeakRefs) are collected
|
|
8316
8378
|
else
|
|
8317
8379
|
// delete things from cache after 5 minutes, so it doesn't get too heavy
|
|
8318
|
-
setTimeout($b8hua$
|
|
8380
|
+
setTimeout($b8hua$catchify1(() => delete cache_obj.cache_[body]), 300000);
|
|
8319
8381
|
}), 60000 // cache values for at least 60 seconds
|
|
8320
8382
|
);
|
|
8321
8383
|
|
|
@@ -8347,7 +8409,7 @@ function $9d3d794b62318ecc$export$477caf01aecaeb2a(options) {
|
|
|
8347
8409
|
const [get_selected_filters_, set_selected_filters] = selected_filters_;
|
|
8348
8410
|
const [get_has_sideways_filter_clearing_flag_, set_has_sideways_filter_clearing_flag] = sideways_filter_clearing_flag_;
|
|
8349
8411
|
const [get_current_href, set_current_href] = $b8hua$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");
|
|
8350
|
-
const history_change_handler = $b8hua$
|
|
8412
|
+
const history_change_handler = $b8hua$catchify1(() => set_current_href(location.href));
|
|
8351
8413
|
const owner = $b8hua$getOwner() || $b8hua$createRoot(() => $b8hua$getOwner());
|
|
8352
8414
|
const {
|
|
8353
8415
|
sorting_query_param_: sorting_query_param_,
|
|
@@ -8394,7 +8456,7 @@ function $9d3d794b62318ecc$export$477caf01aecaeb2a(options) {
|
|
|
8394
8456
|
if (override_listing_id_query_param_names_) {
|
|
8395
8457
|
const found_override_listing_id = override_listing_id_query_param_names_.map(n => searchParams.get(n)).find(n => n);
|
|
8396
8458
|
set_override_listing_id(found_override_listing_id || null);
|
|
8397
|
-
if (found_override_listing_id) $b8hua$
|
|
8459
|
+
if (found_override_listing_id) $b8hua$dlog1("Found override query id:", found_override_listing_id); // This stuff might get confusing so better log it
|
|
8398
8460
|
}
|
|
8399
8461
|
|
|
8400
8462
|
if (hash === (0, $2855bffe06ef7a03$export$84daa4fa1471698b)) set_has_sideways_filter_clearing_flag(true);
|
|
@@ -8795,13 +8857,13 @@ function $a61a2051e15c8d7a$export$5196e4c01fa56fcb(_ref) {
|
|
|
8795
8857
|
} = _ref;
|
|
8796
8858
|
let close_toast_;
|
|
8797
8859
|
const stay_open_promise = new Promise(r => close_toast_ = r);
|
|
8798
|
-
$b8hua$
|
|
8860
|
+
$b8hua$catchify1(async () => {
|
|
8799
8861
|
const closing_animation_duration = 300; // ms
|
|
8800
8862
|
const element = $b8hua$ssrElement("div", more_attributes, () => $b8hua$escape(children), true);
|
|
8801
8863
|
const [, set_is_showing_toast] = $a61a2051e15c8d7a$export$22970a0140fc759c;
|
|
8802
8864
|
// if this is a memory leak the garbage collector is stupid - does someone know?
|
|
8803
|
-
for (const ev of ["pointerover", "focusin"]) element.addEventListener(ev, $b8hua$
|
|
8804
|
-
for (const ev of ["pointerout", "focusout"]) element.addEventListener(ev, $b8hua$
|
|
8865
|
+
for (const ev of ["pointerover", "focusin"]) element.addEventListener(ev, $b8hua$catchify1(() => closing_animation.pause()));
|
|
8866
|
+
for (const ev of ["pointerout", "focusout"]) element.addEventListener(ev, $b8hua$catchify1(() => closing_animation.play()));
|
|
8805
8867
|
const body = await (0, $b8hua$observer).wait_for_element("body");
|
|
8806
8868
|
const x_translate = "translateX(-50%) ";
|
|
8807
8869
|
let remove_keyboard_listener;
|
|
@@ -8826,7 +8888,7 @@ function $a61a2051e15c8d7a$export$5196e4c01fa56fcb(_ref) {
|
|
|
8826
8888
|
// let other toasts close us if they open while we're still here
|
|
8827
8889
|
$a61a2051e15c8d7a$var$closing_functions.add(close_toast_);
|
|
8828
8890
|
set_is_showing_toast(true);
|
|
8829
|
-
const handler = $b8hua$
|
|
8891
|
+
const handler = $b8hua$catchify1(_ref2 => {
|
|
8830
8892
|
let {
|
|
8831
8893
|
key: key
|
|
8832
8894
|
} = _ref2;
|
|
@@ -8961,7 +9023,7 @@ function $d8a66ba54a42eb3e$export$e026af0c7b64ea5f(_ref) {
|
|
|
8961
9023
|
}, {
|
|
8962
9024
|
defer: true
|
|
8963
9025
|
}));
|
|
8964
|
-
$b8hua$createComputed($b8hua$on(get_search_query_, $b8hua$
|
|
9026
|
+
$b8hua$createComputed($b8hua$on(get_search_query_, $b8hua$catchify1(() => {
|
|
8965
9027
|
// when a query was submitted, clear filters if clear was pressed before
|
|
8966
9028
|
const clear_value = $b8hua$untrack(get_clear_filters_next_submit);
|
|
8967
9029
|
if (clear_value) {
|
|
@@ -8988,11 +9050,11 @@ function $07d90b8270ece8de$export$84bba84a7b837187(read_search_query) {
|
|
|
8988
9050
|
const key = "depict_searches";
|
|
8989
9051
|
const previous_searches = $b8hua$createSignal(JSON.parse(ls[key] || "[]"));
|
|
8990
9052
|
const [read_previous_searches, write_previous_searches] = previous_searches;
|
|
8991
|
-
$b8hua$createEffect($b8hua$
|
|
9053
|
+
$b8hua$createEffect($b8hua$catchify1(() => {
|
|
8992
9054
|
const json_encoded = JSON.stringify(read_previous_searches());
|
|
8993
9055
|
if (ls[key] !== json_encoded) ls[key] = json_encoded;
|
|
8994
9056
|
}));
|
|
8995
|
-
$b8hua$createComputed($b8hua$
|
|
9057
|
+
$b8hua$createComputed($b8hua$catchify1(() => {
|
|
8996
9058
|
const searches = $b8hua$untrack(read_previous_searches);
|
|
8997
9059
|
const current_query = read_search_query();
|
|
8998
9060
|
if (!current_query)
|
|
@@ -9038,7 +9100,7 @@ async function $86b0ff0c85e5fc6c$export$e16630ecb9644a1c(_ref) {
|
|
|
9038
9100
|
function $33e7d1906c93db7d$export$205efb947c7ffd78(handler) {
|
|
9039
9101
|
let passive = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
|
|
9040
9102
|
let override_element = arguments.length > 2 ? arguments[2] : undefined;
|
|
9041
|
-
const catchified_handler = $b8hua$
|
|
9103
|
+
const catchified_handler = $b8hua$catchify1(handler);
|
|
9042
9104
|
const owner = $b8hua$getOwner();
|
|
9043
9105
|
// 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.
|
|
9044
9106
|
// Use observer in case that this gets called before body exists
|
|
@@ -9083,7 +9145,7 @@ function $96d57a48e7bce64f$export$181cceed5c91919e(callback, alsoRaF, passiveLis
|
|
|
9083
9145
|
$b8hua$createEffect(() => {
|
|
9084
9146
|
if (alsoRaF !== null && alsoRaF !== void 0 && alsoRaF()) {
|
|
9085
9147
|
let disposed = false;
|
|
9086
|
-
const fn = $b8hua$
|
|
9148
|
+
const fn = $b8hua$catchify1(() => {
|
|
9087
9149
|
if (disposed) return;
|
|
9088
9150
|
probablyCallCallback();
|
|
9089
9151
|
requestAnimationFrame(fn);
|
|
@@ -9096,10 +9158,10 @@ function $96d57a48e7bce64f$export$181cceed5c91919e(callback, alsoRaF, passiveLis
|
|
|
9096
9158
|
// "resize" doesn't fire sometimes when it should, also it doesn't when showing/hiding scrollbars which disabling scrolling does
|
|
9097
9159
|
// this works
|
|
9098
9160
|
// keeping resize just in case
|
|
9099
|
-
const resize_resize_observer = new ResizeObserver($b8hua$
|
|
9161
|
+
const resize_resize_observer = new ResizeObserver($b8hua$catchify1(probablyCallCallback));
|
|
9100
9162
|
resize_resize_observer.observe(document.documentElement);
|
|
9101
9163
|
(0, $b8hua$observer).wait_for_element("body").then(resize_resize_observer.observe.bind(resize_resize_observer));
|
|
9102
|
-
$b8hua$onCleanup($b8hua$
|
|
9164
|
+
$b8hua$onCleanup($b8hua$catchify1(() => resize_resize_observer.disconnect()));
|
|
9103
9165
|
return probablyCallCallback;
|
|
9104
9166
|
}
|
|
9105
9167
|
const $1308a7816c3d4f2d$export$3f238c96c45e6cc6 = 1;
|
|
@@ -9132,7 +9194,7 @@ function $1308a7816c3d4f2d$export$b3ad617e9036868(_ref, input_field, alignment,
|
|
|
9132
9194
|
}, pollAlignment);
|
|
9133
9195
|
let ro;
|
|
9134
9196
|
if (alignment & $1308a7816c3d4f2d$export$902f8b4a7dae5d78 || alignment & $1308a7816c3d4f2d$export$5097308c5200105a) {
|
|
9135
|
-
ro = new ResizeObserver($b8hua$
|
|
9197
|
+
ro = new ResizeObserver($b8hua$catchify1(records => {
|
|
9136
9198
|
records.forEach(_ref2 => {
|
|
9137
9199
|
let {
|
|
9138
9200
|
contentRect: {
|
|
@@ -9156,7 +9218,7 @@ function $1308a7816c3d4f2d$export$b3ad617e9036868(_ref, input_field, alignment,
|
|
|
9156
9218
|
}));
|
|
9157
9219
|
ro.observe(input_field);
|
|
9158
9220
|
}
|
|
9159
|
-
$b8hua$onCleanup($b8hua$
|
|
9221
|
+
$b8hua$onCleanup($b8hua$catchify1(() => {
|
|
9160
9222
|
var _ro;
|
|
9161
9223
|
return (_ro = ro) === null || _ro === void 0 ? void 0 : _ro.disconnect();
|
|
9162
9224
|
}));
|
|
@@ -9371,7 +9433,7 @@ function $b69740fc6de9f17e$export$83fd5de5504a7a67(_ref) {
|
|
|
9371
9433
|
fill: "forwards",
|
|
9372
9434
|
easing: "ease-in-out"
|
|
9373
9435
|
});
|
|
9374
|
-
animation.addEventListener("finish", $b8hua$
|
|
9436
|
+
animation.addEventListener("finish", $b8hua$catchify1(() => {
|
|
9375
9437
|
if (unpermit_when_possible) set_permitted_to_show(false);
|
|
9376
9438
|
animation = undefined;
|
|
9377
9439
|
element.style.display = "none";
|
|
@@ -9439,7 +9501,7 @@ function $6d2962bc9370f884$export$5e4aed86c12acdd9(_ref) {
|
|
|
9439
9501
|
is_first_load = true;
|
|
9440
9502
|
});
|
|
9441
9503
|
// percentage_in_view_ has equals: false so it should update even when set to the same value. That is to make sure that if the user bounces around below the "viewport" of our product listing we still start fetching as soon as is_loading_more becomes false again and we get IntersectionObserverEntries
|
|
9442
|
-
$b8hua$createEffect($b8hua$
|
|
9504
|
+
$b8hua$createEffect($b8hua$catchify1(async () => {
|
|
9443
9505
|
const be_above_percentage = is_first_load ? 50 : 75; // if first load, load earlier
|
|
9444
9506
|
if (percentage_in_view_() < be_above_percentage || is_loading_more) return;
|
|
9445
9507
|
if (!get_last_cursor()) {
|
|
@@ -10162,7 +10224,7 @@ function $69602b3d8fd54c38$export$9dd50d35b9d94fdf(_ref) {
|
|
|
10162
10224
|
number_of_results_: number_of_results_,
|
|
10163
10225
|
type: type
|
|
10164
10226
|
} = _ref;
|
|
10165
|
-
const contents = $b8hua$createMemo($b8hua$
|
|
10227
|
+
const contents = $b8hua$createMemo($b8hua$catchify1(() => {
|
|
10166
10228
|
const q = get_search_query_();
|
|
10167
10229
|
return i18n_[type === $69602b3d8fd54c38$export$2452208c79fe93ea.content ? "get_showing_pages_for_" : "get_showing_results_for_"]()($b8hua$ssr($69602b3d8fd54c38$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$escape(q)), $b8hua$ssr($69602b3d8fd54c38$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$escape(formatted_number_of_results_())), !!q, number_of_results_());
|
|
10168
10230
|
}));
|
|
@@ -10326,7 +10388,7 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
10326
10388
|
set_search_sorting_open(true);
|
|
10327
10389
|
}
|
|
10328
10390
|
});
|
|
10329
|
-
$b8hua$onCleanup($b8hua$
|
|
10391
|
+
$b8hua$onCleanup($b8hua$catchify1(() => {
|
|
10330
10392
|
if (!sorting_expanded() && !filters_expanded()) {
|
|
10331
10393
|
set_search_filters_open(false);
|
|
10332
10394
|
set_search_sorting_open(false);
|
|
@@ -10438,7 +10500,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
10438
10500
|
const [sorting_open, set_sorting_open] = search_sorting_open_;
|
|
10439
10501
|
const [get_current_sorting_] = current_sorting_;
|
|
10440
10502
|
const [is_small, set_is_small] = $b8hua$createSignal(false);
|
|
10441
|
-
const dismiss_modal_ = $b8hua$
|
|
10503
|
+
const dismiss_modal_ = $b8hua$catchify1(() => {
|
|
10442
10504
|
set_filters_open(false);
|
|
10443
10505
|
set_sorting_open(false);
|
|
10444
10506
|
});
|
|
@@ -10539,7 +10601,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
10539
10601
|
}));else set_extra_els_in_results_container_($b8hua$ssr($7396052a1484264f$var$_tmpl$2, $b8hua$ssrHydrationKey(), $b8hua$escape($b8hua$createComponent((0, $cfdbd124dd09d713$export$1f1775a58da589b5), sorting_options))));
|
|
10540
10602
|
}
|
|
10541
10603
|
});
|
|
10542
|
-
$b8hua$
|
|
10604
|
+
$b8hua$catchify1(async () => {
|
|
10543
10605
|
({
|
|
10544
10606
|
open_modal_: open_modal_,
|
|
10545
10607
|
close_modal_: close_modal_
|
|
@@ -10717,7 +10779,7 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
|
|
|
10717
10779
|
}
|
|
10718
10780
|
old_pos = new_pos;
|
|
10719
10781
|
});
|
|
10720
|
-
const touchstart_handler = $b8hua$
|
|
10782
|
+
const touchstart_handler = $b8hua$catchify1(e => {
|
|
10721
10783
|
is_in_touch_scroll = true;
|
|
10722
10784
|
if (e.touches.length === 1) {
|
|
10723
10785
|
// 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
|
|
@@ -10725,12 +10787,12 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
|
|
|
10725
10787
|
diff_over_second_or_touch = 0;
|
|
10726
10788
|
}
|
|
10727
10789
|
});
|
|
10728
|
-
const touchend_handler = $b8hua$
|
|
10790
|
+
const touchend_handler = $b8hua$catchify1(e => {
|
|
10729
10791
|
if (e.touches.length === 0)
|
|
10730
10792
|
// scroll gesture of any type (pinch can also be used as scroll, etc.) ended
|
|
10731
10793
|
inertia_timeout = setTimeout(
|
|
10732
10794
|
// inertia ends after 500ms (educated guess)
|
|
10733
|
-
$b8hua$
|
|
10795
|
+
$b8hua$catchify1(() => {
|
|
10734
10796
|
is_in_touch_scroll = false;
|
|
10735
10797
|
diff_over_second_or_touch = 0;
|
|
10736
10798
|
}), 500);
|
|
@@ -10748,9 +10810,9 @@ function $6a16b21155984cef$var$ActualFloatingButtons(_ref2) {
|
|
|
10748
10810
|
const everything_closed = !get_search_filters_open_() && !get_search_sorting_open_();
|
|
10749
10811
|
if (!$b8hua$untrack(modal_is_closed) && everything_closed)
|
|
10750
10812
|
// I think the point of this is to delay the animation a bit IIRC
|
|
10751
|
-
timeout = setTimeout($b8hua$
|
|
10813
|
+
timeout = setTimeout($b8hua$catchify1(() => set_if_modal_is_closed(true)), 200);else set_if_modal_is_closed(everything_closed);
|
|
10752
10814
|
});
|
|
10753
|
-
$b8hua$createComputed($b8hua$
|
|
10815
|
+
$b8hua$createComputed($b8hua$catchify1(async () => {
|
|
10754
10816
|
const element = sort_and_filter_element_();
|
|
10755
10817
|
if (!element) return;
|
|
10756
10818
|
await (0, $b8hua$observer).wait_for_element(element);
|
|
@@ -10769,7 +10831,7 @@ function $ec225bf1f1627ea8$export$210f130a61ac1e8d(fn) {
|
|
|
10769
10831
|
let last_queued;
|
|
10770
10832
|
let last_value;
|
|
10771
10833
|
let initial_run = true;
|
|
10772
|
-
$b8hua$createComputed($b8hua$
|
|
10834
|
+
$b8hua$createComputed($b8hua$catchify1(async () => {
|
|
10773
10835
|
last_value = fn();
|
|
10774
10836
|
if (initial_run) {
|
|
10775
10837
|
initial_run = false;
|
|
@@ -10817,7 +10879,7 @@ function $5e6abec0dab4e610$export$6e49da55e449af7c(_ref) {
|
|
|
10817
10879
|
}]); // get rid of old data the browser saves the old state and will restore it later on
|
|
10818
10880
|
};
|
|
10819
10881
|
|
|
10820
|
-
$b8hua$createComputed($b8hua$
|
|
10882
|
+
$b8hua$createComputed($b8hua$catchify1(() => {
|
|
10821
10883
|
const last_result = get_last_result_in_viewport_();
|
|
10822
10884
|
if (last_result == undefined || last_result <= 0 || last_result == Infinity) return;
|
|
10823
10885
|
if (isNaN(last_result)) {
|
|
@@ -10844,7 +10906,7 @@ function $5e6abec0dab4e610$export$6e49da55e449af7c(_ref) {
|
|
|
10844
10906
|
set_to_later = last_result;
|
|
10845
10907
|
// If a delayed push timeout is already running, just changing the value that will be pushed is sufficient
|
|
10846
10908
|
if (timeout) return;
|
|
10847
|
-
timeout = setTimeout($b8hua$
|
|
10909
|
+
timeout = setTimeout($b8hua$catchify1(() => {
|
|
10848
10910
|
timeout = undefined;
|
|
10849
10911
|
last_time_history_changed = +new Date();
|
|
10850
10912
|
set_min_results_loaded(set_to_later);
|
|
@@ -10955,7 +11017,7 @@ function $22470de5f42cc35d$export$f631859cab12b342(_ref) {
|
|
|
10955
11017
|
if (!result) return;
|
|
10956
11018
|
return {
|
|
10957
11019
|
href: result.page_url,
|
|
10958
|
-
onClick: $b8hua$
|
|
11020
|
+
onClick: $b8hua$catchify1(ev => router_.navigate_.go_to_({
|
|
10959
11021
|
new_url_: result.page_url,
|
|
10960
11022
|
is_replace_: false,
|
|
10961
11023
|
event_: ev
|
|
@@ -11339,7 +11401,7 @@ function $937791b86d3d1509$export$44f738469d5570cf(_ref) {
|
|
|
11339
11401
|
// We might only have changed the left position which align_field doesn't know about, make it poll the position for a while
|
|
11340
11402
|
setPollAlignment_(true);
|
|
11341
11403
|
if (disableResizePollingTimeout) clearTimeout(disableResizePollingTimeout);
|
|
11342
|
-
disableResizePollingTimeout = setTimeout($b8hua$
|
|
11404
|
+
disableResizePollingTimeout = setTimeout($b8hua$catchify1(() => {
|
|
11343
11405
|
setPollAlignment_(false);
|
|
11344
11406
|
disableResizePollingTimeout = undefined;
|
|
11345
11407
|
}), 1000);
|
|
@@ -11472,7 +11534,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
11472
11534
|
} : {})
|
|
11473
11535
|
};
|
|
11474
11536
|
});
|
|
11475
|
-
const [search_results_] = $b8hua$createResource(search_query_base_, $b8hua$
|
|
11537
|
+
const [search_results_] = $b8hua$createResource(search_query_base_, $b8hua$catchify1(async base_query => {
|
|
11476
11538
|
set_all_products_loaded(false);
|
|
11477
11539
|
// only first page of results
|
|
11478
11540
|
return await $5e6abec0dab4e610$export$cc42dd29bf655ab6({
|
|
@@ -11520,7 +11582,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
11520
11582
|
const [, setModalFieldStyle] = modal_field_style;
|
|
11521
11583
|
const [, setModalBackdropStyle] = modal_backdrop_style;
|
|
11522
11584
|
const [get_search_field_elements, set_search_field_elements] = $b8hua$createSignal();
|
|
11523
|
-
const SafeSearchField = $b8hua$
|
|
11585
|
+
const SafeSearchField = $b8hua$catchify1((0, $584c06c09cf4609d$export$b94867ecbd698f21));
|
|
11524
11586
|
const [sort_or_filter_open_, set_sort_or_filter_open_] = $b8hua$createSignal(false);
|
|
11525
11587
|
const [desktop_filter_elements_, set_desktop_filter_elements] = $b8hua$createSignal();
|
|
11526
11588
|
const n_hits = $b8hua$createMemo(() => {
|
|
@@ -11580,7 +11642,7 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
11580
11642
|
$b8hua$runWithOwner(owner, () => results_filters[1](matches ? [results_for, filters_opener] : $b8hua$ssr($da279c5a540c6846$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$escape(results_for), $b8hua$escape(filters_opener))));
|
|
11581
11643
|
}).remove);
|
|
11582
11644
|
$3a2bed57c9a57e21$export$d31a1a1a83ad9413(search_results_, selected_filters_);
|
|
11583
|
-
$b8hua$
|
|
11645
|
+
$b8hua$catchify1((0, $5e6abec0dab4e610$export$6e49da55e449af7c))({
|
|
11584
11646
|
scroll_restoration_data_: scroll_restoration_data_,
|
|
11585
11647
|
last_result_in_viewport_: last_result_in_viewport_,
|
|
11586
11648
|
id_: get_search_query_,
|
|
@@ -11626,8 +11688,8 @@ function $da279c5a540c6846$export$a54ec244c8863715(_ref) {
|
|
|
11626
11688
|
setModalBodyStyle({});
|
|
11627
11689
|
modalAlignmentSignalsRef_ === null || modalAlignmentSignalsRef_ === void 0 || modalAlignmentSignalsRef_(alignmentSignals_);
|
|
11628
11690
|
const [pollAlignment, setPollAlignment_] = $b8hua$createSignal(false);
|
|
11629
|
-
const align_position = $b8hua$
|
|
11630
|
-
div_with_field_class.addEventListener("click", $b8hua$
|
|
11691
|
+
const align_position = $b8hua$catchify1((0, $1308a7816c3d4f2d$export$b3ad617e9036868))(alignmentSignals_, search_field, (0, $1308a7816c3d4f2d$export$3f238c96c45e6cc6) | (0, $1308a7816c3d4f2d$export$7895aadd1956b1c7) | (modalVersionUsed_ === 1 ? (0, $1308a7816c3d4f2d$export$902f8b4a7dae5d78) : (0, $1308a7816c3d4f2d$export$6060bc6bee850eb6) | (0, $1308a7816c3d4f2d$export$5097308c5200105a)), true, pollAlignment);
|
|
11692
|
+
div_with_field_class.addEventListener("click", $b8hua$catchify1(e => {
|
|
11631
11693
|
var _target$matches, _target$closest, _on_open_, _ref4;
|
|
11632
11694
|
const target = e.target;
|
|
11633
11695
|
const sel = ".submit";
|
|
@@ -12034,7 +12096,7 @@ class $eb064bc3350276c1$export$ac6237957a15b3f0 {
|
|
|
12034
12096
|
BackIcon_: BackIcon_
|
|
12035
12097
|
});
|
|
12036
12098
|
$68e6625c8d51f847$export$5162a71f252e6122();
|
|
12037
|
-
$b8hua$
|
|
12099
|
+
$b8hua$catchify1(async () => {
|
|
12038
12100
|
const {
|
|
12039
12101
|
open_modal_: open_modal_,
|
|
12040
12102
|
close_modal_: close_modal_
|
|
@@ -12298,7 +12360,7 @@ function $eb064bc3350276c1$export$f2dc7e4e4aa11abb(props) {
|
|
|
12298
12360
|
function $37e8c97bb6876197$export$828dcdd425fd3231(aligner) {
|
|
12299
12361
|
const style_element = document.createElement("style");
|
|
12300
12362
|
document.head.append(style_element);
|
|
12301
|
-
const resize_observer = new ResizeObserver($b8hua$
|
|
12363
|
+
const resize_observer = new ResizeObserver($b8hua$catchify1(() => {
|
|
12302
12364
|
const styles = $cc64aabf2c7a1f1a$export$1233ca167bf71f9a({
|
|
12303
12365
|
".depict.plp .depict-search-modal .search-field": {
|
|
12304
12366
|
"height": "".concat(aligner === null || aligner === void 0 ? void 0 : aligner.clientHeight, "px")
|
|
@@ -12369,7 +12431,7 @@ const $169c13c0531d91d2$export$d86a33413558014e = openModalParams => {
|
|
|
12369
12431
|
}, dispose_aligner];
|
|
12370
12432
|
};
|
|
12371
12433
|
function $573c007c697a1831$export$d0596b5cae35ad4(open_search) {
|
|
12372
|
-
const handler = $b8hua$
|
|
12434
|
+
const handler = $b8hua$catchify1(e => {
|
|
12373
12435
|
const {
|
|
12374
12436
|
key: key,
|
|
12375
12437
|
target: target
|
|
@@ -12388,7 +12450,7 @@ function $573c007c697a1831$export$d0596b5cae35ad4(open_search) {
|
|
|
12388
12450
|
function $e60a76195ac6d408$export$689e204eadb33baf(pr) {
|
|
12389
12451
|
let old_url;
|
|
12390
12452
|
let disconnect_link_observer;
|
|
12391
|
-
const link_handler = $b8hua$
|
|
12453
|
+
const link_handler = $b8hua$catchify1(e => {
|
|
12392
12454
|
const link = e.currentTarget || e.target;
|
|
12393
12455
|
if (link.href === old_url) {
|
|
12394
12456
|
history.pushState(history.state, "", link.href);
|
|
@@ -12397,7 +12459,7 @@ function $e60a76195ac6d408$export$689e204eadb33baf(pr) {
|
|
|
12397
12459
|
});
|
|
12398
12460
|
let remove_added_listeners;
|
|
12399
12461
|
let resolve_remove_added_listeners;
|
|
12400
|
-
pr.addEventListener("open", $b8hua$
|
|
12462
|
+
pr.addEventListener("open", $b8hua$catchify1(() => {
|
|
12401
12463
|
remove_added_listeners = new Promise(r => resolve_remove_added_listeners = r);
|
|
12402
12464
|
disconnect_link_observer = (0, $b8hua$observer).onexists("a", async _ref => {
|
|
12403
12465
|
let {
|
|
@@ -12408,12 +12470,12 @@ function $e60a76195ac6d408$export$689e204eadb33baf(pr) {
|
|
|
12408
12470
|
element.removeEventListener("click", link_handler);
|
|
12409
12471
|
});
|
|
12410
12472
|
}));
|
|
12411
|
-
pr.addEventListener("close", $b8hua$
|
|
12473
|
+
pr.addEventListener("close", $b8hua$catchify1(() => {
|
|
12412
12474
|
var _disconnect_link_obse, _resolve_remove_added;
|
|
12413
12475
|
(_disconnect_link_obse = disconnect_link_observer) === null || _disconnect_link_obse === void 0 || _disconnect_link_obse();
|
|
12414
12476
|
(_resolve_remove_added = resolve_remove_added_listeners) === null || _resolve_remove_added === void 0 || _resolve_remove_added();
|
|
12415
12477
|
}));
|
|
12416
|
-
$b8hua$
|
|
12478
|
+
$b8hua$catchify1(async () => {
|
|
12417
12479
|
for await (const href of (0, $b8hua$href_change_ipns)) if (!pr.is_page_(new URL(href))) old_url = href;
|
|
12418
12480
|
})();
|
|
12419
12481
|
}
|
|
@@ -12511,7 +12573,7 @@ class $f9fd3017c20b774a$export$3ccaa27d81dd8556 extends EventTarget {
|
|
|
12511
12573
|
});
|
|
12512
12574
|
$f9fd3017c20b774a$var$_classPrivateFieldInitSpec(this, $f9fd3017c20b774a$var$_unload, {
|
|
12513
12575
|
writable: true,
|
|
12514
|
-
value: /*@__PURE__*/$b8hua$
|
|
12576
|
+
value: /*@__PURE__*/$b8hua$catchify1(() => {
|
|
12515
12577
|
var _classPrivateFieldGet3;
|
|
12516
12578
|
if (!$b8hua$babelruntimehelpersclassPrivateFieldGet(this, $f9fd3017c20b774a$var$_is_open)) return;
|
|
12517
12579
|
(_classPrivateFieldGet3 = $b8hua$babelruntimehelpersclassPrivateFieldGet(this, $f9fd3017c20b774a$var$_disconnect_observer)) === null || _classPrivateFieldGet3 === void 0 || _classPrivateFieldGet3.call(this);
|
|
@@ -12525,7 +12587,7 @@ class $f9fd3017c20b774a$export$3ccaa27d81dd8556 extends EventTarget {
|
|
|
12525
12587
|
});
|
|
12526
12588
|
$f9fd3017c20b774a$var$_classPrivateFieldInitSpec(this, $f9fd3017c20b774a$var$_load, {
|
|
12527
12589
|
writable: true,
|
|
12528
|
-
value: /*@__PURE__*/$b8hua$
|
|
12590
|
+
value: /*@__PURE__*/$b8hua$catchify1(async els => {
|
|
12529
12591
|
$b8hua$babelruntimehelpersclassPrivateFieldSet(this, $f9fd3017c20b774a$var$_is_open, true);
|
|
12530
12592
|
// So that #load doesn't get called again
|
|
12531
12593
|
let set_should_stay_inserted;
|
|
@@ -12589,7 +12651,7 @@ class $f9fd3017c20b774a$export$3ccaa27d81dd8556 extends EventTarget {
|
|
|
12589
12651
|
async function $f9fd3017c20b774a$var$_listen2() {
|
|
12590
12652
|
const [exit_ipns, exitable_ipns] = $b8hua$make_asyncIterable_exiter((0, $b8hua$href_change_ipns));
|
|
12591
12653
|
$b8hua$babelruntimehelpersclassPrivateFieldSet(this, $f9fd3017c20b774a$var$_stop_listening, exit_ipns);
|
|
12592
|
-
const caught_page_check_fn = $b8hua$
|
|
12654
|
+
const caught_page_check_fn = $b8hua$catchify1(this.is_page_, "page check failed");
|
|
12593
12655
|
for await (const href of exitable_ipns) {
|
|
12594
12656
|
const url = new URL(href);
|
|
12595
12657
|
if (!caught_page_check_fn(url)) {
|
|
@@ -12607,12 +12669,12 @@ function $f9fd3017c20b774a$var$_get_rendered_recs2() {
|
|
|
12607
12669
|
this.addEventListener("close", dispose, {
|
|
12608
12670
|
once: true
|
|
12609
12671
|
});
|
|
12610
|
-
return $b8hua$
|
|
12672
|
+
return $b8hua$catchify1(this.render_, "rendering failed")() || [];
|
|
12611
12673
|
});
|
|
12612
12674
|
}
|
|
12613
12675
|
function $f9fd3017c20b774a$var$_empty_page_bugfix2() {
|
|
12614
12676
|
// Called when a "page" is "opened" using PageReplacer
|
|
12615
|
-
const on_maybe_popstate = $b8hua$
|
|
12677
|
+
const on_maybe_popstate = $b8hua$catchify1(what_happened => {
|
|
12616
12678
|
if (what_happened !== "popstate") return;
|
|
12617
12679
|
const cleaned_current_url = $f9fd3017c20b774a$var$clean_url(location.href);
|
|
12618
12680
|
if (!$f9fd3017c20b774a$var$_classStaticPrivateFieldSpecGet($f9fd3017c20b774a$export$3ccaa27d81dd8556, $f9fd3017c20b774a$export$3ccaa27d81dd8556, $f9fd3017c20b774a$var$_visited_urls).has(cleaned_current_url)) {
|
|
@@ -12636,7 +12698,7 @@ function $f9fd3017c20b774a$var$_empty_page_bugfix2() {
|
|
|
12636
12698
|
PageReplacer unload itself and reveals the original document - it is expected to be the one under https://ehandel.spendrups.se/Product/1104201, but actually it is the one under /start/search - a white page.
|
|
12637
12699
|
The fix: is to remember all pages that we have visited since the creation of `window` (we do that by having a static property on PageReplacer since we assume the PageReplacer source code will only exist once on the page and will be loaded at page load, the latter assumption might be wrong, but I hope not). If we get a "popstate" event (meaning back or forwards button, not new page being pushed) to an unknown page we reload.
|
|
12638
12700
|
*/
|
|
12639
|
-
$b8hua$
|
|
12701
|
+
$b8hua$dlog1("PageReplacer: ", cleaned_current_url, " hasn't been visited since document was created, reloading since we won't be able to show this page otherwise");
|
|
12640
12702
|
location.reload();
|
|
12641
12703
|
$f9fd3017c20b774a$var$_classStaticPrivateFieldSpecSet($f9fd3017c20b774a$export$3ccaa27d81dd8556, $f9fd3017c20b774a$export$3ccaa27d81dd8556, $f9fd3017c20b774a$var$_reverting_permitted, false); // Disallow any reverting since we can't - it would flash a white page until the reload has finished.
|
|
12642
12704
|
$b8hua$babelruntimehelpersclassPrivateFieldGet(this, $f9fd3017c20b774a$var$_unload).call(this); // Call unload to "kill" the solid-js stuff quicker so that it stops updating - the user is expecting the next thing that happens to be a navigation to the actual page the URL says they're on.
|
|
@@ -12655,7 +12717,7 @@ var $f9fd3017c20b774a$var$_visited_urls = {
|
|
|
12655
12717
|
writable: true,
|
|
12656
12718
|
value: /*@__PURE__*/(() => {
|
|
12657
12719
|
// 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).
|
|
12658
|
-
$b8hua$
|
|
12720
|
+
$b8hua$catchify1(async () => {
|
|
12659
12721
|
// Static initialization blocks aren't supported in MobileSafari yet, otherwise this would be one.
|
|
12660
12722
|
// 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).
|
|
12661
12723
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Static_initialization_blocks
|
|
@@ -12712,7 +12774,7 @@ function $a3026fb727bc7550$export$316f6f283ae64765(props) {
|
|
|
12712
12774
|
field_: $b8hua$createSignal({}),
|
|
12713
12775
|
backdrop_: backdropAlignmentSignal_
|
|
12714
12776
|
};
|
|
12715
|
-
const defaultHandler = $b8hua$
|
|
12777
|
+
const defaultHandler = $b8hua$catchify1(e => {
|
|
12716
12778
|
const {
|
|
12717
12779
|
modalVersionUsed_: modalVersionUsed_
|
|
12718
12780
|
} = shared_properties;
|
|
@@ -12844,7 +12906,7 @@ function $43fbb365ed0ac99e$export$466cdc317043f6cb(_ref) {
|
|
|
12844
12906
|
$b8hua$createComputed(() => {
|
|
12845
12907
|
var _place_holdey_quickli, _place_holdey_quickli2;
|
|
12846
12908
|
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.listing_id) {
|
|
12847
|
-
if (last_was_placeholder) queueMicrotask($b8hua$
|
|
12909
|
+
if (last_was_placeholder) queueMicrotask($b8hua$catchify1(() => {
|
|
12848
12910
|
var _sliding_element;
|
|
12849
12911
|
(_sliding_element = sliding_element) === null || _sliding_element === void 0 || _sliding_element.scrollTo({
|
|
12850
12912
|
left: 0
|
|
@@ -12913,7 +12975,7 @@ function $43fbb365ed0ac99e$export$466cdc317043f6cb(_ref) {
|
|
|
12913
12975
|
} else if (!(((_intersecting_items_o = intersecting_items_object[selected_index()]) === null || _intersecting_items_o === void 0 ? void 0 : _intersecting_items_o.intersectionRatio) >= 0.95)) {
|
|
12914
12976
|
// negated larger than to handle left side of comparison being undefined
|
|
12915
12977
|
let done_work = false;
|
|
12916
|
-
$b8hua$runWithOwner(owner, () => $b8hua$createComputed($b8hua$
|
|
12978
|
+
$b8hua$runWithOwner(owner, () => $b8hua$createComputed($b8hua$catchify1(() => {
|
|
12917
12979
|
if (done_work || !Array.isArray(quicklinks_data_())) return;
|
|
12918
12980
|
const sel_index = selected_index();
|
|
12919
12981
|
const target_element = sel_index >= 0 ? sel_index : 0;
|
|
@@ -13070,7 +13132,7 @@ function $a4777acaffa35a82$export$3945d6db2dfd3d12(_ref) {
|
|
|
13070
13132
|
const handler = () => allow_filter_clearing = false;
|
|
13071
13133
|
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
|
|
13072
13134
|
$b8hua$onCleanup(() => window.removeEventListener("popstate", handler));
|
|
13073
|
-
$b8hua$createEffect($b8hua$on(crumb_data_, $b8hua$
|
|
13135
|
+
$b8hua$createEffect($b8hua$on(crumb_data_, $b8hua$catchify1(new_crumb_data => {
|
|
13074
13136
|
const id_of_new_data = id_to_query_for_();
|
|
13075
13137
|
const type_of_id_of_new_data = id_type_();
|
|
13076
13138
|
if (allow_filter_clearing && previous_crumb_data && new_crumb_data && (id_of_new_data !== id_when_we_got_previous_data.id_ || type_of_id_of_new_data !== id_when_we_got_previous_data.type_)) {
|
|
@@ -13124,7 +13186,7 @@ function $a4777acaffa35a82$var$clear_if_opened_new_tab_with_sideways_url_params_
|
|
|
13124
13186
|
// On first rendering of the CategoryPage (after we have results), check if we got to this URL by going sideways in QuickLinks and clear filters with toast if so
|
|
13125
13187
|
if (!$b8hua$untrack(get_sideways_filter_clearing_flag_)) return;
|
|
13126
13188
|
set_sideways_filter_clearing_flag_(false);
|
|
13127
|
-
$b8hua$
|
|
13189
|
+
$b8hua$dlog1("Flag to clear filters was set, clearing filters");
|
|
13128
13190
|
$b8hua$queueMacroTask(() => {
|
|
13129
13191
|
// Do it next task so that all the filters have time to populate
|
|
13130
13192
|
$b4465d8d605f61e9$export$8895d39404bd2bb1({
|
|
@@ -13216,7 +13278,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
|
|
|
13216
13278
|
// Make "Get products in listing" request to get products in listing
|
|
13217
13279
|
const [plp_products_] = $b8hua$createResource(products_query_base_,
|
|
13218
13280
|
// 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)
|
|
13219
|
-
$b8hua$
|
|
13281
|
+
$b8hua$catchify(base_query => $5e6abec0dab4e610$export$cc42dd29bf655ab6({
|
|
13220
13282
|
id_: $b8hua$untrack(id_to_query_for_),
|
|
13221
13283
|
scroll_restoration_data_: scroll_restoration_data_,
|
|
13222
13284
|
min_products_to_fetch_: min_products_to_fetch_,
|
|
@@ -13236,7 +13298,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
|
|
|
13236
13298
|
id_type_: id_type_()
|
|
13237
13299
|
}));
|
|
13238
13300
|
// Make "Get Listing" request to get quicklinks, breadcrumbs, title, etc
|
|
13239
|
-
const [plp_meta] = $b8hua$createResource(meta_query_base, $b8hua$
|
|
13301
|
+
const [plp_meta] = $b8hua$createResource(meta_query_base, $b8hua$catchify(query => depict_api_.get_listing(query)));
|
|
13240
13302
|
const available_sortings_ = $b8hua$createMemo(() => {
|
|
13241
13303
|
var _plp_products_, _plp_products_$sorts;
|
|
13242
13304
|
return (_plp_products_ = plp_products_()) === null || _plp_products_ === void 0 ? void 0 : (_plp_products_$sorts = _plp_products_.sorts) === null || _plp_products_$sorts === void 0 ? void 0 : _plp_products_$sorts.map(sort => {
|
|
@@ -13370,7 +13432,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
|
|
|
13370
13432
|
filterModalParent_: filterModalParent_,
|
|
13371
13433
|
...extra_sort_and_filter_args_
|
|
13372
13434
|
});
|
|
13373
|
-
$b8hua$
|
|
13435
|
+
$b8hua$catchify((0, $5e6abec0dab4e610$export$6e49da55e449af7c))({
|
|
13374
13436
|
scroll_restoration_data_: scroll_restoration_data_,
|
|
13375
13437
|
last_result_in_viewport_: last_result_in_viewport_,
|
|
13376
13438
|
id_: id_to_query_for_,
|
|
@@ -13384,7 +13446,7 @@ function $4b4b262708b516ee$export$f7d2f673fc2f091d(_ref) {
|
|
|
13384
13446
|
$b8hua$createComputed(() => {
|
|
13385
13447
|
if (plp_products_.loading) set_can_write_scroll_restoration(false);else if (plp_products_()) set_can_write_scroll_restoration(true);
|
|
13386
13448
|
});
|
|
13387
|
-
$b8hua$createRenderEffect($b8hua$
|
|
13449
|
+
$b8hua$createRenderEffect($b8hua$catchify(async () => {
|
|
13388
13450
|
var _only_show_filters_op;
|
|
13389
13451
|
const slim = is_slim_();
|
|
13390
13452
|
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();
|
|
@@ -13639,4 +13701,4 @@ function $8821a19349c36651$export$e2bf8ce7779e827e(props) {
|
|
|
13639
13701
|
}, "Entire CategoryPage failed");
|
|
13640
13702
|
}
|
|
13641
13703
|
$b8hua$add_to_version_info("ui", (0, $8db9a15135765c11$export$83d89fbfd8236492));
|
|
13642
|
-
export { $a35e6f680c5bbc60$export$54299a3c81f5425 as useVisibilityState, $002f09d00aac50b2$export$eaa625fb39439e37 as useSlidableInformation, $618bd53ea0a41cd4$export$80bb7300ce6a8be3 as useProductCardIsVisible, $618bd53ea0a41cd4$export$f223d69ed12f5fb7 as CurrentlyIntersectingContext, $8e8b179489080711$export$5bad61ecde080b1f as useExpandingContainerReactive, $bb34cd283e904784$export$2c9f9bf2092486aa as LooksSliderOrGrid, $
|
|
13704
|
+
export { $715f7f2e53146662$export$d4d96868197be50e as useMobileHover, $a35e6f680c5bbc60$export$54299a3c81f5425 as useVisibilityState, $002f09d00aac50b2$export$eaa625fb39439e37 as useSlidableInformation, $618bd53ea0a41cd4$export$80bb7300ce6a8be3 as useProductCardIsVisible, $618bd53ea0a41cd4$export$f223d69ed12f5fb7 as CurrentlyIntersectingContext, $8e8b179489080711$export$5bad61ecde080b1f as useExpandingContainerReactive, $bb34cd283e904784$export$2c9f9bf2092486aa as LooksSliderOrGrid, $22dd375b476673e2$export$44809a8a3e867e30 as LookCard, $ac571292d606f30b$export$7e1297a3a19f10d8 as PseudoRouter, $6d75ec14f537c37f$export$83bb9af5671e1dbe as promiseSafeStructuredClone, $68e6625c8d51f847$export$5162a71f252e6122 as preserve_items_in_history_dot_state, $68e6625c8d51f847$export$3064e1e8c6513da3 as prefixes_to_preserve_in_history_dot_state, $9b35d1384e31813a$export$29d28dadc2d6b631 as allowNativeNavigation, $b026fa9c9c904a98$export$1ea76ea778b880dd as modalVersionSymbol, $a604a8ffa4e4c03f$export$e417c49320921907 as createDeparallelizedNoDropResource, $01c33966d9ddb108$export$f50b88e2a00918b5 as throw_globally, $40411f2ec772c376$export$9265e66f26f8e383 as ClassicSearchModal, $06fcd2a345efd24d$export$b0c55aa2e87c4be7 as SearchModalV2, $98688279b9059f50$export$9d4a4b669b1929ab as ModernResponsiveContainedImage, $6a439680ae7e9ba3$export$3e41faf802a29e71 as Tab, $6a439680ae7e9ba3$export$b2539bed5023c21c as Tabs, $6b0fd8fd20df8ccf$export$d4973c31938cbfd1 as ShopTheLookButton, $972f6bce0f9d61be$export$e183a13865960371 as history_dot_state_to_state, $2855bffe06ef7a03$export$916e6850778505f6 as strip_encoded_filter_and_sort, $2855bffe06ef7a03$export$58aa3f171519b6d7 as encode_filters, $2855bffe06ef7a03$export$f934fa24c3a86811 as decode_filters, $2855bffe06ef7a03$export$62acb285a7579555 as encode_sorting, $2855bffe06ef7a03$export$766e9676e74997d3 as decode_sorting, $4df489344a0f97c7$export$d7b7ab832c20e2f4 as shopifyContainedImageContextSymbol, $5441862cd2f5e111$export$e68cff63f76bd15b as ListingProvider, $5441862cd2f5e111$export$8d0c4fdbb05a2f2e as useListing, $1e69163caedaab4e$export$11354f017ddc9790 as ProductCardIndexProvider, $1e69163caedaab4e$export$e3faf4d95300054f as useProductCardIndex, $4df489344a0f97c7$export$e4b984597b71e989 as ShopifyContainedImage, $002f09d00aac50b2$export$6649caad96ef8870 as SlidableItems, $fc830a7ee59416ef$export$ebdc3711f7e02ccd as make_accurate_width_accessor, $d5d7e58c5c9d8db0$export$9574e176201e5e8d as RecommendationSlider, $b432b11321ad4c97$export$9756467d34d91cdb as RecommendationGrid, $56047603f9d212b6$export$6e5611bc7e57e477 as ShopifyResponsiveImg, $56047603f9d212b6$export$e6fffe67d4cdd848 as makeSizeAccessor, $801e8845d3fa3653$export$94026ee33dbabc26 as ImageContainer, $74777e8fe65b3dcb$export$b69d0d92862de18b as SentryErrorBoundary, $74777e8fe65b3dcb$export$240ecf5363d76c0f as ExtraSentryContextProvider, $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, $63f1f8dbcd07d3b0$export$445d8d3f5f706a40 as SolidLayoutWithProvidedElement, $d5f1e6a0f9117286$export$79b1565500412d9b as general_modal_abstraction, $9783d437ad61594c$export$3b621d86b1566b2 as CrossIcon, $ca6ab5f08bd28bca$export$8be2714ec7f169ee as GenericSliderArrowButton, $50aebf5b445518eb$export$58e808b1db15d3bc as fetchDepictRecommendations, $fa332ea03168857c$export$b91cec6bdc6b32a1 as CategoryTitle, $702d7656a373973e$export$824dde41348efed1 as embedded_num_products, $160ea2b55d8772d2$export$c1a6b039e689a58e as get_listings, $f5f54892fd0c7d9f$export$f34314aa9505732e as DepictCategory, $eb064bc3350276c1$export$ac6237957a15b3f0 as DepictSearch, $eb064bc3350276c1$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $eb064bc3350276c1$export$f2dc7e4e4aa11abb as SearchPage, $f3b7124b76123e44$export$aa14a9f43128f61f as ProductCardError, $169c13c0531d91d2$export$d86a33413558014e as open_modal_with_alignment, $5eaa00b951637e96$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $1308a7816c3d4f2d$export$b3ad617e9036868 as align_field, $1308a7816c3d4f2d$export$3f238c96c45e6cc6 as ALIGN_TOP, $1308a7816c3d4f2d$export$902f8b4a7dae5d78 as ALIGN_WIDTH_ON_MODAL, $1308a7816c3d4f2d$export$7895aadd1956b1c7 as ALIGN_LEFT, $1308a7816c3d4f2d$export$6060bc6bee850eb6 as SET_CENTERED_LEFT, $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, $a3026fb727bc7550$export$316f6f283ae64765 as SearchField, $62a8813a51fbd22f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $62a8813a51fbd22f$export$de035477d6fef996 as QuickLinks, $8821a19349c36651$export$e2bf8ce7779e827e as CategoryPage };
|