@depict-ai/utilishared 0.0.43 → 0.0.44
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 +30 -7
- package/dist/main.js +74 -71
- package/dist/module.js +65 -62
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export const set_browser_prefix: (str: any) => void;
|
|
|
8
8
|
export function dlog(...args: any[]): void;
|
|
9
9
|
export function dwarn(...args: any[]): void;
|
|
10
10
|
export function derror(...args: any[]): void;
|
|
11
|
-
export const version = "0.0.
|
|
11
|
+
export const version = "0.0.44";
|
|
12
12
|
/**
|
|
13
13
|
* @deprecated this was a stupid idea, it's much easier to read if one just does a quick arrow function that provides the wanted arguments
|
|
14
14
|
*/
|
|
@@ -760,7 +760,7 @@ export function optanon_get_cookie_ipns(): IPNS<ConsentObj>;
|
|
|
760
760
|
export const init_optanon_tracking: (anon_id?: any) => Promise<void | undefined>;
|
|
761
761
|
export const load_gtag: (GA_ID: string, strict?: boolean | undefined) => Promise<void | undefined>;
|
|
762
762
|
export const setup_gtag: (GA_ID: string) => void | undefined;
|
|
763
|
-
export const gtag_view: <T extends Display>(
|
|
763
|
+
export const gtag_view: <T extends Display>(raw_displays: T[], get_product_id: (url?: string | T | undefined) => string | Promise<string>, more?: {
|
|
764
764
|
[key: string]: any;
|
|
765
765
|
list_name?: string | undefined;
|
|
766
766
|
} | ((display: T) => {
|
|
@@ -909,6 +909,10 @@ type A2CButtonDiscoveryOptions = {
|
|
|
909
909
|
a2c_selector?: null | void | undefined;
|
|
910
910
|
a2c_elements: HTMLElement[];
|
|
911
911
|
};
|
|
912
|
+
/**
|
|
913
|
+
* @deprecated Please use DPC instead.
|
|
914
|
+
* Does not support ModernDisplays.
|
|
915
|
+
*/
|
|
912
916
|
export const AIO: (options: {
|
|
913
917
|
attempt_gtag_view_tracking?: boolean | undefined;
|
|
914
918
|
no_gtag?: boolean | undefined;
|
|
@@ -920,7 +924,7 @@ export const AIO: (options: {
|
|
|
920
924
|
click_location_prefix?: ((elem: HTMLElement) => string | undefined) | undefined;
|
|
921
925
|
rec_a2c_selector?: string | undefined;
|
|
922
926
|
rec_a2c_unbubbled?: boolean | undefined;
|
|
923
|
-
get_display?: ((elem: HTMLElement) => Partial<
|
|
927
|
+
get_display?: ((elem: HTMLElement) => Partial<LegacyDisplay> | undefined) | undefined;
|
|
924
928
|
} & ImpressionTrackOptions & TenantSpecificationOptions & ElementDiscoveryOptions & A2CButtonDiscoveryOptions, gtag_options?: {
|
|
925
929
|
[key: string]: any;
|
|
926
930
|
list_name?: string | undefined;
|
|
@@ -1043,9 +1047,9 @@ export type RR_Options<T extends Display> = {
|
|
|
1043
1047
|
headers?: HeadersInit;
|
|
1044
1048
|
} & FetchRecsOptions;
|
|
1045
1049
|
/**
|
|
1046
|
-
* Product properties that are used to render the product cards.
|
|
1050
|
+
* Product properties that are used to render the product cards. Used until early 2023
|
|
1047
1051
|
*/
|
|
1048
|
-
export interface
|
|
1052
|
+
export interface LegacyDisplay {
|
|
1049
1053
|
/**
|
|
1050
1054
|
* The URL of the product page.
|
|
1051
1055
|
*/
|
|
@@ -1074,6 +1078,25 @@ export interface Display {
|
|
|
1074
1078
|
search_result_id?: string;
|
|
1075
1079
|
[key: string]: any;
|
|
1076
1080
|
}
|
|
1081
|
+
interface ModernDisplay {
|
|
1082
|
+
/**
|
|
1083
|
+
* The index of the variant to be displayed.
|
|
1084
|
+
*/
|
|
1085
|
+
variant_index: number;
|
|
1086
|
+
/**
|
|
1087
|
+
* All variant displays (eg. different colors, sizes) of the product.
|
|
1088
|
+
*/
|
|
1089
|
+
variant_displays: any[];
|
|
1090
|
+
/** SKUs of the different variants */
|
|
1091
|
+
variant_skus: string[];
|
|
1092
|
+
/** Product of the different variants */
|
|
1093
|
+
variant_product_ids: string[];
|
|
1094
|
+
/** Unique search result ID used by Depict */
|
|
1095
|
+
search_result_id: string;
|
|
1096
|
+
/** Recommendation type logic used by Depict */
|
|
1097
|
+
logic?: string;
|
|
1098
|
+
}
|
|
1099
|
+
export type Display = LegacyDisplay | ModernDisplay;
|
|
1077
1100
|
export type Node_Iterable = HTMLCollection | NodeListOf<ChildNode> | Node_Array;
|
|
1078
1101
|
export type Node_Array = (Element | Text | Comment)[];
|
|
1079
1102
|
export type RecRendererResult<T extends Display> = Record<string, never> | {
|
|
@@ -1383,7 +1406,7 @@ interface Pro_Slider_Options {
|
|
|
1383
1406
|
/**
|
|
1384
1407
|
* @deprecated please use RecommendationSlider instead
|
|
1385
1408
|
*/
|
|
1386
|
-
export function Pro_Slider<T extends Display>(t: Tenant, rendering_options: Extended_RR_Options<T>, options_for_us?: Pro_Slider_Options, slider_options?: Slider_Options): ReturnType<typeof Rec_Renderer
|
|
1409
|
+
export function Pro_Slider<T extends Display>(t: Tenant, rendering_options: Extended_RR_Options<T>, options_for_us?: Pro_Slider_Options, slider_options?: Slider_Options): ReturnType<typeof Rec_Renderer<T>>;
|
|
1387
1410
|
/**
|
|
1388
1411
|
* @deprecated Please use recommendation renderer instead
|
|
1389
1412
|
*/
|
|
@@ -1790,7 +1813,7 @@ export class ListenableSet<T> extends Set<T> {
|
|
|
1790
1813
|
export function chaotic_closest(element: Element, selector: string, start_right?: boolean): Element | undefined;
|
|
1791
1814
|
type CompareMethod<T> = (i1: T, i2: T) => boolean;
|
|
1792
1815
|
export const deduplicate: <T>(arr1: T[], arr2: T[], compareFunc: CompareMethod<T>) => T[];
|
|
1793
|
-
export const dedup_products: <T extends
|
|
1816
|
+
export const dedup_products: <T extends LegacyDisplay>(arr1: T[], arr2: T[] | undefined) => T[];
|
|
1794
1817
|
/**
|
|
1795
1818
|
* Attempt to navigate using nextjs's spa router.
|
|
1796
1819
|
* Falls back to default browser navigation.
|
package/dist/main.js
CHANGED
|
@@ -102,8 +102,8 @@ $parcel$export(module.exports, "slider_wraparound_factory", () => $3d8df0a23b9be
|
|
|
102
102
|
$parcel$export(module.exports, "sizes_to_surface", () => $bf76a92ec2055e1a$export$419f84efad7d9fe);
|
|
103
103
|
$parcel$export(module.exports, "surface_mixer", () => $bf76a92ec2055e1a$export$417ef0ab13d8b984);
|
|
104
104
|
$parcel$export(module.exports, "promise_until_next_navigation", () => $bf76a92ec2055e1a$export$be95cb0e8cfd099e);
|
|
105
|
-
$parcel$export(module.exports, "AIO", () => $
|
|
106
|
-
$parcel$export(module.exports, "paint_red", () => $
|
|
105
|
+
$parcel$export(module.exports, "AIO", () => $fbb09973782881cb$export$29a6094e0bd8bc5f);
|
|
106
|
+
$parcel$export(module.exports, "paint_red", () => $fbb09973782881cb$export$6ebd242c09192cec);
|
|
107
107
|
$parcel$export(module.exports, "bind_to_a2c_button", () => $c8263a2185830bf1$export$2c34560c3749dc63);
|
|
108
108
|
$parcel$export(module.exports, "bind_tracking_to_link", () => $c8263a2185830bf1$export$82a685f2da2fb027);
|
|
109
109
|
$parcel$export(module.exports, "set_depict_id_fn", () => $e0a87646d12cb987$export$336e7ad40bae0652);
|
|
@@ -125,14 +125,14 @@ $parcel$export(module.exports, "send_websocket", () => $0c84f8e99aac5765$export$
|
|
|
125
125
|
$parcel$export(module.exports, "create_ga_queue", () => $c18ce8dadd041cdd$export$674d8cd8b6868154);
|
|
126
126
|
$parcel$export(module.exports, "make_tracker_send_to_depict", () => $c18ce8dadd041cdd$export$edfedd0557ca5a2d);
|
|
127
127
|
$parcel$export(module.exports, "ga_to_transaction_api", () => $5a44db2d2c8361b9$export$1ff14fec60ed5697);
|
|
128
|
-
$parcel$export(module.exports, "send_ga", () => $
|
|
129
|
-
$parcel$export(module.exports, "setup_ga", () => $
|
|
130
|
-
$parcel$export(module.exports, "setup_gtag", () => $
|
|
131
|
-
$parcel$export(module.exports, "gtag_click", () => $
|
|
132
|
-
$parcel$export(module.exports, "ga_purchase_click", () => $
|
|
133
|
-
$parcel$export(module.exports, "ga_rec_click", () => $
|
|
134
|
-
$parcel$export(module.exports, "gtag_view", () => $
|
|
135
|
-
$parcel$export(module.exports, "load_gtag", () => $
|
|
128
|
+
$parcel$export(module.exports, "send_ga", () => $d3d8549954e0318e$export$f75172d2e289cd02);
|
|
129
|
+
$parcel$export(module.exports, "setup_ga", () => $d3d8549954e0318e$export$ac7296527cb52311);
|
|
130
|
+
$parcel$export(module.exports, "setup_gtag", () => $d3d8549954e0318e$export$d031e55ccd4c52dc);
|
|
131
|
+
$parcel$export(module.exports, "gtag_click", () => $d3d8549954e0318e$export$f522672c9379e339);
|
|
132
|
+
$parcel$export(module.exports, "ga_purchase_click", () => $d3d8549954e0318e$export$bf205937e5e012cb);
|
|
133
|
+
$parcel$export(module.exports, "ga_rec_click", () => $d3d8549954e0318e$export$127751e82111fcf);
|
|
134
|
+
$parcel$export(module.exports, "gtag_view", () => $d3d8549954e0318e$export$7babcd5d4056b2ca);
|
|
135
|
+
$parcel$export(module.exports, "load_gtag", () => $d3d8549954e0318e$export$f3354ec2ce95ebd9);
|
|
136
136
|
$parcel$export(module.exports, "send_impression_event", () => $dd025eb6f77f8f8b$export$4205dc6835bc0d9f);
|
|
137
137
|
$parcel$export(module.exports, "impression_track_element", () => $8e19f8200d357fe7$export$37125ccc5dd98050);
|
|
138
138
|
$parcel$export(module.exports, "impression_tracking_post_processor", () => $11ff7b46c1fb674c$export$d0efd8ed14f5c33);
|
|
@@ -267,7 +267,7 @@ $parcel$export(module.exports, "Sentry", () => $61a34358bf0d3d8b$export$af2e17a2
|
|
|
267
267
|
$parcel$export(module.exports, "camelCasifyObject", () => $89758b55120b0cbd$export$9dc8f3a0aa3efc85);
|
|
268
268
|
$parcel$export(module.exports, "snakeCasifyObject", () => $89758b55120b0cbd$export$b481488de1caa85);
|
|
269
269
|
$parcel$export(module.exports, "version", () => $815f67c61b4c0a42$export$83d89fbfd8236492);
|
|
270
|
-
const $7b5e577a60b81e60$export$55fe61489d2c7417 = /*@__PURE__*/ (()=>process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.BUILD_TARGET !== "node" && (document.currentScript?.dataset?.debug === "true" || localStorage.getItem("debug") === "true"))();
|
|
270
|
+
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" && (document.currentScript?.dataset?.debug === "true" || localStorage.getItem("debug") === "true"))();
|
|
271
271
|
|
|
272
272
|
|
|
273
273
|
const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
|
|
@@ -294,7 +294,7 @@ function $e6c6e7929ea385ae$export$997143d41f6a0c9b(...args) {
|
|
|
294
294
|
}
|
|
295
295
|
|
|
296
296
|
|
|
297
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "0.0.
|
|
297
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "0.0.44";
|
|
298
298
|
|
|
299
299
|
|
|
300
300
|
/**
|
|
@@ -2147,7 +2147,7 @@ async function $44909e19109bf973$export$836f70a28c317905(product_id) {
|
|
|
2147
2147
|
function $44909e19109bf973$export$58c56fe2313fdbe3(elements, display, info, get_event_listener_remover) {
|
|
2148
2148
|
if (typeof BroadcastChannel != "function") return elements;
|
|
2149
2149
|
const disconnectors = [];
|
|
2150
|
-
const handler = (0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9)((e)=>$44909e19109bf973$export$8f66c4c7fb96eda2(e, display.product_id));
|
|
2150
|
+
const handler = (0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9)((e)=>$44909e19109bf973$export$8f66c4c7fb96eda2(e, ("variant_index" in display ? display.variant_displays[display.variant_index] : display).product_id));
|
|
2151
2151
|
const auxclick_handler = (e)=>e.button === 1 && handler(e);
|
|
2152
2152
|
for(let i = 0; i < elements?.length; i++){
|
|
2153
2153
|
const element = elements[i];
|
|
@@ -2696,8 +2696,8 @@ const $2026711c6c2d6204$export$f0f6c846d96fdbec = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2696
2696
|
|
|
2697
2697
|
|
|
2698
2698
|
|
|
2699
|
-
const $
|
|
2700
|
-
const $
|
|
2699
|
+
const $d3d8549954e0318e$var$g = typeof globalThis == "object" && globalThis || window;
|
|
2700
|
+
const $d3d8549954e0318e$export$f3354ec2ce95ebd9 = /*@__PURE__*/ (0, /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9)(async (GA_ID, strict)=>{
|
|
2701
2701
|
if (process.env.GTAG === "false") return;
|
|
2702
2702
|
if (!GA_ID) {
|
|
2703
2703
|
(0, $e6c6e7929ea385ae$export$c2363754d4758444)("Couldn't load gtag, GA_ID not specified", GA_ID);
|
|
@@ -2717,11 +2717,11 @@ const $cc7abb54d64ac1e3$export$f3354ec2ce95ebd9 = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2717
2717
|
}
|
|
2718
2718
|
// delay loading of script because it's huge and slow according to nordiska galleriet
|
|
2719
2719
|
// @ts-ignore
|
|
2720
|
-
const page_hasnt_loaded = $
|
|
2720
|
+
const page_hasnt_loaded = $d3d8549954e0318e$var$g?.performance?.getEntriesByType?.("navigation")?.every?.((e)=>e?.loadEventEnd) === false;
|
|
2721
2721
|
// Source: comment on https://stackoverflow.com/a/53525488
|
|
2722
2722
|
// don't use readyState, source: personal experience and comment on https://stackoverflow.com/a/28093606
|
|
2723
2723
|
(0, $e6c6e7929ea385ae$export$de56f1198d121036)("Loading gtag after " + (page_hasnt_loaded ? "pageload and " : "") + "3s" + (strict ? "" : ", but setting up queues already"));
|
|
2724
|
-
if (!strict) $
|
|
2724
|
+
if (!strict) $d3d8549954e0318e$export$d031e55ccd4c52dc(GA_ID);
|
|
2725
2725
|
if (page_hasnt_loaded) {
|
|
2726
2726
|
const load_event = await new Promise((r)=>window.addEventListener("load", r, {
|
|
2727
2727
|
once: true
|
|
@@ -2735,24 +2735,25 @@ const $cc7abb54d64ac1e3$export$f3354ec2ce95ebd9 = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2735
2735
|
head.appendChild(script);
|
|
2736
2736
|
(0, $e6c6e7929ea385ae$export$de56f1198d121036)("Loading gtag now", script);
|
|
2737
2737
|
});
|
|
2738
|
-
const $
|
|
2738
|
+
const $d3d8549954e0318e$export$d031e55ccd4c52dc = /*@__PURE__*/ (0, /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9)((GA_ID)=>{
|
|
2739
2739
|
if (process.env.GTAG === "false") return;
|
|
2740
|
-
$
|
|
2740
|
+
$d3d8549954e0318e$var$g.dataLayer ||= [];
|
|
2741
2741
|
function gtag() {
|
|
2742
|
-
$
|
|
2742
|
+
$d3d8549954e0318e$var$g.dataLayer.push(arguments);
|
|
2743
2743
|
}
|
|
2744
|
-
$
|
|
2745
|
-
$
|
|
2746
|
-
$
|
|
2744
|
+
$d3d8549954e0318e$var$g.gtag = gtag;
|
|
2745
|
+
$d3d8549954e0318e$var$g.gtag("js", new Date());
|
|
2746
|
+
$d3d8549954e0318e$var$g.gtag("config", GA_ID, {
|
|
2747
2747
|
"send_page_view": false
|
|
2748
2748
|
});
|
|
2749
2749
|
(0, $e6c6e7929ea385ae$export$de56f1198d121036)("configuring gtag with", GA_ID);
|
|
2750
2750
|
});
|
|
2751
|
-
const $
|
|
2751
|
+
const $d3d8549954e0318e$export$7babcd5d4056b2ca = /*@__PURE__*/ (0, /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9)(async (raw_displays, get_product_id, more)=>{
|
|
2752
|
+
const displays = raw_displays; // gtag tracking is "obsolete" and we don't expect any customers using something else than LegacyDisplay to use it
|
|
2752
2753
|
if (process.env.GTAG === "false") return;
|
|
2753
2754
|
if (process.env.GTAG_VIEW === "false") return;
|
|
2754
|
-
if (process.env.GTAG_EVENT_CONSENT_LEVEL !== undefined && !await $
|
|
2755
|
-
if (typeof $
|
|
2755
|
+
if (process.env.GTAG_EVENT_CONSENT_LEVEL !== undefined && !await $d3d8549954e0318e$var$can_send_gtag_events(displays, get_product_id, more)) return;
|
|
2756
|
+
if (typeof $d3d8549954e0318e$var$g.gtag == "function") {
|
|
2756
2757
|
const make_item = (display, index, id)=>({
|
|
2757
2758
|
id: id,
|
|
2758
2759
|
"list_name": "depict",
|
|
@@ -2775,14 +2776,14 @@ const $cc7abb54d64ac1e3$export$7babcd5d4056b2ca = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2775
2776
|
}
|
|
2776
2777
|
];
|
|
2777
2778
|
(0, $e6c6e7929ea385ae$export$de56f1198d121036)("Sending product view to gtag", gtag_args);
|
|
2778
|
-
$
|
|
2779
|
+
$d3d8549954e0318e$var$g.gtag(...gtag_args);
|
|
2779
2780
|
}
|
|
2780
2781
|
} else (0, $e6c6e7929ea385ae$export$c2363754d4758444)("not sending gtag tracking as there is no gtag");
|
|
2781
2782
|
});
|
|
2782
|
-
const $
|
|
2783
|
+
const $d3d8549954e0318e$export$f522672c9379e339 = /*@__PURE__*/ (0, /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9)(async (product_id, index, more)=>{
|
|
2783
2784
|
if (process.env.GTAG === "false") return;
|
|
2784
|
-
if (process.env.GTAG_EVENT_CONSENT_LEVEL !== undefined && !await $
|
|
2785
|
-
if (typeof $
|
|
2785
|
+
if (process.env.GTAG_EVENT_CONSENT_LEVEL !== undefined && !await $d3d8549954e0318e$var$can_send_gtag_events(product_id, index, more)) return;
|
|
2786
|
+
if (typeof $d3d8549954e0318e$var$g.gtag == "function") {
|
|
2786
2787
|
const gtag_args = [
|
|
2787
2788
|
"event",
|
|
2788
2789
|
"select_content",
|
|
@@ -2799,17 +2800,17 @@ const $cc7abb54d64ac1e3$export$f522672c9379e339 = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2799
2800
|
}
|
|
2800
2801
|
];
|
|
2801
2802
|
(0, $e6c6e7929ea385ae$export$de56f1198d121036)("calling gtag with arguments", gtag_args);
|
|
2802
|
-
return $
|
|
2803
|
+
return $d3d8549954e0318e$var$g.gtag(...gtag_args);
|
|
2803
2804
|
} else (0, $e6c6e7929ea385ae$export$c2363754d4758444)("not sending gtag tracking as there is no gtag");
|
|
2804
2805
|
});
|
|
2805
|
-
const $
|
|
2806
|
+
const $d3d8549954e0318e$export$f75172d2e289cd02 = /*@__PURE__*/ (0, /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9)((action)=>{
|
|
2806
2807
|
if (process.env.GA === "false") return;
|
|
2807
|
-
if (typeof $
|
|
2808
|
+
if (typeof $d3d8549954e0318e$var$g.ga != "function") {
|
|
2808
2809
|
(0, $e6c6e7929ea385ae$export$c2363754d4758444)("Not sending to ga as there is no ga");
|
|
2809
2810
|
return;
|
|
2810
2811
|
}
|
|
2811
2812
|
(0, $e6c6e7929ea385ae$export$de56f1198d121036)("sending", action, "to GA");
|
|
2812
|
-
return $
|
|
2813
|
+
return $d3d8549954e0318e$var$g.ga("depict.send", {
|
|
2813
2814
|
hitType: "event",
|
|
2814
2815
|
eventCategory: "Depict",
|
|
2815
2816
|
eventAction: action,
|
|
@@ -2817,23 +2818,23 @@ const $cc7abb54d64ac1e3$export$f75172d2e289cd02 = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2817
2818
|
nonInteraction: 1
|
|
2818
2819
|
});
|
|
2819
2820
|
});
|
|
2820
|
-
const $
|
|
2821
|
+
const $d3d8549954e0318e$export$ac7296527cb52311 = /*@__PURE__*/ (0, /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9)((GAID)=>{
|
|
2821
2822
|
if (process.env.GA === "false") return;
|
|
2822
2823
|
if (!GAID) {
|
|
2823
2824
|
(0, $e6c6e7929ea385ae$export$c2363754d4758444)(new Error("No GAID specified"));
|
|
2824
2825
|
return;
|
|
2825
2826
|
}
|
|
2826
|
-
if (typeof $
|
|
2827
|
+
if (typeof $d3d8549954e0318e$var$g.ga != "function") {
|
|
2827
2828
|
(0, $e6c6e7929ea385ae$export$de56f1198d121036)("Creating GA queue");
|
|
2828
2829
|
(0, $c18ce8dadd041cdd$export$674d8cd8b6868154)();
|
|
2829
2830
|
}
|
|
2830
2831
|
(0, $e6c6e7929ea385ae$export$de56f1198d121036)("Creating ga with GA-ID", GAID);
|
|
2831
|
-
$
|
|
2832
|
-
$
|
|
2832
|
+
$d3d8549954e0318e$var$g.ga("create", GAID, "auto", "depict");
|
|
2833
|
+
$d3d8549954e0318e$export$f3354ec2ce95ebd9(GAID, false);
|
|
2833
2834
|
});
|
|
2834
|
-
const $
|
|
2835
|
-
const $
|
|
2836
|
-
async function $
|
|
2835
|
+
const $d3d8549954e0318e$export$127751e82111fcf = /*@__PURE__*/ (0, /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9)(()=>$d3d8549954e0318e$export$f75172d2e289cd02("rec_bar_click"));
|
|
2836
|
+
const $d3d8549954e0318e$export$bf205937e5e012cb = /*@__PURE__*/ (0, /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9)(()=>$d3d8549954e0318e$export$f75172d2e289cd02("add_to_cart_after_rec_bar_click"));
|
|
2837
|
+
async function $d3d8549954e0318e$var$can_send_gtag_events(...stuff_to_log) {
|
|
2837
2838
|
const required_consent_level = process.env.GTAG_LOADING_CONSENT_LEVEL;
|
|
2838
2839
|
if (required_consent_level !== undefined) return true; // just in case
|
|
2839
2840
|
const ipns = process.env.CONSENT_FRAMEWORK == "optanon" ? (0, $2026711c6c2d6204$export$7e4427e80d5fc619)() : (0, $28e42b0009d694b2$export$8827362e5e938d26)();
|
|
@@ -2882,7 +2883,7 @@ const $e4bebbfa0f0b1454$export$59ba1eb2c083f0cd = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2882
2883
|
const $e4bebbfa0f0b1454$export$a96c18473f2af463 = (tenant, selector, validator)=>{
|
|
2883
2884
|
return (0, $2a1cbc63a04d4a2d$export$b6ae1bc530f4c149).onexists(selector, ({ element: element })=>(0, $c8263a2185830bf1$export$2c34560c3749dc63)(element, tenant.get_product_id, (p_id, r_id, was_unmatching, event)=>{
|
|
2884
2885
|
if (typeof validator === "function" && !validator(event)) return;
|
|
2885
|
-
if (!was_unmatching) (0, $
|
|
2886
|
+
if (!was_unmatching) (0, $d3d8549954e0318e$export$bf205937e5e012cb)();
|
|
2886
2887
|
(0, $e0a87646d12cb987$export$9028351cb994757e)({
|
|
2887
2888
|
...tenant,
|
|
2888
2889
|
product_id: p_id,
|
|
@@ -2968,7 +2969,7 @@ class $16f3a26cfac77a4c$export$8d42ce4827f43582 {
|
|
|
2968
2969
|
this.TYPE = options.TYPE || "normal";
|
|
2969
2970
|
this.catchify = (0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9);
|
|
2970
2971
|
this.err = (0, $548fd58b14b25a52$export$8048b892d651b310);
|
|
2971
|
-
if (this.GA_ID) (0, $
|
|
2972
|
+
if (this.GA_ID) (0, $d3d8549954e0318e$export$ac7296527cb52311)(this.GA_ID);
|
|
2972
2973
|
// https://gitlab.com/depict-ai/depict.ai/-/merge_requests/2318#note_927887712
|
|
2973
2974
|
this.get_product_id = (0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9)((...args)=>{
|
|
2974
2975
|
const id = options.get_product_id(...args);
|
|
@@ -2996,14 +2997,14 @@ class $16f3a26cfac77a4c$export$8d42ce4827f43582 {
|
|
|
2996
2997
|
*/ // albania
|
|
2997
2998
|
|
|
2998
2999
|
|
|
2999
|
-
const $
|
|
3000
|
-
const $
|
|
3001
|
-
const $
|
|
3002
|
-
const $
|
|
3000
|
+
const $fbb09973782881cb$var$default_get_rec_id = (elem)=>elem?.dataset?.depict_recommendation_id || elem?.dataset?.recommendationId;
|
|
3001
|
+
const $fbb09973782881cb$var$default_get_prod_id = (elem)=>elem?.dataset?.depict_product_id || elem?.dataset?.productId;
|
|
3002
|
+
const $fbb09973782881cb$var$default_get_ga_prod_id = (elem)=>elem?.dataset?.ga_ids;
|
|
3003
|
+
const $fbb09973782881cb$var$get_index_in_children_of_el = (el)=>[
|
|
3003
3004
|
...el?.parentElement?.children || []
|
|
3004
3005
|
].indexOf(el);
|
|
3005
|
-
const $
|
|
3006
|
-
const { product_selector: product_selector , a2c_selector: a2c_selector , rec_a2c_selector: rec_a2c_selector , rec_a2c_unbubbled: rec_a2c_unbubbled , get_product_id: get_product_id = options.t?.get_product_id , get_rec_id: get_rec_id = $
|
|
3006
|
+
const $fbb09973782881cb$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9)(async (options, gtag_options)=>{
|
|
3007
|
+
const { product_selector: product_selector , a2c_selector: a2c_selector , rec_a2c_selector: rec_a2c_selector , rec_a2c_unbubbled: rec_a2c_unbubbled , get_product_id: get_product_id = options.t?.get_product_id , get_rec_id: get_rec_id = $fbb09973782881cb$var$default_get_rec_id , get_prod_id: get_prod_id = $fbb09973782881cb$var$default_get_prod_id , get_ga_prod_id: get_ga_prod_id = $fbb09973782881cb$var$default_get_ga_prod_id , get_display: get_display , impression_tracking: impression_tracking , a2c_elements: a2c_elements , product_elements: product_elements , t: t , click_location_prefix: click_location_prefix = (elem)=>elem?.parentElement?.dataset?.type + "_" } = options;
|
|
3007
3008
|
const get_display_data = async (elem)=>{
|
|
3008
3009
|
const data = {};
|
|
3009
3010
|
if (get_prod_id) data.product_id = await get_prod_id(elem) || (get_product_id ? await get_product_id(elem.querySelector("a")?.href || elem?.href) : undefined);
|
|
@@ -3027,7 +3028,7 @@ const $1b5c12ae9142345c$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
3027
3028
|
})();
|
|
3028
3029
|
// Product card
|
|
3029
3030
|
const add_tracking_to_product_card = (0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9)(async ({ element: elem })=>{
|
|
3030
|
-
const index = $
|
|
3031
|
+
const index = $fbb09973782881cb$var$get_index_in_children_of_el(elem);
|
|
3031
3032
|
const data = await get_display_data(elem);
|
|
3032
3033
|
const prefix = typeof click_location_prefix === "function" && click_location_prefix(elem) || "depict_";
|
|
3033
3034
|
const gtag_list_name = "depict_" + (prefix[prefix.length - 1] == "_" ? prefix.substr(0, prefix.length - 1) : prefix);
|
|
@@ -3082,9 +3083,9 @@ const $1b5c12ae9142345c$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
3082
3083
|
const product_id = data.product_id || "DNT";
|
|
3083
3084
|
const recommendation_id = data.recommendation_id || "not_depict";
|
|
3084
3085
|
localStorage.setItem(`depict_attribution_${product_id}`, recommendation_id);
|
|
3085
|
-
const index = $
|
|
3086
|
+
const index = $fbb09973782881cb$var$get_index_in_children_of_el(elem);
|
|
3086
3087
|
const click_location = prefix + (index + 1);
|
|
3087
|
-
(0, $
|
|
3088
|
+
(0, $d3d8549954e0318e$export$127751e82111fcf)();
|
|
3088
3089
|
(0, $e0a87646d12cb987$export$15f8a0cd5a8c0ebb)({
|
|
3089
3090
|
...options.t || {},
|
|
3090
3091
|
...options,
|
|
@@ -3099,12 +3100,12 @@ const $1b5c12ae9142345c$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
3099
3100
|
list_name: gtag_list_name,
|
|
3100
3101
|
...gtag_options
|
|
3101
3102
|
};
|
|
3102
|
-
(0, $
|
|
3103
|
+
(0, $d3d8549954e0318e$export$f522672c9379e339)(data.product_id, index, gtag_options_with_click_location);
|
|
3103
3104
|
try {
|
|
3104
3105
|
const to_iterate = [];
|
|
3105
3106
|
if (data.ga_product_id) to_iterate.push(...data.ga_product_id.toString?.().split(",") ?? []);
|
|
3106
3107
|
to_iterate.push(...data.ga_product_ids || []);
|
|
3107
|
-
to_iterate.forEach((id)=>(0, $
|
|
3108
|
+
to_iterate.forEach((id)=>(0, $d3d8549954e0318e$export$f522672c9379e339)(id, index, gtag_options_with_click_location));
|
|
3108
3109
|
} catch (e) {
|
|
3109
3110
|
(0, $e6c6e7929ea385ae$export$c2363754d4758444)("Something went wrong when sending gtag click tracking on a product with multiple ga_ids");
|
|
3110
3111
|
(0, $268cbd9e4ade92db$export$f18d5b0af29128b7)(e, "error");
|
|
@@ -3137,7 +3138,7 @@ const $1b5c12ae9142345c$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
3137
3138
|
});
|
|
3138
3139
|
element.dispatchEvent(click);
|
|
3139
3140
|
}
|
|
3140
|
-
(0, $
|
|
3141
|
+
(0, $d3d8549954e0318e$export$bf205937e5e012cb)();
|
|
3141
3142
|
(0, $e0a87646d12cb987$export$9028351cb994757e)({
|
|
3142
3143
|
...options.t || {},
|
|
3143
3144
|
...options,
|
|
@@ -3148,13 +3149,13 @@ const $1b5c12ae9142345c$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
3148
3149
|
};
|
|
3149
3150
|
track_rec_a2c(elem);
|
|
3150
3151
|
}
|
|
3151
|
-
if (options.shade) $
|
|
3152
|
+
if (options.shade) $fbb09973782881cb$export$6ebd242c09192cec(elem);
|
|
3152
3153
|
if (options.attempt_gtag_view_tracking && Object.keys(gtag_view_product_ids)?.length) // setTimeout to batch the requests / put it all into one gtag view event
|
|
3153
3154
|
setTimeout((0, $268cbd9e4ade92db$export$b3bbfd758f11cfa9)(()=>{
|
|
3154
3155
|
for(const key in gtag_view_product_ids){
|
|
3155
3156
|
const product_ids = gtag_view_product_ids[key];
|
|
3156
3157
|
if (product_ids?.length) {
|
|
3157
|
-
(0, $
|
|
3158
|
+
(0, $d3d8549954e0318e$export$7babcd5d4056b2ca)(product_ids, ()=>"", {
|
|
3158
3159
|
list_name: key,
|
|
3159
3160
|
...gtag_options
|
|
3160
3161
|
});
|
|
@@ -3171,7 +3172,7 @@ const $1b5c12ae9142345c$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
3171
3172
|
// Page A2C button tracking
|
|
3172
3173
|
const a2c_handler = ({ element: element })=>{
|
|
3173
3174
|
(0, $c8263a2185830bf1$export$2c34560c3749dc63)(element, get_product_id, (product_id, recommendation_id, was_unmatching)=>{
|
|
3174
|
-
if (!was_unmatching) (0, $
|
|
3175
|
+
if (!was_unmatching) (0, $d3d8549954e0318e$export$bf205937e5e012cb)();
|
|
3175
3176
|
(0, $e0a87646d12cb987$export$9028351cb994757e)({
|
|
3176
3177
|
...options.t || {},
|
|
3177
3178
|
...options,
|
|
@@ -3183,7 +3184,7 @@ const $1b5c12ae9142345c$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
3183
3184
|
}
|
|
3184
3185
|
});
|
|
3185
3186
|
}, options.always_track_a2c);
|
|
3186
|
-
if (options.shade) $
|
|
3187
|
+
if (options.shade) $fbb09973782881cb$export$6ebd242c09192cec(element);
|
|
3187
3188
|
};
|
|
3188
3189
|
if (typeof a2c_selector == "string") (0, $2a1cbc63a04d4a2d$export$b6ae1bc530f4c149).onexists(a2c_selector, a2c_handler);
|
|
3189
3190
|
else if (a2c_elements && typeof a2c_elements?.[Symbol.iterator] == "function") for (const element of a2c_elements)a2c_handler({
|
|
@@ -3199,7 +3200,7 @@ const $1b5c12ae9142345c$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
3199
3200
|
})
|
|
3200
3201
|
};
|
|
3201
3202
|
});
|
|
3202
|
-
const $
|
|
3203
|
+
const $fbb09973782881cb$export$6ebd242c09192cec = /*@__PURE__*/ (0, /*@__PURE__*/$268cbd9e4ade92db$export$b3bbfd758f11cfa9)((element)=>{
|
|
3203
3204
|
element.style.boxShadow = "rgba(255,0,0,0.5) 10px 10px 30px 40px";
|
|
3204
3205
|
element.style.background = "rgba(255,0,0,0.5)";
|
|
3205
3206
|
element.style.color = "white";
|
|
@@ -3390,6 +3391,7 @@ async function $558ccd2de887e6d9$export$a9fc160c5ed83bd7(t, rendering_options) {
|
|
|
3390
3391
|
function $558ccd2de887e6d9$export$e0009e7da572f99b(template, display = {}) {
|
|
3391
3392
|
const discount_matcher = /{DISCOUNT{([\s\S]+?)}}/g;
|
|
3392
3393
|
const no_discount_matcher = /{NODISCOUNT{([\s\S]+?)}}/g;
|
|
3394
|
+
if ("variant_index" in display) throw new Error("Modern display in ancient templating");
|
|
3393
3395
|
const { sale_price: sale_price , original_price: original_price } = display;
|
|
3394
3396
|
if (sale_price !== original_price) template = template.replaceAll(discount_matcher, "$1").replaceAll(no_discount_matcher, "");
|
|
3395
3397
|
else template = template.replaceAll(discount_matcher, "").replaceAll(no_discount_matcher, "$1");
|
|
@@ -4771,7 +4773,7 @@ function $04d2f7d9126af667$export$1bffac19f9f0d6fc(elements, _display, info) {
|
|
|
4771
4773
|
$04d2f7d9126af667$export$3777a14dd8c2363d.add(displays);
|
|
4772
4774
|
const { get_product_id: get_product_id } = info.t;
|
|
4773
4775
|
const { type: type } = rendering_options;
|
|
4774
|
-
(0, $
|
|
4776
|
+
(0, $d3d8549954e0318e$export$7babcd5d4056b2ca)(displays, get_product_id /* yes this might create errors if there's no page_url in the display but don't have time to fix, sorry */ , {
|
|
4775
4777
|
list_name: "depict_" + type
|
|
4776
4778
|
});
|
|
4777
4779
|
}
|
|
@@ -4794,10 +4796,10 @@ function $04d2f7d9126af667$export$9e1caada6901f552(elements, _display, info) {
|
|
|
4794
4796
|
function $04d2f7d9126af667$export$8d72437623fef90c(elements, display, info) {
|
|
4795
4797
|
const handler = ()=>{
|
|
4796
4798
|
const { ga_product_ids: ga_product_ids , ga_product_id: ga_product_id , product_id: product_id } = display;
|
|
4797
|
-
if (Array.isArray(ga_product_ids)) for(let i = 0; i < ga_product_ids.length; i++)(0, $
|
|
4799
|
+
if (Array.isArray(ga_product_ids)) for(let i = 0; i < ga_product_ids.length; i++)(0, $d3d8549954e0318e$export$f522672c9379e339)(ga_product_ids[i], info.index, {
|
|
4798
4800
|
list_name: "depict_" + info.rendering_options.type
|
|
4799
4801
|
});
|
|
4800
|
-
else (0, $
|
|
4802
|
+
else (0, $d3d8549954e0318e$export$f522672c9379e339)(ga_product_id || product_id, info.index, {
|
|
4801
4803
|
list_name: "depict_" + info.rendering_options.type
|
|
4802
4804
|
});
|
|
4803
4805
|
};
|
|
@@ -4816,7 +4818,7 @@ function $04d2f7d9126af667$export$e9106d6e723510d2(elements, display, info) {
|
|
|
4816
4818
|
...display,
|
|
4817
4819
|
click_location: rendering_options.type + "_" + (index + 1),
|
|
4818
4820
|
recommendation_type: rendering_options.type,
|
|
4819
|
-
product_id: display.product_id
|
|
4821
|
+
product_id: "variant_index" in display ? display.variant_displays[display.variant_index].product_id : display.product_id
|
|
4820
4822
|
});
|
|
4821
4823
|
};
|
|
4822
4824
|
$04d2f7d9126af667$var$push_function($04d2f7d9126af667$export$e9106d6e723510d2, handler);
|
|
@@ -4826,7 +4828,8 @@ function $04d2f7d9126af667$export$e9106d6e723510d2(elements, display, info) {
|
|
|
4826
4828
|
return elements;
|
|
4827
4829
|
}
|
|
4828
4830
|
function $04d2f7d9126af667$export$32eb5dd18e963410(elements, display, info) {
|
|
4829
|
-
const {
|
|
4831
|
+
const { search_result_id: search_result_id } = display;
|
|
4832
|
+
const { product_id: product_id , recommendation_id: recommendation_id } = "variant_index" in display ? display.variant_displays[display.variant_index] : display;
|
|
4830
4833
|
if (!elements?.length) return elements;
|
|
4831
4834
|
for (const element of elements){
|
|
4832
4835
|
const handler = (0, $c8263a2185830bf1$export$82a685f2da2fb027)(element, product_id, recommendation_id || search_result_id);
|
|
@@ -4836,7 +4839,7 @@ function $04d2f7d9126af667$export$32eb5dd18e963410(elements, display, info) {
|
|
|
4836
4839
|
}
|
|
4837
4840
|
function $04d2f7d9126af667$export$dd32cb565eae0a1f(elements, display, info) {
|
|
4838
4841
|
const handler = ()=>{
|
|
4839
|
-
(0, $
|
|
4842
|
+
(0, $d3d8549954e0318e$export$127751e82111fcf)();
|
|
4840
4843
|
};
|
|
4841
4844
|
$04d2f7d9126af667$var$push_function($04d2f7d9126af667$export$dd32cb565eae0a1f, handler);
|
|
4842
4845
|
info.register_event_listener("click", handler, {
|
|
@@ -5000,15 +5003,15 @@ class $0b6a8303b64cced1$export$1a8782481a9af507 {
|
|
|
5000
5003
|
}
|
|
5001
5004
|
if (!action || action instanceof Event) action = "rec_bar_click";
|
|
5002
5005
|
if (action == "rec_bar_click" && typeof index != "undefined" && product_id) {
|
|
5003
|
-
if (Array.isArray(ga_product_ids)) for (const id of ga_product_ids)(0, $
|
|
5006
|
+
if (Array.isArray(ga_product_ids)) for (const id of ga_product_ids)(0, $d3d8549954e0318e$export$f522672c9379e339)(id, index, {
|
|
5004
5007
|
list_name: "depict_" + this.settings.type
|
|
5005
5008
|
});
|
|
5006
|
-
else (0, $
|
|
5009
|
+
else (0, $d3d8549954e0318e$export$f522672c9379e339)(product_id, index, {
|
|
5007
5010
|
list_name: "depict_" + this.settings.type
|
|
5008
5011
|
});
|
|
5009
5012
|
}
|
|
5010
5013
|
if (this.tracker === undefined) this.tracker = ga("create", this.settings.gaid, "auto", "depict");
|
|
5011
|
-
(0, $
|
|
5014
|
+
(0, $d3d8549954e0318e$export$f75172d2e289cd02)(action);
|
|
5012
5015
|
}
|
|
5013
5016
|
trackPageView() {
|
|
5014
5017
|
if ($0b6a8303b64cced1$var$pageview_sent) {
|
|
@@ -5116,7 +5119,7 @@ class $0b6a8303b64cced1$export$1a8782481a9af507 {
|
|
|
5116
5119
|
};
|
|
5117
5120
|
element.addEventListener("click", listener);
|
|
5118
5121
|
(0, $c8263a2185830bf1$export$82a685f2da2fb027)(element, item.product_id, item.recommendation_id);
|
|
5119
|
-
if (this.settings.shade) (0, $
|
|
5122
|
+
if (this.settings.shade) (0, $fbb09973782881cb$export$6ebd242c09192cec)(element);
|
|
5120
5123
|
// @ts-ignore
|
|
5121
5124
|
if (!element.depict_event_listeners) // @ts-ignore
|
|
5122
5125
|
element.depict_event_listeners = [];
|
|
@@ -5127,7 +5130,7 @@ class $0b6a8303b64cced1$export$1a8782481a9af507 {
|
|
|
5127
5130
|
resultingElements.push(...elements);
|
|
5128
5131
|
});
|
|
5129
5132
|
this.data = recsArray;
|
|
5130
|
-
if (!this.settings.DNT) (0, $
|
|
5133
|
+
if (!this.settings.DNT) (0, $d3d8549954e0318e$export$7babcd5d4056b2ca)(recsArray, this.settings.product_id, {
|
|
5131
5134
|
list_name: "depict_" + this.settings.type
|
|
5132
5135
|
});
|
|
5133
5136
|
return resultingElements;
|
package/dist/module.js
CHANGED
|
@@ -4,7 +4,7 @@ function $parcel$export(e, n, v, s) {
|
|
|
4
4
|
function $parcel$interopDefault(a) {
|
|
5
5
|
return a && a.__esModule ? a.default : a;
|
|
6
6
|
}
|
|
7
|
-
const $571bce04eb920cd8$export$55fe61489d2c7417 = /*@__PURE__*/ (()=>process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.BUILD_TARGET !== "node" && (document.currentScript?.dataset?.debug === "true" || localStorage.getItem("debug") === "true"))();
|
|
7
|
+
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" && (document.currentScript?.dataset?.debug === "true" || localStorage.getItem("debug") === "true"))();
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
|
|
@@ -31,7 +31,7 @@ function $649f456f663da9fc$export$997143d41f6a0c9b(...args) {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
const $0766c85d387a9765$export$83d89fbfd8236492 = "0.0.
|
|
34
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "0.0.44";
|
|
35
35
|
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -1884,7 +1884,7 @@ async function $61b3c9e5f2cf8171$export$836f70a28c317905(product_id) {
|
|
|
1884
1884
|
function $61b3c9e5f2cf8171$export$58c56fe2313fdbe3(elements, display, info, get_event_listener_remover) {
|
|
1885
1885
|
if (typeof BroadcastChannel != "function") return elements;
|
|
1886
1886
|
const disconnectors = [];
|
|
1887
|
-
const handler = (0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9)((e)=>$61b3c9e5f2cf8171$export$8f66c4c7fb96eda2(e, display.product_id));
|
|
1887
|
+
const handler = (0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9)((e)=>$61b3c9e5f2cf8171$export$8f66c4c7fb96eda2(e, ("variant_index" in display ? display.variant_displays[display.variant_index] : display).product_id));
|
|
1888
1888
|
const auxclick_handler = (e)=>e.button === 1 && handler(e);
|
|
1889
1889
|
for(let i = 0; i < elements?.length; i++){
|
|
1890
1890
|
const element = elements[i];
|
|
@@ -2433,8 +2433,8 @@ const $5dbacdc6a3feeb15$export$f0f6c846d96fdbec = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2433
2433
|
|
|
2434
2434
|
|
|
2435
2435
|
|
|
2436
|
-
const $
|
|
2437
|
-
const $
|
|
2436
|
+
const $c749fe63b72056ef$var$g = typeof globalThis == "object" && globalThis || window;
|
|
2437
|
+
const $c749fe63b72056ef$export$f3354ec2ce95ebd9 = /*@__PURE__*/ (0, /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9)(async (GA_ID, strict)=>{
|
|
2438
2438
|
if (process.env.GTAG === "false") return;
|
|
2439
2439
|
if (!GA_ID) {
|
|
2440
2440
|
(0, $649f456f663da9fc$export$c2363754d4758444)("Couldn't load gtag, GA_ID not specified", GA_ID);
|
|
@@ -2454,11 +2454,11 @@ const $0263af58e2304a2b$export$f3354ec2ce95ebd9 = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2454
2454
|
}
|
|
2455
2455
|
// delay loading of script because it's huge and slow according to nordiska galleriet
|
|
2456
2456
|
// @ts-ignore
|
|
2457
|
-
const page_hasnt_loaded = $
|
|
2457
|
+
const page_hasnt_loaded = $c749fe63b72056ef$var$g?.performance?.getEntriesByType?.("navigation")?.every?.((e)=>e?.loadEventEnd) === false;
|
|
2458
2458
|
// Source: comment on https://stackoverflow.com/a/53525488
|
|
2459
2459
|
// don't use readyState, source: personal experience and comment on https://stackoverflow.com/a/28093606
|
|
2460
2460
|
(0, $649f456f663da9fc$export$de56f1198d121036)("Loading gtag after " + (page_hasnt_loaded ? "pageload and " : "") + "3s" + (strict ? "" : ", but setting up queues already"));
|
|
2461
|
-
if (!strict) $
|
|
2461
|
+
if (!strict) $c749fe63b72056ef$export$d031e55ccd4c52dc(GA_ID);
|
|
2462
2462
|
if (page_hasnt_loaded) {
|
|
2463
2463
|
const load_event = await new Promise((r)=>window.addEventListener("load", r, {
|
|
2464
2464
|
once: true
|
|
@@ -2472,24 +2472,25 @@ const $0263af58e2304a2b$export$f3354ec2ce95ebd9 = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2472
2472
|
head.appendChild(script);
|
|
2473
2473
|
(0, $649f456f663da9fc$export$de56f1198d121036)("Loading gtag now", script);
|
|
2474
2474
|
});
|
|
2475
|
-
const $
|
|
2475
|
+
const $c749fe63b72056ef$export$d031e55ccd4c52dc = /*@__PURE__*/ (0, /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9)((GA_ID)=>{
|
|
2476
2476
|
if (process.env.GTAG === "false") return;
|
|
2477
|
-
$
|
|
2477
|
+
$c749fe63b72056ef$var$g.dataLayer ||= [];
|
|
2478
2478
|
function gtag() {
|
|
2479
|
-
$
|
|
2479
|
+
$c749fe63b72056ef$var$g.dataLayer.push(arguments);
|
|
2480
2480
|
}
|
|
2481
|
-
$
|
|
2482
|
-
$
|
|
2483
|
-
$
|
|
2481
|
+
$c749fe63b72056ef$var$g.gtag = gtag;
|
|
2482
|
+
$c749fe63b72056ef$var$g.gtag("js", new Date());
|
|
2483
|
+
$c749fe63b72056ef$var$g.gtag("config", GA_ID, {
|
|
2484
2484
|
"send_page_view": false
|
|
2485
2485
|
});
|
|
2486
2486
|
(0, $649f456f663da9fc$export$de56f1198d121036)("configuring gtag with", GA_ID);
|
|
2487
2487
|
});
|
|
2488
|
-
const $
|
|
2488
|
+
const $c749fe63b72056ef$export$7babcd5d4056b2ca = /*@__PURE__*/ (0, /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9)(async (raw_displays, get_product_id, more)=>{
|
|
2489
|
+
const displays = raw_displays; // gtag tracking is "obsolete" and we don't expect any customers using something else than LegacyDisplay to use it
|
|
2489
2490
|
if (process.env.GTAG === "false") return;
|
|
2490
2491
|
if (process.env.GTAG_VIEW === "false") return;
|
|
2491
|
-
if (process.env.GTAG_EVENT_CONSENT_LEVEL !== undefined && !await $
|
|
2492
|
-
if (typeof $
|
|
2492
|
+
if (process.env.GTAG_EVENT_CONSENT_LEVEL !== undefined && !await $c749fe63b72056ef$var$can_send_gtag_events(displays, get_product_id, more)) return;
|
|
2493
|
+
if (typeof $c749fe63b72056ef$var$g.gtag == "function") {
|
|
2493
2494
|
const make_item = (display, index, id)=>({
|
|
2494
2495
|
id: id,
|
|
2495
2496
|
"list_name": "depict",
|
|
@@ -2512,14 +2513,14 @@ const $0263af58e2304a2b$export$7babcd5d4056b2ca = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2512
2513
|
}
|
|
2513
2514
|
];
|
|
2514
2515
|
(0, $649f456f663da9fc$export$de56f1198d121036)("Sending product view to gtag", gtag_args);
|
|
2515
|
-
$
|
|
2516
|
+
$c749fe63b72056ef$var$g.gtag(...gtag_args);
|
|
2516
2517
|
}
|
|
2517
2518
|
} else (0, $649f456f663da9fc$export$c2363754d4758444)("not sending gtag tracking as there is no gtag");
|
|
2518
2519
|
});
|
|
2519
|
-
const $
|
|
2520
|
+
const $c749fe63b72056ef$export$f522672c9379e339 = /*@__PURE__*/ (0, /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9)(async (product_id, index, more)=>{
|
|
2520
2521
|
if (process.env.GTAG === "false") return;
|
|
2521
|
-
if (process.env.GTAG_EVENT_CONSENT_LEVEL !== undefined && !await $
|
|
2522
|
-
if (typeof $
|
|
2522
|
+
if (process.env.GTAG_EVENT_CONSENT_LEVEL !== undefined && !await $c749fe63b72056ef$var$can_send_gtag_events(product_id, index, more)) return;
|
|
2523
|
+
if (typeof $c749fe63b72056ef$var$g.gtag == "function") {
|
|
2523
2524
|
const gtag_args = [
|
|
2524
2525
|
"event",
|
|
2525
2526
|
"select_content",
|
|
@@ -2536,17 +2537,17 @@ const $0263af58e2304a2b$export$f522672c9379e339 = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2536
2537
|
}
|
|
2537
2538
|
];
|
|
2538
2539
|
(0, $649f456f663da9fc$export$de56f1198d121036)("calling gtag with arguments", gtag_args);
|
|
2539
|
-
return $
|
|
2540
|
+
return $c749fe63b72056ef$var$g.gtag(...gtag_args);
|
|
2540
2541
|
} else (0, $649f456f663da9fc$export$c2363754d4758444)("not sending gtag tracking as there is no gtag");
|
|
2541
2542
|
});
|
|
2542
|
-
const $
|
|
2543
|
+
const $c749fe63b72056ef$export$f75172d2e289cd02 = /*@__PURE__*/ (0, /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9)((action)=>{
|
|
2543
2544
|
if (process.env.GA === "false") return;
|
|
2544
|
-
if (typeof $
|
|
2545
|
+
if (typeof $c749fe63b72056ef$var$g.ga != "function") {
|
|
2545
2546
|
(0, $649f456f663da9fc$export$c2363754d4758444)("Not sending to ga as there is no ga");
|
|
2546
2547
|
return;
|
|
2547
2548
|
}
|
|
2548
2549
|
(0, $649f456f663da9fc$export$de56f1198d121036)("sending", action, "to GA");
|
|
2549
|
-
return $
|
|
2550
|
+
return $c749fe63b72056ef$var$g.ga("depict.send", {
|
|
2550
2551
|
hitType: "event",
|
|
2551
2552
|
eventCategory: "Depict",
|
|
2552
2553
|
eventAction: action,
|
|
@@ -2554,23 +2555,23 @@ const $0263af58e2304a2b$export$f75172d2e289cd02 = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2554
2555
|
nonInteraction: 1
|
|
2555
2556
|
});
|
|
2556
2557
|
});
|
|
2557
|
-
const $
|
|
2558
|
+
const $c749fe63b72056ef$export$ac7296527cb52311 = /*@__PURE__*/ (0, /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9)((GAID)=>{
|
|
2558
2559
|
if (process.env.GA === "false") return;
|
|
2559
2560
|
if (!GAID) {
|
|
2560
2561
|
(0, $649f456f663da9fc$export$c2363754d4758444)(new Error("No GAID specified"));
|
|
2561
2562
|
return;
|
|
2562
2563
|
}
|
|
2563
|
-
if (typeof $
|
|
2564
|
+
if (typeof $c749fe63b72056ef$var$g.ga != "function") {
|
|
2564
2565
|
(0, $649f456f663da9fc$export$de56f1198d121036)("Creating GA queue");
|
|
2565
2566
|
(0, $42bbbba8196bd057$export$674d8cd8b6868154)();
|
|
2566
2567
|
}
|
|
2567
2568
|
(0, $649f456f663da9fc$export$de56f1198d121036)("Creating ga with GA-ID", GAID);
|
|
2568
|
-
$
|
|
2569
|
-
$
|
|
2569
|
+
$c749fe63b72056ef$var$g.ga("create", GAID, "auto", "depict");
|
|
2570
|
+
$c749fe63b72056ef$export$f3354ec2ce95ebd9(GAID, false);
|
|
2570
2571
|
});
|
|
2571
|
-
const $
|
|
2572
|
-
const $
|
|
2573
|
-
async function $
|
|
2572
|
+
const $c749fe63b72056ef$export$127751e82111fcf = /*@__PURE__*/ (0, /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9)(()=>$c749fe63b72056ef$export$f75172d2e289cd02("rec_bar_click"));
|
|
2573
|
+
const $c749fe63b72056ef$export$bf205937e5e012cb = /*@__PURE__*/ (0, /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9)(()=>$c749fe63b72056ef$export$f75172d2e289cd02("add_to_cart_after_rec_bar_click"));
|
|
2574
|
+
async function $c749fe63b72056ef$var$can_send_gtag_events(...stuff_to_log) {
|
|
2574
2575
|
const required_consent_level = process.env.GTAG_LOADING_CONSENT_LEVEL;
|
|
2575
2576
|
if (required_consent_level !== undefined) return true; // just in case
|
|
2576
2577
|
const ipns = process.env.CONSENT_FRAMEWORK == "optanon" ? (0, $5dbacdc6a3feeb15$export$7e4427e80d5fc619)() : (0, $155540b3b8aca771$export$8827362e5e938d26)();
|
|
@@ -2619,7 +2620,7 @@ const $0a581f1dfa083522$export$59ba1eb2c083f0cd = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2619
2620
|
const $0a581f1dfa083522$export$a96c18473f2af463 = (tenant, selector, validator)=>{
|
|
2620
2621
|
return (0, $0b48ba2f40ce6067$export$b6ae1bc530f4c149).onexists(selector, ({ element: element })=>(0, $91b2e49f92ed636c$export$2c34560c3749dc63)(element, tenant.get_product_id, (p_id, r_id, was_unmatching, event)=>{
|
|
2621
2622
|
if (typeof validator === "function" && !validator(event)) return;
|
|
2622
|
-
if (!was_unmatching) (0, $
|
|
2623
|
+
if (!was_unmatching) (0, $c749fe63b72056ef$export$bf205937e5e012cb)();
|
|
2623
2624
|
(0, $43683b1103edab15$export$9028351cb994757e)({
|
|
2624
2625
|
...tenant,
|
|
2625
2626
|
product_id: p_id,
|
|
@@ -2705,7 +2706,7 @@ class $26eaaddf434c84f1$export$8d42ce4827f43582 {
|
|
|
2705
2706
|
this.TYPE = options.TYPE || "normal";
|
|
2706
2707
|
this.catchify = (0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9);
|
|
2707
2708
|
this.err = (0, $7547e32486a3abc0$export$8048b892d651b310);
|
|
2708
|
-
if (this.GA_ID) (0, $
|
|
2709
|
+
if (this.GA_ID) (0, $c749fe63b72056ef$export$ac7296527cb52311)(this.GA_ID);
|
|
2709
2710
|
// https://gitlab.com/depict-ai/depict.ai/-/merge_requests/2318#note_927887712
|
|
2710
2711
|
this.get_product_id = (0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9)((...args)=>{
|
|
2711
2712
|
const id = options.get_product_id(...args);
|
|
@@ -2733,14 +2734,14 @@ class $26eaaddf434c84f1$export$8d42ce4827f43582 {
|
|
|
2733
2734
|
*/ // albania
|
|
2734
2735
|
|
|
2735
2736
|
|
|
2736
|
-
const $
|
|
2737
|
-
const $
|
|
2738
|
-
const $
|
|
2739
|
-
const $
|
|
2737
|
+
const $d4ffde0b9fca0369$var$default_get_rec_id = (elem)=>elem?.dataset?.depict_recommendation_id || elem?.dataset?.recommendationId;
|
|
2738
|
+
const $d4ffde0b9fca0369$var$default_get_prod_id = (elem)=>elem?.dataset?.depict_product_id || elem?.dataset?.productId;
|
|
2739
|
+
const $d4ffde0b9fca0369$var$default_get_ga_prod_id = (elem)=>elem?.dataset?.ga_ids;
|
|
2740
|
+
const $d4ffde0b9fca0369$var$get_index_in_children_of_el = (el)=>[
|
|
2740
2741
|
...el?.parentElement?.children || []
|
|
2741
2742
|
].indexOf(el);
|
|
2742
|
-
const $
|
|
2743
|
-
const { product_selector: product_selector , a2c_selector: a2c_selector , rec_a2c_selector: rec_a2c_selector , rec_a2c_unbubbled: rec_a2c_unbubbled , get_product_id: get_product_id = options.t?.get_product_id , get_rec_id: get_rec_id = $
|
|
2743
|
+
const $d4ffde0b9fca0369$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9)(async (options, gtag_options)=>{
|
|
2744
|
+
const { product_selector: product_selector , a2c_selector: a2c_selector , rec_a2c_selector: rec_a2c_selector , rec_a2c_unbubbled: rec_a2c_unbubbled , get_product_id: get_product_id = options.t?.get_product_id , get_rec_id: get_rec_id = $d4ffde0b9fca0369$var$default_get_rec_id , get_prod_id: get_prod_id = $d4ffde0b9fca0369$var$default_get_prod_id , get_ga_prod_id: get_ga_prod_id = $d4ffde0b9fca0369$var$default_get_ga_prod_id , get_display: get_display , impression_tracking: impression_tracking , a2c_elements: a2c_elements , product_elements: product_elements , t: t , click_location_prefix: click_location_prefix = (elem)=>elem?.parentElement?.dataset?.type + "_" } = options;
|
|
2744
2745
|
const get_display_data = async (elem)=>{
|
|
2745
2746
|
const data = {};
|
|
2746
2747
|
if (get_prod_id) data.product_id = await get_prod_id(elem) || (get_product_id ? await get_product_id(elem.querySelector("a")?.href || elem?.href) : undefined);
|
|
@@ -2764,7 +2765,7 @@ const $eb214beed0934fa9$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2764
2765
|
})();
|
|
2765
2766
|
// Product card
|
|
2766
2767
|
const add_tracking_to_product_card = (0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9)(async ({ element: elem })=>{
|
|
2767
|
-
const index = $
|
|
2768
|
+
const index = $d4ffde0b9fca0369$var$get_index_in_children_of_el(elem);
|
|
2768
2769
|
const data = await get_display_data(elem);
|
|
2769
2770
|
const prefix = typeof click_location_prefix === "function" && click_location_prefix(elem) || "depict_";
|
|
2770
2771
|
const gtag_list_name = "depict_" + (prefix[prefix.length - 1] == "_" ? prefix.substr(0, prefix.length - 1) : prefix);
|
|
@@ -2819,9 +2820,9 @@ const $eb214beed0934fa9$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2819
2820
|
const product_id = data.product_id || "DNT";
|
|
2820
2821
|
const recommendation_id = data.recommendation_id || "not_depict";
|
|
2821
2822
|
localStorage.setItem(`depict_attribution_${product_id}`, recommendation_id);
|
|
2822
|
-
const index = $
|
|
2823
|
+
const index = $d4ffde0b9fca0369$var$get_index_in_children_of_el(elem);
|
|
2823
2824
|
const click_location = prefix + (index + 1);
|
|
2824
|
-
(0, $
|
|
2825
|
+
(0, $c749fe63b72056ef$export$127751e82111fcf)();
|
|
2825
2826
|
(0, $43683b1103edab15$export$15f8a0cd5a8c0ebb)({
|
|
2826
2827
|
...options.t || {},
|
|
2827
2828
|
...options,
|
|
@@ -2836,12 +2837,12 @@ const $eb214beed0934fa9$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2836
2837
|
list_name: gtag_list_name,
|
|
2837
2838
|
...gtag_options
|
|
2838
2839
|
};
|
|
2839
|
-
(0, $
|
|
2840
|
+
(0, $c749fe63b72056ef$export$f522672c9379e339)(data.product_id, index, gtag_options_with_click_location);
|
|
2840
2841
|
try {
|
|
2841
2842
|
const to_iterate = [];
|
|
2842
2843
|
if (data.ga_product_id) to_iterate.push(...data.ga_product_id.toString?.().split(",") ?? []);
|
|
2843
2844
|
to_iterate.push(...data.ga_product_ids || []);
|
|
2844
|
-
to_iterate.forEach((id)=>(0, $
|
|
2845
|
+
to_iterate.forEach((id)=>(0, $c749fe63b72056ef$export$f522672c9379e339)(id, index, gtag_options_with_click_location));
|
|
2845
2846
|
} catch (e) {
|
|
2846
2847
|
(0, $649f456f663da9fc$export$c2363754d4758444)("Something went wrong when sending gtag click tracking on a product with multiple ga_ids");
|
|
2847
2848
|
(0, $b04e44fad5ea42c7$export$f18d5b0af29128b7)(e, "error");
|
|
@@ -2874,7 +2875,7 @@ const $eb214beed0934fa9$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2874
2875
|
});
|
|
2875
2876
|
element.dispatchEvent(click);
|
|
2876
2877
|
}
|
|
2877
|
-
(0, $
|
|
2878
|
+
(0, $c749fe63b72056ef$export$bf205937e5e012cb)();
|
|
2878
2879
|
(0, $43683b1103edab15$export$9028351cb994757e)({
|
|
2879
2880
|
...options.t || {},
|
|
2880
2881
|
...options,
|
|
@@ -2885,13 +2886,13 @@ const $eb214beed0934fa9$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2885
2886
|
};
|
|
2886
2887
|
track_rec_a2c(elem);
|
|
2887
2888
|
}
|
|
2888
|
-
if (options.shade) $
|
|
2889
|
+
if (options.shade) $d4ffde0b9fca0369$export$6ebd242c09192cec(elem);
|
|
2889
2890
|
if (options.attempt_gtag_view_tracking && Object.keys(gtag_view_product_ids)?.length) // setTimeout to batch the requests / put it all into one gtag view event
|
|
2890
2891
|
setTimeout((0, $b04e44fad5ea42c7$export$b3bbfd758f11cfa9)(()=>{
|
|
2891
2892
|
for(const key in gtag_view_product_ids){
|
|
2892
2893
|
const product_ids = gtag_view_product_ids[key];
|
|
2893
2894
|
if (product_ids?.length) {
|
|
2894
|
-
(0, $
|
|
2895
|
+
(0, $c749fe63b72056ef$export$7babcd5d4056b2ca)(product_ids, ()=>"", {
|
|
2895
2896
|
list_name: key,
|
|
2896
2897
|
...gtag_options
|
|
2897
2898
|
});
|
|
@@ -2908,7 +2909,7 @@ const $eb214beed0934fa9$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2908
2909
|
// Page A2C button tracking
|
|
2909
2910
|
const a2c_handler = ({ element: element })=>{
|
|
2910
2911
|
(0, $91b2e49f92ed636c$export$2c34560c3749dc63)(element, get_product_id, (product_id, recommendation_id, was_unmatching)=>{
|
|
2911
|
-
if (!was_unmatching) (0, $
|
|
2912
|
+
if (!was_unmatching) (0, $c749fe63b72056ef$export$bf205937e5e012cb)();
|
|
2912
2913
|
(0, $43683b1103edab15$export$9028351cb994757e)({
|
|
2913
2914
|
...options.t || {},
|
|
2914
2915
|
...options,
|
|
@@ -2920,7 +2921,7 @@ const $eb214beed0934fa9$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2920
2921
|
}
|
|
2921
2922
|
});
|
|
2922
2923
|
}, options.always_track_a2c);
|
|
2923
|
-
if (options.shade) $
|
|
2924
|
+
if (options.shade) $d4ffde0b9fca0369$export$6ebd242c09192cec(element);
|
|
2924
2925
|
};
|
|
2925
2926
|
if (typeof a2c_selector == "string") (0, $0b48ba2f40ce6067$export$b6ae1bc530f4c149).onexists(a2c_selector, a2c_handler);
|
|
2926
2927
|
else if (a2c_elements && typeof a2c_elements?.[Symbol.iterator] == "function") for (const element of a2c_elements)a2c_handler({
|
|
@@ -2936,7 +2937,7 @@ const $eb214beed0934fa9$export$29a6094e0bd8bc5f = /*@__PURE__*/ (0, /*@__PURE__*
|
|
|
2936
2937
|
})
|
|
2937
2938
|
};
|
|
2938
2939
|
});
|
|
2939
|
-
const $
|
|
2940
|
+
const $d4ffde0b9fca0369$export$6ebd242c09192cec = /*@__PURE__*/ (0, /*@__PURE__*/$b04e44fad5ea42c7$export$b3bbfd758f11cfa9)((element)=>{
|
|
2940
2941
|
element.style.boxShadow = "rgba(255,0,0,0.5) 10px 10px 30px 40px";
|
|
2941
2942
|
element.style.background = "rgba(255,0,0,0.5)";
|
|
2942
2943
|
element.style.color = "white";
|
|
@@ -3127,6 +3128,7 @@ async function $5cbe24d064a033ed$export$a9fc160c5ed83bd7(t, rendering_options) {
|
|
|
3127
3128
|
function $5cbe24d064a033ed$export$e0009e7da572f99b(template, display = {}) {
|
|
3128
3129
|
const discount_matcher = /{DISCOUNT{([\s\S]+?)}}/g;
|
|
3129
3130
|
const no_discount_matcher = /{NODISCOUNT{([\s\S]+?)}}/g;
|
|
3131
|
+
if ("variant_index" in display) throw new Error("Modern display in ancient templating");
|
|
3130
3132
|
const { sale_price: sale_price , original_price: original_price } = display;
|
|
3131
3133
|
if (sale_price !== original_price) template = template.replaceAll(discount_matcher, "$1").replaceAll(no_discount_matcher, "");
|
|
3132
3134
|
else template = template.replaceAll(discount_matcher, "").replaceAll(no_discount_matcher, "$1");
|
|
@@ -4508,7 +4510,7 @@ function $c1503704e45e6a15$export$1bffac19f9f0d6fc(elements, _display, info) {
|
|
|
4508
4510
|
$c1503704e45e6a15$export$3777a14dd8c2363d.add(displays);
|
|
4509
4511
|
const { get_product_id: get_product_id } = info.t;
|
|
4510
4512
|
const { type: type } = rendering_options;
|
|
4511
|
-
(0, $
|
|
4513
|
+
(0, $c749fe63b72056ef$export$7babcd5d4056b2ca)(displays, get_product_id /* yes this might create errors if there's no page_url in the display but don't have time to fix, sorry */ , {
|
|
4512
4514
|
list_name: "depict_" + type
|
|
4513
4515
|
});
|
|
4514
4516
|
}
|
|
@@ -4531,10 +4533,10 @@ function $c1503704e45e6a15$export$9e1caada6901f552(elements, _display, info) {
|
|
|
4531
4533
|
function $c1503704e45e6a15$export$8d72437623fef90c(elements, display, info) {
|
|
4532
4534
|
const handler = ()=>{
|
|
4533
4535
|
const { ga_product_ids: ga_product_ids , ga_product_id: ga_product_id , product_id: product_id } = display;
|
|
4534
|
-
if (Array.isArray(ga_product_ids)) for(let i = 0; i < ga_product_ids.length; i++)(0, $
|
|
4536
|
+
if (Array.isArray(ga_product_ids)) for(let i = 0; i < ga_product_ids.length; i++)(0, $c749fe63b72056ef$export$f522672c9379e339)(ga_product_ids[i], info.index, {
|
|
4535
4537
|
list_name: "depict_" + info.rendering_options.type
|
|
4536
4538
|
});
|
|
4537
|
-
else (0, $
|
|
4539
|
+
else (0, $c749fe63b72056ef$export$f522672c9379e339)(ga_product_id || product_id, info.index, {
|
|
4538
4540
|
list_name: "depict_" + info.rendering_options.type
|
|
4539
4541
|
});
|
|
4540
4542
|
};
|
|
@@ -4553,7 +4555,7 @@ function $c1503704e45e6a15$export$e9106d6e723510d2(elements, display, info) {
|
|
|
4553
4555
|
...display,
|
|
4554
4556
|
click_location: rendering_options.type + "_" + (index + 1),
|
|
4555
4557
|
recommendation_type: rendering_options.type,
|
|
4556
|
-
product_id: display.product_id
|
|
4558
|
+
product_id: "variant_index" in display ? display.variant_displays[display.variant_index].product_id : display.product_id
|
|
4557
4559
|
});
|
|
4558
4560
|
};
|
|
4559
4561
|
$c1503704e45e6a15$var$push_function($c1503704e45e6a15$export$e9106d6e723510d2, handler);
|
|
@@ -4563,7 +4565,8 @@ function $c1503704e45e6a15$export$e9106d6e723510d2(elements, display, info) {
|
|
|
4563
4565
|
return elements;
|
|
4564
4566
|
}
|
|
4565
4567
|
function $c1503704e45e6a15$export$32eb5dd18e963410(elements, display, info) {
|
|
4566
|
-
const {
|
|
4568
|
+
const { search_result_id: search_result_id } = display;
|
|
4569
|
+
const { product_id: product_id , recommendation_id: recommendation_id } = "variant_index" in display ? display.variant_displays[display.variant_index] : display;
|
|
4567
4570
|
if (!elements?.length) return elements;
|
|
4568
4571
|
for (const element of elements){
|
|
4569
4572
|
const handler = (0, $91b2e49f92ed636c$export$82a685f2da2fb027)(element, product_id, recommendation_id || search_result_id);
|
|
@@ -4573,7 +4576,7 @@ function $c1503704e45e6a15$export$32eb5dd18e963410(elements, display, info) {
|
|
|
4573
4576
|
}
|
|
4574
4577
|
function $c1503704e45e6a15$export$dd32cb565eae0a1f(elements, display, info) {
|
|
4575
4578
|
const handler = ()=>{
|
|
4576
|
-
(0, $
|
|
4579
|
+
(0, $c749fe63b72056ef$export$127751e82111fcf)();
|
|
4577
4580
|
};
|
|
4578
4581
|
$c1503704e45e6a15$var$push_function($c1503704e45e6a15$export$dd32cb565eae0a1f, handler);
|
|
4579
4582
|
info.register_event_listener("click", handler, {
|
|
@@ -4737,15 +4740,15 @@ class $366fff12da348e66$export$1a8782481a9af507 {
|
|
|
4737
4740
|
}
|
|
4738
4741
|
if (!action || action instanceof Event) action = "rec_bar_click";
|
|
4739
4742
|
if (action == "rec_bar_click" && typeof index != "undefined" && product_id) {
|
|
4740
|
-
if (Array.isArray(ga_product_ids)) for (const id of ga_product_ids)(0, $
|
|
4743
|
+
if (Array.isArray(ga_product_ids)) for (const id of ga_product_ids)(0, $c749fe63b72056ef$export$f522672c9379e339)(id, index, {
|
|
4741
4744
|
list_name: "depict_" + this.settings.type
|
|
4742
4745
|
});
|
|
4743
|
-
else (0, $
|
|
4746
|
+
else (0, $c749fe63b72056ef$export$f522672c9379e339)(product_id, index, {
|
|
4744
4747
|
list_name: "depict_" + this.settings.type
|
|
4745
4748
|
});
|
|
4746
4749
|
}
|
|
4747
4750
|
if (this.tracker === undefined) this.tracker = ga("create", this.settings.gaid, "auto", "depict");
|
|
4748
|
-
(0, $
|
|
4751
|
+
(0, $c749fe63b72056ef$export$f75172d2e289cd02)(action);
|
|
4749
4752
|
}
|
|
4750
4753
|
trackPageView() {
|
|
4751
4754
|
if ($366fff12da348e66$var$pageview_sent) {
|
|
@@ -4853,7 +4856,7 @@ class $366fff12da348e66$export$1a8782481a9af507 {
|
|
|
4853
4856
|
};
|
|
4854
4857
|
element.addEventListener("click", listener);
|
|
4855
4858
|
(0, $91b2e49f92ed636c$export$82a685f2da2fb027)(element, item.product_id, item.recommendation_id);
|
|
4856
|
-
if (this.settings.shade) (0, $
|
|
4859
|
+
if (this.settings.shade) (0, $d4ffde0b9fca0369$export$6ebd242c09192cec)(element);
|
|
4857
4860
|
// @ts-ignore
|
|
4858
4861
|
if (!element.depict_event_listeners) // @ts-ignore
|
|
4859
4862
|
element.depict_event_listeners = [];
|
|
@@ -4864,7 +4867,7 @@ class $366fff12da348e66$export$1a8782481a9af507 {
|
|
|
4864
4867
|
resultingElements.push(...elements);
|
|
4865
4868
|
});
|
|
4866
4869
|
this.data = recsArray;
|
|
4867
|
-
if (!this.settings.DNT) (0, $
|
|
4870
|
+
if (!this.settings.DNT) (0, $c749fe63b72056ef$export$7babcd5d4056b2ca)(recsArray, this.settings.product_id, {
|
|
4868
4871
|
list_name: "depict_" + this.settings.type
|
|
4869
4872
|
});
|
|
4870
4873
|
return resultingElements;
|
|
@@ -8703,4 +8706,4 @@ function $4d49697a7a9a77a6$export$b481488de1caa85(obj) {
|
|
|
8703
8706
|
(0, $649f456f663da9fc$export$de56f1198d121036)("@depict-ai/utilishared version", (0, $0766c85d387a9765$export$83d89fbfd8236492));
|
|
8704
8707
|
|
|
8705
8708
|
|
|
8706
|
-
export {$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, $eb214beed0934fa9$export$29a6094e0bd8bc5f as AIO, $eb214beed0934fa9$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, $0263af58e2304a2b$export$f75172d2e289cd02 as send_ga, $0263af58e2304a2b$export$ac7296527cb52311 as setup_ga, $0263af58e2304a2b$export$d031e55ccd4c52dc as setup_gtag, $0263af58e2304a2b$export$f522672c9379e339 as gtag_click, $0263af58e2304a2b$export$bf205937e5e012cb as ga_purchase_click, $0263af58e2304a2b$export$127751e82111fcf as ga_rec_click, $0263af58e2304a2b$export$7babcd5d4056b2ca as gtag_view, $0263af58e2304a2b$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, $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, $ec750a6d2c6eaa57$export$2624c5890f1bbcf7 as ArrowUp, $7ef13b49cbcd4a08$export$1c641004b5485fed as BackIcon, $ec770301d57afdae$export$3b621d86b1566b2 as CrossIcon, $655593feacb9828c$export$28f6150e232898de as FilterIcon, $62fd1a9c2195af77$export$8be2714ec7f169ee as GenericSliderArrowButton, $e29993023c5b77a4$export$cb808a3c41736d8e as MinusIcon, $7f7db0445af6c4b0$export$f21ab0717a89c77f as PlusIcon, $bac8989b3f4c29b2$export$5d2caaa6b530761c as PreviousSearchIcon, $26bcec40c802fcbf$export$82eafebb825fc23f as SearchIcon, $84b9f4594b6e2b53$export$da32f7add8a22e86 as SortIconAsc, $d2fe3fd446d52b45$export$d10e63059ddb9fd4 as SortIconDesc, $f5ca01afd4680bdd$export$f2ca6fc699ca1fb4 as TickIcon, $6c2b49f3f564b0d1$export$362abebb4b313340 as base_url, $eba382943196079c$export$af2e17a20c2ea3c5 as Sentry, $4d49697a7a9a77a6$export$9dc8f3a0aa3efc85 as camelCasifyObject, $4d49697a7a9a77a6$export$b481488de1caa85 as snakeCasifyObject, $0766c85d387a9765$export$83d89fbfd8236492 as version, $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};
|
|
8709
|
+
export {$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, $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, $ec750a6d2c6eaa57$export$2624c5890f1bbcf7 as ArrowUp, $7ef13b49cbcd4a08$export$1c641004b5485fed as BackIcon, $ec770301d57afdae$export$3b621d86b1566b2 as CrossIcon, $655593feacb9828c$export$28f6150e232898de as FilterIcon, $62fd1a9c2195af77$export$8be2714ec7f169ee as GenericSliderArrowButton, $e29993023c5b77a4$export$cb808a3c41736d8e as MinusIcon, $7f7db0445af6c4b0$export$f21ab0717a89c77f as PlusIcon, $bac8989b3f4c29b2$export$5d2caaa6b530761c as PreviousSearchIcon, $26bcec40c802fcbf$export$82eafebb825fc23f as SearchIcon, $84b9f4594b6e2b53$export$da32f7add8a22e86 as SortIconAsc, $d2fe3fd446d52b45$export$d10e63059ddb9fd4 as SortIconDesc, $f5ca01afd4680bdd$export$f2ca6fc699ca1fb4 as TickIcon, $6c2b49f3f564b0d1$export$362abebb4b313340 as base_url, $eba382943196079c$export$af2e17a20c2ea3c5 as Sentry, $4d49697a7a9a77a6$export$9dc8f3a0aa3efc85 as camelCasifyObject, $4d49697a7a9a77a6$export$b481488de1caa85 as snakeCasifyObject, $0766c85d387a9765$export$83d89fbfd8236492 as version, $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};
|