PageSourceSearch

https://www.alpinetrek.co.uk/out/bf/dist/bf_criteo-459cfe3ad9e053a468b2.bundle.js

js alpinetrek.co.uk collected 2026-09-26 02:24:49 UTC 4,110 bytes, 1 lines download raw bytes

1(()=>{"use strict";window.criteo_q=window.criteo_q||[];const e=/iPad/.test(navigator.userAgent)?"t":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent)?"m":"d",a=document.body.classList[0].replace("shop-",""),t=new Map([["de","11757"],["en","29688"],["nl","41096"],["fr","41097"],["at","59872"],["ch","59871"]]).get(a);function i(e){return+(Math.round(e+"e+2")+"e-2")}function d(e){if(e.includes("SET"))return e;const a=e.split("-");return a[0]+"-"+a[1]}if(t){if(function(e){let a=document.createElement("script");a.src=e,a.type="text/javascript",document.getElementsByTagName("head").item(0).appendChild(a)}("//dynamic.criteo.com/js/ld/ld.js?a=".concat(t)),window._datalayer&&"home"!==window._datalayer.pageType&&"list_category"!==window._datalayer.pageType&&"list_outlet"!==window._datalayer.pageType&&"list_brand"!==window._datalayer.pageType&&"list_search"!==window._datalayer.pageType&&"list_new"!==window._datalayer.pageType&&"list_category_brand"!==window._datalayer.pageType&&"list_manlp"!==window._datalayer.pageType&&"product_detail"!==window._datalayer.pageType&&"checkout_0_basket"!==window._datalayer.pageType&&"checkout_4_thankyou"!==window._datalayer.pageType){const{user:a}=window._datalayer;window.criteo_q.push({event:"setAccount",account:t},{event:"setEmail",email:a?.hashedEmail?a.hashedEmail:"",hash_method:"sha256"},{event:"setSiteType",type:e},{event:"viewPage"})}if(window._datalayer&&"home"===window._datalayer.pageType){const{user:a}=window._datalayer;window.criteo_q.push({event:"setAccount",account:t},{event:"setEmail",email:a?.hashedEmail?a.hashedEmail:"",hash_method:"sha256"},{event:"setSiteType",type:e},{event:"viewHome"})}if(window._datalayer&&("list_category"===window._datalayer.pageType||"list_outlet"===window._datalayer.pageType||"list_brand"===window._datalayer.pageType||"list_search"===window._datalayer.pageType||"list_new"===window._datalayer.pageType||"list_category_brand"===window._datalayer.pageType||"list_manlp"===window._datalayer.pageType)){const{user:a,catalog:i}=window._datalayer;window.criteo_q.push({event:"setAccount",account:t},{event:"setEmail",email:a?.hashedEmail?a.hashedEmail:"",hash_method:"sha256"},{event:"setSiteType",type:e},{event:"viewList",item:i?.products?.map((e=>e.product.sku)),category:i?.categories?.at(-1)??"",keywords:i?.searchQuery??""})}if(window._datalayer&&"product_detail"===window._datalayer.pageType&&window._datalayer.product){const{product:a,user:i}=window._datalayer;window.criteo_q.push({event:"setAccount",account:t},{event:"setEmail",email:i?.hashedEmail?i.hashedEmail:"",hash_method:"sha256"},{event:"setSiteType",type:e},{event:"viewItem",item:a.sku})}const a=(a,n)=>{if(window._datalayer&&window._datalayer.product){const{currency:o,user:r}=window._datalayer,s=document.querySelectorAll(".input-amount, .js-input-amount")[0];s&&window.criteo_q.push({event:"setAccount",account:t},{event:"setEmail",email:r?.hashedEmail?r.hashedEmail:"",hash_method:"sha256"},{event:"setSiteType",type:e},{event:"addToCart",item:[{id:d(a),price:i(n*o?.rate),quantity:s.value}]})}};if(window.pushAddToCartEventToCriteo=a,window._datalayer&&"checkout_0_basket"===window._datalayer.pageType&&window._datalayer.basket&&window._datalayer.currency?.rate){const{basket:a,currency:n,user:o}=window._datalayer;window.criteo_q.push({event:"setAccount",account:t},{event:"setEmail",email:o?.hashedEmail?o.hashedEmail:"",hash_method:"sha256"},{event:"setSiteType",type:e},{event:"viewBasket",item:a.basketItems.map((e=>({id:d(e.product.sku),price:i(e.product.price.withoutTax*n.rate),quantity:e.amount})))})}if(window._datalayer&&"checkout_4_thankyou"===window._datalayer.pageType&&window._datalayer.order&&window._datalayer.currency?.rate){const{currency:a,order:n,user:o}=window._datalayer;window.criteo_q.push({event:"setAccount",account:t},{event:"setEmail",email:o?.hashedEmail?o.hashedEmail:"",hash_method:"sha256"},{event:"setSiteType",type:e},{event:"trackTransaction",id:n.transactionId,item:n.products.map((e=>({id:d(e.product.sku),price:i(e.product.price.withoutTax*a.rate),quantity:e.amount})))})}}})();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.