@depict-ai/utilishared 1.0.51 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ES10/index.cjs +55 -183
- package/ES10/index.d.ts +9 -25
- package/ES10/index.js +52 -174
- package/latest/index.cjs +54 -183
- package/latest/index.d.ts +9 -25
- package/latest/index.js +51 -174
- package/package.json +4 -4
package/ES10/index.js
CHANGED
|
@@ -15,7 +15,7 @@ function $parcel$export(e, n, v, s) {
|
|
|
15
15
|
function $parcel$interopDefault(a) {
|
|
16
16
|
return a && a.__esModule ? a.default : a;
|
|
17
17
|
}
|
|
18
|
-
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "
|
|
18
|
+
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "2.0.1";
|
|
19
19
|
const $a5a2bdb4ae93374b$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
|
|
20
20
|
const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
|
|
21
21
|
let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
|
|
@@ -1038,7 +1038,7 @@ function $6cb4d83127e468ea$export$a6db784f019668ba() {
|
|
|
1038
1038
|
const $9e4bee2e3b4b5753$export$362abebb4b313340 = process.env.BASE_URL || "https://api.depict.ai";
|
|
1039
1039
|
const $814c3bf8e175fa59$var$c = (0, $5e1f45affc1d7def$export$b3bbfd758f11cfa9);
|
|
1040
1040
|
const $814c3bf8e175fa59$var$ws_instance = /*@__PURE__*/$814c3bf8e175fa59$var$c(() => new (0, $f5a4b8e233f0e1cd$export$1d9c6fddbff3441f)("wss://ws.depict.ai/ws/create-events"))();
|
|
1041
|
-
const $814c3bf8e175fa59$var$allowed_keys = ["tenant", "market", "type", "
|
|
1041
|
+
const $814c3bf8e175fa59$var$allowed_keys = ["tenant", "market", "type", "session_id", "product_id", "entity_identifiers", "url", "entity_price", "currency", "document_referrer", "document_width", "attribution_id", "recommendation_id", "click_location", "ab_test_group", "variant_ids", "transaction_id", "error_type", "detail", "recommendation_type", "search_result_id", "product_listing_result_id"];
|
|
1042
1042
|
const $814c3bf8e175fa59$export$72036d950e1fae95 = /*@__PURE__*/$814c3bf8e175fa59$var$c(payload => {
|
|
1043
1043
|
if (process.env.DEPICT === "false") return;
|
|
1044
1044
|
return payload.map(body => Object.fromEntries(Object.entries(body).filter(_ref => {
|
|
@@ -1113,13 +1113,14 @@ const $814c3bf8e175fa59$export$28cacbd9b4306ffc = /*@__PURE__*/$814c3bf8e175fa59
|
|
|
1113
1113
|
// filter_depict_payload will only return undefined if process.env.DEPICT === "false"
|
|
1114
1114
|
return $814c3bf8e175fa59$export$608478473a3304a0($814c3bf8e175fa59$export$72036d950e1fae95(payload), use_ws);
|
|
1115
1115
|
});
|
|
1116
|
-
let $d5f7352b58e0d737$export$
|
|
1116
|
+
let $d5f7352b58e0d737$export$61e7e1f11e96692f = () => {
|
|
1117
1117
|
if (typeof document === "undefined") return "server";
|
|
1118
1118
|
let id = "";
|
|
1119
1119
|
let localstorage_error;
|
|
1120
1120
|
let cookie_error;
|
|
1121
1121
|
try {
|
|
1122
1122
|
var _localStorage;
|
|
1123
|
+
// localStorage._dep_id also accessed directly by depict-purchase-tracking Shopify web pixel
|
|
1123
1124
|
id = (_localStorage = localStorage)._dep_id || (_localStorage._dep_id = $6cb4d83127e468ea$export$656831b7e9c341c3());
|
|
1124
1125
|
} catch (e) {
|
|
1125
1126
|
$241f2f02cc612a49$export$de56f1198d121036("Can't use localStorage", e);
|
|
@@ -1153,17 +1154,11 @@ let $d5f7352b58e0d737$export$6399bdb2291895e0 = () => {
|
|
|
1153
1154
|
if (!id) id = $6cb4d83127e468ea$export$656831b7e9c341c3();
|
|
1154
1155
|
return id;
|
|
1155
1156
|
};
|
|
1156
|
-
let $d5f7352b58e0d737$export$adc61a405a4cabed = $d5f7352b58e0d737$export$6399bdb2291895e0;
|
|
1157
|
-
let $d5f7352b58e0d737$export$61e7e1f11e96692f = () => undefined;
|
|
1158
|
-
const $d5f7352b58e0d737$export$336e7ad40bae0652 = /*@__PURE__*/$5e1f45affc1d7def$export$b3bbfd758f11cfa9(newfn => $d5f7352b58e0d737$export$6399bdb2291895e0 = newfn);
|
|
1159
|
-
const $d5f7352b58e0d737$export$8a96793bf9f87d90 = /*@__PURE__*/$5e1f45affc1d7def$export$b3bbfd758f11cfa9(newfn => $d5f7352b58e0d737$export$adc61a405a4cabed = newfn);
|
|
1160
1157
|
const $d5f7352b58e0d737$export$93ae15b1ae509334 = /*@__PURE__*/$5e1f45affc1d7def$export$b3bbfd758f11cfa9(newfn => $d5f7352b58e0d737$export$61e7e1f11e96692f = newfn);
|
|
1161
1158
|
const $d5f7352b58e0d737$export$8c6f26a5b6921b95 = /*@__PURE__*/() => {
|
|
1162
1159
|
var _document;
|
|
1163
1160
|
return {
|
|
1164
1161
|
session_id: $d5f7352b58e0d737$export$61e7e1f11e96692f(),
|
|
1165
|
-
user_id: $d5f7352b58e0d737$export$adc61a405a4cabed(),
|
|
1166
|
-
dsid: $d5f7352b58e0d737$export$6399bdb2291895e0(),
|
|
1167
1162
|
url: document.location.href,
|
|
1168
1163
|
document_width: window.innerWidth,
|
|
1169
1164
|
document_referrer: (_document = document) === null || _document === void 0 ? void 0 : _document.referrer
|
|
@@ -2544,14 +2539,12 @@ const $be5f485da4e3f813$export$abec7fd9f0b9cc22 = /*@__PURE__*/$5e1f45affc1d7def
|
|
|
2544
2539
|
let anon_id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "anonymous";
|
|
2545
2540
|
$241f2f02cc612a49$export$de56f1198d121036("Initializing Cookiebot tracking");
|
|
2546
2541
|
if (!$be5f485da4e3f813$var$required_consent_level) return $241f2f02cc612a49$export$de56f1198d121036("No consent level set for Depict tracking. Ignoring consent and tracking everything.");
|
|
2547
|
-
const
|
|
2548
|
-
|
|
2549
|
-
$d5f7352b58e0d737$export$336e7ad40bae0652(() => $be5f485da4e3f813$var$has_consent ? original_get_depict_id() : anon_id);
|
|
2550
|
-
$d5f7352b58e0d737$export$8a96793bf9f87d90(() => $be5f485da4e3f813$var$has_consent ? original_get_user_id() : anon_id);
|
|
2542
|
+
const original_get_session_id = (0, $d5f7352b58e0d737$export$61e7e1f11e96692f);
|
|
2543
|
+
$d5f7352b58e0d737$export$93ae15b1ae509334(() => $be5f485da4e3f813$var$has_consent ? original_get_session_id() : anon_id);
|
|
2551
2544
|
for await (const consent_obj of $be5f485da4e3f813$export$8827362e5e938d26()) {
|
|
2552
2545
|
// Changing this will change the return value of function given to set_depict_id_fn above
|
|
2553
2546
|
$be5f485da4e3f813$var$has_consent = consent_obj[$be5f485da4e3f813$var$required_consent_level];
|
|
2554
|
-
if (!$be5f485da4e3f813$var$has_consent) $241f2f02cc612a49$export$de56f1198d121036('dsid
|
|
2547
|
+
if (!$be5f485da4e3f813$var$has_consent) $241f2f02cc612a49$export$de56f1198d121036('dsid will be set to, "'.concat(anon_id, '", until Cookiebot has consent for "').concat($be5f485da4e3f813$var$required_consent_level, '"'));else $241f2f02cc612a49$export$de56f1198d121036('Cookiebot obtained consent for "'.concat($be5f485da4e3f813$var$required_consent_level, '", will use true dsid/session_id'));
|
|
2555
2548
|
}
|
|
2556
2549
|
});
|
|
2557
2550
|
const $d4217f56717a3207$var$required_consent_level = process.env.DEPICT_TRACKING_CONSENT_LEVEL;
|
|
@@ -2614,14 +2607,12 @@ const $d4217f56717a3207$export$f0f6c846d96fdbec = /*@__PURE__*/$5e1f45affc1d7def
|
|
|
2614
2607
|
let anon_id = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "anonymous";
|
|
2615
2608
|
$241f2f02cc612a49$export$de56f1198d121036("Initializing OptAnon tracking");
|
|
2616
2609
|
if (!$d4217f56717a3207$var$required_consent_level) return $241f2f02cc612a49$export$de56f1198d121036("No consent level set for Depict tracking. Ignoring consent and tracking everything.");
|
|
2617
|
-
const
|
|
2618
|
-
|
|
2619
|
-
$d5f7352b58e0d737$export$336e7ad40bae0652(() => $d4217f56717a3207$var$has_consent ? original_get_depict_id() : anon_id);
|
|
2620
|
-
$d5f7352b58e0d737$export$8a96793bf9f87d90(() => $d4217f56717a3207$var$has_consent ? original_get_user_id() : anon_id);
|
|
2610
|
+
const original_get_session_id = (0, $d5f7352b58e0d737$export$61e7e1f11e96692f);
|
|
2611
|
+
$d5f7352b58e0d737$export$93ae15b1ae509334(() => $d4217f56717a3207$var$has_consent ? original_get_session_id() : anon_id);
|
|
2621
2612
|
for await (const consent_obj of $d4217f56717a3207$export$7e4427e80d5fc619()) {
|
|
2622
2613
|
// Changing this will change the return value of function given to set_depict_id_fn above
|
|
2623
2614
|
$d4217f56717a3207$var$has_consent = consent_obj[$d4217f56717a3207$var$required_consent_level];
|
|
2624
|
-
if (!$d4217f56717a3207$var$has_consent) $241f2f02cc612a49$export$de56f1198d121036('dsid/
|
|
2615
|
+
if (!$d4217f56717a3207$var$has_consent) $241f2f02cc612a49$export$de56f1198d121036('dsid/session_id will be set to, "'.concat(anon_id, '", until Optanon has consent for "').concat($d4217f56717a3207$var$required_consent_level, '"'));else $241f2f02cc612a49$export$de56f1198d121036('Optanon obtained consent for "'.concat($d4217f56717a3207$var$required_consent_level, '", will use true dsid/session_id'));
|
|
2625
2616
|
}
|
|
2626
2617
|
});
|
|
2627
2618
|
const $3674b9afc9a63520$var$g = typeof globalThis == "object" && globalThis || window;
|
|
@@ -3241,15 +3232,11 @@ async function $51dfcecbe05cc4e5$export$1bc0df10745d5412(t, options, headers) {
|
|
|
3241
3232
|
}
|
|
3242
3233
|
async function $51dfcecbe05cc4e5$export$d40679eb4cf32f09(t, options, headers) {
|
|
3243
3234
|
let get_url = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : $51dfcecbe05cc4e5$var$default_get_fetch_url;
|
|
3244
|
-
const dsid = $d5f7352b58e0d737$export$6399bdb2291895e0();
|
|
3245
3235
|
const session_id = options.session_id || $d5f7352b58e0d737$export$61e7e1f11e96692f();
|
|
3246
|
-
const user_id = options.user_id || dsid;
|
|
3247
3236
|
const body = {
|
|
3248
3237
|
tenant: t.tenant,
|
|
3249
3238
|
market: t.market,
|
|
3250
|
-
user_id: user_id,
|
|
3251
3239
|
session_id: session_id,
|
|
3252
|
-
dsid: dsid,
|
|
3253
3240
|
document_referrer: document.referrer,
|
|
3254
3241
|
...options
|
|
3255
3242
|
};
|
|
@@ -3889,7 +3876,7 @@ class $5f31622ffb78bc10$export$3be7054c61590ee3 {
|
|
|
3889
3876
|
for (let i = 0; i < mutations.length; i++) {
|
|
3890
3877
|
const matching_added_els = $652300c6621d5500$export$5e63aea0cac01fa0(mutations[i].addedNodes, this.selector);
|
|
3891
3878
|
if (matching_added_els.length) {
|
|
3892
|
-
if ($76EG6$babelruntimehelpersclassPrivateFieldGet(this, $5f31622ffb78bc10$var$_verbose)) $241f2f02cc612a49$export$de56f1198d121036("New elements", matching_added_els, " matching selector", this.selector, "were aded to", container, "lazyloading
|
|
3879
|
+
if ($76EG6$babelruntimehelpersclassPrivateFieldGet(this, $5f31622ffb78bc10$var$_verbose)) $241f2f02cc612a49$export$de56f1198d121036("New elements", matching_added_els, " matching selector", this.selector, "were aded to", container, "lazyloading\u2026");
|
|
3893
3880
|
this.lazyfinder.elements.push(...matching_added_els);
|
|
3894
3881
|
matching_added_els.forEach($5f31622ffb78bc10$var$_classPrivateMethodGet(this, $5f31622ffb78bc10$var$_initiate_new_image, $5f31622ffb78bc10$var$_initiate_new_image2).bind(this));
|
|
3895
3882
|
}
|
|
@@ -5093,7 +5080,7 @@ class $eb252431088a7c2b$export$1a8782481a9af507 {
|
|
|
5093
5080
|
let itemTemplate;
|
|
5094
5081
|
if (item.sale_price !== item.original_price) {
|
|
5095
5082
|
itemTemplate = template.replaceAll($eb252431088a7c2b$var$discountMatcher, "$1").replaceAll($eb252431088a7c2b$var$noDiscountMatcher, "");
|
|
5096
|
-
item.discount = "
|
|
5083
|
+
item.discount = "\u2013".concat(Math.round(100 * (1 - item.sale_price / item.original_price)), "%");
|
|
5097
5084
|
} else {
|
|
5098
5085
|
itemTemplate = template.replaceAll($eb252431088a7c2b$var$discountMatcher, "").replaceAll($eb252431088a7c2b$var$noDiscountMatcher, "$1");
|
|
5099
5086
|
item.discount = "";
|
|
@@ -5187,8 +5174,8 @@ $48b0f027b215b8ad$export$2e2bcd8739ae039 = async options => {
|
|
|
5187
5174
|
};
|
|
5188
5175
|
|
|
5189
5176
|
// @ts-ignore
|
|
5190
|
-
var $
|
|
5191
|
-
$
|
|
5177
|
+
var $d58f55a8abd5e8fe$exports = {};
|
|
5178
|
+
$d58f55a8abd5e8fe$exports = ".depict .rec_outer.noautospacing {\n width: 6cm;\n max-width: 46vw;\n margin-left: 1%;\n margin-right: 1%;\n}\n\n.depict .rec_outer.noautospacing:nth-child(1) {\n margin-left: 0;\n}\n\n.depict .rec_outer.noautospacing:nth-last-child(1) {\n margin-right: 0;\n}\n\n.depict-slider .slider_snap {\n scroll-snap-type: x mandatory;\n}\n\n.depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n margin-top: -1%;\n margin-bottom: -2%;\n padding-top: 1%;\n padding-bottom: 2%;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n.depict-slider button.right {\n right: 0;\n}\n\n.depict-slider button.left, .depict-slider button.right {\n z-index: 2;\n touch-action: manipulation;\n width: 1cm;\n height: 1cm;\n cursor: pointer;\n background: #fff;\n border: none;\n padding: .5%;\n transition-duration: .2s;\n position: absolute;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.depict-slider button.left.hidden, .depict-slider button.right.hidden {\n opacity: 0;\n cursor: default;\n}\n\n.depict-slider button.left {\n left: 0;\n transform: translateY(-50%)rotate(180deg);\n}\n\n.depict-slider button.left img, .depict-slider button.right img {\n width: 100%;\n height: 100%;\n}\n\n.depict-slider .rec_outer {\n margin-top: 0 !important;\n}\n\n";
|
|
5192
5179
|
const $0342f59060b8a196$var$default_image_src = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4NCjwhLS0gR2VuZXJhdG9yOiBBZG9iZSBJbGx1c3RyYXRvciAyMy4wLjYsIFNWRyBFeHBvcnQgUGx1Zy1JbiAuIFNWRyBWZXJzaW9uOiA2LjAwIEJ1aWxkIDApICAtLT4NCjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiDQoJIHZpZXdCb3g9IjAgMCAxNiAxNiIgc3R5bGU9ImVuYWJsZS1iYWNrZ3JvdW5kOm5ldyAwIDAgMTYgMTY7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxwb2x5Z29uIHBvaW50cz0iOSwyLjYgOC4zLDMuNCAxMi40LDcuNSAxLjYsNy41IDEuNiw4LjUgMTIuNCw4LjUgOC4zLDEyLjYgOSwxMy40IDE0LjQsOCAiLz4NCjwvc3ZnPg0K";
|
|
5193
5180
|
class $0342f59060b8a196$export$4d41c6499d53639c extends (0, $f340c415f2e1d03a$export$68babfc5be0de5da) {
|
|
5194
5181
|
constructor(static_options, override_lazyfier_options) {
|
|
@@ -5220,7 +5207,7 @@ class $0342f59060b8a196$export$4d41c6499d53639c extends (0, $f340c415f2e1d03a$ex
|
|
|
5220
5207
|
function $0342f59060b8a196$export$f1b8b9fd75ddcab1(slider) {
|
|
5221
5208
|
const style_elem = document.createElement("style");
|
|
5222
5209
|
style_elem.type = "text/css";
|
|
5223
|
-
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5210
|
+
style_elem.append((0, /*@__PURE__*/$parcel$interopDefault($d58f55a8abd5e8fe$exports)));
|
|
5224
5211
|
slider.container.appendChild(style_elem);
|
|
5225
5212
|
}
|
|
5226
5213
|
async function $b7b39b38d6e695e9$export$cd12721587f4f16d(t, rendering_options, options_for_us, slider_options, override_lazyfier_options) {
|
|
@@ -5268,7 +5255,7 @@ async function $b7b39b38d6e695e9$export$cd12721587f4f16d(t, rendering_options, o
|
|
|
5268
5255
|
elements: container ? container : [slider.container]
|
|
5269
5256
|
};
|
|
5270
5257
|
}
|
|
5271
|
-
async function $
|
|
5258
|
+
async function $193ee64f5599f8a8$export$30933c637c977eef(_ref) {
|
|
5272
5259
|
var _template_tool$data;
|
|
5273
5260
|
let {
|
|
5274
5261
|
t: t,
|
|
@@ -5287,7 +5274,8 @@ async function $19946af5b386da54$export$30933c637c977eef(_ref) {
|
|
|
5287
5274
|
template,
|
|
5288
5275
|
// recommendation template
|
|
5289
5276
|
chunk_size_for_load_more = 4,
|
|
5290
|
-
insertion_promise: insertion_promise
|
|
5277
|
+
insertion_promise: insertion_promise,
|
|
5278
|
+
view_more_text: view_more_text
|
|
5291
5279
|
} = _ref;
|
|
5292
5280
|
const {
|
|
5293
5281
|
catchify: catchify,
|
|
@@ -5359,8 +5347,8 @@ async function $19946af5b386da54$export$30933c637c977eef(_ref) {
|
|
|
5359
5347
|
}, items);
|
|
5360
5348
|
}
|
|
5361
5349
|
});
|
|
5362
|
-
if (with_loadmore) catchify($
|
|
5363
|
-
if (infinite_scroll) catchify($
|
|
5350
|
+
if (with_loadmore) catchify($193ee64f5599f8a8$var$setup_load_more)(t, root, chunk_size_for_load_more, view_more_text);
|
|
5351
|
+
if (infinite_scroll) catchify($193ee64f5599f8a8$var$setup_infinite_scroll)(t, root);
|
|
5364
5352
|
if (title) {
|
|
5365
5353
|
const [title_element] = $652300c6621d5500$export$5e63aea0cac01fa0(container, "h1.title, h2.title, h3.title, h4.title, h5.title, h6.title");
|
|
5366
5354
|
if (title_element) {
|
|
@@ -5369,7 +5357,7 @@ async function $19946af5b386da54$export$30933c637c977eef(_ref) {
|
|
|
5369
5357
|
}
|
|
5370
5358
|
if (template_tool !== null && template_tool !== void 0 && (_template_tool$data = template_tool.data) !== null && _template_tool$data !== void 0 && _template_tool$data.length) return container;else dlog("Didn't get recs from API", template_tool);
|
|
5371
5359
|
}
|
|
5372
|
-
function $
|
|
5360
|
+
function $193ee64f5599f8a8$var$setup_infinite_scroll(t, root) {
|
|
5373
5361
|
const {
|
|
5374
5362
|
dlog: dlog,
|
|
5375
5363
|
catchify: catchify
|
|
@@ -5385,14 +5373,14 @@ function $19946af5b386da54$var$setup_infinite_scroll(t, root) {
|
|
|
5385
5373
|
records.forEach(record => {
|
|
5386
5374
|
if (record.isIntersecting && record.target == get_last_visible_el()) {
|
|
5387
5375
|
dlog("Loading more recs because of", record);
|
|
5388
|
-
if ($
|
|
5376
|
+
if ($193ee64f5599f8a8$var$load_more_elements(root)) $193ee64f5599f8a8$var$setup_infinite_scroll(t, root);
|
|
5389
5377
|
}
|
|
5390
5378
|
});
|
|
5391
5379
|
}));
|
|
5392
5380
|
dlog("starting to intersection observe", last_visible_el, "for infinite scroll");
|
|
5393
5381
|
intersection_observer.observe(last_visible_el);
|
|
5394
5382
|
}
|
|
5395
|
-
function $
|
|
5383
|
+
function $193ee64f5599f8a8$var$load_more_elements(root) {
|
|
5396
5384
|
let chunk_size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 4;
|
|
5397
5385
|
const hidden_elements = root.querySelectorAll("a.rec_outer.not_visible");
|
|
5398
5386
|
let i = 0;
|
|
@@ -5404,22 +5392,26 @@ function $19946af5b386da54$var$load_more_elements(root) {
|
|
|
5404
5392
|
const has_more = i >= chunk_size && hidden_elements.length > chunk_size;
|
|
5405
5393
|
return has_more;
|
|
5406
5394
|
}
|
|
5407
|
-
function $
|
|
5395
|
+
function $193ee64f5599f8a8$var$setup_load_more(t, root, chunk_size) {
|
|
5396
|
+
let view_more_text = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : "Visa mer";
|
|
5408
5397
|
const {
|
|
5409
5398
|
catchify: catchify
|
|
5410
5399
|
} = t,
|
|
5411
5400
|
load_more_cont = $652300c6621d5500$export$d3e2a0560cbf4787('<div class="load-more-container"></div>'),
|
|
5412
|
-
load_button = load_more_cont.appendChild($
|
|
5401
|
+
load_button = load_more_cont.appendChild($0f650018c3cbc373$export$34b9dba7ce09269b("button", {
|
|
5402
|
+
class: "load_more",
|
|
5403
|
+
children: view_more_text
|
|
5404
|
+
}));
|
|
5413
5405
|
load_button.addEventListener("click", catchify(load_more_recs_and_hide_button_if_needed));
|
|
5414
5406
|
root.after(load_more_cont);
|
|
5415
5407
|
load_more_recs_and_hide_button_if_needed();
|
|
5416
5408
|
function load_more_recs_and_hide_button_if_needed() {
|
|
5417
|
-
if (!$
|
|
5409
|
+
if (!$193ee64f5599f8a8$var$load_more_elements(root, chunk_size))
|
|
5418
5410
|
// there aren't any recs left to display
|
|
5419
5411
|
load_button.classList.add("not_visible");
|
|
5420
5412
|
}
|
|
5421
5413
|
}
|
|
5422
|
-
function $
|
|
5414
|
+
function $193ee64f5599f8a8$export$4f39078bdc72ecd0(_t, d, i, with_loadmore, with_slider, infinite_scroll) {
|
|
5423
5415
|
d.class || (d.class = "");
|
|
5424
5416
|
if (infinite_scroll) d.class = i >= 4 ? "not_visible" : ""; // this will make it hold image loading until .load_image is called on .rec_outer
|
|
5425
5417
|
if (with_loadmore) d.class = "not_visible";
|
|
@@ -5427,7 +5419,7 @@ function $19946af5b386da54$export$4f39078bdc72ecd0(_t, d, i, with_loadmore, with
|
|
|
5427
5419
|
if (!d.percentage_off || d.percentage_off < 10) d.percentage_off = "";
|
|
5428
5420
|
return d;
|
|
5429
5421
|
}
|
|
5430
|
-
function $
|
|
5422
|
+
function $193ee64f5599f8a8$export$c410ce1205e5118a(_t, itms, d, slider) {
|
|
5431
5423
|
for (const item of itms) {
|
|
5432
5424
|
const {
|
|
5433
5425
|
image_url: image_url
|
|
@@ -5850,8 +5842,8 @@ async function $297a08bac2d81fab$export$b0a773486c1c2312(t, recommendation_rende
|
|
|
5850
5842
|
}
|
|
5851
5843
|
|
|
5852
5844
|
// @ts-ignore
|
|
5853
|
-
var $
|
|
5854
|
-
$
|
|
5845
|
+
var $f10bc4dab5f8ea7b$exports = {};
|
|
5846
|
+
$f10bc4dab5f8ea7b$exports = ".depict-slider {\n width: 100%;\n position: relative;\n}\n\n.depict-slider .sliding {\n scroll-behavior: smooth;\n -ms-overflow-style: none;\n scrollbar-width: none;\n flex-flow: row;\n display: flex;\n overflow-x: scroll;\n}\n\n.depict-slider .sliding::-webkit-scrollbar {\n display: none;\n}\n\n.depict-slider .sliding > * {\n box-sizing: border-box;\n flex: none;\n}\n\n";
|
|
5855
5847
|
let $d89e3aaeb9270095$var$slider_styling_was_inserted = false;
|
|
5856
5848
|
async function $d89e3aaeb9270095$export$82cfdc85a4d15688(t, recommendation_renderer_options, _ref) {
|
|
5857
5849
|
let {
|
|
@@ -5875,7 +5867,7 @@ async function $d89e3aaeb9270095$export$82cfdc85a4d15688(t, recommendation_rende
|
|
|
5875
5867
|
if (!elements) return rendering_result;
|
|
5876
5868
|
if (!$d89e3aaeb9270095$var$slider_styling_was_inserted) {
|
|
5877
5869
|
$d89e3aaeb9270095$var$slider_styling_was_inserted = true;
|
|
5878
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
5870
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($f10bc4dab5f8ea7b$exports)));
|
|
5879
5871
|
}
|
|
5880
5872
|
insertion_point.replaceWith(slider.container);
|
|
5881
5873
|
slider.insert_here.append(...elements);
|
|
@@ -6792,7 +6784,7 @@ function $f991aad8d6175c9b$export$3ebd86018b39d9d2(t, selector, filter) {
|
|
|
6792
6784
|
element: element
|
|
6793
6785
|
} = eoe;
|
|
6794
6786
|
const the_id = element.innerText;
|
|
6795
|
-
$f991aad8d6175c9b$export$1ac466d53a6636ac(t, the_id, $d5f7352b58e0d737$export$
|
|
6787
|
+
$f991aad8d6175c9b$export$1ac466d53a6636ac(t, the_id, $d5f7352b58e0d737$export$61e7e1f11e96692f(), filter);
|
|
6796
6788
|
});
|
|
6797
6789
|
}
|
|
6798
6790
|
function $f991aad8d6175c9b$export$b11248fa13a8a86c(tenant, id_extractor) {
|
|
@@ -6829,7 +6821,7 @@ function $f991aad8d6175c9b$export$ff8673d5dea82bd4(tenant, id_extractor) {
|
|
|
6829
6821
|
})().catch(e => $5e1f45affc1d7def$export$f18d5b0af29128b7([e, "Extracting and sending transaction IDs from URL failed"], "warning"));
|
|
6830
6822
|
}
|
|
6831
6823
|
function $f991aad8d6175c9b$export$1ac466d53a6636ac(t, input_id) {
|
|
6832
|
-
let
|
|
6824
|
+
let session_id = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : $d5f7352b58e0d737$export$61e7e1f11e96692f();
|
|
6833
6825
|
let filter = arguments.length > 3 ? arguments[3] : undefined;
|
|
6834
6826
|
const transaction_id = typeof filter == "function" ? filter(input_id) : input_id;
|
|
6835
6827
|
if (!transaction_id) {
|
|
@@ -6843,7 +6835,7 @@ function $f991aad8d6175c9b$export$1ac466d53a6636ac(t, input_id) {
|
|
|
6843
6835
|
events: [{
|
|
6844
6836
|
event_type: "transaction_mapping",
|
|
6845
6837
|
transaction_id: transaction_id,
|
|
6846
|
-
|
|
6838
|
+
session_id: session_id
|
|
6847
6839
|
}]
|
|
6848
6840
|
};
|
|
6849
6841
|
$814c3bf8e175fa59$export$cc3b6ddf805f6156((0, $9e4bee2e3b4b5753$export$362abebb4b313340) + "/v2/track", payload);
|
|
@@ -6888,7 +6880,7 @@ function $ed8073ecbced6e7e$var$make_tracker_send_to_depict(ga_tracker, t, filter
|
|
|
6888
6880
|
originalSendHitTask(model);
|
|
6889
6881
|
// console.log('Sent original hit, now sending to depict');
|
|
6890
6882
|
try {
|
|
6891
|
-
const dsid = $d5f7352b58e0d737$export$
|
|
6883
|
+
const dsid = $d5f7352b58e0d737$export$61e7e1f11e96692f();
|
|
6892
6884
|
const payload = model.get("hitPayload");
|
|
6893
6885
|
const sp = new URLSearchParams(payload);
|
|
6894
6886
|
const id = sp.get("ti");
|
|
@@ -6901,22 +6893,6 @@ function $ed8073ecbced6e7e$var$make_tracker_send_to_depict(ga_tracker, t, filter
|
|
|
6901
6893
|
}
|
|
6902
6894
|
});
|
|
6903
6895
|
}
|
|
6904
|
-
async function $a9d475787bc4d10e$export$d63b08f4f29ddba5(t, unavailability_type) {
|
|
6905
|
-
const product_id = await t.get_product_id();
|
|
6906
|
-
$241f2f02cc612a49$export$de56f1198d121036("Notifying Depict that product id: ".concat(product_id, " is ").concat(unavailability_type));
|
|
6907
|
-
const payload = {
|
|
6908
|
-
"tenant": t.tenant,
|
|
6909
|
-
"market": t.market,
|
|
6910
|
-
"events": [{
|
|
6911
|
-
event_type: "product_unavailable",
|
|
6912
|
-
product_id: product_id,
|
|
6913
|
-
unavailability_type: unavailability_type,
|
|
6914
|
-
user_id: $d5f7352b58e0d737$export$adc61a405a4cabed(),
|
|
6915
|
-
dsid: $d5f7352b58e0d737$export$6399bdb2291895e0()
|
|
6916
|
-
}]
|
|
6917
|
-
};
|
|
6918
|
-
$814c3bf8e175fa59$export$cc3b6ddf805f6156((0, $9e4bee2e3b4b5753$export$362abebb4b313340) + "/v2/track", payload);
|
|
6919
|
-
}
|
|
6920
6896
|
function $429b4383ef3d586f$var$_classPrivateFieldInitSpec(obj, privateMap, value) {
|
|
6921
6897
|
$429b4383ef3d586f$var$_checkPrivateRedeclaration(obj, privateMap);
|
|
6922
6898
|
privateMap.set(obj, value);
|
|
@@ -7427,7 +7403,7 @@ function $2c22b027931240e6$var$deal_w_removal_of_node_array(node_array, push_dis
|
|
|
7427
7403
|
push_disconnector(disconnect_observer);
|
|
7428
7404
|
}
|
|
7429
7405
|
}
|
|
7430
|
-
const $07ddf7dfff112d01$export$3b75288f46cadd96 = () => new Array($1cd1e96fe31c935d$export$bb0a9c36cf454ea0(3, 8)).fill("
|
|
7406
|
+
const $07ddf7dfff112d01$export$3b75288f46cadd96 = () => new Array($1cd1e96fe31c935d$export$bb0a9c36cf454ea0(3, 8)).fill("\u2B1C").join("");
|
|
7431
7407
|
const $07ddf7dfff112d01$var$make_sel = (image_url, attribute) => "[".concat(attribute, "=").concat(JSON.stringify(image_url), "]");
|
|
7432
7408
|
const $07ddf7dfff112d01$export$a4eccf92efefa04d = function (image_width, image_height) {
|
|
7433
7409
|
let color = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "#f6f7f8";
|
|
@@ -7859,10 +7835,10 @@ function $26145caeb41f1f7b$export$cd1adfb8059b5fcd(promise, ms) {
|
|
|
7859
7835
|
const $8a812fa4638e2832$var$get_voyado_id = () => {
|
|
7860
7836
|
var _exec;
|
|
7861
7837
|
const va = (_exec = /\b_vaI=([^;]+)/.exec(document.cookie)) === null || _exec === void 0 ? void 0 : _exec[1];
|
|
7862
|
-
return va || $d5f7352b58e0d737$export$
|
|
7838
|
+
return va || $d5f7352b58e0d737$export$61e7e1f11e96692f();
|
|
7863
7839
|
};
|
|
7864
7840
|
const $8a812fa4638e2832$export$a739d9a07da7f9ce = /*@__PURE__*/$5e1f45affc1d7def$export$b3bbfd758f11cfa9(() => {
|
|
7865
|
-
$d5f7352b58e0d737$export$
|
|
7841
|
+
$d5f7352b58e0d737$export$93ae15b1ae509334($8a812fa4638e2832$var$get_voyado_id);
|
|
7866
7842
|
});
|
|
7867
7843
|
function $c40fc6dc2c22b3c4$export$4a3043e508dd72f0(_ref) {
|
|
7868
7844
|
let {
|
|
@@ -8010,8 +7986,8 @@ async function $24f3fd73864991c0$export$c068ad5361be7646(_ref) {
|
|
|
8010
7986
|
on_close_(exit_oos_iterator);
|
|
8011
7987
|
}));
|
|
8012
7988
|
}
|
|
8013
|
-
var $
|
|
8014
|
-
$
|
|
7989
|
+
var $aae9878972b17321$exports = {};
|
|
7990
|
+
$aae9878972b17321$exports = ".depict-placeholder {\n will-change: mask, -webkit-mask;\n mask-position-x: 125%;\n mask-position-y: center;\n background: #ddd;\n animation: 1.5s linear infinite depict-placeholder;\n display: inline-block;\n position: relative;\n overflow: hidden;\n -webkit-mask: linear-gradient(-60deg, #000 30%, #0005, #000 70%) 125% / 300% 100%;\n -webkit-mask-image: ;\n mask-image: ;\n -webkit-mask-size: ;\n mask-size: ;\n}\n\n@keyframes depict-placeholder {\n 0% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 10% {\n mask-position-x: 125%;\n -webkit-mask-position-x: 125%;\n }\n\n 90% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n\n 100% {\n mask-position-x: -25%;\n -webkit-mask-position-x: -25%;\n }\n}\n\n";
|
|
8015
7991
|
let $adc0bb548fdb574f$var$inserted = false;
|
|
8016
7992
|
const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
8017
7993
|
let {
|
|
@@ -8023,7 +7999,7 @@ const $adc0bb548fdb574f$export$84712d0562a614b8 = _ref => {
|
|
|
8023
7999
|
} = _ref;
|
|
8024
8000
|
if (!$adc0bb548fdb574f$var$inserted) {
|
|
8025
8001
|
// Insert styling on first import
|
|
8026
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8002
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($aae9878972b17321$exports)));
|
|
8027
8003
|
$adc0bb548fdb574f$var$inserted = true;
|
|
8028
8004
|
}
|
|
8029
8005
|
return (
|
|
@@ -8262,8 +8238,8 @@ const $0f55c2bc0a7b363b$export$237455ad7e59d4e5 = function () {
|
|
|
8262
8238
|
collapse: collapse
|
|
8263
8239
|
};
|
|
8264
8240
|
};
|
|
8265
|
-
var $
|
|
8266
|
-
$
|
|
8241
|
+
var $5305cfbbfffd9dc8$exports = {};
|
|
8242
|
+
$5305cfbbfffd9dc8$exports = ".depict-img-cont {\n width: 100%;\n height: 100%;\n position: absolute;\n}\n\n.depict-img-filler {\n width: 100%;\n height: auto;\n display: inline-block;\n}\n\n.depict-img-comp {\n width: auto;\n height: auto;\n max-width: 100%;\n max-height: 100%;\n position: absolute;\n top: 50%;\n left: 50%;\n transform: translate(-50%, -50%);\n}\n\n.depict-img-mod {\n width: 100%;\n height: 100%;\n object-fit: contain;\n position: absolute;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n}\n\n";
|
|
8267
8243
|
const $9ef5ce4804a3b61b$export$3d13beba9b52c947 = "https://img.depict.ai/ResizeImage" + (process.env.TENANT ? "/" + process.env.TENANT : "");
|
|
8268
8244
|
const $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 = /*@__PURE__*/(() => typeof navigator === "undefined" ? false : /^((?!chrome|android).)*safari/i.test(navigator.userAgent))(); // https://stackoverflow.com/a/23522755
|
|
8269
8245
|
function $9ef5ce4804a3b61b$export$f39a7d0667e924a(what_to_watch) {
|
|
@@ -8426,7 +8402,7 @@ const $c987460cedc0d7ec$export$788756b42446dc2d = _ref => {
|
|
|
8426
8402
|
} = _ref;
|
|
8427
8403
|
if (!$c987460cedc0d7ec$var$inserted) {
|
|
8428
8404
|
// Insert styling on first import
|
|
8429
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8405
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($5305cfbbfffd9dc8$exports)));
|
|
8430
8406
|
$c987460cedc0d7ec$var$inserted = true;
|
|
8431
8407
|
}
|
|
8432
8408
|
const img = process.env.BUILD_TARGET === "modern" || process.env.BUILD_TARGET === "dev" ? $c987460cedc0d7ec$var$Image(options) : $c987460cedc0d7ec$var$CompatibleImage(options);
|
|
@@ -8513,8 +8489,8 @@ function $c987460cedc0d7ec$var$srcset_comp_from_map_or_new(rendering_options) {
|
|
|
8513
8489
|
}
|
|
8514
8490
|
return sourceset_component;
|
|
8515
8491
|
}
|
|
8516
|
-
var $
|
|
8517
|
-
$
|
|
8492
|
+
var $8254bab8001eaa15$exports = {};
|
|
8493
|
+
$8254bab8001eaa15$exports = ".depict .images-container {\n position: relative;\n}\n\n.depict .second-image-container {\n width: 100%;\n opacity: 0;\n position: absolute;\n top: 0;\n}\n\n.depict .hovering .main-image-container {\n opacity: 0;\n}\n\n.depict .hovering .second-image-container {\n opacity: 1;\n}\n\n";
|
|
8518
8494
|
|
|
8519
8495
|
// Saving bytez
|
|
8520
8496
|
// Maybe? @Daniel
|
|
@@ -8648,7 +8624,7 @@ const $73f0a7e385687d5d$export$2369f6fc1c911576 = _ref => {
|
|
|
8648
8624
|
...options
|
|
8649
8625
|
} = _ref;
|
|
8650
8626
|
if (!$73f0a7e385687d5d$var$styling_inserted) {
|
|
8651
|
-
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($
|
|
8627
|
+
$1013f2e568f87406$export$59ba1eb2c083f0cd((0, /*@__PURE__*/$parcel$interopDefault($8254bab8001eaa15$exports)));
|
|
8652
8628
|
$73f0a7e385687d5d$var$styling_inserted = true;
|
|
8653
8629
|
}
|
|
8654
8630
|
const main_image = $c987460cedc0d7ec$export$788756b42446dc2d({
|
|
@@ -8757,104 +8733,6 @@ function $40a5a98adc907fe0$export$ca305c142c6fc3cf(hex) {
|
|
|
8757
8733
|
if (!((rgb === null || rgb === void 0 ? void 0 : rgb.length) === 3 && rgb.every(x => typeof x === "number" && x >= 0 && x <= 255))) return null;
|
|
8758
8734
|
return rgb;
|
|
8759
8735
|
}
|
|
8760
|
-
const $656899961fd22692$var$MAX_SYNC_RETRIES = 10;
|
|
8761
|
-
/*
|
|
8762
|
-
# Reference material:
|
|
8763
|
-
|
|
8764
|
-
Google has some mixed communication around editing meta tags with JavaScript, as seen in these quotes:
|
|
8765
|
-
|
|
8766
|
-
https://developers.google.com/search/docs/crawling-indexing/special-tags#other-points-to-note
|
|
8767
|
-
> If you're considering using JavaScript to inject or change meta tags, proceed with caution. We recommend that you avoid using JavaScript to inject or change meta tags whenever possible ...
|
|
8768
|
-
https://developers.google.com/search/docs/crawling-indexing/javascript/javascript-seo-basics#titles-and-snippets
|
|
8769
|
-
> You can use JavaScript to set or change the meta description as well as the <title> element.
|
|
8770
|
-
|
|
8771
|
-
The only thing we can do is test that it works.
|
|
8772
|
-
|
|
8773
|
-
This page has a really nice table that describes the different meta tags used by Google: https://developers.google.com/search/docs/crawling-indexing/special-tags#meta-tags
|
|
8774
|
-
*/
|
|
8775
|
-
const $656899961fd22692$var$tags = {
|
|
8776
|
-
title: [{
|
|
8777
|
-
selector: 'meta[name="twitter:title"]',
|
|
8778
|
-
create: () => document.createElement("meta"),
|
|
8779
|
-
configure: (element, value) => {
|
|
8780
|
-
element.name = "twitter:title";
|
|
8781
|
-
element.content = value;
|
|
8782
|
-
},
|
|
8783
|
-
isConfigured: (element, value) => element.content === value && element.name === "twitter:title"
|
|
8784
|
-
}, {
|
|
8785
|
-
selector: 'meta[property="og:title"]',
|
|
8786
|
-
create: () => document.createElement("meta"),
|
|
8787
|
-
configure: (element, value) => {
|
|
8788
|
-
element.setAttribute("property", "og:title");
|
|
8789
|
-
element.content = value;
|
|
8790
|
-
},
|
|
8791
|
-
isConfigured: (element, value) => element.content === value && element.getAttribute("property") === "og:title"
|
|
8792
|
-
}, {
|
|
8793
|
-
selector: "title",
|
|
8794
|
-
create: () => document.createElement("title"),
|
|
8795
|
-
configure: (element, value) => element.textContent = value,
|
|
8796
|
-
isConfigured: (element, value) => element.textContent === value
|
|
8797
|
-
}],
|
|
8798
|
-
description: [{
|
|
8799
|
-
selector: 'meta[name="description"]',
|
|
8800
|
-
create: () => document.createElement("meta"),
|
|
8801
|
-
configure: (element, value) => {
|
|
8802
|
-
element.name = "description";
|
|
8803
|
-
element.content = value;
|
|
8804
|
-
},
|
|
8805
|
-
isConfigured: (element, value) => element.content === value && element.name === "description"
|
|
8806
|
-
}, {
|
|
8807
|
-
selector: 'meta[property="og:description"]',
|
|
8808
|
-
create: () => document.createElement("meta"),
|
|
8809
|
-
configure: (element, value) => {
|
|
8810
|
-
element.setAttribute("property", "og:description");
|
|
8811
|
-
element.content = value;
|
|
8812
|
-
},
|
|
8813
|
-
isConfigured: (element, value) => element.content === value && element.getAttribute("property") === "og:description"
|
|
8814
|
-
}]
|
|
8815
|
-
};
|
|
8816
|
-
let $656899961fd22692$var$running_writers = 0;
|
|
8817
|
-
function $656899961fd22692$export$ef73ea4f975745ba(meta_data) {
|
|
8818
|
-
if ($656899961fd22692$var$running_writers >= 1) return;
|
|
8819
|
-
$656899961fd22692$var$running_writers++;
|
|
8820
|
-
$76EG6$onCleanup(() => $656899961fd22692$var$running_writers--);
|
|
8821
|
-
const disconnectors = [];
|
|
8822
|
-
$76EG6$createEffect($5e1f45affc1d7def$export$b3bbfd758f11cfa9(() => {
|
|
8823
|
-
if (!meta_data()) return;
|
|
8824
|
-
$76EG6$onCleanup(() => {
|
|
8825
|
-
disconnectors.forEach(d => d());
|
|
8826
|
-
});
|
|
8827
|
-
for (const [type, content] of Object.entries(meta_data())) for (const opts of $656899961fd22692$var$tags[type]) {
|
|
8828
|
-
if (!type || !content) return;
|
|
8829
|
-
let retries = 0;
|
|
8830
|
-
/** Ensures that there is at least one occurrence of the element. Multiple are allowed, 0 is not.
|
|
8831
|
-
* Also ensures that each occurrence is configured (has correct content)
|
|
8832
|
-
* It's preferred not to kill any conflicting meta tags because frameworks might go apeshit.
|
|
8833
|
-
* Things seem to work when only changing the meta values though */
|
|
8834
|
-
const sync_elements_to_head = () => {
|
|
8835
|
-
if (retries++ > $656899961fd22692$var$MAX_SYNC_RETRIES) return $241f2f02cc612a49$export$de56f1198d121036("Failed to sync meta tag to head. Hit max retries.", opts.selector, content);
|
|
8836
|
-
const existing_elements = document.head.querySelectorAll(opts.selector);
|
|
8837
|
-
const elements = existing_elements.length ? existing_elements : [opts.create()];
|
|
8838
|
-
elements.forEach(el => {
|
|
8839
|
-
if (!opts.isConfigured(el, content)) opts.configure(el, content);
|
|
8840
|
-
});
|
|
8841
|
-
if (!existing_elements.length) {
|
|
8842
|
-
elements[0].dataset.depictMeta = "1";
|
|
8843
|
-
document.head.appendChild(elements[0]);
|
|
8844
|
-
} else if (existing_elements.length > 1) {
|
|
8845
|
-
// In this case, we should try to remove our own tag if it exists.
|
|
8846
|
-
// This is to avoid duplicate meta tags, which might be bad for SEO
|
|
8847
|
-
// We can't remove the other tags because they might be used by frameworks
|
|
8848
|
-
const depict_elements = Array.from(existing_elements).filter(el => el.dataset.depictMeta);
|
|
8849
|
-
// We only want to remove the Depict elements if there are other elements
|
|
8850
|
-
if (depict_elements.length && depict_elements.length < existing_elements.length) depict_elements.forEach(el => el.remove());
|
|
8851
|
-
}
|
|
8852
|
-
};
|
|
8853
|
-
sync_elements_to_head();
|
|
8854
|
-
disconnectors.push((0, $90fa633a9564f115$export$b6ae1bc530f4c149).onremoved(opts.selector, sync_elements_to_head), (0, $90fa633a9564f115$export$b6ae1bc530f4c149).onchange(opts.selector, sync_elements_to_head), (0, $90fa633a9564f115$export$b6ae1bc530f4c149).onexists(opts.selector, sync_elements_to_head));
|
|
8855
|
-
}
|
|
8856
|
-
}, "Meta tag writing crashed"));
|
|
8857
|
-
}
|
|
8858
8736
|
const $5ea81d00eec57744$var$MAX_SYNC_RETRIES = 15;
|
|
8859
8737
|
function $5ea81d00eec57744$export$c3f56a35e076f139(selector, data, opts) {
|
|
8860
8738
|
const {
|
|
@@ -8891,4 +8769,4 @@ function $34eb7e26a9a798f2$export$e35115e6d0715f77() {
|
|
|
8891
8769
|
return href;
|
|
8892
8770
|
}
|
|
8893
8771
|
$ea5707b8e7b350cf$export$2cefb7e61fcbae00("utilishared", (0, $b9e07ce3c67aa344$export$83d89fbfd8236492));
|
|
8894
|
-
export { $5c580d87c093cc47$export$a7e53ec3b3fdd030 as base64_decode_unicode, $5c580d87c093cc47$export$a1893782a2a6be0d as base64_encode_unicode, $5f4e0abe3139380e$export$6f051469dd676a8b as make_plp_recommendations_inserted_handler, $ea5707b8e7b350cf$export$60d1d0e3cfc8b9ed as version_info, $ea5707b8e7b350cf$export$fe609f0216e4ebef as add_version_query_params, $cdf4691608b4019f$export$6e7454c733fa1fb2 as cache_args, $bcc7b73f8b96a6f0$export$8582cf3716962dc2 as check_displays, $b000f5ef6ce456d9$export$8048b892d651b310 as err, $a01cf8e3169d2af1$export$16d7c76794a38a4 as require_event_listener, $a496a9038b9c02cf$export$41de2959a8dd405d as Auto_GWVM, $ddeca43328b507f6$export$c83d8da642b5104a as GWVM_Renderer, $6a44fa3f1acf7693$export$55621c1ce3cd536b as infinite_promise_creator, $4c6e595091defcd9$export$32ccf3a614c84258 as infinite_promise_no_skip, $d3b90d5099bf2925$export$c0a4d29bc45a38c6 as infinite_renderer, $3ee6c00e6df1008f$export$9eae832ae57fbf as deprecated_insert_styling, $e64690bc3a7de2b1$export$c7187bbd1a7a9244 as placeholder, $d4f914b34cc77d0c$export$cab8bc58c64c2013 as Pro_Slider, $48b0f027b215b8ad$export$2e2bcd8739ae039 as simplified_template_tool, $0342f59060b8a196$export$f1b8b9fd75ddcab1 as insert_styling_into_slider, $b7b39b38d6e695e9$export$cd12721587f4f16d as RR_Slider, $eb252431088a7c2b$export$1a8782481a9af507 as Depict, $19946af5b386da54$export$30933c637c977eef as get_recs_with_template, $19946af5b386da54$export$c410ce1205e5118a as default_post_processor, $19946af5b386da54$export$4f39078bdc72ecd0 as default_pre_processor, $03021b39f80fac4b$export$2e2bcd8739ae039 as wpff, $7d82513db34b5d27$export$12e07a2a9f87578a as ElementObserver, $90fa633a9564f115$export$b6ae1bc530f4c149 as observer, $0f650018c3cbc373$export$34b9dba7ce09269b as jsx, $0f650018c3cbc373$export$25062201e9e25d76 as jsxs, $a285401a927e4306$export$eb0b9ed911409b57 as use_element, $a285401a927e4306$export$f63fcc839cb0f734 as use_listener, $a285401a927e4306$export$22a65337c1b43b1f as classlist, $0f650018c3cbc373$export$ffb0004e005737fa as Fragment, $241f2f02cc612a49$export$de56f1198d121036 as dlog, $241f2f02cc612a49$export$997143d41f6a0c9b as derror, $241f2f02cc612a49$export$c2363754d4758444 as dwarn, $241f2f02cc612a49$export$2dd75a6b038dc8cb as set_browser_prefix, $5e1f45affc1d7def$export$b3bbfd758f11cfa9 as catchify, $5e1f45affc1d7def$export$f18d5b0af29128b7 as report, $a5a2bdb4ae93374b$export$55fe61489d2c7417 as is_debug, $c755e2b0d4b18501$export$6038895ac52bd044 as chevronLeft, $c755e2b0d4b18501$export$dc84183312f0c201 as chevronRight, $0fe3923936d40f55$export$68c017fd93791405 as expandingContainer, $5f31622ffb78bc10$export$3be7054c61590ee3 as Lazyfier, $5f31622ffb78bc10$export$b87d7e0da8b5cbe3 as test_array_proxy_support, $be288a83d9eabf2a$export$692b27c28639e5b9 as Amazing_Slider, $20fe9624210ef635$export$16501883f477737a as colorize_elements, $20fe9624210ef635$export$deca40f48c0569f8 as should_colorizeLogics, $70017d06e57dffa8$export$50ce83ace0cdd87e as default_rr, $51dfcecbe05cc4e5$export$1bc0df10745d5412 as fetch_recs, $51dfcecbe05cc4e5$export$d40679eb4cf32f09 as fetch_recs_whole_response, $378c98788ab52b9c$export$c42139a43c877ecd as clone_deep, $378c98788ab52b9c$export$e0009e7da572f99b as regex_templating, $378c98788ab52b9c$export$a9fc160c5ed83bd7 as Rec_Renderer, $df6d080cba513381$export$17c3166a7ebd4688 as n_col_styling_with_dist, $df6d080cba513381$export$c84671f46d6a1ca as Layout, $df6d080cba513381$export$483bdd1f1186de13 as layout_get_visible_recs_without_partial_rows, $df6d080cba513381$export$3dc5e2383c924ebf as layout_get_total_rec_amount_for_row, $df6d080cba513381$export$717f13d9ba00ca19 as layout_media_query_header, $297a08bac2d81fab$export$b0a773486c1c2312 as RecommendationGrid, $d89e3aaeb9270095$export$82cfdc85a4d15688 as RecommendationSlider, $943514d07f57df12$export$6830ae1fbe21e589 as default_click_tracking, $943514d07f57df12$export$f37c58ab3d3e3b75 as default_view_tracking, $943514d07f57df12$export$dd32cb565eae0a1f as ga_click, $943514d07f57df12$export$8d72437623fef90c as gtag_click_post_processor, $943514d07f57df12$export$1bffac19f9f0d6fc as gtag_view_post_processor, $943514d07f57df12$export$e9106d6e723510d2 as depict_click_tracking_post_processor, $943514d07f57df12$export$fb9afe9f540ae069 as recs_inserted_tracking, $943514d07f57df12$export$32eb5dd18e963410 as add_to_localstorage, $943514d07f57df12$export$9e1caada6901f552 as depict_page_view, $b109421811582f8c$export$8cbd8aa1c70f9a13 as slider_autoscroll_factory, $090af64928922937$export$80039a49055269fb as make_button1, $66c5b496f7887c00$export$af88b4929c2dc86 as make_button2, $d3c54fdf1bfb087a$export$1d17a045bcc711b1 as slider_dots_factory, $d3c54fdf1bfb087a$export$a09282b33e69b43f as navdot, $3ad897e1659ee6d7$export$411b0f20794697ce as slider_draggable_factory, $21afac8db3f98820$export$5129719c04a52f8c as slider_fading_factory, $0cbf24ae3e670238$export$5723caf9a8335aa6 as slider_fractional_factory, $4837ebe61ecec421$export$93223e488e7ee078 as slider_show_scroll, $ff905d87817a07f4$export$b36d2489a5a16728 as slider_snap_css, $ff905d87817a07f4$export$49b950309ab787ad as can_use_snapping_and_still_scroll, $e1af55c2112926b7$export$dac64fd35a4805a4 as slider_snapping_factory, $f340c415f2e1d03a$export$68babfc5be0de5da as Amazing_Lazy_Slider, $c7030fdb9bcc361f$export$53306504b987cbf7 as slider_wraparound_factory, $aadc6d9eeb8e8a56$export$419f84efad7d9fe as sizes_to_surface, $aadc6d9eeb8e8a56$export$417ef0ab13d8b984 as surface_mixer, $aadc6d9eeb8e8a56$export$be95cb0e8cfd099e as promise_until_next_navigation, $f2fce07b3a330e05$export$29a6094e0bd8bc5f as AIO, $f2fce07b3a330e05$export$6ebd242c09192cec as paint_red, $bd7c9f254946941d$export$2c34560c3749dc63 as bind_to_a2c_button, $bd7c9f254946941d$export$82a685f2da2fb027 as bind_tracking_to_link, $d5f7352b58e0d737$export$336e7ad40bae0652 as set_depict_id_fn, $d5f7352b58e0d737$export$8a96793bf9f87d90 as set_user_id_fn, $d5f7352b58e0d737$export$6399bdb2291895e0 as get_depict_id, $d5f7352b58e0d737$export$adc61a405a4cabed as get_user_id, $d5f7352b58e0d737$export$15f8a0cd5a8c0ebb as depict_click, $d5f7352b58e0d737$export$82badda1f9923310 as depict_prefilled, $d5f7352b58e0d737$export$9028351cb994757e as depict_add_to_cart, $d5f7352b58e0d737$export$93ae15b1ae509334 as set_session_id_fn, $d5f7352b58e0d737$export$61e7e1f11e96692f as get_session_id, $d5f7352b58e0d737$export$622991c71a1f52b3 as get_cookie, $d5f7352b58e0d737$export$8c6f26a5b6921b95 as get_tracking_event_context_data, $814c3bf8e175fa59$export$72036d950e1fae95 as filter_depict_payload, $814c3bf8e175fa59$export$28cacbd9b4306ffc as send_depict, $814c3bf8e175fa59$export$cc3b6ddf805f6156 as foolproof_send_beacon, $814c3bf8e175fa59$export$608478473a3304a0 as send_depict_unfiltered, $814c3bf8e175fa59$export$aa26019042811d4f as send_websocket, $799496226e956169$export$674d8cd8b6868154 as create_ga_queue, $799496226e956169$export$edfedd0557ca5a2d as make_tracker_send_to_depict, $ed8073ecbced6e7e$export$1ff14fec60ed5697 as ga_to_transaction_api, $3674b9afc9a63520$export$f75172d2e289cd02 as send_ga, $3674b9afc9a63520$export$ac7296527cb52311 as setup_ga, $3674b9afc9a63520$export$d031e55ccd4c52dc as setup_gtag, $3674b9afc9a63520$export$f522672c9379e339 as gtag_click, $3674b9afc9a63520$export$bf205937e5e012cb as ga_purchase_click, $3674b9afc9a63520$export$127751e82111fcf as ga_rec_click, $3674b9afc9a63520$export$7babcd5d4056b2ca as gtag_view, $3674b9afc9a63520$export$f3354ec2ce95ebd9 as load_gtag, $d6c3e2ba045accda$export$4205dc6835bc0d9f as send_impression_event, $e89a1d249db21af0$export$37125ccc5dd98050 as impression_track_element, $c633189b7b69d048$export$d0efd8ed14f5c33 as impression_tracking_post_processor, $d6c3e2ba045accda$export$c543ee4cdb0d0964 as set_impression_threshold, $d6c3e2ba045accda$export$135da44d0ba958bc as impression_threshold, $d6c3e2ba045accda$export$ca8321ea61dc2544 as has_to_be_intersecting_for, $df87ac5a30f7baac$export$58c56fe2313fdbe3 as add_new_tab_listener, $df87ac5a30f7baac$export$836f70a28c317905 as broadcast_product_id, $df87ac5a30f7baac$export$8f66c4c7fb96eda2 as contextmenu_callback, $d4217f56717a3207$export$7e4427e80d5fc619 as optanon_get_cookie_ipns, $d4217f56717a3207$export$f0f6c846d96fdbec as init_optanon_tracking, $d4217f56717a3207$export$1dd9ce50e201eff1 as optanon_get_consent, $d4217f56717a3207$export$7a6d436e0782c6ed as optanon_wait_for_consent, $f991aad8d6175c9b$export$1ac466d53a6636ac as send_transaction_id_to_depict, $f991aad8d6175c9b$export$9ed4fbc47d558f94 as datalayer_interceptor, $f991aad8d6175c9b$export$b11248fa13a8a86c as datalayer_transaction_id_extractor, $f991aad8d6175c9b$export$3ebd86018b39d9d2 as orderpage_transaction_id_extractor, $f991aad8d6175c9b$export$ff8673d5dea82bd4 as url_transaction_id_extractor, $a9d475787bc4d10e$export$d63b08f4f29ddba5 as send_product_unavailable_to_depict, $0897f35c3b3fbbc4$export$eee4c4d924348b05 as send_page_view_if_needed, $0897f35c3b3fbbc4$export$f7cb1bd47199ec38 as send_page_view_on_navigation, $f5a4b8e233f0e1cd$export$1d9c6fddbff3441f as DepictAPIWS, $429b4383ef3d586f$export$74108888f38788f3 as ListenableSet, $9c44a7238815fa47$export$535946eb77c946dd as deparallelize, $9c44a7238815fa47$export$f241be8e610f5c77 as deparallelize_no_drop, $ab9c3dbf2bb2fbf7$export$f8ea2e7b15b5d129 as buildThresholdList, $85906d121f53bacd$export$d9fdc6ce2907f95b as chaotic_closest, $652300c6621d5500$export$cfef5d5c9ac09253 as standard_price_format, $652300c6621d5500$export$9590700a594aef08 as ensure_object_path, $652300c6621d5500$export$925772df9b4d16e5 as ensure_parameter_in_url, $652300c6621d5500$export$44951404cb8d0583 as html2elems, $652300c6621d5500$export$d3e2a0560cbf4787 as html2elem, $652300c6621d5500$export$5e63aea0cac01fa0 as querySelectorAllElements, $652300c6621d5500$export$785f04709990c4ec as querySelectorUpwards, $652300c6621d5500$export$f124e3ee16e6b45d as intl_number_format_with_fallback, $652300c6621d5500$export$d4bd03f19260ef1c as relativify, $45d268baa2df1ba1$export$6b75200e58bc97d0 as deduplicate, $45d268baa2df1ba1$export$9426572bd5645bc1 as dedup_products, $8183c177c3bdf94d$export$82539d9817116aff as navigate_with_next_router, $f69445e469425bcb$export$774bc87373c4fc6c as add_item, $f69445e469425bcb$export$337197b94b3bd680 as get_items_in_cart, $f69445e469425bcb$export$783ef16647773b3d as get_shopify_analytics_meta_product, $f69445e469425bcb$export$ab0f802c05dd969b as intercept, $201e455525e1fa49$export$85be83e1935d93c2 as fetch_replacer, $201e455525e1fa49$export$f8da66bc4f1d059e as FakeResponse, $c95f8181bad32e8d$export$bcd70d5ed1cf6313 as fetch_retry, $073645eedb3f65a8$export$b404e20f3c4a490e as get_optimize_variant, $ad1dbddac6af350d$export$20e9533e68ee72e7 as stateless_href_change_ipns, $ad1dbddac6af350d$export$a9d39e43ae273d26 as href_change_ipns, $ad1dbddac6af350d$export$baccefee4a395d8f as history_replacer, $ad1dbddac6af350d$export$1cd22bab0d2c3b0b as on_next_navigation, $ad1dbddac6af350d$export$7500cdfd37aafd43 as instant_exec_on_suspect_history_change, $7ca6fdc721083788$export$e806c6c1615a59ae as async_iterable_ipns, $7ca6fdc721083788$export$10c3e52ef388b81b as make_ipns_stateful, $7ca6fdc721083788$export$90740b5bc9c2b3b7 as make_ipns_stateless, $449d6683cecfa078$export$3e42f5078e3abfc0 as make_simple_async_iterable, $449d6683cecfa078$export$e2c811ae0eb35313 as RawObservableInformation, $c1590f86e0eca625$export$2c2f50b30b7b2576 as iterable_to_attribute, $332ef338faf216a4$export$7c081fdbc65b6a2a as iterable_to_elems, $fee212025270d5b9$export$927664b47117acb0 as make_asyncIterable_exiter, $07beada135e5f5e8$export$f8913c8a18f7ca21 as zip_async_iterables, $2c22b027931240e6$export$f811d2ce0aa6019b as insert_surfaces, $2c22b027931240e6$export$b8d1e1d07a3f3776 as prevent_infinite_loop, $2c22b027931240e6$export$e3f70ef7e3d00501 as revertable_remove, $1013f2e568f87406$export$59ba1eb2c083f0cd as insert_styling, $1013f2e568f87406$export$692b606677218a16 as depict_init, $1013f2e568f87406$export$328e81c44cddf3c0 as depict_init_with_market_logic, $1013f2e568f87406$export$a4f97b27a0592e6c as normal_get_product_id, $1013f2e568f87406$export$a96c18473f2af463 as track_a2c, $26dbd7db7fd1bc2c$export$515c3ea4d599b05a as javascript_media_query, $914c6f35222c820d$export$33f937d741e49339 as patched_querySelectorAll, $07ddf7dfff112d01$export$a4eccf92efefa04d as placeholder_svg, $07ddf7dfff112d01$export$2dd69958012e3e49 as make_placeholder_rr, $07ddf7dfff112d01$export$3b75288f46cadd96 as random_text_placeholder, $6c8c963618d41bb2$export$947a20746936143d as Promise_Any, $3a96de5a459d34f9$export$c50e1901e8ed0615 as queueMacroTask, $1cd1e96fe31c935d$export$bb0a9c36cf454ea0 as rand, $6cb4d83127e468ea$export$656831b7e9c341c3 as random_string, $6cb4d83127e468ea$export$a6db784f019668ba as make_random_classname, $2b6304d4ce419ed5$export$3d04c40e7acc1a32 as reactive_template, $243da8b4990520aa$export$8ec5c86406f333ff as removeChild_error_swallowing_factory, $9c0a16930ae6750f$export$38e89c688f9d553a as replace_promise_with_native_if_exists_and_enforce, $9c0a16930ae6750f$export$e647444ed9403635 as get_iframe_promise, $f82333cd2ffc1582$export$2a1cc61cffa1f36f as rp_relativify_fetch, $f82333cd2ffc1582$export$f14a775632a826c4 as rp_relativify_history, $f82333cd2ffc1582$export$2a38b176ce969e2c as rp_relativify_xhr, $f82333cd2ffc1582$export$83ec13b10b391f13 as default_rp_fixes, $d9aec442b12a1134$export$39d526a1194b6499 as serialize_object, $b2c9f99c083a1182$export$12b4c6cbc6b8b4e4 as sort_obj, $95b71532fa7f905c$export$a422d714c8cb1a5d as standard_get_market, $cb3a51d87cbe5eff$export$3427ec8268623f1 as listenToLocalStorage, $095a7d035ba7d7a7$export$8d42ce4827f43582 as Tenant, $26145caeb41f1f7b$export$cd1adfb8059b5fcd as timeout_promise, $2da62df28669a48a$export$79f910a98828378d as variable_setter_to_ipns, $2da62df28669a48a$export$d5062f468a0454f3 as find_descriptor, $2da62df28669a48a$export$2fc1a072736ae2f6 as is_available_in, $8a812fa4638e2832$export$a739d9a07da7f9ce as use_voyado_id, $57642e3bf93ac1e7$export$5c069c93d2b7493f as wait, $24528b2f119d82fb$export$f314addd5f976083 as xhr_load, $24528b2f119d82fb$export$8e16c51fd2b6507 as xhr_read_interceptor, $24528b2f119d82fb$export$c74578d2cd47a84a as xhr_send_interceptor, $24528b2f119d82fb$export$33d1643df63073a8 as xhr_replace, $c40fc6dc2c22b3c4$export$4a3043e508dd72f0 as DefaultViewMoreButton, $a59cde169150d10b$export$8a0e4d6f6abf7e90 as GeneralSideSlidein, $24f3fd73864991c0$export$c068ad5361be7646 as GeneralSizeSelector, $adc0bb548fdb574f$export$84712d0562a614b8 as Placeholder, $adc0bb548fdb574f$export$d613f5b6d0a331a8 as ContainedPlaceholderImage, $2e6ca552eb0e0b2b$export$97f31f44c68c1d5 as RecommendationContainer, $ad0b2591dac160be$export$ddd70fdae1b350e6 as LeftChevron, $ad0b2591dac160be$export$32a55d57d151bc5a as RightChevron, $9a74c17d1ef21fdf$export$590326cc34f49e2d as createColorPicker, $0f55c2bc0a7b363b$export$237455ad7e59d4e5 as useExpandingContainer, $73f0a7e385687d5d$export$2369f6fc1c911576 as ContainedHoverImage, $c987460cedc0d7ec$export$788756b42446dc2d as ContainedImage, $9ef5ce4804a3b61b$export$f39a7d0667e924a as make_sizes_setter, $9ef5ce4804a3b61b$export$a62825542f1bfcf5 as make_sourceset_component, $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 as is_safari, $9ef5ce4804a3b61b$export$f7c915448031deac as make_url_with_query_params, $9ef5ce4804a3b61b$export$3d13beba9b52c947 as resize_base_url, $9e4bee2e3b4b5753$export$362abebb4b313340 as base_url, $17bb552dedcd526c$export$af2e17a20c2ea3c5 as Sentry, $c07f1f2ffdcaec61$export$9dc8f3a0aa3efc85 as camelCasifyObject, $c07f1f2ffdcaec61$export$b481488de1caa85 as snakeCasifyObject, $40a5a98adc907fe0$export$499ef00a6a3417f8 as rgb_to_hsl, $40a5a98adc907fe0$export$e4fd3b61e79357a7 as hsl_to_rgb, $40a5a98adc907fe0$export$98c2b3491e76c1f as relative_luminance_from_rgb, $40a5a98adc907fe0$export$486b165479b9284f as hsb_to_rgb, $40a5a98adc907fe0$export$ca305c142c6fc3cf as hex_to_rgb, $b9e07ce3c67aa344$export$83d89fbfd8236492 as version, $ea5707b8e7b350cf$export$2cefb7e61fcbae00 as add_to_version_info, $656899961fd22692$export$ef73ea4f975745ba as edit_current_page_meta_tags, $5ea81d00eec57744$export$c3f56a35e076f139 as sync_el_content_with_accessor, $34eb7e26a9a798f2$export$e35115e6d0715f77 as use_href_accessor, $be5f485da4e3f813$export$fce59460a1699957 as cookiebot_get_consent, $be5f485da4e3f813$export$56c2e8be65fb14ae as cookiebot_wait_for_consent, $be5f485da4e3f813$export$8827362e5e938d26 as cookiebot_get_cookie_ipns, $be5f485da4e3f813$export$abec7fd9f0b9cc22 as init_cookiebot_tracking };
|
|
8772
|
+
export { $5c580d87c093cc47$export$a7e53ec3b3fdd030 as base64_decode_unicode, $5c580d87c093cc47$export$a1893782a2a6be0d as base64_encode_unicode, $5f4e0abe3139380e$export$6f051469dd676a8b as make_plp_recommendations_inserted_handler, $ea5707b8e7b350cf$export$60d1d0e3cfc8b9ed as version_info, $ea5707b8e7b350cf$export$fe609f0216e4ebef as add_version_query_params, $cdf4691608b4019f$export$6e7454c733fa1fb2 as cache_args, $bcc7b73f8b96a6f0$export$8582cf3716962dc2 as check_displays, $b000f5ef6ce456d9$export$8048b892d651b310 as err, $a01cf8e3169d2af1$export$16d7c76794a38a4 as require_event_listener, $a496a9038b9c02cf$export$41de2959a8dd405d as Auto_GWVM, $ddeca43328b507f6$export$c83d8da642b5104a as GWVM_Renderer, $6a44fa3f1acf7693$export$55621c1ce3cd536b as infinite_promise_creator, $4c6e595091defcd9$export$32ccf3a614c84258 as infinite_promise_no_skip, $d3b90d5099bf2925$export$c0a4d29bc45a38c6 as infinite_renderer, $3ee6c00e6df1008f$export$9eae832ae57fbf as deprecated_insert_styling, $e64690bc3a7de2b1$export$c7187bbd1a7a9244 as placeholder, $d4f914b34cc77d0c$export$cab8bc58c64c2013 as Pro_Slider, $48b0f027b215b8ad$export$2e2bcd8739ae039 as simplified_template_tool, $0342f59060b8a196$export$f1b8b9fd75ddcab1 as insert_styling_into_slider, $b7b39b38d6e695e9$export$cd12721587f4f16d as RR_Slider, $eb252431088a7c2b$export$1a8782481a9af507 as Depict, $193ee64f5599f8a8$export$30933c637c977eef as get_recs_with_template, $193ee64f5599f8a8$export$c410ce1205e5118a as default_post_processor, $193ee64f5599f8a8$export$4f39078bdc72ecd0 as default_pre_processor, $03021b39f80fac4b$export$2e2bcd8739ae039 as wpff, $7d82513db34b5d27$export$12e07a2a9f87578a as ElementObserver, $90fa633a9564f115$export$b6ae1bc530f4c149 as observer, $0f650018c3cbc373$export$34b9dba7ce09269b as jsx, $0f650018c3cbc373$export$25062201e9e25d76 as jsxs, $a285401a927e4306$export$eb0b9ed911409b57 as use_element, $a285401a927e4306$export$f63fcc839cb0f734 as use_listener, $a285401a927e4306$export$22a65337c1b43b1f as classlist, $0f650018c3cbc373$export$ffb0004e005737fa as Fragment, $241f2f02cc612a49$export$de56f1198d121036 as dlog, $241f2f02cc612a49$export$997143d41f6a0c9b as derror, $241f2f02cc612a49$export$c2363754d4758444 as dwarn, $241f2f02cc612a49$export$2dd75a6b038dc8cb as set_browser_prefix, $5e1f45affc1d7def$export$b3bbfd758f11cfa9 as catchify, $5e1f45affc1d7def$export$f18d5b0af29128b7 as report, $a5a2bdb4ae93374b$export$55fe61489d2c7417 as is_debug, $c755e2b0d4b18501$export$6038895ac52bd044 as chevronLeft, $c755e2b0d4b18501$export$dc84183312f0c201 as chevronRight, $0fe3923936d40f55$export$68c017fd93791405 as expandingContainer, $5f31622ffb78bc10$export$3be7054c61590ee3 as Lazyfier, $5f31622ffb78bc10$export$b87d7e0da8b5cbe3 as test_array_proxy_support, $be288a83d9eabf2a$export$692b27c28639e5b9 as Amazing_Slider, $20fe9624210ef635$export$16501883f477737a as colorize_elements, $20fe9624210ef635$export$deca40f48c0569f8 as should_colorizeLogics, $70017d06e57dffa8$export$50ce83ace0cdd87e as default_rr, $51dfcecbe05cc4e5$export$1bc0df10745d5412 as fetch_recs, $51dfcecbe05cc4e5$export$d40679eb4cf32f09 as fetch_recs_whole_response, $378c98788ab52b9c$export$c42139a43c877ecd as clone_deep, $378c98788ab52b9c$export$e0009e7da572f99b as regex_templating, $378c98788ab52b9c$export$a9fc160c5ed83bd7 as Rec_Renderer, $df6d080cba513381$export$17c3166a7ebd4688 as n_col_styling_with_dist, $df6d080cba513381$export$c84671f46d6a1ca as Layout, $df6d080cba513381$export$483bdd1f1186de13 as layout_get_visible_recs_without_partial_rows, $df6d080cba513381$export$3dc5e2383c924ebf as layout_get_total_rec_amount_for_row, $df6d080cba513381$export$717f13d9ba00ca19 as layout_media_query_header, $297a08bac2d81fab$export$b0a773486c1c2312 as RecommendationGrid, $d89e3aaeb9270095$export$82cfdc85a4d15688 as RecommendationSlider, $943514d07f57df12$export$6830ae1fbe21e589 as default_click_tracking, $943514d07f57df12$export$f37c58ab3d3e3b75 as default_view_tracking, $943514d07f57df12$export$dd32cb565eae0a1f as ga_click, $943514d07f57df12$export$8d72437623fef90c as gtag_click_post_processor, $943514d07f57df12$export$1bffac19f9f0d6fc as gtag_view_post_processor, $943514d07f57df12$export$e9106d6e723510d2 as depict_click_tracking_post_processor, $943514d07f57df12$export$fb9afe9f540ae069 as recs_inserted_tracking, $943514d07f57df12$export$32eb5dd18e963410 as add_to_localstorage, $943514d07f57df12$export$9e1caada6901f552 as depict_page_view, $b109421811582f8c$export$8cbd8aa1c70f9a13 as slider_autoscroll_factory, $090af64928922937$export$80039a49055269fb as make_button1, $66c5b496f7887c00$export$af88b4929c2dc86 as make_button2, $d3c54fdf1bfb087a$export$1d17a045bcc711b1 as slider_dots_factory, $d3c54fdf1bfb087a$export$a09282b33e69b43f as navdot, $3ad897e1659ee6d7$export$411b0f20794697ce as slider_draggable_factory, $21afac8db3f98820$export$5129719c04a52f8c as slider_fading_factory, $0cbf24ae3e670238$export$5723caf9a8335aa6 as slider_fractional_factory, $4837ebe61ecec421$export$93223e488e7ee078 as slider_show_scroll, $ff905d87817a07f4$export$b36d2489a5a16728 as slider_snap_css, $ff905d87817a07f4$export$49b950309ab787ad as can_use_snapping_and_still_scroll, $e1af55c2112926b7$export$dac64fd35a4805a4 as slider_snapping_factory, $f340c415f2e1d03a$export$68babfc5be0de5da as Amazing_Lazy_Slider, $c7030fdb9bcc361f$export$53306504b987cbf7 as slider_wraparound_factory, $aadc6d9eeb8e8a56$export$419f84efad7d9fe as sizes_to_surface, $aadc6d9eeb8e8a56$export$417ef0ab13d8b984 as surface_mixer, $aadc6d9eeb8e8a56$export$be95cb0e8cfd099e as promise_until_next_navigation, $f2fce07b3a330e05$export$29a6094e0bd8bc5f as AIO, $f2fce07b3a330e05$export$6ebd242c09192cec as paint_red, $bd7c9f254946941d$export$2c34560c3749dc63 as bind_to_a2c_button, $bd7c9f254946941d$export$82a685f2da2fb027 as bind_tracking_to_link, $d5f7352b58e0d737$export$15f8a0cd5a8c0ebb as depict_click, $d5f7352b58e0d737$export$82badda1f9923310 as depict_prefilled, $d5f7352b58e0d737$export$9028351cb994757e as depict_add_to_cart, $d5f7352b58e0d737$export$93ae15b1ae509334 as set_session_id_fn, $d5f7352b58e0d737$export$61e7e1f11e96692f as get_session_id, $d5f7352b58e0d737$export$622991c71a1f52b3 as get_cookie, $d5f7352b58e0d737$export$8c6f26a5b6921b95 as get_tracking_event_context_data, $814c3bf8e175fa59$export$72036d950e1fae95 as filter_depict_payload, $814c3bf8e175fa59$export$28cacbd9b4306ffc as send_depict, $814c3bf8e175fa59$export$cc3b6ddf805f6156 as foolproof_send_beacon, $814c3bf8e175fa59$export$608478473a3304a0 as send_depict_unfiltered, $814c3bf8e175fa59$export$aa26019042811d4f as send_websocket, $799496226e956169$export$674d8cd8b6868154 as create_ga_queue, $799496226e956169$export$edfedd0557ca5a2d as make_tracker_send_to_depict, $ed8073ecbced6e7e$export$1ff14fec60ed5697 as ga_to_transaction_api, $3674b9afc9a63520$export$f75172d2e289cd02 as send_ga, $3674b9afc9a63520$export$ac7296527cb52311 as setup_ga, $3674b9afc9a63520$export$d031e55ccd4c52dc as setup_gtag, $3674b9afc9a63520$export$f522672c9379e339 as gtag_click, $3674b9afc9a63520$export$bf205937e5e012cb as ga_purchase_click, $3674b9afc9a63520$export$127751e82111fcf as ga_rec_click, $3674b9afc9a63520$export$7babcd5d4056b2ca as gtag_view, $3674b9afc9a63520$export$f3354ec2ce95ebd9 as load_gtag, $d6c3e2ba045accda$export$4205dc6835bc0d9f as send_impression_event, $e89a1d249db21af0$export$37125ccc5dd98050 as impression_track_element, $c633189b7b69d048$export$d0efd8ed14f5c33 as impression_tracking_post_processor, $d6c3e2ba045accda$export$c543ee4cdb0d0964 as set_impression_threshold, $d6c3e2ba045accda$export$135da44d0ba958bc as impression_threshold, $d6c3e2ba045accda$export$ca8321ea61dc2544 as has_to_be_intersecting_for, $df87ac5a30f7baac$export$58c56fe2313fdbe3 as add_new_tab_listener, $df87ac5a30f7baac$export$836f70a28c317905 as broadcast_product_id, $df87ac5a30f7baac$export$8f66c4c7fb96eda2 as contextmenu_callback, $d4217f56717a3207$export$7e4427e80d5fc619 as optanon_get_cookie_ipns, $d4217f56717a3207$export$f0f6c846d96fdbec as init_optanon_tracking, $d4217f56717a3207$export$1dd9ce50e201eff1 as optanon_get_consent, $d4217f56717a3207$export$7a6d436e0782c6ed as optanon_wait_for_consent, $f991aad8d6175c9b$export$1ac466d53a6636ac as send_transaction_id_to_depict, $f991aad8d6175c9b$export$9ed4fbc47d558f94 as datalayer_interceptor, $f991aad8d6175c9b$export$b11248fa13a8a86c as datalayer_transaction_id_extractor, $f991aad8d6175c9b$export$3ebd86018b39d9d2 as orderpage_transaction_id_extractor, $f991aad8d6175c9b$export$ff8673d5dea82bd4 as url_transaction_id_extractor, $0897f35c3b3fbbc4$export$eee4c4d924348b05 as send_page_view_if_needed, $0897f35c3b3fbbc4$export$f7cb1bd47199ec38 as send_page_view_on_navigation, $f5a4b8e233f0e1cd$export$1d9c6fddbff3441f as DepictAPIWS, $429b4383ef3d586f$export$74108888f38788f3 as ListenableSet, $9c44a7238815fa47$export$535946eb77c946dd as deparallelize, $9c44a7238815fa47$export$f241be8e610f5c77 as deparallelize_no_drop, $ab9c3dbf2bb2fbf7$export$f8ea2e7b15b5d129 as buildThresholdList, $85906d121f53bacd$export$d9fdc6ce2907f95b as chaotic_closest, $652300c6621d5500$export$cfef5d5c9ac09253 as standard_price_format, $652300c6621d5500$export$9590700a594aef08 as ensure_object_path, $652300c6621d5500$export$925772df9b4d16e5 as ensure_parameter_in_url, $652300c6621d5500$export$44951404cb8d0583 as html2elems, $652300c6621d5500$export$d3e2a0560cbf4787 as html2elem, $652300c6621d5500$export$5e63aea0cac01fa0 as querySelectorAllElements, $652300c6621d5500$export$785f04709990c4ec as querySelectorUpwards, $652300c6621d5500$export$f124e3ee16e6b45d as intl_number_format_with_fallback, $652300c6621d5500$export$d4bd03f19260ef1c as relativify, $45d268baa2df1ba1$export$6b75200e58bc97d0 as deduplicate, $45d268baa2df1ba1$export$9426572bd5645bc1 as dedup_products, $8183c177c3bdf94d$export$82539d9817116aff as navigate_with_next_router, $f69445e469425bcb$export$774bc87373c4fc6c as add_item, $f69445e469425bcb$export$337197b94b3bd680 as get_items_in_cart, $f69445e469425bcb$export$783ef16647773b3d as get_shopify_analytics_meta_product, $f69445e469425bcb$export$ab0f802c05dd969b as intercept, $201e455525e1fa49$export$85be83e1935d93c2 as fetch_replacer, $201e455525e1fa49$export$f8da66bc4f1d059e as FakeResponse, $c95f8181bad32e8d$export$bcd70d5ed1cf6313 as fetch_retry, $073645eedb3f65a8$export$b404e20f3c4a490e as get_optimize_variant, $ad1dbddac6af350d$export$20e9533e68ee72e7 as stateless_href_change_ipns, $ad1dbddac6af350d$export$a9d39e43ae273d26 as href_change_ipns, $ad1dbddac6af350d$export$baccefee4a395d8f as history_replacer, $ad1dbddac6af350d$export$1cd22bab0d2c3b0b as on_next_navigation, $ad1dbddac6af350d$export$7500cdfd37aafd43 as instant_exec_on_suspect_history_change, $7ca6fdc721083788$export$e806c6c1615a59ae as async_iterable_ipns, $7ca6fdc721083788$export$10c3e52ef388b81b as make_ipns_stateful, $7ca6fdc721083788$export$90740b5bc9c2b3b7 as make_ipns_stateless, $449d6683cecfa078$export$3e42f5078e3abfc0 as make_simple_async_iterable, $449d6683cecfa078$export$e2c811ae0eb35313 as RawObservableInformation, $c1590f86e0eca625$export$2c2f50b30b7b2576 as iterable_to_attribute, $332ef338faf216a4$export$7c081fdbc65b6a2a as iterable_to_elems, $fee212025270d5b9$export$927664b47117acb0 as make_asyncIterable_exiter, $07beada135e5f5e8$export$f8913c8a18f7ca21 as zip_async_iterables, $2c22b027931240e6$export$f811d2ce0aa6019b as insert_surfaces, $2c22b027931240e6$export$b8d1e1d07a3f3776 as prevent_infinite_loop, $2c22b027931240e6$export$e3f70ef7e3d00501 as revertable_remove, $1013f2e568f87406$export$59ba1eb2c083f0cd as insert_styling, $1013f2e568f87406$export$692b606677218a16 as depict_init, $1013f2e568f87406$export$328e81c44cddf3c0 as depict_init_with_market_logic, $1013f2e568f87406$export$a4f97b27a0592e6c as normal_get_product_id, $1013f2e568f87406$export$a96c18473f2af463 as track_a2c, $26dbd7db7fd1bc2c$export$515c3ea4d599b05a as javascript_media_query, $914c6f35222c820d$export$33f937d741e49339 as patched_querySelectorAll, $07ddf7dfff112d01$export$a4eccf92efefa04d as placeholder_svg, $07ddf7dfff112d01$export$2dd69958012e3e49 as make_placeholder_rr, $07ddf7dfff112d01$export$3b75288f46cadd96 as random_text_placeholder, $6c8c963618d41bb2$export$947a20746936143d as Promise_Any, $3a96de5a459d34f9$export$c50e1901e8ed0615 as queueMacroTask, $1cd1e96fe31c935d$export$bb0a9c36cf454ea0 as rand, $6cb4d83127e468ea$export$656831b7e9c341c3 as random_string, $6cb4d83127e468ea$export$a6db784f019668ba as make_random_classname, $2b6304d4ce419ed5$export$3d04c40e7acc1a32 as reactive_template, $243da8b4990520aa$export$8ec5c86406f333ff as removeChild_error_swallowing_factory, $9c0a16930ae6750f$export$38e89c688f9d553a as replace_promise_with_native_if_exists_and_enforce, $9c0a16930ae6750f$export$e647444ed9403635 as get_iframe_promise, $f82333cd2ffc1582$export$2a1cc61cffa1f36f as rp_relativify_fetch, $f82333cd2ffc1582$export$f14a775632a826c4 as rp_relativify_history, $f82333cd2ffc1582$export$2a38b176ce969e2c as rp_relativify_xhr, $f82333cd2ffc1582$export$83ec13b10b391f13 as default_rp_fixes, $d9aec442b12a1134$export$39d526a1194b6499 as serialize_object, $b2c9f99c083a1182$export$12b4c6cbc6b8b4e4 as sort_obj, $95b71532fa7f905c$export$a422d714c8cb1a5d as standard_get_market, $cb3a51d87cbe5eff$export$3427ec8268623f1 as listenToLocalStorage, $095a7d035ba7d7a7$export$8d42ce4827f43582 as Tenant, $26145caeb41f1f7b$export$cd1adfb8059b5fcd as timeout_promise, $2da62df28669a48a$export$79f910a98828378d as variable_setter_to_ipns, $2da62df28669a48a$export$d5062f468a0454f3 as find_descriptor, $2da62df28669a48a$export$2fc1a072736ae2f6 as is_available_in, $8a812fa4638e2832$export$a739d9a07da7f9ce as use_voyado_id, $57642e3bf93ac1e7$export$5c069c93d2b7493f as wait, $24528b2f119d82fb$export$f314addd5f976083 as xhr_load, $24528b2f119d82fb$export$8e16c51fd2b6507 as xhr_read_interceptor, $24528b2f119d82fb$export$c74578d2cd47a84a as xhr_send_interceptor, $24528b2f119d82fb$export$33d1643df63073a8 as xhr_replace, $c40fc6dc2c22b3c4$export$4a3043e508dd72f0 as DefaultViewMoreButton, $a59cde169150d10b$export$8a0e4d6f6abf7e90 as GeneralSideSlidein, $24f3fd73864991c0$export$c068ad5361be7646 as GeneralSizeSelector, $adc0bb548fdb574f$export$84712d0562a614b8 as Placeholder, $adc0bb548fdb574f$export$d613f5b6d0a331a8 as ContainedPlaceholderImage, $2e6ca552eb0e0b2b$export$97f31f44c68c1d5 as RecommendationContainer, $ad0b2591dac160be$export$ddd70fdae1b350e6 as LeftChevron, $ad0b2591dac160be$export$32a55d57d151bc5a as RightChevron, $9a74c17d1ef21fdf$export$590326cc34f49e2d as createColorPicker, $0f55c2bc0a7b363b$export$237455ad7e59d4e5 as useExpandingContainer, $73f0a7e385687d5d$export$2369f6fc1c911576 as ContainedHoverImage, $c987460cedc0d7ec$export$788756b42446dc2d as ContainedImage, $9ef5ce4804a3b61b$export$f39a7d0667e924a as make_sizes_setter, $9ef5ce4804a3b61b$export$a62825542f1bfcf5 as make_sourceset_component, $9ef5ce4804a3b61b$export$a98fc8a2c818d3d8 as is_safari, $9ef5ce4804a3b61b$export$f7c915448031deac as make_url_with_query_params, $9ef5ce4804a3b61b$export$3d13beba9b52c947 as resize_base_url, $9e4bee2e3b4b5753$export$362abebb4b313340 as base_url, $17bb552dedcd526c$export$af2e17a20c2ea3c5 as Sentry, $c07f1f2ffdcaec61$export$9dc8f3a0aa3efc85 as camelCasifyObject, $c07f1f2ffdcaec61$export$b481488de1caa85 as snakeCasifyObject, $40a5a98adc907fe0$export$499ef00a6a3417f8 as rgb_to_hsl, $40a5a98adc907fe0$export$e4fd3b61e79357a7 as hsl_to_rgb, $40a5a98adc907fe0$export$98c2b3491e76c1f as relative_luminance_from_rgb, $40a5a98adc907fe0$export$486b165479b9284f as hsb_to_rgb, $40a5a98adc907fe0$export$ca305c142c6fc3cf as hex_to_rgb, $b9e07ce3c67aa344$export$83d89fbfd8236492 as version, $ea5707b8e7b350cf$export$2cefb7e61fcbae00 as add_to_version_info, $5ea81d00eec57744$export$c3f56a35e076f139 as sync_el_content_with_accessor, $34eb7e26a9a798f2$export$e35115e6d0715f77 as use_href_accessor, $be5f485da4e3f813$export$fce59460a1699957 as cookiebot_get_consent, $be5f485da4e3f813$export$56c2e8be65fb14ae as cookiebot_wait_for_consent, $be5f485da4e3f813$export$8827362e5e938d26 as cookiebot_get_cookie_ipns, $be5f485da4e3f813$export$abec7fd9f0b9cc22 as init_cookiebot_tracking };
|