@depict-ai/ui 4.7.31 → 4.7.33

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.
@@ -12,6 +12,8 @@ function $parcel$export(e, n, v, s) {
12
12
  configurable: true
13
13
  });
14
14
  }
15
+ $parcel$export(module.exports, "setExtraDisplayTransformers", () => $606c221d98ba4d92$export$f98b8d5ea7207a1);
16
+ $parcel$export(module.exports, "getExtraDisplayTransformers", () => $606c221d98ba4d92$export$b2d94be4f02525b2);
15
17
  $parcel$export(module.exports, "remap_blocks_to_index", () => $d92f338ba8f9da9b$export$92aa5d691d588f3f);
16
18
  $parcel$export(module.exports, "useMobileHover", () => $8bf678c45948a297$export$d4d96868197be50e);
17
19
  $parcel$export(module.exports, "useVisibilityState", () => $55cbacb79d3e0cea$export$54299a3c81f5425);
@@ -105,7 +107,14 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
105
107
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
106
108
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
107
109
  /*! Depict.ai search and product listing SDK */
108
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.31";
110
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.7.33";
111
+
112
+ // Value first so shopify merchants can set (extra) display transformers in the shopify app
113
+ // Calling these functions normally doesn't do anything, but our shopify app respects them
114
+ // Them being here is value first too because this can be easily imported in the product card editor
115
+ let $606c221d98ba4d92$var$extraDisplayTransformers;
116
+ const $606c221d98ba4d92$export$b2d94be4f02525b2 = () => $606c221d98ba4d92$var$extraDisplayTransformers;
117
+ const $606c221d98ba4d92$export$f98b8d5ea7207a1 = displayTransformers => $606c221d98ba4d92$var$extraDisplayTransformers = displayTransformers;
109
118
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
110
119
  const signal = $5vyXB$solidjs.createSignal(false);
111
120
  $5vyXB$solidjs.onCleanup($5vyXB$depictaiutilishared.javascript_media_query(media_query, ({
@@ -166,7 +175,7 @@ function $3bc4a89b971a3af5$export$3f37af283f8fb843(props) {
166
175
  }
167
176
  });
168
177
  }
169
- var $d92f338ba8f9da9b$var$_tmpl$ = ["<div", ' class="content-block-wrapper" style="', '">', "</div>"];
178
+ var $d92f338ba8f9da9b$var$_tmpl$ = ["<div", ' class="', '" style="', '">', "</div>"];
170
179
  function $d92f338ba8f9da9b$export$791ef57e62e21c3f({
171
180
  content_blocks_: incoming_content_blocks,
172
181
  cols_at_size_: cols_at_size_,
@@ -289,7 +298,7 @@ function $d92f338ba8f9da9b$var$wrap_blocks_in_div(rendered_content_blocks, max_s
289
298
  return !rendering_delayed();
290
299
  },
291
300
  get children() {
292
- return $5vyXB$solidjsweb.ssr($d92f338ba8f9da9b$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(), "grid-column:" + `span ${$5vyXB$solidjsweb.escape(final_span_columns(), true)}` + (";grid-row:" + `span ${$5vyXB$solidjsweb.escape(final_span_rows(), true)}`) + (";spans_columns_variable_name:" + $5vyXB$solidjsweb.escape(final_span_columns(), true)), $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent($d92f338ba8f9da9b$var$RenderContent, {
301
+ return $5vyXB$solidjsweb.ssr($d92f338ba8f9da9b$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(), `content-block-wrapper ${final_span_columns() === max_span_columns() ? "spans-whole-row" : ""}`, "grid-column:" + `span ${$5vyXB$solidjsweb.escape(final_span_columns(), true)}` + (";grid-row:" + `span ${$5vyXB$solidjsweb.escape(final_span_rows(), true)}`) + (";spans_columns_variable_name:" + $5vyXB$solidjsweb.escape(final_span_columns(), true)), $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent($d92f338ba8f9da9b$var$RenderContent, {
293
302
  get content() {
294
303
  return block.content;
295
304
  }
@@ -1555,24 +1564,29 @@ function $a33065cfed827fc0$export$e4b984597b71e989(props) {
1555
1564
  })));
1556
1565
  return container;
1557
1566
  }
1567
+ const $d212a67662c5cf38$var$customUrls = (url, width) => {
1568
+ if (url?.startsWith?.("https://cdn.shopify.com"))
1569
+ // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1570
+ // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1571
+ return $19950faaac026e09$export$1d6267828870adda(url, width);
1572
+ // Use cloudflare image resizer instead of img.depict.ai because it's a lot faster (and also auto-chooses other formats if webp is not supported)
1573
+ return `https://app.depict.ai/cdn-cgi/image/width=${width},format=auto/${url}`;
1574
+ };
1558
1575
  function $d212a67662c5cf38$export$9d4a4b669b1929ab(props) {
1559
1576
  return $5vyXB$solidjsweb.createComponent((0, $a33065cfed827fc0$export$e4b984597b71e989), $5vyXB$solidjsweb.mergeProps(props, {
1560
1577
  get imgProps() {
1561
1578
  return {
1562
1579
  ...props.imgProps,
1563
- customUrls: (url, width // Apparently don't have to encode url for CF's service
1564
- ) => {
1565
- if (url?.startsWith?.("https://cdn.shopify.com"))
1566
- // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1567
- // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1568
- return $19950faaac026e09$export$1d6267828870adda(url, width);
1569
- // Use cloudflare image resizer instead of img.depict.ai because it's a lot faster (and also auto-chooses other formats if webp is not supported)
1570
- return `https://app.depict.ai/cdn-cgi/image/width=${width},format=auto/${url}`;
1571
- }
1580
+ customUrls: $d212a67662c5cf38$var$customUrls
1572
1581
  };
1573
1582
  }
1574
1583
  }));
1575
1584
  }
1585
+ function $d212a67662c5cf38$export$140423fa4bfb6d63(props) {
1586
+ return $5vyXB$solidjsweb.createComponent((0, $19950faaac026e09$export$6e5611bc7e57e477), $5vyXB$solidjsweb.mergeProps(props, {
1587
+ customUrls: $d212a67662c5cf38$var$customUrls
1588
+ }));
1589
+ }
1576
1590
  function $d659702496cb72ea$export$a71e92cfbb498adc(props) {
1577
1591
  return $5vyXB$solidjs.createMemo(() => {
1578
1592
  const price_formatting = props.price_formatting_;
@@ -8396,7 +8410,8 @@ class $48567ac5b39bac56$export$f34314aa9505732e {
8396
8410
  // Please make sure that the signal created by below line always updates AFTER selected_filters_ updates on a "popstate" event. If the filter cache is popped before the selected filters are the code in create_modified_filters() is going to re-calculate search_local_filter_cache without knowing the real value of search_selected_filters, and we'll end up with too few filters in search_local_filter_cache in some cases
8397
8411
  local_filter_cache: [],
8398
8412
  expanded_hierarchical_filters: [],
8399
- scroll_restoration_data: []
8413
+ scroll_restoration_data: [],
8414
+ history_content_blocks: []
8400
8415
  }),
8401
8416
  router_: this.#router,
8402
8417
  prefix_: "category" + unique_instance_key_for_state + "_"
@@ -12334,14 +12349,72 @@ function $ef972f5c10b1c5b4$var$clear_if_opened_new_tab_with_sideways_url_params_
12334
12349
  });
12335
12350
  tracking_function_for_plp_results(plp_results_);
12336
12351
  }
12337
- var $32c662f618f5d80d$var$_tmpl$ = ["<a", "><img", ' style="', '"></a>'],
12338
- $32c662f618f5d80d$var$_tmpl$2 = ["<a", "><video", ' muted="" autoplay="" playsinline="" loop style="', '"></video></a>'];
12352
+ var $32c662f618f5d80d$var$_tmpl$ = ["<a", ' class="d-standard-content-wrapper"', "><video", ' muted="" autoplay="" playsinline="" loop class="d-standard-content"></video></a>'];
12339
12353
  function $32c662f618f5d80d$export$780a853d15174484({
12340
- contentBlock: contentBlock,
12354
+ contentBlock_: {
12355
+ content: {
12356
+ link: link,
12357
+ type: type,
12358
+ url: mediaUrl
12359
+ }
12360
+ },
12341
12361
  router_: router_
12342
12362
  }) {
12343
- if (contentBlock.content.type === "image") return () => $5vyXB$solidjsweb.ssr($32c662f618f5d80d$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey() + $5vyXB$solidjsweb.ssrAttribute("href", $5vyXB$solidjsweb.escape(contentBlock.content.link, true), false), $5vyXB$solidjsweb.ssrAttribute("src", $5vyXB$solidjsweb.escape(contentBlock.content.url, true), false), "width:100%;height:100%;object-fit:cover;position:absolute;inset:0");
12344
- if (contentBlock.content.type === "video") return () => $5vyXB$solidjsweb.ssr($32c662f618f5d80d$var$_tmpl$2, $5vyXB$solidjsweb.ssrHydrationKey() + $5vyXB$solidjsweb.ssrAttribute("href", $5vyXB$solidjsweb.escape(contentBlock.content.link, true), false), $5vyXB$solidjsweb.ssrAttribute("src", $5vyXB$solidjsweb.escape(contentBlock.content.url, true), false), "width:100%;height:100%;object-fit:cover;position:absolute;inset:0");
12363
+ if (type === "image") {
12364
+ const [wrapperSize, setWrapperSize] = $5vyXB$solidjs.createSignal();
12365
+ return $5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjsweb.Dynamic), $5vyXB$solidjsweb.mergeProps({
12366
+ component: link ? "a" : "div",
12367
+ "class": "d-standard-content-wrapper",
12368
+ get onClick() {
12369
+ return $5vyXB$depictaiutilisharedlatest.catchify(ev => link && router_.navigate_.go_to_({
12370
+ new_url_: link,
12371
+ is_replace_: false,
12372
+ event_: ev
12373
+ }));
12374
+ }
12375
+ }, link && {
12376
+ href: link
12377
+ }, {
12378
+ get children() {
12379
+ return $5vyXB$solidjsweb.createComponent((0, $d212a67662c5cf38$export$140423fa4bfb6d63), {
12380
+ get size() {
12381
+ return $5vyXB$solidjs.createMemo(() => wrapperSize()?.() || 0);
12382
+ },
12383
+ src: mediaUrl,
12384
+ "class": "d-standard-content"
12385
+ });
12386
+ }
12387
+ }));
12388
+ }
12389
+ if (type === "video") {
12390
+ const pageVisible = $55cbacb79d3e0cea$export$54299a3c81f5425();
12391
+ return $5vyXB$solidjsweb.ssr($32c662f618f5d80d$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.ssrAttribute("href", $5vyXB$solidjsweb.escape(link, true), false), $5vyXB$solidjsweb.ssrAttribute("src", $5vyXB$solidjsweb.escape(mediaUrl, true), false));
12392
+ }
12393
+ }
12394
+ function $0a80939bf0a1e9cc$export$7a92d995f1bf3592(history_content_blocks_, plp_meta, content_blocks_by_row_, router_) {
12395
+ const [historyContentBlocks, setHistoryContentBlocks] = history_content_blocks_;
12396
+ $5vyXB$solidjs.createEffect(() => {
12397
+ const serverContentBlock = plp_meta()?.content_blocks;
12398
+ if (serverContentBlock && JSON.stringify(serverContentBlock) !== JSON.stringify(historyContentBlocks())) setHistoryContentBlocks(serverContentBlock);
12399
+ });
12400
+ const contentBlocksByRow = $5vyXB$solidjs.createMemo(() => {
12401
+ if (content_blocks_by_row_()) return content_blocks_by_row_();
12402
+ const content = [];
12403
+ historyContentBlocks().forEach(row => {
12404
+ const contentBlock = {
12405
+ span_columns: row.span_columns,
12406
+ span_rows: row.span_rows,
12407
+ position: row.position,
12408
+ content: () => $5vyXB$solidjsweb.createComponent((0, $32c662f618f5d80d$export$780a853d15174484), {
12409
+ contentBlock_: row,
12410
+ router_: router_
12411
+ })
12412
+ };
12413
+ content[row.row] = contentBlock;
12414
+ });
12415
+ return content;
12416
+ });
12417
+ return contentBlocksByRow;
12345
12418
  }
12346
12419
  var $840d88a04b2d22a7$var$_tmpl$ = ["<div", ' class="product-count"><!--$-->', "<!--/--> <!--$-->", "<!--/--></div>"],
12347
12420
  $840d88a04b2d22a7$var$_tmpl$2 = ["<div", "></div>"],
@@ -12370,6 +12443,7 @@ function $840d88a04b2d22a7$export$f7d2f673fc2f091d({
12370
12443
  show_breadcrumbs_: show_breadcrumbs_,
12371
12444
  layout_options_: layout_options_,
12372
12445
  scroll_restoration_data_: scroll_restoration_data_,
12446
+ history_content_blocks_: history_content_blocks_,
12373
12447
  product_card_template_: product_card_template_,
12374
12448
  sideways_filter_clearing_flag_: sideways_filter_clearing_flag_,
12375
12449
  sorting_query_param_: sorting_query_param_,
@@ -12438,23 +12512,7 @@ function $840d88a04b2d22a7$export$f7d2f673fc2f091d({
12438
12512
  }));
12439
12513
  // Make "Get Listing" request to get quicklinks, breadcrumbs, title, etc
12440
12514
  const [plp_meta] = $5vyXB$solidjs.createResource(meta_query_base, $5vyXB$depictaiutilisharedlatest.catchify(query => depict_api_.get_listing(query)));
12441
- const contentBlocksByRow = $5vyXB$solidjs.createMemo(() => {
12442
- if (content_blocks_by_row_()) return content_blocks_by_row_();
12443
- const content = [];
12444
- plp_meta()?.content_blocks?.forEach(row => {
12445
- const contentBlock = {
12446
- span_columns: row.span_columns,
12447
- span_rows: row.span_rows,
12448
- position: row.position,
12449
- content: $32c662f618f5d80d$export$780a853d15174484({
12450
- contentBlock: row,
12451
- router_: router_
12452
- })
12453
- };
12454
- content[row.row] = contentBlock;
12455
- });
12456
- return content;
12457
- });
12515
+ const contentBlocksByRow = $0a80939bf0a1e9cc$export$7a92d995f1bf3592(history_content_blocks_, plp_meta, content_blocks_by_row_, router_);
12458
12516
  const available_sortings_ = $5vyXB$solidjs.createMemo(() => plp_products_()?.sorts?.map(sort => ({
12459
12517
  ...sort,
12460
12518
  order: sort.order ?? "desc"
@@ -12763,7 +12821,8 @@ function $14f289047713d67a$export$e2bf8ce7779e827e(props) {
12763
12821
  sorting_open: category_sorting_open_,
12764
12822
  expanded_filters: expanded_filters_,
12765
12823
  expanded_hierarchical_filters: expanded_hierarchical_filters_,
12766
- scroll_restoration_data: scroll_restoration_data_
12824
+ scroll_restoration_data: scroll_restoration_data_,
12825
+ history_content_blocks: history_content_blocks_
12767
12826
  } = depict_category.historyStateSignals_;
12768
12827
  const {
12769
12828
  current_sorting_: current_sorting_,
@@ -12809,6 +12868,7 @@ function $14f289047713d67a$export$e2bf8ce7779e827e(props) {
12809
12868
  sideways_filter_clearing_flag_: sideways_filter_clearing_flag_,
12810
12869
  content_blocks_by_row_: () => props.content_blocks_by_row,
12811
12870
  scroll_restoration_data_: scroll_restoration_data_,
12871
+ history_content_blocks_: history_content_blocks_,
12812
12872
  layout_options_: $5vyXB$solidjs.createMemo(() => ({
12813
12873
  cols_at_size: $4e04be41243c3d80$export$6daf8749b65a1b77(props.cols_at_size),
12814
12874
  ...grid_spacing_override(),
@@ -1,9 +1,9 @@
1
- import { JSX, Accessor, Setter, Signal } from "solid-js";
2
- import { report, Amazing_Slider, Display, useExpandingContainer, ColsAtSize, Elem, ModernDisplay, Node_Array } from "@depict-ai/utilishared/latest";
3
- import { SearchFilter, SearchRequestV3, SortModel } from "@depict-ai/types/api/SearchRequestV3";
1
+ import { Display, ModernDisplay, report, Amazing_Slider, useExpandingContainer, ColsAtSize, Elem, Node_Array } from "@depict-ai/utilishared/latest";
4
2
  import { ContentLink, SearchResponse, SearchFilter as _SearchFilter1 } from "@depict-ai/types/api/SearchResponse";
5
3
  import { Ancestors, ListingSuggestion, SearchSuggestionsResponseV3 } from "@depict-ai/types/api/SearchSuggestionsResponseV3";
6
- import { ProductListing, GetListingResponse } from "@depict-ai/types/api/GetListingResponse";
4
+ import { ProductListing, GetListingResponse, ContentBlock as _ContentBlock1 } from "@depict-ai/types/api/GetListingResponse";
5
+ import { JSX, Accessor, Setter, Signal } from "solid-js";
6
+ import { SearchFilter, SearchRequestV3, SortModel } from "@depict-ai/types/api/SearchRequestV3";
7
7
  import { ProductListingResponseV3, SearchFilter as _SearchFilter2 } from "@depict-ai/types/api/ProductListingResponseV3";
8
8
  import { SearchSuggestionsRequestV3 } from "@depict-ai/types/api/SearchSuggestionsRequestV3";
9
9
  import { ProductListingRequestV3 } from "@depict-ai/types/api/ProductListingRequestV3";
@@ -11,7 +11,61 @@ 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.31";
14
+ export const version = "4.7.33";
15
+ type DisplayTransformerAlwaysThereData = {
16
+ merchant: string;
17
+ market: string;
18
+ locale: string;
19
+ };
20
+ type CanBePromiseWrapped<T> = T | Promise<T>;
21
+ export type ModernDisplayWithPageUrl<T extends ModernDisplay> = { [K in keyof T]: K extends "variant_displays" ? (T[K][number] & {
22
+ page_url: string;
23
+ })[] : T[K] };
24
+ /**
25
+ * A ProductListing with ancestors added in, this is what we pass to the display transformers as the ancestors might be required to construct the URL
26
+ */
27
+ type ProductListingWithAncestors = ProductListing & {
28
+ ancestors: Ancestors;
29
+ };
30
+ /**
31
+ * The displayTransformer for categories does not only get a list of ListingSuggestions, when a search query has listing suggestions, but also their ancestors since we show breadcrumbs for the listing suggestions. To let the user differentiate (since the suggestion ones can be added/removed but not the ancestors) we add a boolean is_suggestion to the listing suggestions passed to the displayTransformer.
32
+ */
33
+ type ListingSuggestionForTransformer = (ListingSuggestion & {
34
+ is_suggestion: true;
35
+ }) | (Omit<ListingSuggestion, "suggestions_result_id"> & {
36
+ is_suggestion: false;
37
+ });
38
+ /**
39
+ * DisplayTransformers supersede pageURLCreator
40
+ * DisplayTransformers are functions that take in a list of categories, content search results or products and then can transform or enrich the data for each category, content search result or product card in a batched way.
41
+ */
42
+ export type DisplayTransformers<InputDisplay extends ModernDisplay, OutputDisplay extends ModernDisplay | never> = {
43
+ products?: (options: DisplayTransformerAlwaysThereData & {
44
+ displays: InputDisplay[];
45
+ }) => CanBePromiseWrapped<OutputDisplay extends ModernDisplay ? ModernDisplayWithPageUrl<OutputDisplay>[] : never>;
46
+ categories?: <T extends ProductListingWithAncestors | ListingSuggestionForTransformer>(options: DisplayTransformerAlwaysThereData & {
47
+ data: T[];
48
+ }) => CanBePromiseWrapped<(T & {
49
+ page_url: string;
50
+ })[]>;
51
+ contentResults?: (options: DisplayTransformerAlwaysThereData & {
52
+ data: ContentLink[];
53
+ }) => CanBePromiseWrapped<ContentLink[]>;
54
+ };
55
+ export type SomethingTakingADisplayTransformers<InputDisplay extends Display, OutputDisplay extends ModernDisplay | never> = InputDisplay extends ModernDisplay ? "page_url" extends keyof InputDisplay["variant_displays"][number] ? {
56
+ display_transformers: DisplayTransformers<InputDisplay, OutputDisplay>;
57
+ } : {
58
+ display_transformers: DisplayTransformers<InputDisplay, OutputDisplay>;
59
+ } : {
60
+ page_url_creator?: never;
61
+ display_transformers?: never;
62
+ };
63
+ export const getExtraDisplayTransformers: () => DisplayTransformers<any, any> | undefined;
64
+ /**
65
+ *
66
+ * @param displayTransformers
67
+ */
68
+ export const setExtraDisplayTransformers: <InputDisplay extends ModernDisplay, OutputDisplay extends ModernDisplay = ModernDisplayWithPageUrl<InputDisplay>>(displayTransformers: DisplayTransformers<InputDisplay, OutputDisplay>) => DisplayTransformers<InputDisplay, OutputDisplay>;
15
69
  /**
16
70
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
71
  */
@@ -108,10 +162,10 @@ export function remap_blocks_to_index<T = () => JSX.Element | Promise<JSX.Elemen
108
162
  })[];
109
163
  n_cols_currently_showing_: number | null;
110
164
  }): {
111
- content_blocks_by_index_: JSX.Element[];
165
+ content_blocks_by_index_: (Awaited<T> | T[])[];
112
166
  readonly displaced_products_?: undefined;
113
167
  } | {
114
- readonly content_blocks_by_index_: JSX.Element[];
168
+ readonly content_blocks_by_index_: (Awaited<T> | T[])[];
115
169
  readonly displaced_products_: (number | (true | undefined)[])[];
116
170
  };
117
171
  /**
@@ -434,54 +488,6 @@ export function SolidFormatPrice(props: {
434
488
  places_after_comma_: number | "auto";
435
489
  };
436
490
  }): JSX.Element;
437
- type DisplayTransformerAlwaysThereData = {
438
- merchant: string;
439
- market: string;
440
- locale: string;
441
- };
442
- type CanBePromiseWrapped<T> = T | Promise<T>;
443
- export type ModernDisplayWithPageUrl<T extends ModernDisplay> = { [K in keyof T]: K extends "variant_displays" ? (T[K][number] & {
444
- page_url: string;
445
- })[] : T[K] };
446
- /**
447
- * A ProductListing with ancestors added in, this is what we pass to the display transformers as the ancestors might be required to construct the URL
448
- */
449
- type ProductListingWithAncestors = ProductListing & {
450
- ancestors: Ancestors;
451
- };
452
- /**
453
- * The displayTransformer for categories does not only get a list of ListingSuggestions, when a search query has listing suggestions, but also their ancestors since we show breadcrumbs for the listing suggestions. To let the user differentiate (since the suggestion ones can be added/removed but not the ancestors) we add a boolean is_suggestion to the listing suggestions passed to the displayTransformer.
454
- */
455
- type ListingSuggestionForTransformer = (ListingSuggestion & {
456
- is_suggestion: true;
457
- }) | (Omit<ListingSuggestion, "suggestions_result_id"> & {
458
- is_suggestion: false;
459
- });
460
- /**
461
- * DisplayTransformers supersede pageURLCreator
462
- * DisplayTransformers are functions that take in a list of categories, content search results or products and then can transform or enrich the data for each category, content search result or product card in a batched way.
463
- */
464
- export type DisplayTransformers<InputDisplay extends ModernDisplay, OutputDisplay extends ModernDisplay | never> = {
465
- products?: (options: DisplayTransformerAlwaysThereData & {
466
- displays: InputDisplay[];
467
- }) => CanBePromiseWrapped<OutputDisplay extends ModernDisplay ? ModernDisplayWithPageUrl<OutputDisplay>[] : never>;
468
- categories?: <T extends ProductListingWithAncestors | ListingSuggestionForTransformer>(options: DisplayTransformerAlwaysThereData & {
469
- data: T[];
470
- }) => CanBePromiseWrapped<(T & {
471
- page_url: string;
472
- })[]>;
473
- contentResults?: (options: DisplayTransformerAlwaysThereData & {
474
- data: ContentLink[];
475
- }) => CanBePromiseWrapped<ContentLink[]>;
476
- };
477
- export type SomethingTakingADisplayTransformers<InputDisplay extends Display, OutputDisplay extends ModernDisplay | never> = InputDisplay extends ModernDisplay ? "page_url" extends keyof InputDisplay["variant_displays"][number] ? {
478
- display_transformers: DisplayTransformers<InputDisplay, OutputDisplay>;
479
- } : {
480
- display_transformers: DisplayTransformers<InputDisplay, OutputDisplay>;
481
- } : {
482
- page_url_creator?: never;
483
- display_transformers?: never;
484
- };
485
491
  type ListingSuggestionAfterURLCreator = { [K in keyof ListingSuggestion]: K extends "ancestors" ? (ListingSuggestion & {
486
492
  page_url: string;
487
493
  })[] : ListingSuggestion[K] } & {
@@ -1334,6 +1340,7 @@ export class DepictCategory<InputDisplay extends Display, OutputDisplay extends
1334
1340
  expanded_: boolean;
1335
1341
  }[]>;
1336
1342
  scroll_restoration_data: Signal<ScrollRestorationData>;
1343
+ history_content_blocks: Signal<_ContentBlock1[]>;
1337
1344
  };
1338
1345
  /**
1339
1346
  * Signal representing the currently selected filters. Will update to always reflect the state of the current URL. Calling the setter triggers a navigation (replaceState) to an updated URL.
@@ -1484,7 +1491,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1484
1491
  * Open the modal with support for alignment.
1485
1492
  * @returns {void}
1486
1493
  */
1487
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1494
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1488
1495
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1489
1496
  export interface PageReplacer {
1490
1497
  readonly render_: () => Node_Array;
@@ -1563,5 +1570,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1563
1570
  content_blocks_by_row?: ContentBlocksByRow;
1564
1571
  layout?: PossibleLayout;
1565
1572
  filterModalParent_?: HTMLElement | ShadowRoot;
1566
- }): import("@depict-ai/utilishared").Node_Array;
1573
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1567
1574
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
@@ -7,7 +7,14 @@ import { dlog as $i7OB2$dlog, catchify as $i7OB2$catchify, ListenableSet as $i7O
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.31";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.7.33";
11
+
12
+ // Value first so shopify merchants can set (extra) display transformers in the shopify app
13
+ // Calling these functions normally doesn't do anything, but our shopify app respects them
14
+ // Them being here is value first too because this can be easily imported in the product card editor
15
+ let $a63fa9cb46ed211b$var$extraDisplayTransformers;
16
+ const $a63fa9cb46ed211b$export$b2d94be4f02525b2 = () => $a63fa9cb46ed211b$var$extraDisplayTransformers;
17
+ const $a63fa9cb46ed211b$export$f98b8d5ea7207a1 = displayTransformers => $a63fa9cb46ed211b$var$extraDisplayTransformers = displayTransformers;
11
18
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
19
  const signal = $i7OB2$createSignal(false);
13
20
  $i7OB2$onCleanup($i7OB2$javascript_media_query(media_query, ({
@@ -68,7 +75,7 @@ function $7f60f09116a3fe61$export$3f37af283f8fb843(props) {
68
75
  }
69
76
  });
70
77
  }
71
- var $e7a7eb102ddc0c79$var$_tmpl$ = ["<div", ' class="content-block-wrapper" style="', '">', "</div>"];
78
+ var $e7a7eb102ddc0c79$var$_tmpl$ = ["<div", ' class="', '" style="', '">', "</div>"];
72
79
  function $e7a7eb102ddc0c79$export$791ef57e62e21c3f({
73
80
  content_blocks_: incoming_content_blocks,
74
81
  cols_at_size_: cols_at_size_,
@@ -191,7 +198,7 @@ function $e7a7eb102ddc0c79$var$wrap_blocks_in_div(rendered_content_blocks, max_s
191
198
  return !rendering_delayed();
192
199
  },
193
200
  get children() {
194
- return $i7OB2$ssr($e7a7eb102ddc0c79$var$_tmpl$, $i7OB2$ssrHydrationKey(), "grid-column:" + `span ${$i7OB2$escape(final_span_columns(), true)}` + (";grid-row:" + `span ${$i7OB2$escape(final_span_rows(), true)}`) + (";spans_columns_variable_name:" + $i7OB2$escape(final_span_columns(), true)), $i7OB2$escape($i7OB2$createComponent($e7a7eb102ddc0c79$var$RenderContent, {
201
+ return $i7OB2$ssr($e7a7eb102ddc0c79$var$_tmpl$, $i7OB2$ssrHydrationKey(), `content-block-wrapper ${final_span_columns() === max_span_columns() ? "spans-whole-row" : ""}`, "grid-column:" + `span ${$i7OB2$escape(final_span_columns(), true)}` + (";grid-row:" + `span ${$i7OB2$escape(final_span_rows(), true)}`) + (";spans_columns_variable_name:" + $i7OB2$escape(final_span_columns(), true)), $i7OB2$escape($i7OB2$createComponent($e7a7eb102ddc0c79$var$RenderContent, {
195
202
  get content() {
196
203
  return block.content;
197
204
  }
@@ -1457,24 +1464,29 @@ function $660070e2a394b3c3$export$e4b984597b71e989(props) {
1457
1464
  })));
1458
1465
  return container;
1459
1466
  }
1467
+ const $70bb27cc6be01fc7$var$customUrls = (url, width) => {
1468
+ if (url?.startsWith?.("https://cdn.shopify.com"))
1469
+ // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1470
+ // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1471
+ return $e8ffe11ed01df0fe$export$1d6267828870adda(url, width);
1472
+ // Use cloudflare image resizer instead of img.depict.ai because it's a lot faster (and also auto-chooses other formats if webp is not supported)
1473
+ return `https://app.depict.ai/cdn-cgi/image/width=${width},format=auto/${url}`;
1474
+ };
1460
1475
  function $70bb27cc6be01fc7$export$9d4a4b669b1929ab(props) {
1461
1476
  return $i7OB2$createComponent((0, $660070e2a394b3c3$export$e4b984597b71e989), $i7OB2$mergeProps1(props, {
1462
1477
  get imgProps() {
1463
1478
  return {
1464
1479
  ...props.imgProps,
1465
- customUrls: (url, width // Apparently don't have to encode url for CF's service
1466
- ) => {
1467
- if (url?.startsWith?.("https://cdn.shopify.com"))
1468
- // The shopify image resizing CDN blocks Cloudflare's image resizer. It's possible that we can't detect shopify image URLs sometimes because they go to the merchant's domain,
1469
- // but it seems like the URLs returned by the Depict API always goes to the cdn.shopify.com version of an image, so this simple workaround works.
1470
- return $e8ffe11ed01df0fe$export$1d6267828870adda(url, width);
1471
- // Use cloudflare image resizer instead of img.depict.ai because it's a lot faster (and also auto-chooses other formats if webp is not supported)
1472
- return `https://app.depict.ai/cdn-cgi/image/width=${width},format=auto/${url}`;
1473
- }
1480
+ customUrls: $70bb27cc6be01fc7$var$customUrls
1474
1481
  };
1475
1482
  }
1476
1483
  }));
1477
1484
  }
1485
+ function $70bb27cc6be01fc7$export$140423fa4bfb6d63(props) {
1486
+ return $i7OB2$createComponent((0, $e8ffe11ed01df0fe$export$6e5611bc7e57e477), $i7OB2$mergeProps1(props, {
1487
+ customUrls: $70bb27cc6be01fc7$var$customUrls
1488
+ }));
1489
+ }
1478
1490
  function $8c0f86cb3e266eeb$export$a71e92cfbb498adc(props) {
1479
1491
  return $i7OB2$createMemo(() => {
1480
1492
  const price_formatting = props.price_formatting_;
@@ -8298,7 +8310,8 @@ class $961b5c64bef4662f$export$f34314aa9505732e {
8298
8310
  // Please make sure that the signal created by below line always updates AFTER selected_filters_ updates on a "popstate" event. If the filter cache is popped before the selected filters are the code in create_modified_filters() is going to re-calculate search_local_filter_cache without knowing the real value of search_selected_filters, and we'll end up with too few filters in search_local_filter_cache in some cases
8299
8311
  local_filter_cache: [],
8300
8312
  expanded_hierarchical_filters: [],
8301
- scroll_restoration_data: []
8313
+ scroll_restoration_data: [],
8314
+ history_content_blocks: []
8302
8315
  }),
8303
8316
  router_: this.#router,
8304
8317
  prefix_: "category" + unique_instance_key_for_state + "_"
@@ -12236,14 +12249,72 @@ function $e7fce80abe608e01$var$clear_if_opened_new_tab_with_sideways_url_params_
12236
12249
  });
12237
12250
  tracking_function_for_plp_results(plp_results_);
12238
12251
  }
12239
- var $f916989c4b1be9f7$var$_tmpl$ = ["<a", "><img", ' style="', '"></a>'],
12240
- $f916989c4b1be9f7$var$_tmpl$2 = ["<a", "><video", ' muted="" autoplay="" playsinline="" loop style="', '"></video></a>'];
12252
+ var $f916989c4b1be9f7$var$_tmpl$ = ["<a", ' class="d-standard-content-wrapper"', "><video", ' muted="" autoplay="" playsinline="" loop class="d-standard-content"></video></a>'];
12241
12253
  function $f916989c4b1be9f7$export$780a853d15174484({
12242
- contentBlock: contentBlock,
12254
+ contentBlock_: {
12255
+ content: {
12256
+ link: link,
12257
+ type: type,
12258
+ url: mediaUrl
12259
+ }
12260
+ },
12243
12261
  router_: router_
12244
12262
  }) {
12245
- if (contentBlock.content.type === "image") return () => $i7OB2$ssr($f916989c4b1be9f7$var$_tmpl$, $i7OB2$ssrHydrationKey() + $i7OB2$ssrAttribute("href", $i7OB2$escape(contentBlock.content.link, true), false), $i7OB2$ssrAttribute("src", $i7OB2$escape(contentBlock.content.url, true), false), "width:100%;height:100%;object-fit:cover;position:absolute;inset:0");
12246
- if (contentBlock.content.type === "video") return () => $i7OB2$ssr($f916989c4b1be9f7$var$_tmpl$2, $i7OB2$ssrHydrationKey() + $i7OB2$ssrAttribute("href", $i7OB2$escape(contentBlock.content.link, true), false), $i7OB2$ssrAttribute("src", $i7OB2$escape(contentBlock.content.url, true), false), "width:100%;height:100%;object-fit:cover;position:absolute;inset:0");
12263
+ if (type === "image") {
12264
+ const [wrapperSize, setWrapperSize] = $i7OB2$createSignal();
12265
+ return $i7OB2$createComponent((0, $i7OB2$Dynamic), $i7OB2$mergeProps1({
12266
+ component: link ? "a" : "div",
12267
+ "class": "d-standard-content-wrapper",
12268
+ get onClick() {
12269
+ return $i7OB2$catchify(ev => link && router_.navigate_.go_to_({
12270
+ new_url_: link,
12271
+ is_replace_: false,
12272
+ event_: ev
12273
+ }));
12274
+ }
12275
+ }, link && {
12276
+ href: link
12277
+ }, {
12278
+ get children() {
12279
+ return $i7OB2$createComponent((0, $70bb27cc6be01fc7$export$140423fa4bfb6d63), {
12280
+ get size() {
12281
+ return $i7OB2$createMemo(() => wrapperSize()?.() || 0);
12282
+ },
12283
+ src: mediaUrl,
12284
+ "class": "d-standard-content"
12285
+ });
12286
+ }
12287
+ }));
12288
+ }
12289
+ if (type === "video") {
12290
+ const pageVisible = $5e3d278ef4c80cd7$export$54299a3c81f5425();
12291
+ return $i7OB2$ssr($f916989c4b1be9f7$var$_tmpl$, $i7OB2$ssrHydrationKey(), $i7OB2$ssrAttribute("href", $i7OB2$escape(link, true), false), $i7OB2$ssrAttribute("src", $i7OB2$escape(mediaUrl, true), false));
12292
+ }
12293
+ }
12294
+ function $486360b09f0d5729$export$7a92d995f1bf3592(history_content_blocks_, plp_meta, content_blocks_by_row_, router_) {
12295
+ const [historyContentBlocks, setHistoryContentBlocks] = history_content_blocks_;
12296
+ $i7OB2$createEffect(() => {
12297
+ const serverContentBlock = plp_meta()?.content_blocks;
12298
+ if (serverContentBlock && JSON.stringify(serverContentBlock) !== JSON.stringify(historyContentBlocks())) setHistoryContentBlocks(serverContentBlock);
12299
+ });
12300
+ const contentBlocksByRow = $i7OB2$createMemo(() => {
12301
+ if (content_blocks_by_row_()) return content_blocks_by_row_();
12302
+ const content = [];
12303
+ historyContentBlocks().forEach(row => {
12304
+ const contentBlock = {
12305
+ span_columns: row.span_columns,
12306
+ span_rows: row.span_rows,
12307
+ position: row.position,
12308
+ content: () => $i7OB2$createComponent((0, $f916989c4b1be9f7$export$780a853d15174484), {
12309
+ contentBlock_: row,
12310
+ router_: router_
12311
+ })
12312
+ };
12313
+ content[row.row] = contentBlock;
12314
+ });
12315
+ return content;
12316
+ });
12317
+ return contentBlocksByRow;
12247
12318
  }
12248
12319
  var $df5d81d0fe61ff21$var$_tmpl$ = ["<div", ' class="product-count"><!--$-->', "<!--/--> <!--$-->", "<!--/--></div>"],
12249
12320
  $df5d81d0fe61ff21$var$_tmpl$2 = ["<div", "></div>"],
@@ -12272,6 +12343,7 @@ function $df5d81d0fe61ff21$export$f7d2f673fc2f091d({
12272
12343
  show_breadcrumbs_: show_breadcrumbs_,
12273
12344
  layout_options_: layout_options_,
12274
12345
  scroll_restoration_data_: scroll_restoration_data_,
12346
+ history_content_blocks_: history_content_blocks_,
12275
12347
  product_card_template_: product_card_template_,
12276
12348
  sideways_filter_clearing_flag_: sideways_filter_clearing_flag_,
12277
12349
  sorting_query_param_: sorting_query_param_,
@@ -12340,23 +12412,7 @@ function $df5d81d0fe61ff21$export$f7d2f673fc2f091d({
12340
12412
  }));
12341
12413
  // Make "Get Listing" request to get quicklinks, breadcrumbs, title, etc
12342
12414
  const [plp_meta] = $i7OB2$createResource(meta_query_base, $i7OB2$catchify(query => depict_api_.get_listing(query)));
12343
- const contentBlocksByRow = $i7OB2$createMemo(() => {
12344
- if (content_blocks_by_row_()) return content_blocks_by_row_();
12345
- const content = [];
12346
- plp_meta()?.content_blocks?.forEach(row => {
12347
- const contentBlock = {
12348
- span_columns: row.span_columns,
12349
- span_rows: row.span_rows,
12350
- position: row.position,
12351
- content: $f916989c4b1be9f7$export$780a853d15174484({
12352
- contentBlock: row,
12353
- router_: router_
12354
- })
12355
- };
12356
- content[row.row] = contentBlock;
12357
- });
12358
- return content;
12359
- });
12415
+ const contentBlocksByRow = $486360b09f0d5729$export$7a92d995f1bf3592(history_content_blocks_, plp_meta, content_blocks_by_row_, router_);
12360
12416
  const available_sortings_ = $i7OB2$createMemo(() => plp_products_()?.sorts?.map(sort => ({
12361
12417
  ...sort,
12362
12418
  order: sort.order ?? "desc"
@@ -12665,7 +12721,8 @@ function $442f32a4d80abbde$export$e2bf8ce7779e827e(props) {
12665
12721
  sorting_open: category_sorting_open_,
12666
12722
  expanded_filters: expanded_filters_,
12667
12723
  expanded_hierarchical_filters: expanded_hierarchical_filters_,
12668
- scroll_restoration_data: scroll_restoration_data_
12724
+ scroll_restoration_data: scroll_restoration_data_,
12725
+ history_content_blocks: history_content_blocks_
12669
12726
  } = depict_category.historyStateSignals_;
12670
12727
  const {
12671
12728
  current_sorting_: current_sorting_,
@@ -12711,6 +12768,7 @@ function $442f32a4d80abbde$export$e2bf8ce7779e827e(props) {
12711
12768
  sideways_filter_clearing_flag_: sideways_filter_clearing_flag_,
12712
12769
  content_blocks_by_row_: () => props.content_blocks_by_row,
12713
12770
  scroll_restoration_data_: scroll_restoration_data_,
12771
+ history_content_blocks_: history_content_blocks_,
12714
12772
  layout_options_: $i7OB2$createMemo(() => ({
12715
12773
  cols_at_size: $b5cccc8ee7d24677$export$6daf8749b65a1b77(props.cols_at_size),
12716
12774
  ...grid_spacing_override(),
@@ -12723,4 +12781,4 @@ function $442f32a4d80abbde$export$e2bf8ce7779e827e(props) {
12723
12781
  }, "Entire CategoryPage failed");
12724
12782
  }
12725
12783
  $i7OB2$add_to_version_info("ui", (0, $ec291e0010116877$export$83d89fbfd8236492));
12726
- export { $e7a7eb102ddc0c79$export$92aa5d691d588f3f as remap_blocks_to_index, $4eb0a704f8f30273$export$d4d96868197be50e as useMobileHover, $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, $e9d1d09be9e6471e$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 };
12784
+ export { $a63fa9cb46ed211b$export$f98b8d5ea7207a1 as setExtraDisplayTransformers, $a63fa9cb46ed211b$export$b2d94be4f02525b2 as getExtraDisplayTransformers, $e7a7eb102ddc0c79$export$92aa5d691d588f3f as remap_blocks_to_index, $4eb0a704f8f30273$export$d4d96868197be50e as useMobileHover, $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, $e9d1d09be9e6471e$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 };