@depict-ai/utilishared 1.0.24 → 1.0.26
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/dist/index.d.ts +15 -4
- package/dist/main.cjs +17 -20
- package/dist/module.js +15 -21
- package/package.json +2 -2
- package/dist/main.js +0 -8934
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference path="../jsx.d.ts" />
|
|
2
2
|
import { EUnavailabilityType } from "@depict-ai/types/api/TrackV2Request";
|
|
3
|
-
export const version = "1.0.
|
|
3
|
+
export const version = "1.0.26";
|
|
4
4
|
export const is_debug: boolean;
|
|
5
5
|
/**
|
|
6
6
|
* Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
|
|
@@ -1616,9 +1616,9 @@ export function zip_async_iterables<T extends any[]>(iterables: IPNS<T[keyof T]>
|
|
|
1616
1616
|
type Override = {
|
|
1617
1617
|
overrides: Record</* Row: */ number, /* Column: */ number>;
|
|
1618
1618
|
};
|
|
1619
|
-
type ColAtSize = /** [ <number of columns>, <min-width>, <max-width>, <spacing> ] */ readonly [number, null, string, string | null] | readonly [number, string, string, null, Override] | readonly [number, string, null, string | null] | readonly [number, string, string, string | null] | readonly [number, string, null] | readonly [number, string, string] | readonly [number, null, string] | readonly [number, string];
|
|
1620
|
-
type ColsAtSize = readonly ColAtSize[];
|
|
1621
|
-
type LayoutOptions = {
|
|
1619
|
+
export type ColAtSize = /** [ <number of columns>, <min-width>, <max-width>, <spacing> ] */ readonly [number, null, string, string | null] | readonly [number, string, string, null, Override] | readonly [number, string, null, string | null] | readonly [number, string, string, string | null] | readonly [number, string, null] | readonly [number, string, string] | readonly [number, null, string] | readonly [number, string];
|
|
1620
|
+
export type ColsAtSize = readonly ColAtSize[];
|
|
1621
|
+
export type LayoutOptions = {
|
|
1622
1622
|
container_element: Element;
|
|
1623
1623
|
cols_at_size: ColsAtSize;
|
|
1624
1624
|
grid_spacing: string;
|
|
@@ -1633,6 +1633,7 @@ type LayoutOptions = {
|
|
|
1633
1633
|
disable_partial_rows?: boolean;
|
|
1634
1634
|
override_vertical_spacing?: string;
|
|
1635
1635
|
};
|
|
1636
|
+
export const layout_media_query_header: (min: string, max?: string) => string;
|
|
1636
1637
|
/**
|
|
1637
1638
|
* Grid: Calculates CSS for a grid with a certain spacing and certain number of columns at certain screen sizes, including a view more button.
|
|
1638
1639
|
* @param rows if set to 'all': Just generate grid styling without any viewing/hiding functionality. If an object: start_rows is the number of rows at the beginning. rows_per_click is the amount of rows to view on each view more buttonn click. button is the view more button to display. ipns is an async iterable infinite promise that you can use to get and set the number of currently viewed rows
|
|
@@ -1643,6 +1644,16 @@ type LayoutOptions = {
|
|
|
1643
1644
|
* @param override_vertical_spacing by default, the grid_spacing is used both horizontally and vertically, with this you can specify a separate spacing
|
|
1644
1645
|
*/
|
|
1645
1646
|
export function Layout({ rows, container_element, cols_at_size, grid_spacing, layout, disable_partial_rows, override_vertical_spacing, }: LayoutOptions): Promise<void>;
|
|
1647
|
+
/** Getting how many recs should be displayed for a certain row (while taking override rules into account)
|
|
1648
|
+
* This returns number of recs for this row and all the previous ones
|
|
1649
|
+
* @param row The "index" of the row (counting from the top). Starts at 1.
|
|
1650
|
+
* @param options Your cols_at_size layout option
|
|
1651
|
+
*/
|
|
1652
|
+
export function layout_get_total_rec_amount_for_row(row: number, options: LayoutOptions["cols_at_size"][number]): number;
|
|
1653
|
+
/**
|
|
1654
|
+
* Same as `get_total_rec_amount_for_row` but caps the result to never exceed @param max_recs
|
|
1655
|
+
*/
|
|
1656
|
+
export function layout_get_visible_recs_without_partial_rows(rows: number, max_recs: number, options: LayoutOptions["cols_at_size"][number]): number;
|
|
1646
1657
|
/**
|
|
1647
1658
|
* basically equivalent of n_col_styling css mixin - generates distances for a flex grid with margins
|
|
1648
1659
|
* @param selector_beginning Main selector targeting container classname to use in generated css
|
package/dist/main.cjs
CHANGED
|
@@ -81,6 +81,9 @@ $parcel$export(module.exports, "regex_templating", () => $558ccd2de887e6d9$expor
|
|
|
81
81
|
$parcel$export(module.exports, "Rec_Renderer", () => $558ccd2de887e6d9$export$a9fc160c5ed83bd7);
|
|
82
82
|
$parcel$export(module.exports, "n_col_styling_with_dist", () => $1cc2444a0f1b992e$export$17c3166a7ebd4688);
|
|
83
83
|
$parcel$export(module.exports, "Layout", () => $1cc2444a0f1b992e$export$c84671f46d6a1ca);
|
|
84
|
+
$parcel$export(module.exports, "layout_get_visible_recs_without_partial_rows", () => $1cc2444a0f1b992e$export$483bdd1f1186de13);
|
|
85
|
+
$parcel$export(module.exports, "layout_get_total_rec_amount_for_row", () => $1cc2444a0f1b992e$export$3dc5e2383c924ebf);
|
|
86
|
+
$parcel$export(module.exports, "layout_media_query_header", () => $1cc2444a0f1b992e$export$717f13d9ba00ca19);
|
|
84
87
|
$parcel$export(module.exports, "RecommendationGrid", () => $a7315720bf2a1638$export$b0a773486c1c2312);
|
|
85
88
|
$parcel$export(module.exports, "RecommendationSlider", () => $79804e8d76404ae4$export$82cfdc85a4d15688);
|
|
86
89
|
$parcel$export(module.exports, "default_click_tracking", () => $04d2f7d9126af667$export$6830ae1fbe21e589);
|
|
@@ -268,7 +271,7 @@ $parcel$export(module.exports, "relative_luminance_from_rgb", () => $d73746ee466
|
|
|
268
271
|
$parcel$export(module.exports, "hsb_to_rgb", () => $d73746ee466f09ca$export$486b165479b9284f);
|
|
269
272
|
$parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fbfd8236492);
|
|
270
273
|
$parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$export$2cefb7e61fcbae00);
|
|
271
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.
|
|
274
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.26";
|
|
272
275
|
|
|
273
276
|
|
|
274
277
|
const $7b5e577a60b81e60$export$55fe61489d2c7417 = /*@__PURE__*/ (()=>process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
|
|
@@ -5684,7 +5687,7 @@ function $ef237c2bba47492f$export$f8913c8a18f7ca21(iterables) {
|
|
|
5684
5687
|
|
|
5685
5688
|
|
|
5686
5689
|
|
|
5687
|
-
const $1cc2444a0f1b992e$export$
|
|
5690
|
+
const $1cc2444a0f1b992e$export$717f13d9ba00ca19 = (min, max)=>`@media ${min ? `(min-width:${min})` : ``}${min && max ? ` and ` : ``}${max ? `(max-width:${max})` : ``}`;
|
|
5688
5691
|
async function $1cc2444a0f1b992e$export$c84671f46d6a1ca({ rows: rows , container_element: container_element , cols_at_size: cols_at_size , grid_spacing: grid_spacing , layout: layout , disable_partial_rows: disable_partial_rows , override_vertical_spacing: override_vertical_spacing }) {
|
|
5689
5692
|
const rows_or_empty_object = typeof rows == "object" ? rows : {}; // this is to satisfy typescript
|
|
5690
5693
|
const { start_rows: start_rows = 1 , button: button , max_rows: max_rows = -1 } = rows_or_empty_object;
|
|
@@ -5744,25 +5747,21 @@ async function $1cc2444a0f1b992e$export$c84671f46d6a1ca({ rows: rows , container
|
|
|
5744
5747
|
let should_hide_button;
|
|
5745
5748
|
let visible_recs;
|
|
5746
5749
|
if (disable_partial_rows) {
|
|
5747
|
-
visible_recs = $1cc2444a0f1b992e$
|
|
5748
|
-
const visible_recs_next_show_more = $1cc2444a0f1b992e$
|
|
5750
|
+
visible_recs = $1cc2444a0f1b992e$export$483bdd1f1186de13(currently_showing_rows, number_of_els, options);
|
|
5751
|
+
const visible_recs_next_show_more = $1cc2444a0f1b992e$export$483bdd1f1186de13(currently_showing_rows + (rows_or_empty_object.rows_per_click || 0), number_of_els, options);
|
|
5749
5752
|
should_hide_button = visible_recs === visible_recs_next_show_more;
|
|
5750
5753
|
} else {
|
|
5751
|
-
visible_recs = $1cc2444a0f1b992e$
|
|
5754
|
+
visible_recs = $1cc2444a0f1b992e$export$3dc5e2383c924ebf(currently_showing_rows, options);
|
|
5752
5755
|
should_hide_button = visible_recs >= number_of_els;
|
|
5753
5756
|
}
|
|
5754
5757
|
const should_hide_button_final = button_class && (should_hide_button || max_rows !== -1 && currently_showing_rows >= max_rows);
|
|
5755
|
-
return `${$1cc2444a0f1b992e$export$
|
|
5758
|
+
return `${$1cc2444a0f1b992e$export$717f13d9ba00ca19(min, max)}{${selector_beginning}:nth-child(n+${visible_recs + 1}){display:none}${layout == "slider" ? `${selector_beginning}:nth-child(n+${visible_recs}){margin-right:0}` : ""}${should_hide_button_final ? `.depict .${button_class}{display:none!important}` : ``}}`;
|
|
5756
5759
|
}).join("");
|
|
5757
5760
|
if (is_static) break;
|
|
5758
5761
|
}
|
|
5759
5762
|
});
|
|
5760
5763
|
}
|
|
5761
|
-
|
|
5762
|
-
* This returns number of recs for this row and all the previous ones
|
|
5763
|
-
* @param row The "index" of the row (counting from the top). Starts at 1.
|
|
5764
|
-
* @param options Your cols_at_size layout option
|
|
5765
|
-
*/ function $1cc2444a0f1b992e$var$get_total_rec_amount_for_row(row, options) {
|
|
5764
|
+
function $1cc2444a0f1b992e$export$3dc5e2383c924ebf(row, options) {
|
|
5766
5765
|
const [default_cols, , , , override_obj] = options;
|
|
5767
5766
|
const overrides = override_obj?.overrides || {};
|
|
5768
5767
|
let total = 0;
|
|
@@ -5772,11 +5771,9 @@ async function $1cc2444a0f1b992e$export$c84671f46d6a1ca({ rows: rows , container
|
|
|
5772
5771
|
}
|
|
5773
5772
|
return total;
|
|
5774
5773
|
}
|
|
5775
|
-
|
|
5776
|
-
* Same as `get_total_rec_amount_for_row` but caps the result to never exceed @param max_recs
|
|
5777
|
-
*/ function $1cc2444a0f1b992e$var$get_visible_recs_without_partial_rows(rows, max_recs, options) {
|
|
5774
|
+
function $1cc2444a0f1b992e$export$483bdd1f1186de13(rows, max_recs, options) {
|
|
5778
5775
|
let visible_recs;
|
|
5779
|
-
while((visible_recs = $1cc2444a0f1b992e$
|
|
5776
|
+
while((visible_recs = $1cc2444a0f1b992e$export$3dc5e2383c924ebf(rows--, options)) > max_recs);
|
|
5780
5777
|
return visible_recs;
|
|
5781
5778
|
}
|
|
5782
5779
|
function $1cc2444a0f1b992e$export$17c3166a7ebd4688(selector_beginning, default_grid_spacing_text, cols_at_size, layout, override_vertical_spacing) {
|
|
@@ -5794,7 +5791,7 @@ function $1cc2444a0f1b992e$export$17c3166a7ebd4688(selector_beginning, default_g
|
|
|
5794
5791
|
return left_removed_css + right_removed_css;
|
|
5795
5792
|
}
|
|
5796
5793
|
function get_vertical_spacing_css(selector, spacing, options) {
|
|
5797
|
-
const top_row_selector = `${selector}:nth-child(n+1):nth-child(-n+${$1cc2444a0f1b992e$
|
|
5794
|
+
const top_row_selector = `${selector}:nth-child(n+1):nth-child(-n+${$1cc2444a0f1b992e$export$3dc5e2383c924ebf(1, options)})`;
|
|
5798
5795
|
const between_spacing_css = `${selector}:not(${top_row_selector}){margin-top:${override_vertical_spacing ?? $1cc2444a0f1b992e$var$css_multiply(spacing, 2)}}`;
|
|
5799
5796
|
return between_spacing_css;
|
|
5800
5797
|
}
|
|
@@ -5822,8 +5819,8 @@ function $1cc2444a0f1b992e$export$17c3166a7ebd4688(selector_beginning, default_g
|
|
|
5822
5819
|
*/ const max_row = last_override_row ? parseInt(last_override_row) + 1 : 1;
|
|
5823
5820
|
for(let row = 1; row <= max_row; row++){
|
|
5824
5821
|
const real_n_cols = overrides[row] || n_cols;
|
|
5825
|
-
const amount_until_now = $1cc2444a0f1b992e$
|
|
5826
|
-
const amount_next_row = $1cc2444a0f1b992e$
|
|
5822
|
+
const amount_until_now = $1cc2444a0f1b992e$export$3dc5e2383c924ebf(row - 1, options);
|
|
5823
|
+
const amount_next_row = $1cc2444a0f1b992e$export$3dc5e2383c924ebf(row, options);
|
|
5827
5824
|
const start = amount_until_now + 1;
|
|
5828
5825
|
const end = amount_next_row;
|
|
5829
5826
|
const is_last_iteration = row === max_row;
|
|
@@ -5841,7 +5838,7 @@ function $1cc2444a0f1b992e$export$17c3166a7ebd4688(selector_beginning, default_g
|
|
|
5841
5838
|
const start_and_end_no_margin = `${selector_beginning}:first-child{margin-left:0}${selector_beginning}:last-child{margin-right:0}`;
|
|
5842
5839
|
media_query_body += start_and_end_no_margin;
|
|
5843
5840
|
} else throw new Error("invalid layout");
|
|
5844
|
-
const retval = `${$1cc2444a0f1b992e$export$
|
|
5841
|
+
const retval = `${$1cc2444a0f1b992e$export$717f13d9ba00ca19(min, max)}{${media_query_body}}`;
|
|
5845
5842
|
return retval;
|
|
5846
5843
|
}).join("");
|
|
5847
5844
|
}
|
|
@@ -6865,7 +6862,7 @@ function $bf76a92ec2055e1a$export$419f84efad7d9fe(surface_per_size, cleanup_prom
|
|
|
6865
6862
|
target_indexes.clear();
|
|
6866
6863
|
});
|
|
6867
6864
|
surface_per_size.forEach(([surface_index, min, max])=>{
|
|
6868
|
-
const media_query = (0, $1cc2444a0f1b992e$export$
|
|
6865
|
+
const media_query = (0, $1cc2444a0f1b992e$export$717f13d9ba00ca19)(min, max).split("@media ").pop();
|
|
6869
6866
|
const { remove: remove } = (0, $93c499898a1702c7$export$515c3ea4d599b05a)(media_query, ({ matches: matches })=>{
|
|
6870
6867
|
if (!matches) return;
|
|
6871
6868
|
target_indexes.add(surface_index);
|
package/dist/module.js
CHANGED
|
@@ -6,7 +6,7 @@ function $parcel$export(e, n, v, s) {
|
|
|
6
6
|
function $parcel$interopDefault(a) {
|
|
7
7
|
return a && a.__esModule ? a.default : a;
|
|
8
8
|
}
|
|
9
|
-
const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.
|
|
9
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.26";
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
const $571bce04eb920cd8$export$55fe61489d2c7417 = /*@__PURE__*/ (()=>process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
|
|
@@ -5422,7 +5422,7 @@ function $693e2a1517bef984$export$f8913c8a18f7ca21(iterables) {
|
|
|
5422
5422
|
|
|
5423
5423
|
|
|
5424
5424
|
|
|
5425
|
-
const $30e801eaa3dc319e$export$
|
|
5425
|
+
const $30e801eaa3dc319e$export$717f13d9ba00ca19 = (min, max)=>`@media ${min ? `(min-width:${min})` : ``}${min && max ? ` and ` : ``}${max ? `(max-width:${max})` : ``}`;
|
|
5426
5426
|
async function $30e801eaa3dc319e$export$c84671f46d6a1ca({ rows: rows , container_element: container_element , cols_at_size: cols_at_size , grid_spacing: grid_spacing , layout: layout , disable_partial_rows: disable_partial_rows , override_vertical_spacing: override_vertical_spacing }) {
|
|
5427
5427
|
const rows_or_empty_object = typeof rows == "object" ? rows : {}; // this is to satisfy typescript
|
|
5428
5428
|
const { start_rows: start_rows = 1 , button: button , max_rows: max_rows = -1 } = rows_or_empty_object;
|
|
@@ -5482,25 +5482,21 @@ async function $30e801eaa3dc319e$export$c84671f46d6a1ca({ rows: rows , container
|
|
|
5482
5482
|
let should_hide_button;
|
|
5483
5483
|
let visible_recs;
|
|
5484
5484
|
if (disable_partial_rows) {
|
|
5485
|
-
visible_recs = $30e801eaa3dc319e$
|
|
5486
|
-
const visible_recs_next_show_more = $30e801eaa3dc319e$
|
|
5485
|
+
visible_recs = $30e801eaa3dc319e$export$483bdd1f1186de13(currently_showing_rows, number_of_els, options);
|
|
5486
|
+
const visible_recs_next_show_more = $30e801eaa3dc319e$export$483bdd1f1186de13(currently_showing_rows + (rows_or_empty_object.rows_per_click || 0), number_of_els, options);
|
|
5487
5487
|
should_hide_button = visible_recs === visible_recs_next_show_more;
|
|
5488
5488
|
} else {
|
|
5489
|
-
visible_recs = $30e801eaa3dc319e$
|
|
5489
|
+
visible_recs = $30e801eaa3dc319e$export$3dc5e2383c924ebf(currently_showing_rows, options);
|
|
5490
5490
|
should_hide_button = visible_recs >= number_of_els;
|
|
5491
5491
|
}
|
|
5492
5492
|
const should_hide_button_final = button_class && (should_hide_button || max_rows !== -1 && currently_showing_rows >= max_rows);
|
|
5493
|
-
return `${$30e801eaa3dc319e$export$
|
|
5493
|
+
return `${$30e801eaa3dc319e$export$717f13d9ba00ca19(min, max)}{${selector_beginning}:nth-child(n+${visible_recs + 1}){display:none}${layout == "slider" ? `${selector_beginning}:nth-child(n+${visible_recs}){margin-right:0}` : ""}${should_hide_button_final ? `.depict .${button_class}{display:none!important}` : ``}}`;
|
|
5494
5494
|
}).join("");
|
|
5495
5495
|
if (is_static) break;
|
|
5496
5496
|
}
|
|
5497
5497
|
});
|
|
5498
5498
|
}
|
|
5499
|
-
|
|
5500
|
-
* This returns number of recs for this row and all the previous ones
|
|
5501
|
-
* @param row The "index" of the row (counting from the top). Starts at 1.
|
|
5502
|
-
* @param options Your cols_at_size layout option
|
|
5503
|
-
*/ function $30e801eaa3dc319e$var$get_total_rec_amount_for_row(row, options) {
|
|
5499
|
+
function $30e801eaa3dc319e$export$3dc5e2383c924ebf(row, options) {
|
|
5504
5500
|
const [default_cols, , , , override_obj] = options;
|
|
5505
5501
|
const overrides = override_obj?.overrides || {};
|
|
5506
5502
|
let total = 0;
|
|
@@ -5510,11 +5506,9 @@ async function $30e801eaa3dc319e$export$c84671f46d6a1ca({ rows: rows , container
|
|
|
5510
5506
|
}
|
|
5511
5507
|
return total;
|
|
5512
5508
|
}
|
|
5513
|
-
|
|
5514
|
-
* Same as `get_total_rec_amount_for_row` but caps the result to never exceed @param max_recs
|
|
5515
|
-
*/ function $30e801eaa3dc319e$var$get_visible_recs_without_partial_rows(rows, max_recs, options) {
|
|
5509
|
+
function $30e801eaa3dc319e$export$483bdd1f1186de13(rows, max_recs, options) {
|
|
5516
5510
|
let visible_recs;
|
|
5517
|
-
while((visible_recs = $30e801eaa3dc319e$
|
|
5511
|
+
while((visible_recs = $30e801eaa3dc319e$export$3dc5e2383c924ebf(rows--, options)) > max_recs);
|
|
5518
5512
|
return visible_recs;
|
|
5519
5513
|
}
|
|
5520
5514
|
function $30e801eaa3dc319e$export$17c3166a7ebd4688(selector_beginning, default_grid_spacing_text, cols_at_size, layout, override_vertical_spacing) {
|
|
@@ -5532,7 +5526,7 @@ function $30e801eaa3dc319e$export$17c3166a7ebd4688(selector_beginning, default_g
|
|
|
5532
5526
|
return left_removed_css + right_removed_css;
|
|
5533
5527
|
}
|
|
5534
5528
|
function get_vertical_spacing_css(selector, spacing, options) {
|
|
5535
|
-
const top_row_selector = `${selector}:nth-child(n+1):nth-child(-n+${$30e801eaa3dc319e$
|
|
5529
|
+
const top_row_selector = `${selector}:nth-child(n+1):nth-child(-n+${$30e801eaa3dc319e$export$3dc5e2383c924ebf(1, options)})`;
|
|
5536
5530
|
const between_spacing_css = `${selector}:not(${top_row_selector}){margin-top:${override_vertical_spacing ?? $30e801eaa3dc319e$var$css_multiply(spacing, 2)}}`;
|
|
5537
5531
|
return between_spacing_css;
|
|
5538
5532
|
}
|
|
@@ -5560,8 +5554,8 @@ function $30e801eaa3dc319e$export$17c3166a7ebd4688(selector_beginning, default_g
|
|
|
5560
5554
|
*/ const max_row = last_override_row ? parseInt(last_override_row) + 1 : 1;
|
|
5561
5555
|
for(let row = 1; row <= max_row; row++){
|
|
5562
5556
|
const real_n_cols = overrides[row] || n_cols;
|
|
5563
|
-
const amount_until_now = $30e801eaa3dc319e$
|
|
5564
|
-
const amount_next_row = $30e801eaa3dc319e$
|
|
5557
|
+
const amount_until_now = $30e801eaa3dc319e$export$3dc5e2383c924ebf(row - 1, options);
|
|
5558
|
+
const amount_next_row = $30e801eaa3dc319e$export$3dc5e2383c924ebf(row, options);
|
|
5565
5559
|
const start = amount_until_now + 1;
|
|
5566
5560
|
const end = amount_next_row;
|
|
5567
5561
|
const is_last_iteration = row === max_row;
|
|
@@ -5579,7 +5573,7 @@ function $30e801eaa3dc319e$export$17c3166a7ebd4688(selector_beginning, default_g
|
|
|
5579
5573
|
const start_and_end_no_margin = `${selector_beginning}:first-child{margin-left:0}${selector_beginning}:last-child{margin-right:0}`;
|
|
5580
5574
|
media_query_body += start_and_end_no_margin;
|
|
5581
5575
|
} else throw new Error("invalid layout");
|
|
5582
|
-
const retval = `${$30e801eaa3dc319e$export$
|
|
5576
|
+
const retval = `${$30e801eaa3dc319e$export$717f13d9ba00ca19(min, max)}{${media_query_body}}`;
|
|
5583
5577
|
return retval;
|
|
5584
5578
|
}).join("");
|
|
5585
5579
|
}
|
|
@@ -6603,7 +6597,7 @@ function $159237486410355f$export$419f84efad7d9fe(surface_per_size, cleanup_prom
|
|
|
6603
6597
|
target_indexes.clear();
|
|
6604
6598
|
});
|
|
6605
6599
|
surface_per_size.forEach(([surface_index, min, max])=>{
|
|
6606
|
-
const media_query = (0, $30e801eaa3dc319e$export$
|
|
6600
|
+
const media_query = (0, $30e801eaa3dc319e$export$717f13d9ba00ca19)(min, max).split("@media ").pop();
|
|
6607
6601
|
const { remove: remove } = (0, $29407d8301dc2f23$export$515c3ea4d599b05a)(media_query, ({ matches: matches })=>{
|
|
6608
6602
|
if (!matches) return;
|
|
6609
6603
|
target_indexes.add(surface_index);
|
|
@@ -8669,4 +8663,4 @@ function $b828952b0fe1df8f$export$98c2b3491e76c1f(R8bit, G8bit, B8bit) {
|
|
|
8669
8663
|
(0, $f564adbc4675ceaf$export$2cefb7e61fcbae00)("utilishared", (0, $0766c85d387a9765$export$83d89fbfd8236492));
|
|
8670
8664
|
|
|
8671
8665
|
|
|
8672
|
-
export {$5ea3131c5e08d52e$export$a7e53ec3b3fdd030 as base64_decode_unicode, $5ea3131c5e08d52e$export$a1893782a2a6be0d as base64_encode_unicode, $f809bc98a1cb5f92$export$6f051469dd676a8b as make_plp_recommendations_inserted_handler, $f564adbc4675ceaf$export$60d1d0e3cfc8b9ed as version_info, $f564adbc4675ceaf$export$fe609f0216e4ebef as add_version_query_params, $a1c80794e6bf4cc2$export$6e7454c733fa1fb2 as cache_args, $66b898e9bfcef532$export$8582cf3716962dc2 as check_displays, $7547e32486a3abc0$export$8048b892d651b310 as err, $b55a70757989faf4$export$16d7c76794a38a4 as require_event_listener, $ea554f5a28904975$export$41de2959a8dd405d as Auto_GWVM, $f1396aa84761fbe5$export$c83d8da642b5104a as GWVM_Renderer, $92b7ea2cf75c4aec$export$55621c1ce3cd536b as infinite_promise_creator, $09ff985c7c424fb3$export$32ccf3a614c84258 as infinite_promise_no_skip, $075589a94064cf2e$export$c0a4d29bc45a38c6 as infinite_renderer, $efda45906c6cbac7$export$9eae832ae57fbf as deprecated_insert_styling, $a40013fcba50c9ee$export$47340c0b196bc0f8 as get_market_locale, $a40013fcba50c9ee$export$c5b68ecd5c37aa6c as get_market_currency, $a40013fcba50c9ee$export$6eea148df5c7117c as MARKET_MAP, $e867e2f1fb3bcc09$export$c7187bbd1a7a9244 as placeholder, $7e2d59b061c2c528$export$cab8bc58c64c2013 as Pro_Slider, $51bbc74e39f5e5c6$export$2e2bcd8739ae039 as simplified_template_tool, $762a881271a51d1b$export$f1b8b9fd75ddcab1 as insert_styling_into_slider, $e61f371a9bcdeb2f$export$cd12721587f4f16d as RR_Slider, $366fff12da348e66$export$1a8782481a9af507 as Depict, $f494377581cfb2b4$export$30933c637c977eef as get_recs_with_template, $f494377581cfb2b4$export$c410ce1205e5118a as default_post_processor, $f494377581cfb2b4$export$4f39078bdc72ecd0 as default_pre_processor, $acf11540344875ed$export$2e2bcd8739ae039 as wpff, $cdca9fea6eb103e5$export$12e07a2a9f87578a as ElementObserver, $0b48ba2f40ce6067$export$b6ae1bc530f4c149 as observer, $63cbb5de51d11596$export$34b9dba7ce09269b as jsx, $63cbb5de51d11596$export$25062201e9e25d76 as jsxs, $b9b0dba897847b2a$export$eb0b9ed911409b57 as use_element, $b9b0dba897847b2a$export$f63fcc839cb0f734 as use_listener, $b9b0dba897847b2a$export$22a65337c1b43b1f as classlist, $649f456f663da9fc$export$de56f1198d121036 as dlog, $649f456f663da9fc$export$997143d41f6a0c9b as derror, $649f456f663da9fc$export$c2363754d4758444 as dwarn, $649f456f663da9fc$export$2dd75a6b038dc8cb as set_browser_prefix, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9 as catchify, $b04e44fad5ea42c7$export$f18d5b0af29128b7 as report, $571bce04eb920cd8$export$55fe61489d2c7417 as is_debug, $ca66c9553e84df02$export$6038895ac52bd044 as chevronLeft, $ca66c9553e84df02$export$dc84183312f0c201 as chevronRight, $9a744f57ab06c32e$export$68c017fd93791405 as expandingContainer, $b83068cbd26dcc41$export$3be7054c61590ee3 as Lazyfier, $b83068cbd26dcc41$export$b87d7e0da8b5cbe3 as test_array_proxy_support, $ef9394fafebd5eab$export$692b27c28639e5b9 as Amazing_Slider, $893f9af5dbae6bc8$export$16501883f477737a as colorize_elements, $893f9af5dbae6bc8$export$deca40f48c0569f8 as should_colorizeLogics, $6be99244fa573db5$export$50ce83ace0cdd87e as default_rr, $2d47b009af5bc0a4$export$1bc0df10745d5412 as fetch_recs, $2d47b009af5bc0a4$export$d40679eb4cf32f09 as fetch_recs_whole_response, $5cbe24d064a033ed$export$c42139a43c877ecd as clone_deep, $5cbe24d064a033ed$export$e0009e7da572f99b as regex_templating, $5cbe24d064a033ed$export$a9fc160c5ed83bd7 as Rec_Renderer, $30e801eaa3dc319e$export$17c3166a7ebd4688 as n_col_styling_with_dist, $30e801eaa3dc319e$export$c84671f46d6a1ca as Layout, $090b8182afa1b2a6$export$b0a773486c1c2312 as RecommendationGrid, $30f78542ed78cd31$export$82cfdc85a4d15688 as RecommendationSlider, $c1503704e45e6a15$export$6830ae1fbe21e589 as default_click_tracking, $c1503704e45e6a15$export$f37c58ab3d3e3b75 as default_view_tracking, $c1503704e45e6a15$export$dd32cb565eae0a1f as ga_click, $c1503704e45e6a15$export$8d72437623fef90c as gtag_click_post_processor, $c1503704e45e6a15$export$1bffac19f9f0d6fc as gtag_view_post_processor, $c1503704e45e6a15$export$e9106d6e723510d2 as depict_click_tracking_post_processor, $c1503704e45e6a15$export$fb9afe9f540ae069 as recs_inserted_tracking, $c1503704e45e6a15$export$32eb5dd18e963410 as add_to_localstorage, $c1503704e45e6a15$export$9e1caada6901f552 as depict_page_view, $be40b7bf11a47cc4$export$8cbd8aa1c70f9a13 as slider_autoscroll_factory, $d31b48b85102c1ec$export$80039a49055269fb as make_button1, $a75adf1478c4522f$export$af88b4929c2dc86 as make_button2, $2436f68ea927d4a8$export$1d17a045bcc711b1 as slider_dots_factory, $2436f68ea927d4a8$export$a09282b33e69b43f as navdot, $9bb2400c4e2e9335$export$411b0f20794697ce as slider_draggable_factory, $1ce2ae6f640f393f$export$5129719c04a52f8c as slider_fading_factory, $52292921bc0fc31f$export$5723caf9a8335aa6 as slider_fractional_factory, $f78bc6a06402a6cf$export$93223e488e7ee078 as slider_show_scroll, $06fe260f91efff62$export$b36d2489a5a16728 as slider_snap_css, $06fe260f91efff62$export$49b950309ab787ad as can_use_snapping_and_still_scroll, $40bfd400d76a6ec1$export$dac64fd35a4805a4 as slider_snapping_factory, $c33c6faf8acc7442$export$68babfc5be0de5da as Amazing_Lazy_Slider, $556d9c321900f1d4$export$53306504b987cbf7 as slider_wraparound_factory, $159237486410355f$export$419f84efad7d9fe as sizes_to_surface, $159237486410355f$export$417ef0ab13d8b984 as surface_mixer, $159237486410355f$export$be95cb0e8cfd099e as promise_until_next_navigation, $d4ffde0b9fca0369$export$29a6094e0bd8bc5f as AIO, $d4ffde0b9fca0369$export$6ebd242c09192cec as paint_red, $91b2e49f92ed636c$export$2c34560c3749dc63 as bind_to_a2c_button, $91b2e49f92ed636c$export$82a685f2da2fb027 as bind_tracking_to_link, $43683b1103edab15$export$336e7ad40bae0652 as set_depict_id_fn, $43683b1103edab15$export$8a96793bf9f87d90 as set_user_id_fn, $43683b1103edab15$export$6399bdb2291895e0 as get_depict_id, $43683b1103edab15$export$adc61a405a4cabed as get_user_id, $43683b1103edab15$export$15f8a0cd5a8c0ebb as depict_click, $43683b1103edab15$export$82badda1f9923310 as depict_prefilled, $43683b1103edab15$export$9028351cb994757e as depict_add_to_cart, $43683b1103edab15$export$93ae15b1ae509334 as set_session_id_fn, $43683b1103edab15$export$61e7e1f11e96692f as get_session_id, $43683b1103edab15$export$622991c71a1f52b3 as get_cookie, $43683b1103edab15$export$8c6f26a5b6921b95 as get_tracking_event_context_data, $cafa1ff1049985c2$export$72036d950e1fae95 as filter_depict_payload, $cafa1ff1049985c2$export$28cacbd9b4306ffc as send_depict, $cafa1ff1049985c2$export$cc3b6ddf805f6156 as foolproof_send_beacon, $cafa1ff1049985c2$export$608478473a3304a0 as send_depict_unfiltered, $cafa1ff1049985c2$export$aa26019042811d4f as send_websocket, $42bbbba8196bd057$export$674d8cd8b6868154 as create_ga_queue, $42bbbba8196bd057$export$edfedd0557ca5a2d as make_tracker_send_to_depict, $3abef00489070e23$export$1ff14fec60ed5697 as ga_to_transaction_api, $c749fe63b72056ef$export$f75172d2e289cd02 as send_ga, $c749fe63b72056ef$export$ac7296527cb52311 as setup_ga, $c749fe63b72056ef$export$d031e55ccd4c52dc as setup_gtag, $c749fe63b72056ef$export$f522672c9379e339 as gtag_click, $c749fe63b72056ef$export$bf205937e5e012cb as ga_purchase_click, $c749fe63b72056ef$export$127751e82111fcf as ga_rec_click, $c749fe63b72056ef$export$7babcd5d4056b2ca as gtag_view, $c749fe63b72056ef$export$f3354ec2ce95ebd9 as load_gtag, $ccf918da074d7243$export$4205dc6835bc0d9f as send_impression_event, $21285393646b9849$export$37125ccc5dd98050 as impression_track_element, $405969d60b37fdac$export$d0efd8ed14f5c33 as impression_tracking_post_processor, $ccf918da074d7243$export$c543ee4cdb0d0964 as set_impression_threshold, $ccf918da074d7243$export$135da44d0ba958bc as impression_threshold, $ccf918da074d7243$export$ca8321ea61dc2544 as has_to_be_intersecting_for, $61b3c9e5f2cf8171$export$58c56fe2313fdbe3 as add_new_tab_listener, $61b3c9e5f2cf8171$export$836f70a28c317905 as broadcast_product_id, $61b3c9e5f2cf8171$export$8f66c4c7fb96eda2 as contextmenu_callback, $5dbacdc6a3feeb15$export$7e4427e80d5fc619 as optanon_get_cookie_ipns, $5dbacdc6a3feeb15$export$f0f6c846d96fdbec as init_optanon_tracking, $5dbacdc6a3feeb15$export$1dd9ce50e201eff1 as optanon_get_consent, $5dbacdc6a3feeb15$export$7a6d436e0782c6ed as optanon_wait_for_consent, $847e4a06ea6767c0$export$1ac466d53a6636ac as send_transaction_id_to_depict, $847e4a06ea6767c0$export$b11248fa13a8a86c as datalayer_transaction_id_extractor, $847e4a06ea6767c0$export$3ebd86018b39d9d2 as orderpage_transaction_id_extractor, $847e4a06ea6767c0$export$ff8673d5dea82bd4 as url_transaction_id_extractor, $54793663e06a1437$export$d63b08f4f29ddba5 as send_product_unavailable_to_depict, $aa0140679dc70b7a$export$eee4c4d924348b05 as send_page_view_if_needed, $aa0140679dc70b7a$export$f7cb1bd47199ec38 as send_page_view_on_navigation, $4ce764ddfee055ef$export$1d9c6fddbff3441f as DepictAPIWS, $2030306bed68a8c7$export$74108888f38788f3 as ListenableSet, $511123bb28a7b6f7$export$535946eb77c946dd as deparallelize, $511123bb28a7b6f7$export$f241be8e610f5c77 as deparallelize_no_drop, $9ab9ecb74920f343$export$f8ea2e7b15b5d129 as buildThresholdList, $1ce9aeebfbcb93f9$export$d9fdc6ce2907f95b as chaotic_closest, $0bdb8dbcf1bc7f34$export$cfef5d5c9ac09253 as standard_price_format, $0bdb8dbcf1bc7f34$export$9590700a594aef08 as ensure_object_path, $0bdb8dbcf1bc7f34$export$925772df9b4d16e5 as ensure_parameter_in_url, $0bdb8dbcf1bc7f34$export$44951404cb8d0583 as html2elems, $0bdb8dbcf1bc7f34$export$d3e2a0560cbf4787 as html2elem, $0bdb8dbcf1bc7f34$export$5e63aea0cac01fa0 as querySelectorAllElements, $0bdb8dbcf1bc7f34$export$785f04709990c4ec as querySelectorUpwards, $0bdb8dbcf1bc7f34$export$f124e3ee16e6b45d as intl_number_format_with_fallback, $0bdb8dbcf1bc7f34$export$d4bd03f19260ef1c as relativify, $d832040ef2097a0e$export$6b75200e58bc97d0 as deduplicate, $d832040ef2097a0e$export$9426572bd5645bc1 as dedup_products, $ead1f6ae93c69da9$export$82539d9817116aff as navigate_with_next_router, $802201ed0a316c43$export$774bc87373c4fc6c as add_item, $802201ed0a316c43$export$337197b94b3bd680 as get_items_in_cart, $802201ed0a316c43$export$783ef16647773b3d as get_shopify_analytics_meta_product, $802201ed0a316c43$export$ab0f802c05dd969b as intercept, $b6f5b218b1a73900$export$85be83e1935d93c2 as fetch_replacer, $b6f5b218b1a73900$export$f8da66bc4f1d059e as FakeResponse, $2d1ffbfaa1c2d9e3$export$bcd70d5ed1cf6313 as fetch_retry, $1813f33dd0fc7e1d$export$b404e20f3c4a490e as get_optimize_variant, $0d2acf276472ebf7$export$20e9533e68ee72e7 as stateless_href_change_ipns, $0d2acf276472ebf7$export$a9d39e43ae273d26 as href_change_ipns, $0d2acf276472ebf7$export$baccefee4a395d8f as history_replacer, $0d2acf276472ebf7$export$1cd22bab0d2c3b0b as on_next_navigation, $0d2acf276472ebf7$export$7500cdfd37aafd43 as instant_exec_on_suspect_history_change, $607fc90221d440a6$export$e806c6c1615a59ae as async_iterable_ipns, $607fc90221d440a6$export$10c3e52ef388b81b as make_ipns_stateful, $607fc90221d440a6$export$90740b5bc9c2b3b7 as make_ipns_stateless, $ec58be30798d6e95$export$3e42f5078e3abfc0 as make_simple_async_iterable, $ec58be30798d6e95$export$e2c811ae0eb35313 as RawObservableInformation, $4f24151f2cddad7b$export$2c2f50b30b7b2576 as iterable_to_attribute, $8c97019b5f7b0d0e$export$7c081fdbc65b6a2a as iterable_to_elems, $b8270fcf290bb3af$export$927664b47117acb0 as make_asyncIterable_exiter, $693e2a1517bef984$export$f8913c8a18f7ca21 as zip_async_iterables, $8bed543774ca0dd4$export$f811d2ce0aa6019b as insert_surfaces, $8bed543774ca0dd4$export$b8d1e1d07a3f3776 as prevent_infinite_loop, $8bed543774ca0dd4$export$e3f70ef7e3d00501 as revertable_remove, $0a581f1dfa083522$export$59ba1eb2c083f0cd as insert_styling, $0a581f1dfa083522$export$692b606677218a16 as depict_init, $0a581f1dfa083522$export$328e81c44cddf3c0 as depict_init_with_market_logic, $0a581f1dfa083522$export$a4f97b27a0592e6c as normal_get_product_id, $0a581f1dfa083522$export$a96c18473f2af463 as track_a2c, $29407d8301dc2f23$export$515c3ea4d599b05a as javascript_media_query, $39ef887981612535$export$33f937d741e49339 as patched_querySelectorAll, $78270f2ea7ca229f$export$a4eccf92efefa04d as placeholder_svg, $78270f2ea7ca229f$export$2dd69958012e3e49 as make_placeholder_rr, $78270f2ea7ca229f$export$3b75288f46cadd96 as random_text_placeholder, $bb3252f70898acd6$export$947a20746936143d as Promise_Any, $9e268c1aeeb86b34$export$c50e1901e8ed0615 as queueMacroTask, $d89638655e64f324$export$bb0a9c36cf454ea0 as rand, $460df8550f9d084d$export$656831b7e9c341c3 as random_string, $460df8550f9d084d$export$a6db784f019668ba as make_random_classname, $49c4fa2e27e642fa$export$3d04c40e7acc1a32 as reactive_template, $a79c7168700020ff$export$8ec5c86406f333ff as removeChild_error_swallowing_factory, $1dd4146ad893cfb2$export$38e89c688f9d553a as replace_promise_with_native_if_exists_and_enforce, $1dd4146ad893cfb2$export$e647444ed9403635 as get_iframe_promise, $bbb9f33eb5feb86a$export$2a1cc61cffa1f36f as rp_relativify_fetch, $bbb9f33eb5feb86a$export$f14a775632a826c4 as rp_relativify_history, $bbb9f33eb5feb86a$export$2a38b176ce969e2c as rp_relativify_xhr, $bbb9f33eb5feb86a$export$83ec13b10b391f13 as default_rp_fixes, $5c4afc453f904a1f$export$39d526a1194b6499 as serialize_object, $8d4dfadc5e12c7fb$export$12b4c6cbc6b8b4e4 as sort_obj, $eda086e0899e75b0$export$a422d714c8cb1a5d as standard_get_market, $e72f2f1d48dc3a53$export$3427ec8268623f1 as listenToLocalStorage, $26eaaddf434c84f1$export$8d42ce4827f43582 as Tenant, $55698e6e298abcb0$export$cd1adfb8059b5fcd as timeout_promise, $d0e7629fb3179e02$export$79f910a98828378d as variable_setter_to_ipns, $d0e7629fb3179e02$export$d5062f468a0454f3 as find_descriptor, $d0e7629fb3179e02$export$2fc1a072736ae2f6 as is_available_in, $690d8897acf7a743$export$a739d9a07da7f9ce as use_voyado_id, $2cbe7e0ca2ce5438$export$5c069c93d2b7493f as wait, $4a6ab5f7377729b1$export$f314addd5f976083 as xhr_load, $4a6ab5f7377729b1$export$8e16c51fd2b6507 as xhr_read_interceptor, $4a6ab5f7377729b1$export$c74578d2cd47a84a as xhr_send_interceptor, $4a6ab5f7377729b1$export$33d1643df63073a8 as xhr_replace, $769ce417b39aa7d3$export$4a3043e508dd72f0 as DefaultViewMoreButton, $cf7ca80454d7b4c0$export$8a0e4d6f6abf7e90 as GeneralSideSlidein, $72d170fd5c7cb3fe$export$c068ad5361be7646 as GeneralSizeSelector, $ad592d9ddbcffe72$export$84712d0562a614b8 as Placeholder, $ad592d9ddbcffe72$export$d613f5b6d0a331a8 as ContainedPlaceholderImage, $fbe64cf2cf408e4f$export$97f31f44c68c1d5 as RecommendationContainer, $7693290d077384da$export$ddd70fdae1b350e6 as LeftChevron, $7693290d077384da$export$32a55d57d151bc5a as RightChevron, $6f1582c15e13f2f0$export$590326cc34f49e2d as createColorPicker, $7f57d546b5d5b3d6$export$237455ad7e59d4e5 as useExpandingContainer, $8483d1d9fcee52ec$export$2369f6fc1c911576 as ContainedHoverImage, $914971fb43986a16$export$788756b42446dc2d as ContainedImage, $45af9e834781a9bc$export$f39a7d0667e924a as make_sizes_setter, $45af9e834781a9bc$export$a62825542f1bfcf5 as make_sourceset_component, $45af9e834781a9bc$export$a98fc8a2c818d3d8 as is_safari, $45af9e834781a9bc$export$f7c915448031deac as make_url_with_query_params, $45af9e834781a9bc$export$3d13beba9b52c947 as resize_base_url, $6c2b49f3f564b0d1$export$362abebb4b313340 as base_url, $eba382943196079c$export$af2e17a20c2ea3c5 as Sentry, $4d49697a7a9a77a6$export$9dc8f3a0aa3efc85 as camelCasifyObject, $4d49697a7a9a77a6$export$b481488de1caa85 as snakeCasifyObject, $b828952b0fe1df8f$export$499ef00a6a3417f8 as rgb_to_hsl, $b828952b0fe1df8f$export$e4fd3b61e79357a7 as hsl_to_rgb, $b828952b0fe1df8f$export$98c2b3491e76c1f as relative_luminance_from_rgb, $b828952b0fe1df8f$export$486b165479b9284f as hsb_to_rgb, $0766c85d387a9765$export$83d89fbfd8236492 as version, $f564adbc4675ceaf$export$2cefb7e61fcbae00 as add_to_version_info, $155540b3b8aca771$export$fce59460a1699957 as cookiebot_get_consent, $155540b3b8aca771$export$56c2e8be65fb14ae as cookiebot_wait_for_consent, $155540b3b8aca771$export$8827362e5e938d26 as cookiebot_get_cookie_ipns, $155540b3b8aca771$export$abec7fd9f0b9cc22 as init_cookiebot_tracking};
|
|
8666
|
+
export {$5ea3131c5e08d52e$export$a7e53ec3b3fdd030 as base64_decode_unicode, $5ea3131c5e08d52e$export$a1893782a2a6be0d as base64_encode_unicode, $f809bc98a1cb5f92$export$6f051469dd676a8b as make_plp_recommendations_inserted_handler, $f564adbc4675ceaf$export$60d1d0e3cfc8b9ed as version_info, $f564adbc4675ceaf$export$fe609f0216e4ebef as add_version_query_params, $a1c80794e6bf4cc2$export$6e7454c733fa1fb2 as cache_args, $66b898e9bfcef532$export$8582cf3716962dc2 as check_displays, $7547e32486a3abc0$export$8048b892d651b310 as err, $b55a70757989faf4$export$16d7c76794a38a4 as require_event_listener, $ea554f5a28904975$export$41de2959a8dd405d as Auto_GWVM, $f1396aa84761fbe5$export$c83d8da642b5104a as GWVM_Renderer, $92b7ea2cf75c4aec$export$55621c1ce3cd536b as infinite_promise_creator, $09ff985c7c424fb3$export$32ccf3a614c84258 as infinite_promise_no_skip, $075589a94064cf2e$export$c0a4d29bc45a38c6 as infinite_renderer, $efda45906c6cbac7$export$9eae832ae57fbf as deprecated_insert_styling, $a40013fcba50c9ee$export$47340c0b196bc0f8 as get_market_locale, $a40013fcba50c9ee$export$c5b68ecd5c37aa6c as get_market_currency, $a40013fcba50c9ee$export$6eea148df5c7117c as MARKET_MAP, $e867e2f1fb3bcc09$export$c7187bbd1a7a9244 as placeholder, $7e2d59b061c2c528$export$cab8bc58c64c2013 as Pro_Slider, $51bbc74e39f5e5c6$export$2e2bcd8739ae039 as simplified_template_tool, $762a881271a51d1b$export$f1b8b9fd75ddcab1 as insert_styling_into_slider, $e61f371a9bcdeb2f$export$cd12721587f4f16d as RR_Slider, $366fff12da348e66$export$1a8782481a9af507 as Depict, $f494377581cfb2b4$export$30933c637c977eef as get_recs_with_template, $f494377581cfb2b4$export$c410ce1205e5118a as default_post_processor, $f494377581cfb2b4$export$4f39078bdc72ecd0 as default_pre_processor, $acf11540344875ed$export$2e2bcd8739ae039 as wpff, $cdca9fea6eb103e5$export$12e07a2a9f87578a as ElementObserver, $0b48ba2f40ce6067$export$b6ae1bc530f4c149 as observer, $63cbb5de51d11596$export$34b9dba7ce09269b as jsx, $63cbb5de51d11596$export$25062201e9e25d76 as jsxs, $b9b0dba897847b2a$export$eb0b9ed911409b57 as use_element, $b9b0dba897847b2a$export$f63fcc839cb0f734 as use_listener, $b9b0dba897847b2a$export$22a65337c1b43b1f as classlist, $649f456f663da9fc$export$de56f1198d121036 as dlog, $649f456f663da9fc$export$997143d41f6a0c9b as derror, $649f456f663da9fc$export$c2363754d4758444 as dwarn, $649f456f663da9fc$export$2dd75a6b038dc8cb as set_browser_prefix, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9 as catchify, $b04e44fad5ea42c7$export$f18d5b0af29128b7 as report, $571bce04eb920cd8$export$55fe61489d2c7417 as is_debug, $ca66c9553e84df02$export$6038895ac52bd044 as chevronLeft, $ca66c9553e84df02$export$dc84183312f0c201 as chevronRight, $9a744f57ab06c32e$export$68c017fd93791405 as expandingContainer, $b83068cbd26dcc41$export$3be7054c61590ee3 as Lazyfier, $b83068cbd26dcc41$export$b87d7e0da8b5cbe3 as test_array_proxy_support, $ef9394fafebd5eab$export$692b27c28639e5b9 as Amazing_Slider, $893f9af5dbae6bc8$export$16501883f477737a as colorize_elements, $893f9af5dbae6bc8$export$deca40f48c0569f8 as should_colorizeLogics, $6be99244fa573db5$export$50ce83ace0cdd87e as default_rr, $2d47b009af5bc0a4$export$1bc0df10745d5412 as fetch_recs, $2d47b009af5bc0a4$export$d40679eb4cf32f09 as fetch_recs_whole_response, $5cbe24d064a033ed$export$c42139a43c877ecd as clone_deep, $5cbe24d064a033ed$export$e0009e7da572f99b as regex_templating, $5cbe24d064a033ed$export$a9fc160c5ed83bd7 as Rec_Renderer, $30e801eaa3dc319e$export$17c3166a7ebd4688 as n_col_styling_with_dist, $30e801eaa3dc319e$export$c84671f46d6a1ca as Layout, $30e801eaa3dc319e$export$483bdd1f1186de13 as layout_get_visible_recs_without_partial_rows, $30e801eaa3dc319e$export$3dc5e2383c924ebf as layout_get_total_rec_amount_for_row, $30e801eaa3dc319e$export$717f13d9ba00ca19 as layout_media_query_header, $090b8182afa1b2a6$export$b0a773486c1c2312 as RecommendationGrid, $30f78542ed78cd31$export$82cfdc85a4d15688 as RecommendationSlider, $c1503704e45e6a15$export$6830ae1fbe21e589 as default_click_tracking, $c1503704e45e6a15$export$f37c58ab3d3e3b75 as default_view_tracking, $c1503704e45e6a15$export$dd32cb565eae0a1f as ga_click, $c1503704e45e6a15$export$8d72437623fef90c as gtag_click_post_processor, $c1503704e45e6a15$export$1bffac19f9f0d6fc as gtag_view_post_processor, $c1503704e45e6a15$export$e9106d6e723510d2 as depict_click_tracking_post_processor, $c1503704e45e6a15$export$fb9afe9f540ae069 as recs_inserted_tracking, $c1503704e45e6a15$export$32eb5dd18e963410 as add_to_localstorage, $c1503704e45e6a15$export$9e1caada6901f552 as depict_page_view, $be40b7bf11a47cc4$export$8cbd8aa1c70f9a13 as slider_autoscroll_factory, $d31b48b85102c1ec$export$80039a49055269fb as make_button1, $a75adf1478c4522f$export$af88b4929c2dc86 as make_button2, $2436f68ea927d4a8$export$1d17a045bcc711b1 as slider_dots_factory, $2436f68ea927d4a8$export$a09282b33e69b43f as navdot, $9bb2400c4e2e9335$export$411b0f20794697ce as slider_draggable_factory, $1ce2ae6f640f393f$export$5129719c04a52f8c as slider_fading_factory, $52292921bc0fc31f$export$5723caf9a8335aa6 as slider_fractional_factory, $f78bc6a06402a6cf$export$93223e488e7ee078 as slider_show_scroll, $06fe260f91efff62$export$b36d2489a5a16728 as slider_snap_css, $06fe260f91efff62$export$49b950309ab787ad as can_use_snapping_and_still_scroll, $40bfd400d76a6ec1$export$dac64fd35a4805a4 as slider_snapping_factory, $c33c6faf8acc7442$export$68babfc5be0de5da as Amazing_Lazy_Slider, $556d9c321900f1d4$export$53306504b987cbf7 as slider_wraparound_factory, $159237486410355f$export$419f84efad7d9fe as sizes_to_surface, $159237486410355f$export$417ef0ab13d8b984 as surface_mixer, $159237486410355f$export$be95cb0e8cfd099e as promise_until_next_navigation, $d4ffde0b9fca0369$export$29a6094e0bd8bc5f as AIO, $d4ffde0b9fca0369$export$6ebd242c09192cec as paint_red, $91b2e49f92ed636c$export$2c34560c3749dc63 as bind_to_a2c_button, $91b2e49f92ed636c$export$82a685f2da2fb027 as bind_tracking_to_link, $43683b1103edab15$export$336e7ad40bae0652 as set_depict_id_fn, $43683b1103edab15$export$8a96793bf9f87d90 as set_user_id_fn, $43683b1103edab15$export$6399bdb2291895e0 as get_depict_id, $43683b1103edab15$export$adc61a405a4cabed as get_user_id, $43683b1103edab15$export$15f8a0cd5a8c0ebb as depict_click, $43683b1103edab15$export$82badda1f9923310 as depict_prefilled, $43683b1103edab15$export$9028351cb994757e as depict_add_to_cart, $43683b1103edab15$export$93ae15b1ae509334 as set_session_id_fn, $43683b1103edab15$export$61e7e1f11e96692f as get_session_id, $43683b1103edab15$export$622991c71a1f52b3 as get_cookie, $43683b1103edab15$export$8c6f26a5b6921b95 as get_tracking_event_context_data, $cafa1ff1049985c2$export$72036d950e1fae95 as filter_depict_payload, $cafa1ff1049985c2$export$28cacbd9b4306ffc as send_depict, $cafa1ff1049985c2$export$cc3b6ddf805f6156 as foolproof_send_beacon, $cafa1ff1049985c2$export$608478473a3304a0 as send_depict_unfiltered, $cafa1ff1049985c2$export$aa26019042811d4f as send_websocket, $42bbbba8196bd057$export$674d8cd8b6868154 as create_ga_queue, $42bbbba8196bd057$export$edfedd0557ca5a2d as make_tracker_send_to_depict, $3abef00489070e23$export$1ff14fec60ed5697 as ga_to_transaction_api, $c749fe63b72056ef$export$f75172d2e289cd02 as send_ga, $c749fe63b72056ef$export$ac7296527cb52311 as setup_ga, $c749fe63b72056ef$export$d031e55ccd4c52dc as setup_gtag, $c749fe63b72056ef$export$f522672c9379e339 as gtag_click, $c749fe63b72056ef$export$bf205937e5e012cb as ga_purchase_click, $c749fe63b72056ef$export$127751e82111fcf as ga_rec_click, $c749fe63b72056ef$export$7babcd5d4056b2ca as gtag_view, $c749fe63b72056ef$export$f3354ec2ce95ebd9 as load_gtag, $ccf918da074d7243$export$4205dc6835bc0d9f as send_impression_event, $21285393646b9849$export$37125ccc5dd98050 as impression_track_element, $405969d60b37fdac$export$d0efd8ed14f5c33 as impression_tracking_post_processor, $ccf918da074d7243$export$c543ee4cdb0d0964 as set_impression_threshold, $ccf918da074d7243$export$135da44d0ba958bc as impression_threshold, $ccf918da074d7243$export$ca8321ea61dc2544 as has_to_be_intersecting_for, $61b3c9e5f2cf8171$export$58c56fe2313fdbe3 as add_new_tab_listener, $61b3c9e5f2cf8171$export$836f70a28c317905 as broadcast_product_id, $61b3c9e5f2cf8171$export$8f66c4c7fb96eda2 as contextmenu_callback, $5dbacdc6a3feeb15$export$7e4427e80d5fc619 as optanon_get_cookie_ipns, $5dbacdc6a3feeb15$export$f0f6c846d96fdbec as init_optanon_tracking, $5dbacdc6a3feeb15$export$1dd9ce50e201eff1 as optanon_get_consent, $5dbacdc6a3feeb15$export$7a6d436e0782c6ed as optanon_wait_for_consent, $847e4a06ea6767c0$export$1ac466d53a6636ac as send_transaction_id_to_depict, $847e4a06ea6767c0$export$b11248fa13a8a86c as datalayer_transaction_id_extractor, $847e4a06ea6767c0$export$3ebd86018b39d9d2 as orderpage_transaction_id_extractor, $847e4a06ea6767c0$export$ff8673d5dea82bd4 as url_transaction_id_extractor, $54793663e06a1437$export$d63b08f4f29ddba5 as send_product_unavailable_to_depict, $aa0140679dc70b7a$export$eee4c4d924348b05 as send_page_view_if_needed, $aa0140679dc70b7a$export$f7cb1bd47199ec38 as send_page_view_on_navigation, $4ce764ddfee055ef$export$1d9c6fddbff3441f as DepictAPIWS, $2030306bed68a8c7$export$74108888f38788f3 as ListenableSet, $511123bb28a7b6f7$export$535946eb77c946dd as deparallelize, $511123bb28a7b6f7$export$f241be8e610f5c77 as deparallelize_no_drop, $9ab9ecb74920f343$export$f8ea2e7b15b5d129 as buildThresholdList, $1ce9aeebfbcb93f9$export$d9fdc6ce2907f95b as chaotic_closest, $0bdb8dbcf1bc7f34$export$cfef5d5c9ac09253 as standard_price_format, $0bdb8dbcf1bc7f34$export$9590700a594aef08 as ensure_object_path, $0bdb8dbcf1bc7f34$export$925772df9b4d16e5 as ensure_parameter_in_url, $0bdb8dbcf1bc7f34$export$44951404cb8d0583 as html2elems, $0bdb8dbcf1bc7f34$export$d3e2a0560cbf4787 as html2elem, $0bdb8dbcf1bc7f34$export$5e63aea0cac01fa0 as querySelectorAllElements, $0bdb8dbcf1bc7f34$export$785f04709990c4ec as querySelectorUpwards, $0bdb8dbcf1bc7f34$export$f124e3ee16e6b45d as intl_number_format_with_fallback, $0bdb8dbcf1bc7f34$export$d4bd03f19260ef1c as relativify, $d832040ef2097a0e$export$6b75200e58bc97d0 as deduplicate, $d832040ef2097a0e$export$9426572bd5645bc1 as dedup_products, $ead1f6ae93c69da9$export$82539d9817116aff as navigate_with_next_router, $802201ed0a316c43$export$774bc87373c4fc6c as add_item, $802201ed0a316c43$export$337197b94b3bd680 as get_items_in_cart, $802201ed0a316c43$export$783ef16647773b3d as get_shopify_analytics_meta_product, $802201ed0a316c43$export$ab0f802c05dd969b as intercept, $b6f5b218b1a73900$export$85be83e1935d93c2 as fetch_replacer, $b6f5b218b1a73900$export$f8da66bc4f1d059e as FakeResponse, $2d1ffbfaa1c2d9e3$export$bcd70d5ed1cf6313 as fetch_retry, $1813f33dd0fc7e1d$export$b404e20f3c4a490e as get_optimize_variant, $0d2acf276472ebf7$export$20e9533e68ee72e7 as stateless_href_change_ipns, $0d2acf276472ebf7$export$a9d39e43ae273d26 as href_change_ipns, $0d2acf276472ebf7$export$baccefee4a395d8f as history_replacer, $0d2acf276472ebf7$export$1cd22bab0d2c3b0b as on_next_navigation, $0d2acf276472ebf7$export$7500cdfd37aafd43 as instant_exec_on_suspect_history_change, $607fc90221d440a6$export$e806c6c1615a59ae as async_iterable_ipns, $607fc90221d440a6$export$10c3e52ef388b81b as make_ipns_stateful, $607fc90221d440a6$export$90740b5bc9c2b3b7 as make_ipns_stateless, $ec58be30798d6e95$export$3e42f5078e3abfc0 as make_simple_async_iterable, $ec58be30798d6e95$export$e2c811ae0eb35313 as RawObservableInformation, $4f24151f2cddad7b$export$2c2f50b30b7b2576 as iterable_to_attribute, $8c97019b5f7b0d0e$export$7c081fdbc65b6a2a as iterable_to_elems, $b8270fcf290bb3af$export$927664b47117acb0 as make_asyncIterable_exiter, $693e2a1517bef984$export$f8913c8a18f7ca21 as zip_async_iterables, $8bed543774ca0dd4$export$f811d2ce0aa6019b as insert_surfaces, $8bed543774ca0dd4$export$b8d1e1d07a3f3776 as prevent_infinite_loop, $8bed543774ca0dd4$export$e3f70ef7e3d00501 as revertable_remove, $0a581f1dfa083522$export$59ba1eb2c083f0cd as insert_styling, $0a581f1dfa083522$export$692b606677218a16 as depict_init, $0a581f1dfa083522$export$328e81c44cddf3c0 as depict_init_with_market_logic, $0a581f1dfa083522$export$a4f97b27a0592e6c as normal_get_product_id, $0a581f1dfa083522$export$a96c18473f2af463 as track_a2c, $29407d8301dc2f23$export$515c3ea4d599b05a as javascript_media_query, $39ef887981612535$export$33f937d741e49339 as patched_querySelectorAll, $78270f2ea7ca229f$export$a4eccf92efefa04d as placeholder_svg, $78270f2ea7ca229f$export$2dd69958012e3e49 as make_placeholder_rr, $78270f2ea7ca229f$export$3b75288f46cadd96 as random_text_placeholder, $bb3252f70898acd6$export$947a20746936143d as Promise_Any, $9e268c1aeeb86b34$export$c50e1901e8ed0615 as queueMacroTask, $d89638655e64f324$export$bb0a9c36cf454ea0 as rand, $460df8550f9d084d$export$656831b7e9c341c3 as random_string, $460df8550f9d084d$export$a6db784f019668ba as make_random_classname, $49c4fa2e27e642fa$export$3d04c40e7acc1a32 as reactive_template, $a79c7168700020ff$export$8ec5c86406f333ff as removeChild_error_swallowing_factory, $1dd4146ad893cfb2$export$38e89c688f9d553a as replace_promise_with_native_if_exists_and_enforce, $1dd4146ad893cfb2$export$e647444ed9403635 as get_iframe_promise, $bbb9f33eb5feb86a$export$2a1cc61cffa1f36f as rp_relativify_fetch, $bbb9f33eb5feb86a$export$f14a775632a826c4 as rp_relativify_history, $bbb9f33eb5feb86a$export$2a38b176ce969e2c as rp_relativify_xhr, $bbb9f33eb5feb86a$export$83ec13b10b391f13 as default_rp_fixes, $5c4afc453f904a1f$export$39d526a1194b6499 as serialize_object, $8d4dfadc5e12c7fb$export$12b4c6cbc6b8b4e4 as sort_obj, $eda086e0899e75b0$export$a422d714c8cb1a5d as standard_get_market, $e72f2f1d48dc3a53$export$3427ec8268623f1 as listenToLocalStorage, $26eaaddf434c84f1$export$8d42ce4827f43582 as Tenant, $55698e6e298abcb0$export$cd1adfb8059b5fcd as timeout_promise, $d0e7629fb3179e02$export$79f910a98828378d as variable_setter_to_ipns, $d0e7629fb3179e02$export$d5062f468a0454f3 as find_descriptor, $d0e7629fb3179e02$export$2fc1a072736ae2f6 as is_available_in, $690d8897acf7a743$export$a739d9a07da7f9ce as use_voyado_id, $2cbe7e0ca2ce5438$export$5c069c93d2b7493f as wait, $4a6ab5f7377729b1$export$f314addd5f976083 as xhr_load, $4a6ab5f7377729b1$export$8e16c51fd2b6507 as xhr_read_interceptor, $4a6ab5f7377729b1$export$c74578d2cd47a84a as xhr_send_interceptor, $4a6ab5f7377729b1$export$33d1643df63073a8 as xhr_replace, $769ce417b39aa7d3$export$4a3043e508dd72f0 as DefaultViewMoreButton, $cf7ca80454d7b4c0$export$8a0e4d6f6abf7e90 as GeneralSideSlidein, $72d170fd5c7cb3fe$export$c068ad5361be7646 as GeneralSizeSelector, $ad592d9ddbcffe72$export$84712d0562a614b8 as Placeholder, $ad592d9ddbcffe72$export$d613f5b6d0a331a8 as ContainedPlaceholderImage, $fbe64cf2cf408e4f$export$97f31f44c68c1d5 as RecommendationContainer, $7693290d077384da$export$ddd70fdae1b350e6 as LeftChevron, $7693290d077384da$export$32a55d57d151bc5a as RightChevron, $6f1582c15e13f2f0$export$590326cc34f49e2d as createColorPicker, $7f57d546b5d5b3d6$export$237455ad7e59d4e5 as useExpandingContainer, $8483d1d9fcee52ec$export$2369f6fc1c911576 as ContainedHoverImage, $914971fb43986a16$export$788756b42446dc2d as ContainedImage, $45af9e834781a9bc$export$f39a7d0667e924a as make_sizes_setter, $45af9e834781a9bc$export$a62825542f1bfcf5 as make_sourceset_component, $45af9e834781a9bc$export$a98fc8a2c818d3d8 as is_safari, $45af9e834781a9bc$export$f7c915448031deac as make_url_with_query_params, $45af9e834781a9bc$export$3d13beba9b52c947 as resize_base_url, $6c2b49f3f564b0d1$export$362abebb4b313340 as base_url, $eba382943196079c$export$af2e17a20c2ea3c5 as Sentry, $4d49697a7a9a77a6$export$9dc8f3a0aa3efc85 as camelCasifyObject, $4d49697a7a9a77a6$export$b481488de1caa85 as snakeCasifyObject, $b828952b0fe1df8f$export$499ef00a6a3417f8 as rgb_to_hsl, $b828952b0fe1df8f$export$e4fd3b61e79357a7 as hsl_to_rgb, $b828952b0fe1df8f$export$98c2b3491e76c1f as relative_luminance_from_rgb, $b828952b0fe1df8f$export$486b165479b9284f as hsb_to_rgb, $0766c85d387a9765$export$83d89fbfd8236492 as version, $f564adbc4675ceaf$export$2cefb7e61fcbae00 as add_to_version_info, $155540b3b8aca771$export$fce59460a1699957 as cookiebot_get_consent, $155540b3b8aca771$export$56c2e8be65fb14ae as cookiebot_wait_for_consent, $155540b3b8aca771$export$8827362e5e938d26 as cookiebot_get_cookie_ipns, $155540b3b8aca771$export$abec7fd9f0b9cc22 as init_cookiebot_tracking};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/utilishared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.26",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"main": "dist/main.cjs",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@babel/core": "latest",
|
|
49
49
|
"@babel/runtime": "latest",
|
|
50
50
|
"@babel/runtime-corejs3": "latest",
|
|
51
|
-
"@depict-ai/types": "^1.0.
|
|
51
|
+
"@depict-ai/types": "^1.0.30",
|
|
52
52
|
"@parcel/resolver-default": "^2.8.0",
|
|
53
53
|
"@sentry/cli": "latest",
|
|
54
54
|
"@sentry/types": "^7.13.0",
|