@depict-ai/ui 4.9.9 → 4.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ES10/index.cjs CHANGED
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
115
115
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
116
116
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
117
117
  /*! Depict.ai search and product listing SDK */
118
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.9.9";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.0";
119
119
  function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
120
120
  const signal = $52FdA$solidjs.createSignal(false);
121
121
  $52FdA$solidjs.onCleanup($52FdA$depictaiutilishared.javascript_media_query(media_query, _ref => {
@@ -8052,7 +8052,7 @@ async function $8e8c89c02c16dc7b$export$5d2f6cd705125cd3() {
8052
8052
  $8e8c89c02c16dc7b$var$cachedHlsModule = hlsModule;
8053
8053
  return hlsModule;
8054
8054
  }
8055
- var $c19709057a32b2e7$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<video loop class=d-standard-content>`);
8055
+ var $c19709057a32b2e7$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<video class=d-standard-content>`);
8056
8056
  function $c19709057a32b2e7$export$780a853d15174484(_ref) {
8057
8057
  let {
8058
8058
  link_: link_,
@@ -8135,9 +8135,18 @@ function $c19709057a32b2e7$export$780a853d15174484(_ref) {
8135
8135
  hls.loadSource(mediaUrl_);
8136
8136
  hls.attachMedia(element);
8137
8137
  }
8138
+ const [retryPlayToggle, setRetryPlayToggle] = $52FdA$solidjs.createSignal(false);
8138
8139
  // need runWithOwner for createEffect, because we potentially awaited above
8139
8140
  $52FdA$solidjs.runWithOwner(owner, () => $52FdA$solidjs.createEffect(() => {
8140
- if (pageVisible()) element.play().catch(e => $52FdA$depictaiutilishared.dlog("Failed to play", e));else element.pause();
8141
+ retryPlayToggle();
8142
+ if (pageVisible()) element.play().catch(async e => {
8143
+ $52FdA$depictaiutilishared.dlog("Failed to play", e);
8144
+ // If we're not in the DOM yet, wait until we are and then try again
8145
+ if (!document.documentElement.contains(element)) {
8146
+ await (0, $52FdA$depictaiutilisharedlatest.observer).wait_for_element(element);
8147
+ setRetryPlayToggle(prev => !prev);
8148
+ }
8149
+ });else element.pause();
8141
8150
  }));
8142
8151
  });
8143
8152
  typeof _ref$ === "function" && $52FdA$solidjsweb.use(_ref$, _el$);
@@ -8147,6 +8156,8 @@ function $c19709057a32b2e7$export$780a853d15174484(_ref) {
8147
8156
  $52FdA$solidjsweb.setProperty(_el$, "muted", true);
8148
8157
  $52FdA$solidjsweb.setProperty(_el$, "autoplay", true);
8149
8158
  $52FdA$solidjsweb.setProperty(_el$, "playsinline", true);
8159
+ $52FdA$solidjsweb.setProperty(_el$, "loop", true);
8160
+ $52FdA$solidjsweb.setAttribute(_el$, "disablepictureinpicture", true);
8150
8161
  return _el$;
8151
8162
  }
8152
8163
  })];
@@ -10627,11 +10638,11 @@ function $210882b9ebe2b1d8$export$e872e2339fb04a7f(_ref) {
10627
10638
  searching_for_value_: searching_for_value_
10628
10639
  })), (() => {
10629
10640
  var _el$3 = $52FdA$solidjsweb.getNextElement($210882b9ebe2b1d8$var$_tmpl$3);
10630
- $52FdA$solidjsweb.insert(_el$3, $52FdA$solidjs.createMemo(() => {
10641
+ $52FdA$solidjsweb.insert(_el$3, () => $52FdA$solidjs.createMemo(() => {
10631
10642
  if (input_obj().type === "content") return i18n_.content_();
10632
10643
  if (input_obj().listing_type === "brand") return i18n_.brand_();
10633
10644
  return i18n_.category_();
10634
- }));
10645
+ })());
10635
10646
  return _el$3;
10636
10647
  })()];
10637
10648
  })());
@@ -11269,7 +11280,7 @@ function $29e5dbeb69da7a36$export$b94867ecbd698f21(_ref) {
11269
11280
  },
11270
11281
  get children() {
11271
11282
  var _el$4 = $52FdA$solidjsweb.getNextElement($29e5dbeb69da7a36$var$_tmpl$3);
11272
- $52FdA$solidjsweb.effect(() => (getBackButtonWidth(), _el$4.style.setProperty("width", getBackButtonWidth() + "px")));
11283
+ $52FdA$solidjsweb.effect(_$p => (_$p = getBackButtonWidth() + "px", _el$4.style.setProperty("width", _$p)));
11273
11284
  return _el$4;
11274
11285
  }
11275
11286
  }), _el$13, _co$3);
@@ -11982,7 +11993,7 @@ function $f765bad01136eee1$export$c8d7e00464029b45(_ref) {
11982
11993
  });
11983
11994
  }
11984
11995
  }), _el$4, _co$);
11985
- $52FdA$solidjsweb.effect(() => itemIndex_() != null ? _el$.style.setProperty("order", itemIndex_()) : _el$.style.removeProperty("order"));
11996
+ $52FdA$solidjsweb.effect(_$p => (_$p = itemIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
11986
11997
  return _el$;
11987
11998
  }
11988
11999
  });
@@ -12100,7 +12111,7 @@ function $79a8fa74cb5cdfb9$export$d4994a86c6235f72(_ref) {
12100
12111
  });
12101
12112
  }
12102
12113
  }));
12103
- $52FdA$solidjsweb.effect(() => itemIndex_() != null ? _el$.style.setProperty("order", itemIndex_()) : _el$.style.removeProperty("order"));
12114
+ $52FdA$solidjsweb.effect(_$p => (_$p = itemIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
12104
12115
  return _el$;
12105
12116
  }
12106
12117
  });
@@ -12541,7 +12552,7 @@ function $43600b30502feeda$var$RawSearchModalV2(_ref) {
12541
12552
  }),
12542
12553
  ...instant_results_options_
12543
12554
  }), _el$4, _co$);
12544
- $52FdA$solidjsweb.effect(() => itemIndexes.instantResultsIndex_() != null ? _el$.style.setProperty("order", itemIndexes.instantResultsIndex_()) : _el$.style.removeProperty("order"));
12555
+ $52FdA$solidjsweb.effect(_$p => (_$p = itemIndexes.instantResultsIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
12545
12556
  return _el$;
12546
12557
  }
12547
12558
  });
@@ -15131,9 +15142,9 @@ function $eab939d0b95b75ee$export$6d0c9c22f6652669(_ref) {
15131
15142
  });
15132
15143
  }
15133
15144
  })), _el$5, _co$2);
15134
- $52FdA$solidjsweb.effect(() => {
15145
+ $52FdA$solidjsweb.effect(_$p => {
15135
15146
  var _content_results2;
15136
- return is_loading_() && placeholders_enabled() || (_content_results2 = content_results()) === null || _content_results2 === void 0 || _content_results2.length, _el$.style.setProperty("display", is_loading_() && placeholders_enabled() || ((_content_results2 = content_results()) === null || _content_results2 === void 0 ? void 0 : _content_results2.length) > 0 ? "" : "none");
15147
+ return _$p = is_loading_() && placeholders_enabled() || ((_content_results2 = content_results()) === null || _content_results2 === void 0 ? void 0 : _content_results2.length) > 0 ? "" : "none", _el$.style.setProperty("display", _$p);
15137
15148
  });
15138
15149
  return _el$;
15139
15150
  })();
package/ES10/index.d.ts CHANGED
@@ -11,7 +11,7 @@ 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.9.9";
14
+ export const version = "4.10.0";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -1541,7 +1541,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1541
1541
  * Open the modal with support for alignment.
1542
1542
  * @returns {void}
1543
1543
  */
1544
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1544
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1545
1545
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1546
1546
  export interface PageReplacer {
1547
1547
  readonly render_: () => Node_Array;
@@ -1622,5 +1622,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1622
1622
  filterModalParent_?: HTMLElement | ShadowRoot;
1623
1623
  showSliderArrow_?: boolean;
1624
1624
  hideCount0FilterOptions_?: boolean;
1625
- }): import("@depict-ai/utilishared").Node_Array;
1625
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1626
1626
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
package/ES10/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { add_to_version_info as $8tj43$add_to_version_info, javascript_media_query as $8tj43$javascript_media_query, standard_price_format as $8tj43$standard_price_format, catchify as $8tj43$catchify1, observer as $8tj43$observer, slider_fractional_factory as $8tj43$slider_fractional_factory, report as $8tj43$report1, dlog as $8tj43$dlog, camelCasifyObject as $8tj43$camelCasifyObject, make_random_classname as $8tj43$make_random_classname, n_col_styling_with_dist as $8tj43$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $8tj43$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $8tj43$layout_get_total_rec_amount_for_row, layout_media_query_header as $8tj43$layout_media_query_header, dwarn as $8tj43$dwarn, slider_fading_factory as $8tj43$slider_fading_factory, Amazing_Slider as $8tj43$Amazing_Slider, slider_snap_css as $8tj43$slider_snap_css, useExpandingContainer as $8tj43$useExpandingContainer, hex_to_rgb as $8tj43$hex_to_rgb, relative_luminance_from_rgb as $8tj43$relative_luminance_from_rgb, instant_exec_on_suspect_history_change as $8tj43$instant_exec_on_suspect_history_change, base64_encode_unicode as $8tj43$base64_encode_unicode, base64_decode_unicode as $8tj43$base64_decode_unicode, queueMacroTask as $8tj43$queueMacroTask, is_debug as $8tj43$is_debug, findMostFrequentItem as $8tj43$findMostFrequentItem, is_available_in as $8tj43$is_available_in, fetch_retry as $8tj43$fetch_retry, base_url as $8tj43$base_url, deparallelize_no_drop as $8tj43$deparallelize_no_drop, ContainedImage as $8tj43$ContainedImage, buildThresholdList as $8tj43$buildThresholdList, make_asyncIterable_exiter as $8tj43$make_asyncIterable_exiter, href_change_ipns as $8tj43$href_change_ipns, use_href_accessor as $8tj43$use_href_accessor1, get_session_id as $8tj43$get_session_id, add_version_query_params as $8tj43$add_version_query_params, snakeCasifyObject as $8tj43$snakeCasifyObject, make_url_with_query_params as $8tj43$make_url_with_query_params, sort_obj as $8tj43$sort_obj, insert_surfaces as $8tj43$insert_surfaces } from "@depict-ai/utilishared/ES10";
2
2
  import { template as $8tj43$template, createComponent as $8tj43$createComponent, getNextElement as $8tj43$getNextElement, getNextMarker as $8tj43$getNextMarker, insert as $8tj43$insert, isServer as $8tj43$isServer, use as $8tj43$use, effect as $8tj43$effect, setAttribute as $8tj43$setAttribute, memo as $8tj43$memo, mergeProps as $8tj43$mergeProps1, addEventListener as $8tj43$addEventListener, runHydrationEvents as $8tj43$runHydrationEvents, delegateEvents as $8tj43$delegateEvents, spread as $8tj43$spread, classList as $8tj43$classList, className as $8tj43$className, style as $8tj43$style, Dynamic as $8tj43$Dynamic, setProperty as $8tj43$setProperty } from "solid-js/web";
3
3
  import { createContext as $8tj43$createContext, createSignal as $8tj43$createSignal, getOwner as $8tj43$getOwner, createResource as $8tj43$createResource, untrack as $8tj43$untrack, createRoot as $8tj43$createRoot, createEffect as $8tj43$createEffect, runWithOwner as $8tj43$runWithOwner, onCleanup as $8tj43$onCleanup, createMemo as $8tj43$createMemo, Show as $8tj43$Show, createComputed as $8tj43$createComputed, createRenderEffect as $8tj43$createRenderEffect, mergeProps as $8tj43$mergeProps, useContext as $8tj43$useContext, createReaction as $8tj43$createReaction, on as $8tj43$on, Suspense as $8tj43$Suspense, ErrorBoundary as $8tj43$ErrorBoundary, Index as $8tj43$Index, For as $8tj43$For, createUniqueId as $8tj43$createUniqueId, mapArray as $8tj43$mapArray, batch as $8tj43$batch, Switch as $8tj43$Switch, Match as $8tj43$Match, splitProps as $8tj43$splitProps, createComponent as $8tj43$createComponent1, createSelector as $8tj43$createSelector, children as $8tj43$children } from "solid-js";
4
- import { catchify as $8tj43$catchify, report as $8tj43$report, use_href_accessor as $8tj43$use_href_accessor, dlog as $8tj43$dlog1, ListenableSet as $8tj43$ListenableSet, queueMacroTask as $8tj43$queueMacroTask1 } from "@depict-ai/utilishared/ES10";
4
+ import { catchify as $8tj43$catchify, report as $8tj43$report, use_href_accessor as $8tj43$use_href_accessor, observer as $8tj43$observer1, dlog as $8tj43$dlog1, ListenableSet as $8tj43$ListenableSet, queueMacroTask as $8tj43$queueMacroTask1 } from "@depict-ai/utilishared/ES10";
5
5
  import { createStore as $8tj43$createStore, reconcile as $8tj43$reconcile } from "solid-js/store";
6
6
  import $8tj43$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/defineProperty";
7
7
  import $8tj43$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
@@ -10,7 +10,7 @@ import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
10
10
  /*! Depict.ai search and product listing SDK */
11
11
  import { register_es_version } from "../multi_import_deduplicator.mjs";
12
12
  register_es_version("ui", "ES10");
13
- const $8db9a15135765c11$export$83d89fbfd8236492 = "4.9.9";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.0";
14
14
  function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
15
15
  const signal = $8tj43$createSignal(false);
16
16
  $8tj43$onCleanup($8tj43$javascript_media_query(media_query, _ref => {
@@ -7947,7 +7947,7 @@ async function $e92c154db502596d$export$5d2f6cd705125cd3() {
7947
7947
  $e92c154db502596d$var$cachedHlsModule = hlsModule;
7948
7948
  return hlsModule;
7949
7949
  }
7950
- var $3b772ef9a35560fe$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<video loop class=d-standard-content>`);
7950
+ var $3b772ef9a35560fe$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<video class=d-standard-content>`);
7951
7951
  function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
7952
7952
  let {
7953
7953
  link_: link_,
@@ -8030,9 +8030,18 @@ function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
8030
8030
  hls.loadSource(mediaUrl_);
8031
8031
  hls.attachMedia(element);
8032
8032
  }
8033
+ const [retryPlayToggle, setRetryPlayToggle] = $8tj43$createSignal(false);
8033
8034
  // need runWithOwner for createEffect, because we potentially awaited above
8034
8035
  $8tj43$runWithOwner(owner, () => $8tj43$createEffect(() => {
8035
- if (pageVisible()) element.play().catch(e => $8tj43$dlog("Failed to play", e));else element.pause();
8036
+ retryPlayToggle();
8037
+ if (pageVisible()) element.play().catch(async e => {
8038
+ $8tj43$dlog("Failed to play", e);
8039
+ // If we're not in the DOM yet, wait until we are and then try again
8040
+ if (!document.documentElement.contains(element)) {
8041
+ await (0, $8tj43$observer1).wait_for_element(element);
8042
+ setRetryPlayToggle(prev => !prev);
8043
+ }
8044
+ });else element.pause();
8036
8045
  }));
8037
8046
  });
8038
8047
  typeof _ref$ === "function" && $8tj43$use(_ref$, _el$);
@@ -8042,6 +8051,8 @@ function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
8042
8051
  $8tj43$setProperty(_el$, "muted", true);
8043
8052
  $8tj43$setProperty(_el$, "autoplay", true);
8044
8053
  $8tj43$setProperty(_el$, "playsinline", true);
8054
+ $8tj43$setProperty(_el$, "loop", true);
8055
+ $8tj43$setAttribute(_el$, "disablepictureinpicture", true);
8045
8056
  return _el$;
8046
8057
  }
8047
8058
  })];
@@ -10522,11 +10533,11 @@ function $b055f9e9aeceeb48$export$e872e2339fb04a7f(_ref) {
10522
10533
  searching_for_value_: searching_for_value_
10523
10534
  })), (() => {
10524
10535
  var _el$3 = $8tj43$getNextElement($b055f9e9aeceeb48$var$_tmpl$3);
10525
- $8tj43$insert(_el$3, $8tj43$createMemo(() => {
10536
+ $8tj43$insert(_el$3, () => $8tj43$createMemo(() => {
10526
10537
  if (input_obj().type === "content") return i18n_.content_();
10527
10538
  if (input_obj().listing_type === "brand") return i18n_.brand_();
10528
10539
  return i18n_.category_();
10529
- }));
10540
+ })());
10530
10541
  return _el$3;
10531
10542
  })()];
10532
10543
  })());
@@ -11164,7 +11175,7 @@ function $584c06c09cf4609d$export$b94867ecbd698f21(_ref) {
11164
11175
  },
11165
11176
  get children() {
11166
11177
  var _el$4 = $8tj43$getNextElement($584c06c09cf4609d$var$_tmpl$3);
11167
- $8tj43$effect(() => (getBackButtonWidth(), _el$4.style.setProperty("width", getBackButtonWidth() + "px")));
11178
+ $8tj43$effect(_$p => (_$p = getBackButtonWidth() + "px", _el$4.style.setProperty("width", _$p)));
11168
11179
  return _el$4;
11169
11180
  }
11170
11181
  }), _el$13, _co$3);
@@ -11877,7 +11888,7 @@ function $ab401afaded322ab$export$c8d7e00464029b45(_ref) {
11877
11888
  });
11878
11889
  }
11879
11890
  }), _el$4, _co$);
11880
- $8tj43$effect(() => itemIndex_() != null ? _el$.style.setProperty("order", itemIndex_()) : _el$.style.removeProperty("order"));
11891
+ $8tj43$effect(_$p => (_$p = itemIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
11881
11892
  return _el$;
11882
11893
  }
11883
11894
  });
@@ -11995,7 +12006,7 @@ function $5175a47d13b7c228$export$d4994a86c6235f72(_ref) {
11995
12006
  });
11996
12007
  }
11997
12008
  }));
11998
- $8tj43$effect(() => itemIndex_() != null ? _el$.style.setProperty("order", itemIndex_()) : _el$.style.removeProperty("order"));
12009
+ $8tj43$effect(_$p => (_$p = itemIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
11999
12010
  return _el$;
12000
12011
  }
12001
12012
  });
@@ -12436,7 +12447,7 @@ function $06fcd2a345efd24d$var$RawSearchModalV2(_ref) {
12436
12447
  }),
12437
12448
  ...instant_results_options_
12438
12449
  }), _el$4, _co$);
12439
- $8tj43$effect(() => itemIndexes.instantResultsIndex_() != null ? _el$.style.setProperty("order", itemIndexes.instantResultsIndex_()) : _el$.style.removeProperty("order"));
12450
+ $8tj43$effect(_$p => (_$p = itemIndexes.instantResultsIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
12440
12451
  return _el$;
12441
12452
  }
12442
12453
  });
@@ -15026,9 +15037,9 @@ function $d53ebed6f63304e4$export$6d0c9c22f6652669(_ref) {
15026
15037
  });
15027
15038
  }
15028
15039
  })), _el$5, _co$2);
15029
- $8tj43$effect(() => {
15040
+ $8tj43$effect(_$p => {
15030
15041
  var _content_results2;
15031
- return is_loading_() && placeholders_enabled() || (_content_results2 = content_results()) === null || _content_results2 === void 0 || _content_results2.length, _el$.style.setProperty("display", is_loading_() && placeholders_enabled() || ((_content_results2 = content_results()) === null || _content_results2 === void 0 ? void 0 : _content_results2.length) > 0 ? "" : "none");
15042
+ return _$p = is_loading_() && placeholders_enabled() || ((_content_results2 = content_results()) === null || _content_results2 === void 0 ? void 0 : _content_results2.length) > 0 ? "" : "none", _el$.style.setProperty("display", _$p);
15032
15043
  });
15033
15044
  return _el$;
15034
15045
  })();
package/latest/index.cjs CHANGED
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
109
109
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
110
110
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
111
111
  /*! Depict.ai search and product listing SDK */
112
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.9.9";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.0";
113
113
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
114
114
  const signal = $gVhhF$solidjs.createSignal(false);
115
115
  $gVhhF$solidjs.onCleanup($gVhhF$depictaiutilishared.javascript_media_query(media_query, ({
@@ -7621,7 +7621,7 @@ async function $20ff40266d725403$export$5d2f6cd705125cd3() {
7621
7621
  $20ff40266d725403$var$cachedHlsModule = hlsModule;
7622
7622
  return hlsModule;
7623
7623
  }
7624
- var $32c662f618f5d80d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<video loop class=d-standard-content>`);
7624
+ var $32c662f618f5d80d$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<video class=d-standard-content>`);
7625
7625
  function $32c662f618f5d80d$export$780a853d15174484({
7626
7626
  link_: link_,
7627
7627
  type_: type_,
@@ -7697,9 +7697,18 @@ function $32c662f618f5d80d$export$780a853d15174484({
7697
7697
  hls.loadSource(mediaUrl_);
7698
7698
  hls.attachMedia(element);
7699
7699
  }
7700
+ const [retryPlayToggle, setRetryPlayToggle] = $gVhhF$solidjs.createSignal(false);
7700
7701
  // need runWithOwner for createEffect, because we potentially awaited above
7701
7702
  $gVhhF$solidjs.runWithOwner(owner, () => $gVhhF$solidjs.createEffect(() => {
7702
- if (pageVisible()) element.play().catch(e => $gVhhF$depictaiutilishared.dlog("Failed to play", e));else element.pause();
7703
+ retryPlayToggle();
7704
+ if (pageVisible()) element.play().catch(async e => {
7705
+ $gVhhF$depictaiutilishared.dlog("Failed to play", e);
7706
+ // If we're not in the DOM yet, wait until we are and then try again
7707
+ if (!document.documentElement.contains(element)) {
7708
+ await (0, $gVhhF$depictaiutilisharedlatest.observer).wait_for_element(element);
7709
+ setRetryPlayToggle(prev => !prev);
7710
+ }
7711
+ });else element.pause();
7703
7712
  }));
7704
7713
  });
7705
7714
  typeof _ref$ === "function" && $gVhhF$solidjsweb.use(_ref$, _el$);
@@ -7709,6 +7718,8 @@ function $32c662f618f5d80d$export$780a853d15174484({
7709
7718
  $gVhhF$solidjsweb.setProperty(_el$, "muted", true);
7710
7719
  $gVhhF$solidjsweb.setProperty(_el$, "autoplay", true);
7711
7720
  $gVhhF$solidjsweb.setProperty(_el$, "playsinline", true);
7721
+ $gVhhF$solidjsweb.setProperty(_el$, "loop", true);
7722
+ $gVhhF$solidjsweb.setAttribute(_el$, "disablepictureinpicture", true);
7712
7723
  return _el$;
7713
7724
  }
7714
7725
  })];
@@ -10046,11 +10057,11 @@ function $1dbed937c406bdf0$export$e872e2339fb04a7f({
10046
10057
  searching_for_value_: searching_for_value_
10047
10058
  })), (() => {
10048
10059
  var _el$3 = $gVhhF$solidjsweb.getNextElement($1dbed937c406bdf0$var$_tmpl$3);
10049
- $gVhhF$solidjsweb.insert(_el$3, $gVhhF$solidjs.createMemo(() => {
10060
+ $gVhhF$solidjsweb.insert(_el$3, () => $gVhhF$solidjs.createMemo(() => {
10050
10061
  if (input_obj().type === "content") return i18n_.content_();
10051
10062
  if (input_obj().listing_type === "brand") return i18n_.brand_();
10052
10063
  return i18n_.category_();
10053
- }));
10064
+ })());
10054
10065
  return _el$3;
10055
10066
  })()];
10056
10067
  })());
@@ -10657,7 +10668,7 @@ function $66b8b9a9613c141d$export$b94867ecbd698f21({
10657
10668
  },
10658
10669
  get children() {
10659
10670
  var _el$4 = $gVhhF$solidjsweb.getNextElement($66b8b9a9613c141d$var$_tmpl$3);
10660
- $gVhhF$solidjsweb.effect(() => (getBackButtonWidth(), _el$4.style.setProperty("width", getBackButtonWidth() + "px")));
10671
+ $gVhhF$solidjsweb.effect(_$p => (_$p = getBackButtonWidth() + "px", _el$4.style.setProperty("width", _$p)));
10661
10672
  return _el$4;
10662
10673
  }
10663
10674
  }), _el$13, _co$3);
@@ -11339,7 +11350,7 @@ function $83e616b38be339e4$export$c8d7e00464029b45({
11339
11350
  });
11340
11351
  }
11341
11352
  }), _el$4, _co$);
11342
- $gVhhF$solidjsweb.effect(() => itemIndex_() != null ? _el$.style.setProperty("order", itemIndex_()) : _el$.style.removeProperty("order"));
11353
+ $gVhhF$solidjsweb.effect(_$p => (_$p = itemIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
11343
11354
  return _el$;
11344
11355
  }
11345
11356
  });
@@ -11455,7 +11466,7 @@ function $a13dbcf80d79229c$export$d4994a86c6235f72({
11455
11466
  });
11456
11467
  }
11457
11468
  }));
11458
- $gVhhF$solidjsweb.effect(() => itemIndex_() != null ? _el$.style.setProperty("order", itemIndex_()) : _el$.style.removeProperty("order"));
11469
+ $gVhhF$solidjsweb.effect(_$p => (_$p = itemIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
11459
11470
  return _el$;
11460
11471
  }
11461
11472
  });
@@ -11884,7 +11895,7 @@ function $11597ae03e703a47$var$RawSearchModalV2({
11884
11895
  }),
11885
11896
  ...instant_results_options_
11886
11897
  }), _el$4, _co$);
11887
- $gVhhF$solidjsweb.effect(() => itemIndexes.instantResultsIndex_() != null ? _el$.style.setProperty("order", itemIndexes.instantResultsIndex_()) : _el$.style.removeProperty("order"));
11898
+ $gVhhF$solidjsweb.effect(_$p => (_$p = itemIndexes.instantResultsIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
11888
11899
  return _el$;
11889
11900
  }
11890
11901
  });
@@ -14264,7 +14275,7 @@ function $3716b8caf7f959e2$export$6d0c9c22f6652669({
14264
14275
  });
14265
14276
  }
14266
14277
  })), _el$5, _co$2);
14267
- $gVhhF$solidjsweb.effect(() => (is_loading_() && placeholders_enabled() || content_results()?.length, _el$.style.setProperty("display", is_loading_() && placeholders_enabled() || content_results()?.length > 0 ? "" : "none")));
14278
+ $gVhhF$solidjsweb.effect(_$p => (_$p = is_loading_() && placeholders_enabled() || content_results()?.length > 0 ? "" : "none", _el$.style.setProperty("display", _$p)));
14268
14279
  return _el$;
14269
14280
  })();
14270
14281
  }
package/latest/index.d.ts CHANGED
@@ -11,7 +11,7 @@ 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.9.9";
14
+ export const version = "4.10.0";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -1541,7 +1541,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1541
1541
  * Open the modal with support for alignment.
1542
1542
  * @returns {void}
1543
1543
  */
1544
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1544
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1545
1545
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1546
1546
  export interface PageReplacer {
1547
1547
  readonly render_: () => Node_Array;
@@ -1622,5 +1622,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1622
1622
  filterModalParent_?: HTMLElement | ShadowRoot;
1623
1623
  showSliderArrow_?: boolean;
1624
1624
  hideCount0FilterOptions_?: boolean;
1625
- }): import("@depict-ai/utilishared").Node_Array;
1625
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1626
1626
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
package/latest/index.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { add_to_version_info as $9HbP8$add_to_version_info, javascript_media_query as $9HbP8$javascript_media_query, standard_price_format as $9HbP8$standard_price_format, catchify as $9HbP8$catchify1, observer as $9HbP8$observer, slider_fractional_factory as $9HbP8$slider_fractional_factory, report as $9HbP8$report1, dlog as $9HbP8$dlog, camelCasifyObject as $9HbP8$camelCasifyObject, 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, dwarn as $9HbP8$dwarn, slider_fading_factory as $9HbP8$slider_fading_factory, Amazing_Slider as $9HbP8$Amazing_Slider, slider_snap_css as $9HbP8$slider_snap_css, useExpandingContainer as $9HbP8$useExpandingContainer, hex_to_rgb as $9HbP8$hex_to_rgb, relative_luminance_from_rgb as $9HbP8$relative_luminance_from_rgb, instant_exec_on_suspect_history_change as $9HbP8$instant_exec_on_suspect_history_change, base64_encode_unicode as $9HbP8$base64_encode_unicode, base64_decode_unicode as $9HbP8$base64_decode_unicode, queueMacroTask as $9HbP8$queueMacroTask, is_debug as $9HbP8$is_debug, findMostFrequentItem as $9HbP8$findMostFrequentItem, is_available_in as $9HbP8$is_available_in, fetch_retry as $9HbP8$fetch_retry, base_url as $9HbP8$base_url, 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, use_href_accessor as $9HbP8$use_href_accessor1, get_session_id as $9HbP8$get_session_id, add_version_query_params as $9HbP8$add_version_query_params, 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 } from "@depict-ai/utilishared/latest";
2
2
  import { template as $9HbP8$template, createComponent as $9HbP8$createComponent, getNextElement as $9HbP8$getNextElement, getNextMarker as $9HbP8$getNextMarker, insert as $9HbP8$insert, isServer as $9HbP8$isServer, use as $9HbP8$use, effect as $9HbP8$effect, setAttribute as $9HbP8$setAttribute, memo as $9HbP8$memo, mergeProps as $9HbP8$mergeProps1, addEventListener as $9HbP8$addEventListener, runHydrationEvents as $9HbP8$runHydrationEvents, delegateEvents as $9HbP8$delegateEvents, spread as $9HbP8$spread, classList as $9HbP8$classList, className as $9HbP8$className, style as $9HbP8$style, Dynamic as $9HbP8$Dynamic, setProperty as $9HbP8$setProperty } from "solid-js/web";
3
3
  import { createContext as $9HbP8$createContext, createSignal as $9HbP8$createSignal, getOwner as $9HbP8$getOwner, createResource as $9HbP8$createResource, untrack as $9HbP8$untrack, createRoot as $9HbP8$createRoot, createEffect as $9HbP8$createEffect, runWithOwner as $9HbP8$runWithOwner, onCleanup as $9HbP8$onCleanup, createMemo as $9HbP8$createMemo, Show as $9HbP8$Show, createComputed as $9HbP8$createComputed, createRenderEffect as $9HbP8$createRenderEffect, mergeProps as $9HbP8$mergeProps, useContext as $9HbP8$useContext, createReaction as $9HbP8$createReaction, on as $9HbP8$on, Suspense as $9HbP8$Suspense, ErrorBoundary as $9HbP8$ErrorBoundary, Index as $9HbP8$Index, For as $9HbP8$For, createUniqueId as $9HbP8$createUniqueId, mapArray as $9HbP8$mapArray, batch as $9HbP8$batch, Switch as $9HbP8$Switch, Match as $9HbP8$Match, splitProps as $9HbP8$splitProps, createComponent as $9HbP8$createComponent1, createSelector as $9HbP8$createSelector, children as $9HbP8$children } from "solid-js";
4
- import { catchify as $9HbP8$catchify, report as $9HbP8$report, use_href_accessor as $9HbP8$use_href_accessor, dlog as $9HbP8$dlog1, ListenableSet as $9HbP8$ListenableSet, queueMacroTask as $9HbP8$queueMacroTask1 } from "@depict-ai/utilishared/latest";
4
+ import { catchify as $9HbP8$catchify, report as $9HbP8$report, use_href_accessor as $9HbP8$use_href_accessor, observer as $9HbP8$observer1, dlog as $9HbP8$dlog1, ListenableSet as $9HbP8$ListenableSet, queueMacroTask as $9HbP8$queueMacroTask1 } 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.9.9";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.0";
11
11
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
12
  const signal = $9HbP8$createSignal(false);
13
13
  $9HbP8$onCleanup($9HbP8$javascript_media_query(media_query, ({
@@ -7519,7 +7519,7 @@ async function $e422ea9eccb7892b$export$5d2f6cd705125cd3() {
7519
7519
  $e422ea9eccb7892b$var$cachedHlsModule = hlsModule;
7520
7520
  return hlsModule;
7521
7521
  }
7522
- var $f916989c4b1be9f7$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<video loop class=d-standard-content>`);
7522
+ var $f916989c4b1be9f7$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<video class=d-standard-content>`);
7523
7523
  function $f916989c4b1be9f7$export$780a853d15174484({
7524
7524
  link_: link_,
7525
7525
  type_: type_,
@@ -7595,9 +7595,18 @@ function $f916989c4b1be9f7$export$780a853d15174484({
7595
7595
  hls.loadSource(mediaUrl_);
7596
7596
  hls.attachMedia(element);
7597
7597
  }
7598
+ const [retryPlayToggle, setRetryPlayToggle] = $9HbP8$createSignal(false);
7598
7599
  // need runWithOwner for createEffect, because we potentially awaited above
7599
7600
  $9HbP8$runWithOwner(owner, () => $9HbP8$createEffect(() => {
7600
- if (pageVisible()) element.play().catch(e => $9HbP8$dlog("Failed to play", e));else element.pause();
7601
+ retryPlayToggle();
7602
+ if (pageVisible()) element.play().catch(async e => {
7603
+ $9HbP8$dlog("Failed to play", e);
7604
+ // If we're not in the DOM yet, wait until we are and then try again
7605
+ if (!document.documentElement.contains(element)) {
7606
+ await (0, $9HbP8$observer1).wait_for_element(element);
7607
+ setRetryPlayToggle(prev => !prev);
7608
+ }
7609
+ });else element.pause();
7601
7610
  }));
7602
7611
  });
7603
7612
  typeof _ref$ === "function" && $9HbP8$use(_ref$, _el$);
@@ -7607,6 +7616,8 @@ function $f916989c4b1be9f7$export$780a853d15174484({
7607
7616
  $9HbP8$setProperty(_el$, "muted", true);
7608
7617
  $9HbP8$setProperty(_el$, "autoplay", true);
7609
7618
  $9HbP8$setProperty(_el$, "playsinline", true);
7619
+ $9HbP8$setProperty(_el$, "loop", true);
7620
+ $9HbP8$setAttribute(_el$, "disablepictureinpicture", true);
7610
7621
  return _el$;
7611
7622
  }
7612
7623
  })];
@@ -9944,11 +9955,11 @@ function $ab4b0679fa8bd1dc$export$e872e2339fb04a7f({
9944
9955
  searching_for_value_: searching_for_value_
9945
9956
  })), (() => {
9946
9957
  var _el$3 = $9HbP8$getNextElement($ab4b0679fa8bd1dc$var$_tmpl$3);
9947
- $9HbP8$insert(_el$3, $9HbP8$createMemo(() => {
9958
+ $9HbP8$insert(_el$3, () => $9HbP8$createMemo(() => {
9948
9959
  if (input_obj().type === "content") return i18n_.content_();
9949
9960
  if (input_obj().listing_type === "brand") return i18n_.brand_();
9950
9961
  return i18n_.category_();
9951
- }));
9962
+ })());
9952
9963
  return _el$3;
9953
9964
  })()];
9954
9965
  })());
@@ -10555,7 +10566,7 @@ function $5285d2814d0fac0c$export$b94867ecbd698f21({
10555
10566
  },
10556
10567
  get children() {
10557
10568
  var _el$4 = $9HbP8$getNextElement($5285d2814d0fac0c$var$_tmpl$3);
10558
- $9HbP8$effect(() => (getBackButtonWidth(), _el$4.style.setProperty("width", getBackButtonWidth() + "px")));
10569
+ $9HbP8$effect(_$p => (_$p = getBackButtonWidth() + "px", _el$4.style.setProperty("width", _$p)));
10559
10570
  return _el$4;
10560
10571
  }
10561
10572
  }), _el$13, _co$3);
@@ -11237,7 +11248,7 @@ function $44f30a4222ce604b$export$c8d7e00464029b45({
11237
11248
  });
11238
11249
  }
11239
11250
  }), _el$4, _co$);
11240
- $9HbP8$effect(() => itemIndex_() != null ? _el$.style.setProperty("order", itemIndex_()) : _el$.style.removeProperty("order"));
11251
+ $9HbP8$effect(_$p => (_$p = itemIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
11241
11252
  return _el$;
11242
11253
  }
11243
11254
  });
@@ -11353,7 +11364,7 @@ function $903297121898e5ff$export$d4994a86c6235f72({
11353
11364
  });
11354
11365
  }
11355
11366
  }));
11356
- $9HbP8$effect(() => itemIndex_() != null ? _el$.style.setProperty("order", itemIndex_()) : _el$.style.removeProperty("order"));
11367
+ $9HbP8$effect(_$p => (_$p = itemIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
11357
11368
  return _el$;
11358
11369
  }
11359
11370
  });
@@ -11782,7 +11793,7 @@ function $500a16dd18ee5a71$var$RawSearchModalV2({
11782
11793
  }),
11783
11794
  ...instant_results_options_
11784
11795
  }), _el$4, _co$);
11785
- $9HbP8$effect(() => itemIndexes.instantResultsIndex_() != null ? _el$.style.setProperty("order", itemIndexes.instantResultsIndex_()) : _el$.style.removeProperty("order"));
11796
+ $9HbP8$effect(_$p => (_$p = itemIndexes.instantResultsIndex_()) != null ? _el$.style.setProperty("order", _$p) : _el$.style.removeProperty("order"));
11786
11797
  return _el$;
11787
11798
  }
11788
11799
  });
@@ -14162,7 +14173,7 @@ function $49de9d31aeea1b5e$export$6d0c9c22f6652669({
14162
14173
  });
14163
14174
  }
14164
14175
  })), _el$5, _co$2);
14165
- $9HbP8$effect(() => (is_loading_() && placeholders_enabled() || content_results()?.length, _el$.style.setProperty("display", is_loading_() && placeholders_enabled() || content_results()?.length > 0 ? "" : "none")));
14176
+ $9HbP8$effect(_$p => (_$p = is_loading_() && placeholders_enabled() || content_results()?.length > 0 ? "" : "none", _el$.style.setProperty("display", _$p)));
14166
14177
  return _el$;
14167
14178
  })();
14168
14179
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "4.9.9",
3
+ "version": "4.10.0",
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",
@@ -226,7 +226,7 @@
226
226
  "@parcel/resolver-default": "^2.10.3",
227
227
  "@types/jest": "^29.2.4",
228
228
  "@types/node": "^18.11.11",
229
- "babel-preset-solid": "^1.8.16",
229
+ "babel-preset-solid": "^1.9.3",
230
230
  "jest": "^29.3.1",
231
231
  "lodash": "^4.17.21",
232
232
  "parcel": "^2.10.3",
@@ -236,10 +236,10 @@
236
236
  "@babel/plugin-transform-typescript": "^7.22.9",
237
237
  "@babel/runtime": "latest",
238
238
  "@babel/runtime-corejs3": "^7.22.6",
239
- "@depict-ai/plp-styling": "^4.5.1",
240
- "@depict-ai/types": "^5.5.1",
241
- "@depict-ai/utilishared": "^2.5.1",
242
- "solid-js": "^1.8.16"
239
+ "@depict-ai/plp-styling": "^4.6.0",
240
+ "@depict-ai/types": "^5.6.0",
241
+ "@depict-ai/utilishared": "^2.6.0",
242
+ "solid-js": "^1.9.3"
243
243
  },
244
244
  "type": "module",
245
245
  "types": "ES10/index.d.ts",
@@ -115,7 +115,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $335c02c1241a9ca8$export$5b7
115
115
  $parcel$export(module.exports, "QuickLinks", () => $335c02c1241a9ca8$export$de035477d6fef996);
116
116
  $parcel$export(module.exports, "CategoryPage", () => $c10e33c4681f8c9b$export$e2bf8ce7779e827e);
117
117
  /*! Depict.ai search and product listing SDK */
118
- const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.9.9";
118
+ const $aa1938dec50d6c12$export$83d89fbfd8236492 = "4.10.0";
119
119
  function $3e17e871e9d0911d$export$d9f36cf74e24d595(media_query) {
120
120
  const signal = $3hooq$solidjs.createSignal(false);
121
121
  $3hooq$solidjs.onCleanup($3hooq$depictaiutilishared.javascript_media_query(media_query, _ref => {
@@ -6611,7 +6611,7 @@ function $f3db423dc84bc35d$export$140423fa4bfb6d63(props) {
6611
6611
  customUrls: $f3db423dc84bc35d$var$customUrls
6612
6612
  }));
6613
6613
  }
6614
- var $c19709057a32b2e7$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop class="d-standard-content"></video>'];
6614
+ var $c19709057a32b2e7$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop="" disablepictureinpicture="true" class="d-standard-content"></video>'];
6615
6615
  function $c19709057a32b2e7$export$780a853d15174484(_ref) {
6616
6616
  let {
6617
6617
  link_: link_,
@@ -11,7 +11,7 @@ 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.9.9";
14
+ export const version = "4.10.0";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -1541,7 +1541,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1541
1541
  * Open the modal with support for alignment.
1542
1542
  * @returns {void}
1543
1543
  */
1544
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1544
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1545
1545
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1546
1546
  export interface PageReplacer {
1547
1547
  readonly render_: () => Node_Array;
@@ -1622,5 +1622,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1622
1622
  filterModalParent_?: HTMLElement | ShadowRoot;
1623
1623
  showSliderArrow_?: boolean;
1624
1624
  hideCount0FilterOptions_?: boolean;
1625
- }): import("@depict-ai/utilishared").Node_Array;
1625
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1626
1626
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
@@ -10,7 +10,7 @@ import $b8hua$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpe
10
10
  /*! Depict.ai search and product listing SDK */
11
11
  import { register_es_version } from "../../multi_import_deduplicator.mjs";
12
12
  register_es_version("ui", "ES10");
13
- const $8db9a15135765c11$export$83d89fbfd8236492 = "4.9.9";
13
+ const $8db9a15135765c11$export$83d89fbfd8236492 = "4.10.0";
14
14
  function $00a5b94f0c11efbb$export$d9f36cf74e24d595(media_query) {
15
15
  const signal = $b8hua$createSignal(false);
16
16
  $b8hua$onCleanup($b8hua$javascript_media_query(media_query, _ref => {
@@ -6506,7 +6506,7 @@ function $98688279b9059f50$export$140423fa4bfb6d63(props) {
6506
6506
  customUrls: $98688279b9059f50$var$customUrls
6507
6507
  }));
6508
6508
  }
6509
- var $3b772ef9a35560fe$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop class="d-standard-content"></video>'];
6509
+ var $3b772ef9a35560fe$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop="" disablepictureinpicture="true" class="d-standard-content"></video>'];
6510
6510
  function $3b772ef9a35560fe$export$780a853d15174484(_ref) {
6511
6511
  let {
6512
6512
  link_: link_,
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
109
109
  $parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
110
110
  $parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
111
111
  /*! Depict.ai search and product listing SDK */
112
- const $b757f75811f3261f$export$83d89fbfd8236492 = "4.9.9";
112
+ const $b757f75811f3261f$export$83d89fbfd8236492 = "4.10.0";
113
113
  function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
114
114
  const signal = $5vyXB$solidjs.createSignal(false);
115
115
  $5vyXB$solidjs.onCleanup($5vyXB$depictaiutilishared.javascript_media_query(media_query, ({
@@ -6233,7 +6233,7 @@ function $d212a67662c5cf38$export$140423fa4bfb6d63(props) {
6233
6233
  customUrls: $d212a67662c5cf38$var$customUrls
6234
6234
  }));
6235
6235
  }
6236
- var $32c662f618f5d80d$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop class="d-standard-content"></video>'];
6236
+ var $32c662f618f5d80d$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop="" disablepictureinpicture="true" class="d-standard-content"></video>'];
6237
6237
  function $32c662f618f5d80d$export$780a853d15174484({
6238
6238
  link_: link_,
6239
6239
  type_: type_,
@@ -11,7 +11,7 @@ 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.9.9";
14
+ export const version = "4.10.0";
15
15
  /**
16
16
  * Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
17
17
  */
@@ -1541,7 +1541,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
1541
1541
  * Open the modal with support for alignment.
1542
1542
  * @returns {void}
1543
1543
  */
1544
- export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends unknown>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1544
+ export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
1545
1545
  export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
1546
1546
  export interface PageReplacer {
1547
1547
  readonly render_: () => Node_Array;
@@ -1622,5 +1622,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
1622
1622
  filterModalParent_?: HTMLElement | ShadowRoot;
1623
1623
  showSliderArrow_?: boolean;
1624
1624
  hideCount0FilterOptions_?: boolean;
1625
- }): import("@depict-ai/utilishared").Node_Array;
1625
+ }): import("@depict-ai/utilishared/latest").Node_Array;
1626
1626
  export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
@@ -7,7 +7,7 @@ import { createStore as $i7OB2$createStore, reconcile as $i7OB2$reconcile } from
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.9.9";
10
+ const $ec291e0010116877$export$83d89fbfd8236492 = "4.10.0";
11
11
  function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
12
12
  const signal = $i7OB2$createSignal(false);
13
13
  $i7OB2$onCleanup($i7OB2$javascript_media_query(media_query, ({
@@ -6131,7 +6131,7 @@ function $70bb27cc6be01fc7$export$140423fa4bfb6d63(props) {
6131
6131
  customUrls: $70bb27cc6be01fc7$var$customUrls
6132
6132
  }));
6133
6133
  }
6134
- var $f916989c4b1be9f7$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop class="d-standard-content"></video>'];
6134
+ var $f916989c4b1be9f7$var$_tmpl$ = ["<video", ' muted="" autoplay="" playsinline="" loop="" disablepictureinpicture="true" class="d-standard-content"></video>'];
6135
6135
  function $f916989c4b1be9f7$export$780a853d15174484({
6136
6136
  link_: link_,
6137
6137
  type_: type_,