@depict-ai/ui 4.7.22 → 4.7.24

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/latest/index.js CHANGED
@@ -1,13 +1,21 @@
1
1
  import { add_to_version_info as $9HbP8$add_to_version_info, slider_fading_factory as $9HbP8$slider_fading_factory, Amazing_Slider as $9HbP8$Amazing_Slider, slider_snap_css as $9HbP8$slider_snap_css, catchify as $9HbP8$catchify, dlog as $9HbP8$dlog, camelCasifyObject as $9HbP8$camelCasifyObject, useExpandingContainer as $9HbP8$useExpandingContainer, fetch_retry as $9HbP8$fetch_retry, base_url as $9HbP8$base_url, dwarn as $9HbP8$dwarn, slider_fractional_factory as $9HbP8$slider_fractional_factory, make_random_classname as $9HbP8$make_random_classname, n_col_styling_with_dist as $9HbP8$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $9HbP8$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $9HbP8$layout_get_total_rec_amount_for_row, layout_media_query_header as $9HbP8$layout_media_query_header, report as $9HbP8$report, observer as $9HbP8$observer, javascript_media_query as $9HbP8$javascript_media_query, queueMacroTask as $9HbP8$queueMacroTask, findMostFrequentItem as $9HbP8$findMostFrequentItem, standard_price_format as $9HbP8$standard_price_format, instant_exec_on_suspect_history_change as $9HbP8$instant_exec_on_suspect_history_change, deparallelize_no_drop as $9HbP8$deparallelize_no_drop, ContainedImage as $9HbP8$ContainedImage, buildThresholdList as $9HbP8$buildThresholdList, make_asyncIterable_exiter as $9HbP8$make_asyncIterable_exiter, href_change_ipns as $9HbP8$href_change_ipns, base64_encode_unicode as $9HbP8$base64_encode_unicode, base64_decode_unicode as $9HbP8$base64_decode_unicode, use_href_accessor as $9HbP8$use_href_accessor, get_session_id as $9HbP8$get_session_id, add_version_query_params as $9HbP8$add_version_query_params, hex_to_rgb as $9HbP8$hex_to_rgb, relative_luminance_from_rgb as $9HbP8$relative_luminance_from_rgb, snakeCasifyObject as $9HbP8$snakeCasifyObject, sort_obj as $9HbP8$sort_obj, make_url_with_query_params as $9HbP8$make_url_with_query_params, insert_surfaces as $9HbP8$insert_surfaces, is_debug as $9HbP8$is_debug } from "@depict-ai/utilishared/latest";
2
+ import { createSignal as $9HbP8$createSignal, onCleanup as $9HbP8$onCleanup, createContext as $9HbP8$createContext, createEffect as $9HbP8$createEffect, Show as $9HbP8$Show, useContext as $9HbP8$useContext, createMemo as $9HbP8$createMemo, untrack as $9HbP8$untrack, For as $9HbP8$For, getOwner as $9HbP8$getOwner, createResource as $9HbP8$createResource, runWithOwner as $9HbP8$runWithOwner, mergeProps as $9HbP8$mergeProps1, Suspense as $9HbP8$Suspense, createRenderEffect as $9HbP8$createRenderEffect, Index as $9HbP8$Index, createRoot as $9HbP8$createRoot, createUniqueId as $9HbP8$createUniqueId, createComputed as $9HbP8$createComputed, ErrorBoundary as $9HbP8$ErrorBoundary, splitProps as $9HbP8$splitProps, on as $9HbP8$on, batch as $9HbP8$batch, createSelector as $9HbP8$createSelector, children as $9HbP8$children, createReaction as $9HbP8$createReaction, mapArray as $9HbP8$mapArray } from "solid-js";
2
3
  import { template as $9HbP8$template, getNextElement as $9HbP8$getNextElement, insert as $9HbP8$insert, createComponent as $9HbP8$createComponent, isServer as $9HbP8$isServer, effect as $9HbP8$effect, setAttribute as $9HbP8$setAttribute, mergeProps as $9HbP8$mergeProps, className as $9HbP8$className, spread as $9HbP8$spread, runHydrationEvents as $9HbP8$runHydrationEvents, addEventListener as $9HbP8$addEventListener, memo as $9HbP8$memo, delegateEvents as $9HbP8$delegateEvents, getNextMarker as $9HbP8$getNextMarker, classList as $9HbP8$classList, use as $9HbP8$use, style as $9HbP8$style, setProperty as $9HbP8$setProperty, Dynamic as $9HbP8$Dynamic } from "solid-js/web";
3
- import { createContext as $9HbP8$createContext, createSignal as $9HbP8$createSignal, createEffect as $9HbP8$createEffect, Show as $9HbP8$Show, onCleanup as $9HbP8$onCleanup, useContext as $9HbP8$useContext, createMemo as $9HbP8$createMemo, untrack as $9HbP8$untrack, For as $9HbP8$For, getOwner as $9HbP8$getOwner, createResource as $9HbP8$createResource, runWithOwner as $9HbP8$runWithOwner, mergeProps as $9HbP8$mergeProps1, Suspense as $9HbP8$Suspense, createRenderEffect as $9HbP8$createRenderEffect, Index as $9HbP8$Index, createRoot as $9HbP8$createRoot, createUniqueId as $9HbP8$createUniqueId, createComputed as $9HbP8$createComputed, ErrorBoundary as $9HbP8$ErrorBoundary, splitProps as $9HbP8$splitProps, on as $9HbP8$on, batch as $9HbP8$batch, createSelector as $9HbP8$createSelector, children as $9HbP8$children, createReaction as $9HbP8$createReaction, mapArray as $9HbP8$mapArray } from "solid-js";
4
4
  import { ListenableSet as $9HbP8$ListenableSet, catchify as $9HbP8$catchify1, use_href_accessor as $9HbP8$use_href_accessor1, queueMacroTask as $9HbP8$queueMacroTask1, report as $9HbP8$report1 } from "@depict-ai/utilishared/latest";
5
5
  import { createStore as $9HbP8$createStore, reconcile as $9HbP8$reconcile } from "solid-js/store";
6
6
 
7
7
  /*! Depict.ai search and product listing SDK */
8
8
  import { register_es_version } from "../multi_import_deduplicator.mjs";
9
9
  register_es_version("ui", "latest");
10
- const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.22";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.24";
11
+ function $5e3d278ef4c80cd7$export$54299a3c81f5425() {
12
+ const d = document;
13
+ const [isVisible, setIsVisible] = $9HbP8$createSignal(d.visibilityState !== "hidden");
14
+ const handleVisibilityChange = () => setIsVisible(d.visibilityState !== "hidden");
15
+ d.addEventListener("visibilitychange", handleVisibilityChange);
16
+ $9HbP8$onCleanup(() => d.removeEventListener("visibilitychange", handleVisibilityChange));
17
+ return isVisible;
18
+ }
11
19
  var $fbbadcb080ad1d4a$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<svg xmlns=http://www.w3.org/2000/svg viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0"fill=#0f0f0f>`);
12
20
  function $fbbadcb080ad1d4a$export$8be2714ec7f169ee(props = {}) {
13
21
  return (() => {
@@ -1560,17 +1568,17 @@ function $5a6c386e1bde5665$export$b73ed90f0ee50dc3({
1560
1568
  return _el$;
1561
1569
  })();
1562
1570
  }
1563
- var $62a8f670f8464532$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div style=position:absolute;width:10px;height:10px;overflow:hidden>`);
1564
- let $62a8f670f8464532$var$cachedValue;
1565
- async function $62a8f670f8464532$export$7b9a0e99f0aeb2f3() {
1566
- if ($62a8f670f8464532$var$cachedValue != undefined) return $62a8f670f8464532$var$cachedValue;
1567
- return $62a8f670f8464532$var$cachedValue = $62a8f670f8464532$var$checkIfIsAffectedByChromeBug326498383();
1571
+ var $1f9a34ca8a87d49f$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div style=position:absolute;width:10px;height:10px;overflow:hidden>`);
1572
+ let $1f9a34ca8a87d49f$var$cachedValue;
1573
+ async function $1f9a34ca8a87d49f$export$7b9a0e99f0aeb2f3() {
1574
+ if ($1f9a34ca8a87d49f$var$cachedValue != undefined) return $1f9a34ca8a87d49f$var$cachedValue;
1575
+ return $1f9a34ca8a87d49f$var$cachedValue = $1f9a34ca8a87d49f$var$checkIfIsAffectedByChromeBug326498383();
1568
1576
  }
1569
- async function $62a8f670f8464532$var$checkIfIsAffectedByChromeBug326498383() {
1577
+ async function $1f9a34ca8a87d49f$var$checkIfIsAffectedByChromeBug326498383() {
1570
1578
  let isAffected = true;
1571
1579
  let resolveTimeoutPromise;
1572
1580
  try {
1573
- const div = $9HbP8$getNextElement($62a8f670f8464532$var$_tmpl$);
1581
+ const div = $9HbP8$getNextElement($1f9a34ca8a87d49f$var$_tmpl$);
1574
1582
  const waitAFrame = () => new Promise(r => requestAnimationFrame(() => requestAnimationFrame(r)));
1575
1583
  const timeoutPromise = new Promise(r => {
1576
1584
  resolveTimeoutPromise = r;
@@ -1583,7 +1591,7 @@ async function $62a8f670f8464532$var$checkIfIsAffectedByChromeBug326498383() {
1583
1591
  style: style
1584
1592
  } = div;
1585
1593
  // Just to get a long string
1586
- div.append($62a8f670f8464532$export$7b9a0e99f0aeb2f3 + "");
1594
+ div.append($1f9a34ca8a87d49f$export$7b9a0e99f0aeb2f3 + "");
1587
1595
  document.documentElement.append(div);
1588
1596
  style.overflow = "auto";
1589
1597
  await waitAFrame();
@@ -1630,7 +1638,7 @@ function $7555dcad3b8a4632$export$ebf0b1d4f90c09ae({
1630
1638
  const textFadeInAnimationRunning = $9HbP8$createSignal(false);
1631
1639
  const [getSecondPartAnimationRunning] = textFadeInAnimationRunning;
1632
1640
  const [userWantsExpanded, setUserWantsExpanded] = userWantsExpandedSignal_;
1633
- $62a8f670f8464532$export$7b9a0e99f0aeb2f3().then(is => isAffectedByChromeBug = is);
1641
+ $1f9a34ca8a87d49f$export$7b9a0e99f0aeb2f3().then(is => isAffectedByChromeBug = is);
1634
1642
  return $9HbP8$createComponent((0, $011607bdf658f807$export$e68cff63f76bd15b), {
1635
1643
  get children() {
1636
1644
  return $9HbP8$createComponent((0, $9HbP8$Show), {
@@ -4261,7 +4269,7 @@ function $4147651646da990a$export$916e6850778505f6(search_params, filter_query_p
4261
4269
  const keys = [...search_params.keys()];
4262
4270
  for (const key of keys) if (key.startsWith(filter_query_param_prefix) || key === sorting_query_param || key.startsWith($4147651646da990a$var$legacy_filter_prefix)) search_params.delete(key);
4263
4271
  }
4264
- const $4147651646da990a$export$cf5feb2102aec7f2 = "went_sideways_clear_filters";
4272
+ const $4147651646da990a$export$84daa4fa1471698b = "#went_sideways_clear_filters";
4265
4273
  function $4147651646da990a$export$43cd1e747fecd42e({
4266
4274
  to_url_: to_url_,
4267
4275
  set_clearing_flag_: set_clearing_flag_,
@@ -4275,9 +4283,13 @@ function $4147651646da990a$export$43cd1e747fecd42e({
4275
4283
  const {
4276
4284
  searchParams: searchParams
4277
4285
  } = url_object;
4278
- if (set_clearing_flag_) searchParams.set($4147651646da990a$export$cf5feb2102aec7f2, "true");
4286
+ let transferredAnyFilters = false;
4279
4287
  if (from_search_params_.has(sorting_query_param_)) searchParams.set(sorting_query_param_, from_search_params_.get(sorting_query_param_));
4280
- for (const key of from_search_params_.keys()) if (key.startsWith(filter_query_param_prefix_)) searchParams.set(key, from_search_params_.get(key));
4288
+ for (const key of from_search_params_.keys()) if (key.startsWith(filter_query_param_prefix_)) {
4289
+ searchParams.set(key, from_search_params_.get(key));
4290
+ transferredAnyFilters = true;
4291
+ }
4292
+ if (set_clearing_flag_ && transferredAnyFilters) url_object.hash = $4147651646da990a$export$84daa4fa1471698b;
4281
4293
  if (was_url_object) return url_object;
4282
4294
  return url_object.href;
4283
4295
  }
@@ -9810,7 +9822,8 @@ function $ccd5db07a3a069c5$export$477caf01aecaeb2a(options) {
9810
9822
  $9HbP8$onCleanup(() => (0, $9HbP8$instant_exec_on_suspect_history_change).delete(history_change_handler));
9811
9823
  $9HbP8$createComputed(() => {
9812
9824
  const {
9813
- searchParams: searchParams
9825
+ searchParams: searchParams,
9826
+ hash: hash
9814
9827
  } = new URL(get_current_href());
9815
9828
  $9HbP8$batch(() => {
9816
9829
  const found_sorting = $4147651646da990a$export$766e9676e74997d3(searchParams, sorting_query_param_);
@@ -9842,7 +9855,7 @@ function $ccd5db07a3a069c5$export$477caf01aecaeb2a(options) {
9842
9855
  if (found_override_listing_id) $9HbP8$dlog("Found override query id:", found_override_listing_id); // This stuff might get confusing so better log it
9843
9856
  }
9844
9857
 
9845
- if (searchParams.get((0, $4147651646da990a$export$cf5feb2102aec7f2)) === "true") set_has_sideways_filter_clearing_flag(true);
9858
+ if (hash === (0, $4147651646da990a$export$84daa4fa1471698b)) set_has_sideways_filter_clearing_flag(true);
9846
9859
  if (!writer_started) {
9847
9860
  // The owner here is the createComputed which gets disposed the next time the computation runs - but we actually just want to delay the start of the href_writer until our signals contain the current value of the URL, therefore the runWithOwner
9848
9861
  $9HbP8$runWithOwner(owner, () => $ccd5db07a3a069c5$var$start_href_writer({
@@ -9883,21 +9896,21 @@ function $ccd5db07a3a069c5$var$start_href_writer({
9883
9896
  filter_query_param_prefix_: filter_query_param_prefix_
9884
9897
  }) {
9885
9898
  $9HbP8$createEffect($9HbP8$on([get_sorting_, get_selected_filters_, get_has_sideways_filter_clearing_flag_], ([sorting, filters, has_sideways_filter_clearing_flag]) => {
9886
- const current_href = location.href;
9887
- const url_object = new URL(current_href);
9899
+ const url_object = new URL(location.href);
9900
+ const unmodified_search_params = [...url_object.searchParams];
9901
+ const unmodified_hash = url_object.hash;
9888
9902
  const {
9889
9903
  searchParams: searchParams
9890
9904
  } = url_object;
9891
9905
  $4147651646da990a$export$916e6850778505f6(searchParams, filter_query_param_prefix_, sorting_query_param_);
9892
9906
  $4147651646da990a$export$62acb285a7579555(sorting, searchParams, sorting_query_param_);
9893
9907
  $4147651646da990a$export$58aa3f171519b6d7(filters, searchParams, filter_query_param_prefix_);
9894
- if (!has_sideways_filter_clearing_flag) $ccd5db07a3a069c5$var$delete_sideways_param_flag(searchParams);
9908
+ if (!has_sideways_filter_clearing_flag) $ccd5db07a3a069c5$var$delete_sideways_param_flag(url_object);
9895
9909
  // We can't just check if the URL is equal since sometimes the order of the parameters in the URL changes (randomly?) so we need to compare them one by one
9896
- const unmodified_search_params = [...new URL(current_href).searchParams];
9897
9910
  const new_search_params = [...searchParams];
9898
9911
  // Having the array middle step because if we'd check the "size" property of the map the algorithm could be fooled if there were two query parameters with the same key
9899
9912
  const new_search_params_map = new Map(new_search_params);
9900
- if (unmodified_search_params.length !== new_search_params.length || !unmodified_search_params.every(([key, value]) => new_search_params_map.get(key) === value))
9913
+ if (unmodified_search_params.length !== new_search_params.length || !unmodified_search_params.every(([key, value]) => new_search_params_map.get(key) === value) || unmodified_hash !== url_object.hash)
9901
9914
  // Only update URL if it actually changed
9902
9915
  router_.navigate_.go_to_({
9903
9916
  is_replace_: true,
@@ -9909,8 +9922,8 @@ function $ccd5db07a3a069c5$var$start_href_writer({
9909
9922
  defer: true
9910
9923
  }));
9911
9924
  }
9912
- function $ccd5db07a3a069c5$var$delete_sideways_param_flag(searchParams) {
9913
- if (searchParams.get((0, $4147651646da990a$export$cf5feb2102aec7f2)) === "true") searchParams.delete((0, $4147651646da990a$export$cf5feb2102aec7f2));
9925
+ function $ccd5db07a3a069c5$var$delete_sideways_param_flag(url_object) {
9926
+ if (url_object.hash === (0, $4147651646da990a$export$84daa4fa1471698b)) url_object.hash = "";
9914
9927
  }
9915
9928
 
9916
9929
  // We just pass page_url_creator to DepictAPI when we instantiate it, so don't allow it to be specified if api is already specified
@@ -15212,4 +15225,4 @@ function $442f32a4d80abbde$export$e2bf8ce7779e827e(props) {
15212
15225
  }, "Entire CategoryPage failed");
15213
15226
  }
15214
15227
  $9HbP8$add_to_version_info("ui", (0, $ec291e0010116877$export$83d89fbfd8236492));
15215
- export { $f32e14878e75af51$export$eaa625fb39439e37 as useSlidableInformation, $f091294da861020c$export$80bb7300ce6a8be3 as useProductCardIsVisible, $f091294da861020c$export$f223d69ed12f5fb7 as CurrentlyIntersectingContext, $24e27fab9c821b86$export$5bad61ecde080b1f as useExpandingContainerReactive, $07ef910e8ef6b783$export$2c9f9bf2092486aa as LooksSliderOrGrid, $28ee4f7db3cc44b8$export$44809a8a3e867e30 as LookCard, $4fd2ba03703a7d92$export$7e1297a3a19f10d8 as PseudoRouter, $de6ccd37192b5fc2$export$83bb9af5671e1dbe as promiseSafeStructuredClone, $90980bd87c9960f9$export$5162a71f252e6122 as preserve_items_in_history_dot_state, $90980bd87c9960f9$export$3064e1e8c6513da3 as prefixes_to_preserve_in_history_dot_state, $a281666e5c15c2ec$export$29d28dadc2d6b631 as allowNativeNavigation, $66db7a014e20802e$export$1ea76ea778b880dd as modalVersionSymbol, $136f1d4d6c7ba6ac$export$e417c49320921907 as createDeparallelizedNoDropResource, $d8dbf52fea1773e2$export$f50b88e2a00918b5 as throw_globally, $42912431795f188e$export$9265e66f26f8e383 as ClassicSearchModal, $500a16dd18ee5a71$export$b0c55aa2e87c4be7 as SearchModalV2, $70bb27cc6be01fc7$export$9d4a4b669b1929ab as ModernResponsiveContainedImage, $024fbc0a2d796fad$export$3e41faf802a29e71 as Tab, $024fbc0a2d796fad$export$b2539bed5023c21c as Tabs, $8560c919ff763930$export$d4973c31938cbfd1 as ShopTheLookButton, $ca6f574bd8772184$export$e183a13865960371 as history_dot_state_to_state, $4147651646da990a$export$916e6850778505f6 as strip_encoded_filter_and_sort, $4147651646da990a$export$58aa3f171519b6d7 as encode_filters, $4147651646da990a$export$f934fa24c3a86811 as decode_filters, $4147651646da990a$export$62acb285a7579555 as encode_sorting, $4147651646da990a$export$766e9676e74997d3 as decode_sorting, $660070e2a394b3c3$export$d7b7ab832c20e2f4 as shopifyContainedImageContextSymbol, $011607bdf658f807$export$e68cff63f76bd15b as ListingProvider, $011607bdf658f807$export$8d0c4fdbb05a2f2e as useListing, $b6440e72ed83671a$export$11354f017ddc9790 as ProductCardIndexProvider, $b6440e72ed83671a$export$e3faf4d95300054f as useProductCardIndex, $660070e2a394b3c3$export$e4b984597b71e989 as ShopifyContainedImage, $f32e14878e75af51$export$6649caad96ef8870 as SlidableItems, $2449872a62a75a20$export$ebdc3711f7e02ccd as make_accurate_width_accessor, $ee116da074deb002$export$9574e176201e5e8d as RecommendationSlider, $9ea5383493360761$export$9756467d34d91cdb as RecommendationGrid, $e8ffe11ed01df0fe$export$6e5611bc7e57e477 as ShopifyResponsiveImg, $e8ffe11ed01df0fe$export$e6fffe67d4cdd848 as makeSizeAccessor, $f18d425032111270$export$94026ee33dbabc26 as ImageContainer, $b7436a6d1fd64e3b$export$b69d0d92862de18b as SentryErrorBoundary, $b7436a6d1fd64e3b$export$240ecf5363d76c0f as ExtraSentryContextProvider, $6bb0a0c563dff4bb$export$6c6d7a51fa9aa15d as ExpandingDetails, $c16e74cfe125bb05$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $1adfe60f3a14a1d7$export$fecbb157621501bd as SelectedFilters, $fab07f52c9861732$export$3f1a388cc0d8fed7 as FilterBody, $5efb5894079b220e$export$b288c38ae3fddb56 as create_modified_filters, $c8d5ff4524619fcd$export$d21e32dfedac04be as SolidLayout, $c8d5ff4524619fcd$export$445d8d3f5f706a40 as SolidLayoutWithProvidedElement, $194bd6b8e4c59830$export$79b1565500412d9b as general_modal_abstraction, $19976a74d273070d$export$3b621d86b1566b2 as CrossIcon, $fbbadcb080ad1d4a$export$8be2714ec7f169ee as GenericSliderArrowButton, $a0f0e923bad68a9b$export$58e808b1db15d3bc as fetchDepictRecommendations, $e4615ecd1849548f$export$b91cec6bdc6b32a1 as CategoryTitle, $a6e23a834336fc19$export$824dde41348efed1 as embedded_num_products, $4b2134398dfa83fa$export$c1a6b039e689a58e as get_listings, $961b5c64bef4662f$export$f34314aa9505732e as DepictCategory, $806c97b931758897$export$ac6237957a15b3f0 as DepictSearch, $806c97b931758897$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $806c97b931758897$export$f2dc7e4e4aa11abb as SearchPage, $4fd48cb976bf1789$export$aa14a9f43128f61f as ProductCardError, $6891c018a834cfdd$export$d86a33413558014e as open_modal_with_alignment, $bb15dfb548a7666e$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $b6d5529b253681aa$export$b3ad617e9036868 as align_field, $b6d5529b253681aa$export$3f238c96c45e6cc6 as ALIGN_TOP, $b6d5529b253681aa$export$902f8b4a7dae5d78 as ALIGN_WIDTH_ON_MODAL, $b6d5529b253681aa$export$7895aadd1956b1c7 as ALIGN_LEFT, $b6d5529b253681aa$export$6060bc6bee850eb6 as SET_CENTERED_LEFT, $b5cccc8ee7d24677$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $926b1b5ba2239356$export$1233ca167bf71f9a as styles_to_valid_css_string, $aea1edf92433e81e$export$fe334901e8bebd57 as disable_scrolling, $6e8944558258054f$export$d0596b5cae35ad4 as open_search_with_shift_slash, $7fa23e2a0079eca4$export$e015ed2f2950f2e3 as DepictAPI, $dc9262ef6f786812$export$d9f36cf74e24d595 as media_query_to_accessor, $6936724b9e0b98d5$export$689e204eadb33baf as setup_fast_leave, $bf52d9f9eebd1938$export$5196e4c01fa56fcb as show_toast, $8c0f86cb3e266eeb$export$a71e92cfbb498adc as SolidFormatPrice, $4ca91518c9a35379$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $d20eff0aadc28983$export$acb3eaade4b23afd as BasePlaceholder, $d134eae24341b4a1$export$89c6019e4baa40b1 as TextPlaceholder, $7f60f09116a3fe61$export$3f37af283f8fb843 as ImagePlaceholder, $753e9b2889a47c89$export$3ccaa27d81dd8556 as PageReplacer, $4690a06c8489dcd0$export$864d304a0bc46829 as defaultGridSpacing, $4690a06c8489dcd0$export$c3834fa86c616831 as defaultColsAtSize, $4690a06c8489dcd0$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $ec291e0010116877$export$83d89fbfd8236492 as version, $58b3487626e85ece$export$316f6f283ae64765 as SearchField, $feffae76d8dc0135$export$5b7c3ce0ebe51f86 as BreadCrumbs, $feffae76d8dc0135$export$de035477d6fef996 as QuickLinks, $442f32a4d80abbde$export$e2bf8ce7779e827e as CategoryPage };
15228
+ export { $5e3d278ef4c80cd7$export$54299a3c81f5425 as useVisibilityState, $f32e14878e75af51$export$eaa625fb39439e37 as useSlidableInformation, $f091294da861020c$export$80bb7300ce6a8be3 as useProductCardIsVisible, $f091294da861020c$export$f223d69ed12f5fb7 as CurrentlyIntersectingContext, $24e27fab9c821b86$export$5bad61ecde080b1f as useExpandingContainerReactive, $07ef910e8ef6b783$export$2c9f9bf2092486aa as LooksSliderOrGrid, $28ee4f7db3cc44b8$export$44809a8a3e867e30 as LookCard, $4fd2ba03703a7d92$export$7e1297a3a19f10d8 as PseudoRouter, $de6ccd37192b5fc2$export$83bb9af5671e1dbe as promiseSafeStructuredClone, $90980bd87c9960f9$export$5162a71f252e6122 as preserve_items_in_history_dot_state, $90980bd87c9960f9$export$3064e1e8c6513da3 as prefixes_to_preserve_in_history_dot_state, $a281666e5c15c2ec$export$29d28dadc2d6b631 as allowNativeNavigation, $66db7a014e20802e$export$1ea76ea778b880dd as modalVersionSymbol, $136f1d4d6c7ba6ac$export$e417c49320921907 as createDeparallelizedNoDropResource, $d8dbf52fea1773e2$export$f50b88e2a00918b5 as throw_globally, $42912431795f188e$export$9265e66f26f8e383 as ClassicSearchModal, $500a16dd18ee5a71$export$b0c55aa2e87c4be7 as SearchModalV2, $70bb27cc6be01fc7$export$9d4a4b669b1929ab as ModernResponsiveContainedImage, $024fbc0a2d796fad$export$3e41faf802a29e71 as Tab, $024fbc0a2d796fad$export$b2539bed5023c21c as Tabs, $8560c919ff763930$export$d4973c31938cbfd1 as ShopTheLookButton, $ca6f574bd8772184$export$e183a13865960371 as history_dot_state_to_state, $4147651646da990a$export$916e6850778505f6 as strip_encoded_filter_and_sort, $4147651646da990a$export$58aa3f171519b6d7 as encode_filters, $4147651646da990a$export$f934fa24c3a86811 as decode_filters, $4147651646da990a$export$62acb285a7579555 as encode_sorting, $4147651646da990a$export$766e9676e74997d3 as decode_sorting, $660070e2a394b3c3$export$d7b7ab832c20e2f4 as shopifyContainedImageContextSymbol, $011607bdf658f807$export$e68cff63f76bd15b as ListingProvider, $011607bdf658f807$export$8d0c4fdbb05a2f2e as useListing, $b6440e72ed83671a$export$11354f017ddc9790 as ProductCardIndexProvider, $b6440e72ed83671a$export$e3faf4d95300054f as useProductCardIndex, $660070e2a394b3c3$export$e4b984597b71e989 as ShopifyContainedImage, $f32e14878e75af51$export$6649caad96ef8870 as SlidableItems, $2449872a62a75a20$export$ebdc3711f7e02ccd as make_accurate_width_accessor, $ee116da074deb002$export$9574e176201e5e8d as RecommendationSlider, $9ea5383493360761$export$9756467d34d91cdb as RecommendationGrid, $e8ffe11ed01df0fe$export$6e5611bc7e57e477 as ShopifyResponsiveImg, $e8ffe11ed01df0fe$export$e6fffe67d4cdd848 as makeSizeAccessor, $f18d425032111270$export$94026ee33dbabc26 as ImageContainer, $b7436a6d1fd64e3b$export$b69d0d92862de18b as SentryErrorBoundary, $b7436a6d1fd64e3b$export$240ecf5363d76c0f as ExtraSentryContextProvider, $6bb0a0c563dff4bb$export$6c6d7a51fa9aa15d as ExpandingDetails, $c16e74cfe125bb05$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $1adfe60f3a14a1d7$export$fecbb157621501bd as SelectedFilters, $fab07f52c9861732$export$3f1a388cc0d8fed7 as FilterBody, $5efb5894079b220e$export$b288c38ae3fddb56 as create_modified_filters, $c8d5ff4524619fcd$export$d21e32dfedac04be as SolidLayout, $c8d5ff4524619fcd$export$445d8d3f5f706a40 as SolidLayoutWithProvidedElement, $194bd6b8e4c59830$export$79b1565500412d9b as general_modal_abstraction, $19976a74d273070d$export$3b621d86b1566b2 as CrossIcon, $fbbadcb080ad1d4a$export$8be2714ec7f169ee as GenericSliderArrowButton, $a0f0e923bad68a9b$export$58e808b1db15d3bc as fetchDepictRecommendations, $e4615ecd1849548f$export$b91cec6bdc6b32a1 as CategoryTitle, $a6e23a834336fc19$export$824dde41348efed1 as embedded_num_products, $4b2134398dfa83fa$export$c1a6b039e689a58e as get_listings, $961b5c64bef4662f$export$f34314aa9505732e as DepictCategory, $806c97b931758897$export$ac6237957a15b3f0 as DepictSearch, $806c97b931758897$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $806c97b931758897$export$f2dc7e4e4aa11abb as SearchPage, $4fd48cb976bf1789$export$aa14a9f43128f61f as ProductCardError, $6891c018a834cfdd$export$d86a33413558014e as open_modal_with_alignment, $bb15dfb548a7666e$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $b6d5529b253681aa$export$b3ad617e9036868 as align_field, $b6d5529b253681aa$export$3f238c96c45e6cc6 as ALIGN_TOP, $b6d5529b253681aa$export$902f8b4a7dae5d78 as ALIGN_WIDTH_ON_MODAL, $b6d5529b253681aa$export$7895aadd1956b1c7 as ALIGN_LEFT, $b6d5529b253681aa$export$6060bc6bee850eb6 as SET_CENTERED_LEFT, $b5cccc8ee7d24677$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $926b1b5ba2239356$export$1233ca167bf71f9a as styles_to_valid_css_string, $aea1edf92433e81e$export$fe334901e8bebd57 as disable_scrolling, $6e8944558258054f$export$d0596b5cae35ad4 as open_search_with_shift_slash, $7fa23e2a0079eca4$export$e015ed2f2950f2e3 as DepictAPI, $dc9262ef6f786812$export$d9f36cf74e24d595 as media_query_to_accessor, $6936724b9e0b98d5$export$689e204eadb33baf as setup_fast_leave, $bf52d9f9eebd1938$export$5196e4c01fa56fcb as show_toast, $8c0f86cb3e266eeb$export$a71e92cfbb498adc as SolidFormatPrice, $4ca91518c9a35379$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $d20eff0aadc28983$export$acb3eaade4b23afd as BasePlaceholder, $d134eae24341b4a1$export$89c6019e4baa40b1 as TextPlaceholder, $7f60f09116a3fe61$export$3f37af283f8fb843 as ImagePlaceholder, $753e9b2889a47c89$export$3ccaa27d81dd8556 as PageReplacer, $4690a06c8489dcd0$export$864d304a0bc46829 as defaultGridSpacing, $4690a06c8489dcd0$export$c3834fa86c616831 as defaultColsAtSize, $4690a06c8489dcd0$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $ec291e0010116877$export$83d89fbfd8236492 as version, $58b3487626e85ece$export$316f6f283ae64765 as SearchField, $feffae76d8dc0135$export$5b7c3ce0ebe51f86 as BreadCrumbs, $feffae76d8dc0135$export$de035477d6fef996 as QuickLinks, $442f32a4d80abbde$export$e2bf8ce7779e827e as CategoryPage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.7.22",
3
+ "version": "4.7.24",
4
4
  "description": "Base package containing the actual UI of Depict UI along with translations, with a not-simplified API. We recommend using @depict-ai/js-ui or @depict-ai/react-ui instead.",
5
5
  "packageManager": "yarn@3.2.2",
6
6
  "sass": "styles.scss",
@@ -1,6 +1,6 @@
1
1
  var $3hooq$depictaiutilishared = require("@depict-ai/utilishared/ES10");
2
- var $3hooq$solidjsweb = require("solid-js/web");
3
2
  var $3hooq$solidjs = require("solid-js");
3
+ var $3hooq$solidjsweb = require("solid-js/web");
4
4
  var $3hooq$babelruntimehelpersdefineProperty = require("@babel/runtime/helpers/defineProperty");
5
5
  var $3hooq$depictaiutilisharedlatest = require("@depict-ai/utilishared/ES10");
6
6
  var $3hooq$babelruntimehelpersclassPrivateFieldSet = require("@babel/runtime/helpers/classPrivateFieldSet");
@@ -18,6 +18,7 @@ function $parcel$export(e, n, v, s) {
18
18
  function $parcel$interopDefault(a) {
19
19
  return a && a.__esModule ? a.default : a;
20
20
  }
21
+ $parcel$export(module.exports, "useVisibilityState", () => $e7a7d2fe8a8217d8$export$54299a3c81f5425);
21
22
  $parcel$export(module.exports, "useSlidableInformation", () => $ad8ec7729fffeb9c$export$eaa625fb39439e37);
22
23
  $parcel$export(module.exports, "useProductCardIsVisible", () => $a52942afacbced93$export$80bb7300ce6a8be3);
23
24
  $parcel$export(module.exports, "CurrentlyIntersectingContext", () => $a52942afacbced93$export$f223d69ed12f5fb7);
@@ -108,7 +109,15 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
108
109
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
109
110
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
110
111
  /*! Depict.ai search and product listing SDK */
111
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.22";
112
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.7.24";
113
+ function $e7a7d2fe8a8217d8$export$54299a3c81f5425() {
114
+ const d = document;
115
+ const [isVisible, setIsVisible] = $3hooq$solidjs.createSignal(d.visibilityState !== "hidden");
116
+ const handleVisibilityChange = () => setIsVisible(d.visibilityState !== "hidden");
117
+ d.addEventListener("visibilitychange", handleVisibilityChange);
118
+ $3hooq$solidjs.onCleanup(() => d.removeEventListener("visibilitychange", handleVisibilityChange));
119
+ return isVisible;
120
+ }
112
121
  var $9d19451330d04c3c$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg"', ' viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0" fill="#0f0f0f"></path></svg>'];
113
122
  function $9d19451330d04c3c$export$8be2714ec7f169ee() {
114
123
  var _$escape2, _$escape3;
@@ -1549,17 +1558,17 @@ function $d66c35b5a6d6d926$export$b73ed90f0ee50dc3(_ref) {
1549
1558
  }
1550
1559
  })), "<!--/-->"], true);
1551
1560
  }
1552
- var $dfa95866b27a2a53$var$_tmpl$ = ["<div", ' style="position:absolute;width:10px;height:10px;overflow:hidden"></div>'];
1553
- let $dfa95866b27a2a53$var$cachedValue;
1554
- async function $dfa95866b27a2a53$export$7b9a0e99f0aeb2f3() {
1555
- if ($dfa95866b27a2a53$var$cachedValue != undefined) return $dfa95866b27a2a53$var$cachedValue;
1556
- return $dfa95866b27a2a53$var$cachedValue = $dfa95866b27a2a53$var$checkIfIsAffectedByChromeBug326498383();
1561
+ var $b5e1e9638abb90ff$var$_tmpl$ = ["<div", ' style="position:absolute;width:10px;height:10px;overflow:hidden"></div>'];
1562
+ let $b5e1e9638abb90ff$var$cachedValue;
1563
+ async function $b5e1e9638abb90ff$export$7b9a0e99f0aeb2f3() {
1564
+ if ($b5e1e9638abb90ff$var$cachedValue != undefined) return $b5e1e9638abb90ff$var$cachedValue;
1565
+ return $b5e1e9638abb90ff$var$cachedValue = $b5e1e9638abb90ff$var$checkIfIsAffectedByChromeBug326498383();
1557
1566
  }
1558
- async function $dfa95866b27a2a53$var$checkIfIsAffectedByChromeBug326498383() {
1567
+ async function $b5e1e9638abb90ff$var$checkIfIsAffectedByChromeBug326498383() {
1559
1568
  let isAffected = true;
1560
1569
  let resolveTimeoutPromise;
1561
1570
  try {
1562
- const div = $3hooq$solidjsweb.ssr($dfa95866b27a2a53$var$_tmpl$, $3hooq$solidjsweb.ssrHydrationKey());
1571
+ const div = $3hooq$solidjsweb.ssr($b5e1e9638abb90ff$var$_tmpl$, $3hooq$solidjsweb.ssrHydrationKey());
1563
1572
  const waitAFrame = () => new Promise(r => requestAnimationFrame(() => requestAnimationFrame(r)));
1564
1573
  const timeoutPromise = new Promise(r => {
1565
1574
  resolveTimeoutPromise = r;
@@ -1572,7 +1581,7 @@ async function $dfa95866b27a2a53$var$checkIfIsAffectedByChromeBug326498383() {
1572
1581
  style: style
1573
1582
  } = div;
1574
1583
  // Just to get a long string
1575
- div.append($dfa95866b27a2a53$export$7b9a0e99f0aeb2f3 + "");
1584
+ div.append($b5e1e9638abb90ff$export$7b9a0e99f0aeb2f3 + "");
1576
1585
  document.documentElement.append(div);
1577
1586
  style.overflow = "auto";
1578
1587
  await waitAFrame();
@@ -1620,7 +1629,7 @@ function $e0b3f1f332b6863b$export$ebf0b1d4f90c09ae(_ref) {
1620
1629
  const textFadeInAnimationRunning = $3hooq$solidjs.createSignal(false);
1621
1630
  const [getSecondPartAnimationRunning] = textFadeInAnimationRunning;
1622
1631
  const [userWantsExpanded, setUserWantsExpanded] = userWantsExpandedSignal_;
1623
- $dfa95866b27a2a53$export$7b9a0e99f0aeb2f3().then(is => isAffectedByChromeBug = is);
1632
+ $b5e1e9638abb90ff$export$7b9a0e99f0aeb2f3().then(is => isAffectedByChromeBug = is);
1624
1633
  return $3hooq$solidjsweb.createComponent((0, $d067f3a30f047b41$export$e68cff63f76bd15b), {
1625
1634
  get children() {
1626
1635
  return $3hooq$solidjsweb.createComponent((0, $3hooq$solidjs.Show), {
@@ -3778,7 +3787,7 @@ function $a68b73fd7ba0853f$export$916e6850778505f6(search_params, filter_query_p
3778
3787
  const keys = [...search_params.keys()];
3779
3788
  for (const key of keys) if (key.startsWith(filter_query_param_prefix) || key === sorting_query_param || key.startsWith($a68b73fd7ba0853f$var$legacy_filter_prefix)) search_params.delete(key);
3780
3789
  }
3781
- const $a68b73fd7ba0853f$export$cf5feb2102aec7f2 = "went_sideways_clear_filters";
3790
+ const $a68b73fd7ba0853f$export$84daa4fa1471698b = "#went_sideways_clear_filters";
3782
3791
  function $a68b73fd7ba0853f$export$43cd1e747fecd42e(_ref2) {
3783
3792
  let {
3784
3793
  to_url_: to_url_,
@@ -3793,9 +3802,13 @@ function $a68b73fd7ba0853f$export$43cd1e747fecd42e(_ref2) {
3793
3802
  const {
3794
3803
  searchParams: searchParams
3795
3804
  } = url_object;
3796
- if (set_clearing_flag_) searchParams.set($a68b73fd7ba0853f$export$cf5feb2102aec7f2, "true");
3805
+ let transferredAnyFilters = false;
3797
3806
  if (from_search_params_.has(sorting_query_param_)) searchParams.set(sorting_query_param_, from_search_params_.get(sorting_query_param_));
3798
- for (const key of from_search_params_.keys()) if (key.startsWith(filter_query_param_prefix_)) searchParams.set(key, from_search_params_.get(key));
3807
+ for (const key of from_search_params_.keys()) if (key.startsWith(filter_query_param_prefix_)) {
3808
+ searchParams.set(key, from_search_params_.get(key));
3809
+ transferredAnyFilters = true;
3810
+ }
3811
+ if (set_clearing_flag_ && transferredAnyFilters) url_object.hash = $a68b73fd7ba0853f$export$84daa4fa1471698b;
3799
3812
  if (was_url_object) return url_object;
3800
3813
  return url_object.href;
3801
3814
  }
@@ -8444,7 +8457,8 @@ function $5dd9d0d3ea82e2dd$export$477caf01aecaeb2a(options) {
8444
8457
  $3hooq$solidjs.onCleanup(() => (0, $3hooq$depictaiutilishared.instant_exec_on_suspect_history_change).delete(history_change_handler));
8445
8458
  $3hooq$solidjs.createComputed(() => {
8446
8459
  const {
8447
- searchParams: searchParams
8460
+ searchParams: searchParams,
8461
+ hash: hash
8448
8462
  } = new URL(get_current_href());
8449
8463
  $3hooq$solidjs.batch(() => {
8450
8464
  const found_sorting = $a68b73fd7ba0853f$export$766e9676e74997d3(searchParams, sorting_query_param_);
@@ -8482,7 +8496,7 @@ function $5dd9d0d3ea82e2dd$export$477caf01aecaeb2a(options) {
8482
8496
  if (found_override_listing_id) $3hooq$depictaiutilishared.dlog("Found override query id:", found_override_listing_id); // This stuff might get confusing so better log it
8483
8497
  }
8484
8498
 
8485
- if (searchParams.get((0, $a68b73fd7ba0853f$export$cf5feb2102aec7f2)) === "true") set_has_sideways_filter_clearing_flag(true);
8499
+ if (hash === (0, $a68b73fd7ba0853f$export$84daa4fa1471698b)) set_has_sideways_filter_clearing_flag(true);
8486
8500
  if (!writer_started) {
8487
8501
  // The owner here is the createComputed which gets disposed the next time the computation runs - but we actually just want to delay the start of the href_writer until our signals contain the current value of the URL, therefore the runWithOwner
8488
8502
  $3hooq$solidjs.runWithOwner(owner, () => $5dd9d0d3ea82e2dd$var$start_href_writer({
@@ -8525,24 +8539,24 @@ function $5dd9d0d3ea82e2dd$var$start_href_writer(_ref3) {
8525
8539
  } = _ref3;
8526
8540
  $3hooq$solidjs.createEffect($3hooq$solidjs.on([get_sorting_, get_selected_filters_, get_has_sideways_filter_clearing_flag_], _ref4 => {
8527
8541
  let [sorting, filters, has_sideways_filter_clearing_flag] = _ref4;
8528
- const current_href = location.href;
8529
- const url_object = new URL(current_href);
8542
+ const url_object = new URL(location.href);
8543
+ const unmodified_search_params = [...url_object.searchParams];
8544
+ const unmodified_hash = url_object.hash;
8530
8545
  const {
8531
8546
  searchParams: searchParams
8532
8547
  } = url_object;
8533
8548
  $a68b73fd7ba0853f$export$916e6850778505f6(searchParams, filter_query_param_prefix_, sorting_query_param_);
8534
8549
  $a68b73fd7ba0853f$export$62acb285a7579555(sorting, searchParams, sorting_query_param_);
8535
8550
  $a68b73fd7ba0853f$export$58aa3f171519b6d7(filters, searchParams, filter_query_param_prefix_);
8536
- if (!has_sideways_filter_clearing_flag) $5dd9d0d3ea82e2dd$var$delete_sideways_param_flag(searchParams);
8551
+ if (!has_sideways_filter_clearing_flag) $5dd9d0d3ea82e2dd$var$delete_sideways_param_flag(url_object);
8537
8552
  // We can't just check if the URL is equal since sometimes the order of the parameters in the URL changes (randomly?) so we need to compare them one by one
8538
- const unmodified_search_params = [...new URL(current_href).searchParams];
8539
8553
  const new_search_params = [...searchParams];
8540
8554
  // Having the array middle step because if we'd check the "size" property of the map the algorithm could be fooled if there were two query parameters with the same key
8541
8555
  const new_search_params_map = new Map(new_search_params);
8542
8556
  if (unmodified_search_params.length !== new_search_params.length || !unmodified_search_params.every(_ref5 => {
8543
8557
  let [key, value] = _ref5;
8544
8558
  return new_search_params_map.get(key) === value;
8545
- }))
8559
+ }) || unmodified_hash !== url_object.hash)
8546
8560
  // Only update URL if it actually changed
8547
8561
  router_.navigate_.go_to_({
8548
8562
  is_replace_: true,
@@ -8554,8 +8568,8 @@ function $5dd9d0d3ea82e2dd$var$start_href_writer(_ref3) {
8554
8568
  defer: true
8555
8569
  }));
8556
8570
  }
8557
- function $5dd9d0d3ea82e2dd$var$delete_sideways_param_flag(searchParams) {
8558
- if (searchParams.get((0, $a68b73fd7ba0853f$export$cf5feb2102aec7f2)) === "true") searchParams.delete((0, $a68b73fd7ba0853f$export$cf5feb2102aec7f2));
8571
+ function $5dd9d0d3ea82e2dd$var$delete_sideways_param_flag(url_object) {
8572
+ if (url_object.hash === (0, $a68b73fd7ba0853f$export$84daa4fa1471698b)) url_object.hash = "";
8559
8573
  }
8560
8574
  function $9cbefc32b9dab36d$var$_classPrivateFieldInitSpec(obj, privateMap, value) {
8561
8575
  $9cbefc32b9dab36d$var$_checkPrivateRedeclaration(obj, privateMap);
@@ -11,7 +11,11 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
11
11
  import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
12
12
  import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
13
13
  import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
14
- export const version = "4.7.22";
14
+ export const version = "4.7.24";
15
+ /**
16
+ * Returns if the current tab is visible
17
+ */
18
+ export function useVisibilityState(): import("solid-js").Accessor<boolean>;
15
19
  /** @jsxImportSource solid-js */
16
20
  export function GenericSliderArrowButton(props?: {
17
21
  width_?: number;
@@ -1,6 +1,6 @@
1
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$catchify, dlog as $b8hua$dlog, 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 { createSignal as $b8hua$createSignal, onCleanup as $b8hua$onCleanup, createContext as $b8hua$createContext, createEffect as $b8hua$createEffect, 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, createRoot as $b8hua$createRoot, 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";
2
3
  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";
3
- import { createContext as $b8hua$createContext, createSignal as $b8hua$createSignal, createEffect as $b8hua$createEffect, Show as $b8hua$Show, onCleanup as $b8hua$onCleanup, 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, createRoot as $b8hua$createRoot, 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";
4
4
  import $b8hua$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/defineProperty";
5
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";
@@ -10,7 +10,15 @@ 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.22";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.7.24";
14
+ function $a35e6f680c5bbc60$export$54299a3c81f5425() {
15
+ const d = document;
16
+ const [isVisible, setIsVisible] = $b8hua$createSignal(d.visibilityState !== "hidden");
17
+ const handleVisibilityChange = () => setIsVisible(d.visibilityState !== "hidden");
18
+ d.addEventListener("visibilitychange", handleVisibilityChange);
19
+ $b8hua$onCleanup(() => d.removeEventListener("visibilitychange", handleVisibilityChange));
20
+ return isVisible;
21
+ }
14
22
  var $ca6ab5f08bd28bca$var$_tmpl$ = ["<svg", ' xmlns="http://www.w3.org/2000/svg"', ' viewBox="0 0 14 26"><path d="M2 24.656c-.078 0-.156-.016-.234-.047s-.133-.066-.187-.129c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422l10.371-10.371L1.578 2.883c-.117-.117-.176-.258-.176-.422s.059-.305.176-.422.258-.176.422-.176.305.059.422.176l10.805 10.793a.59.59 0 0 1 .176.434c0 .172-.059.305-.176.422L2.422 24.48a.42.42 0 0 1-.199.129.54.54 0 0 1-.223.047zm0 0" fill="#0f0f0f"></path></svg>'];
15
23
  function $ca6ab5f08bd28bca$export$8be2714ec7f169ee() {
16
24
  var _$escape2, _$escape3;
@@ -1451,17 +1459,17 @@ function $0c5b1686f971e5e7$export$b73ed90f0ee50dc3(_ref) {
1451
1459
  }
1452
1460
  })), "<!--/-->"], true);
1453
1461
  }
1454
- var $72017ebd8b9df947$var$_tmpl$ = ["<div", ' style="position:absolute;width:10px;height:10px;overflow:hidden"></div>'];
1455
- let $72017ebd8b9df947$var$cachedValue;
1456
- async function $72017ebd8b9df947$export$7b9a0e99f0aeb2f3() {
1457
- if ($72017ebd8b9df947$var$cachedValue != undefined) return $72017ebd8b9df947$var$cachedValue;
1458
- return $72017ebd8b9df947$var$cachedValue = $72017ebd8b9df947$var$checkIfIsAffectedByChromeBug326498383();
1462
+ var $c4103af154850e50$var$_tmpl$ = ["<div", ' style="position:absolute;width:10px;height:10px;overflow:hidden"></div>'];
1463
+ let $c4103af154850e50$var$cachedValue;
1464
+ async function $c4103af154850e50$export$7b9a0e99f0aeb2f3() {
1465
+ if ($c4103af154850e50$var$cachedValue != undefined) return $c4103af154850e50$var$cachedValue;
1466
+ return $c4103af154850e50$var$cachedValue = $c4103af154850e50$var$checkIfIsAffectedByChromeBug326498383();
1459
1467
  }
1460
- async function $72017ebd8b9df947$var$checkIfIsAffectedByChromeBug326498383() {
1468
+ async function $c4103af154850e50$var$checkIfIsAffectedByChromeBug326498383() {
1461
1469
  let isAffected = true;
1462
1470
  let resolveTimeoutPromise;
1463
1471
  try {
1464
- const div = $b8hua$ssr($72017ebd8b9df947$var$_tmpl$, $b8hua$ssrHydrationKey());
1472
+ const div = $b8hua$ssr($c4103af154850e50$var$_tmpl$, $b8hua$ssrHydrationKey());
1465
1473
  const waitAFrame = () => new Promise(r => requestAnimationFrame(() => requestAnimationFrame(r)));
1466
1474
  const timeoutPromise = new Promise(r => {
1467
1475
  resolveTimeoutPromise = r;
@@ -1474,7 +1482,7 @@ async function $72017ebd8b9df947$var$checkIfIsAffectedByChromeBug326498383() {
1474
1482
  style: style
1475
1483
  } = div;
1476
1484
  // Just to get a long string
1477
- div.append($72017ebd8b9df947$export$7b9a0e99f0aeb2f3 + "");
1485
+ div.append($c4103af154850e50$export$7b9a0e99f0aeb2f3 + "");
1478
1486
  document.documentElement.append(div);
1479
1487
  style.overflow = "auto";
1480
1488
  await waitAFrame();
@@ -1522,7 +1530,7 @@ function $4089a7972a508539$export$ebf0b1d4f90c09ae(_ref) {
1522
1530
  const textFadeInAnimationRunning = $b8hua$createSignal(false);
1523
1531
  const [getSecondPartAnimationRunning] = textFadeInAnimationRunning;
1524
1532
  const [userWantsExpanded, setUserWantsExpanded] = userWantsExpandedSignal_;
1525
- $72017ebd8b9df947$export$7b9a0e99f0aeb2f3().then(is => isAffectedByChromeBug = is);
1533
+ $c4103af154850e50$export$7b9a0e99f0aeb2f3().then(is => isAffectedByChromeBug = is);
1526
1534
  return $b8hua$createComponent((0, $5441862cd2f5e111$export$e68cff63f76bd15b), {
1527
1535
  get children() {
1528
1536
  return $b8hua$createComponent((0, $b8hua$Show), {
@@ -3680,7 +3688,7 @@ function $2855bffe06ef7a03$export$916e6850778505f6(search_params, filter_query_p
3680
3688
  const keys = [...search_params.keys()];
3681
3689
  for (const key of keys) if (key.startsWith(filter_query_param_prefix) || key === sorting_query_param || key.startsWith($2855bffe06ef7a03$var$legacy_filter_prefix)) search_params.delete(key);
3682
3690
  }
3683
- const $2855bffe06ef7a03$export$cf5feb2102aec7f2 = "went_sideways_clear_filters";
3691
+ const $2855bffe06ef7a03$export$84daa4fa1471698b = "#went_sideways_clear_filters";
3684
3692
  function $2855bffe06ef7a03$export$43cd1e747fecd42e(_ref2) {
3685
3693
  let {
3686
3694
  to_url_: to_url_,
@@ -3695,9 +3703,13 @@ function $2855bffe06ef7a03$export$43cd1e747fecd42e(_ref2) {
3695
3703
  const {
3696
3704
  searchParams: searchParams
3697
3705
  } = url_object;
3698
- if (set_clearing_flag_) searchParams.set($2855bffe06ef7a03$export$cf5feb2102aec7f2, "true");
3706
+ let transferredAnyFilters = false;
3699
3707
  if (from_search_params_.has(sorting_query_param_)) searchParams.set(sorting_query_param_, from_search_params_.get(sorting_query_param_));
3700
- for (const key of from_search_params_.keys()) if (key.startsWith(filter_query_param_prefix_)) searchParams.set(key, from_search_params_.get(key));
3708
+ for (const key of from_search_params_.keys()) if (key.startsWith(filter_query_param_prefix_)) {
3709
+ searchParams.set(key, from_search_params_.get(key));
3710
+ transferredAnyFilters = true;
3711
+ }
3712
+ if (set_clearing_flag_ && transferredAnyFilters) url_object.hash = $2855bffe06ef7a03$export$84daa4fa1471698b;
3701
3713
  if (was_url_object) return url_object;
3702
3714
  return url_object.href;
3703
3715
  }
@@ -8346,7 +8358,8 @@ function $9d3d794b62318ecc$export$477caf01aecaeb2a(options) {
8346
8358
  $b8hua$onCleanup(() => (0, $b8hua$instant_exec_on_suspect_history_change).delete(history_change_handler));
8347
8359
  $b8hua$createComputed(() => {
8348
8360
  const {
8349
- searchParams: searchParams
8361
+ searchParams: searchParams,
8362
+ hash: hash
8350
8363
  } = new URL(get_current_href());
8351
8364
  $b8hua$batch(() => {
8352
8365
  const found_sorting = $2855bffe06ef7a03$export$766e9676e74997d3(searchParams, sorting_query_param_);
@@ -8384,7 +8397,7 @@ function $9d3d794b62318ecc$export$477caf01aecaeb2a(options) {
8384
8397
  if (found_override_listing_id) $b8hua$dlog("Found override query id:", found_override_listing_id); // This stuff might get confusing so better log it
8385
8398
  }
8386
8399
 
8387
- if (searchParams.get((0, $2855bffe06ef7a03$export$cf5feb2102aec7f2)) === "true") set_has_sideways_filter_clearing_flag(true);
8400
+ if (hash === (0, $2855bffe06ef7a03$export$84daa4fa1471698b)) set_has_sideways_filter_clearing_flag(true);
8388
8401
  if (!writer_started) {
8389
8402
  // The owner here is the createComputed which gets disposed the next time the computation runs - but we actually just want to delay the start of the href_writer until our signals contain the current value of the URL, therefore the runWithOwner
8390
8403
  $b8hua$runWithOwner(owner, () => $9d3d794b62318ecc$var$start_href_writer({
@@ -8427,24 +8440,24 @@ function $9d3d794b62318ecc$var$start_href_writer(_ref3) {
8427
8440
  } = _ref3;
8428
8441
  $b8hua$createEffect($b8hua$on([get_sorting_, get_selected_filters_, get_has_sideways_filter_clearing_flag_], _ref4 => {
8429
8442
  let [sorting, filters, has_sideways_filter_clearing_flag] = _ref4;
8430
- const current_href = location.href;
8431
- const url_object = new URL(current_href);
8443
+ const url_object = new URL(location.href);
8444
+ const unmodified_search_params = [...url_object.searchParams];
8445
+ const unmodified_hash = url_object.hash;
8432
8446
  const {
8433
8447
  searchParams: searchParams
8434
8448
  } = url_object;
8435
8449
  $2855bffe06ef7a03$export$916e6850778505f6(searchParams, filter_query_param_prefix_, sorting_query_param_);
8436
8450
  $2855bffe06ef7a03$export$62acb285a7579555(sorting, searchParams, sorting_query_param_);
8437
8451
  $2855bffe06ef7a03$export$58aa3f171519b6d7(filters, searchParams, filter_query_param_prefix_);
8438
- if (!has_sideways_filter_clearing_flag) $9d3d794b62318ecc$var$delete_sideways_param_flag(searchParams);
8452
+ if (!has_sideways_filter_clearing_flag) $9d3d794b62318ecc$var$delete_sideways_param_flag(url_object);
8439
8453
  // We can't just check if the URL is equal since sometimes the order of the parameters in the URL changes (randomly?) so we need to compare them one by one
8440
- const unmodified_search_params = [...new URL(current_href).searchParams];
8441
8454
  const new_search_params = [...searchParams];
8442
8455
  // Having the array middle step because if we'd check the "size" property of the map the algorithm could be fooled if there were two query parameters with the same key
8443
8456
  const new_search_params_map = new Map(new_search_params);
8444
8457
  if (unmodified_search_params.length !== new_search_params.length || !unmodified_search_params.every(_ref5 => {
8445
8458
  let [key, value] = _ref5;
8446
8459
  return new_search_params_map.get(key) === value;
8447
- }))
8460
+ }) || unmodified_hash !== url_object.hash)
8448
8461
  // Only update URL if it actually changed
8449
8462
  router_.navigate_.go_to_({
8450
8463
  is_replace_: true,
@@ -8456,8 +8469,8 @@ function $9d3d794b62318ecc$var$start_href_writer(_ref3) {
8456
8469
  defer: true
8457
8470
  }));
8458
8471
  }
8459
- function $9d3d794b62318ecc$var$delete_sideways_param_flag(searchParams) {
8460
- if (searchParams.get((0, $2855bffe06ef7a03$export$cf5feb2102aec7f2)) === "true") searchParams.delete((0, $2855bffe06ef7a03$export$cf5feb2102aec7f2));
8472
+ function $9d3d794b62318ecc$var$delete_sideways_param_flag(url_object) {
8473
+ if (url_object.hash === (0, $2855bffe06ef7a03$export$84daa4fa1471698b)) url_object.hash = "";
8461
8474
  }
8462
8475
  function $f5f54892fd0c7d9f$var$_classPrivateFieldInitSpec(obj, privateMap, value) {
8463
8476
  $f5f54892fd0c7d9f$var$_checkPrivateRedeclaration(obj, privateMap);
@@ -13626,4 +13639,4 @@ function $8821a19349c36651$export$e2bf8ce7779e827e(props) {
13626
13639
  }, "Entire CategoryPage failed");
13627
13640
  }
13628
13641
  $b8hua$add_to_version_info("ui", (0, $8db9a15135765c11$export$83d89fbfd8236492));
13629
- export { $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, $697d8713dc82b9ab$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 };
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, $697d8713dc82b9ab$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 };