PageSourceSearch

https://www.prodirectsport.es/cdn/shop/t/41/assets/tracking-collection-view.YI41vrkH.min.js

js prodirectsport.es collected 2026-10-07 20:52:49 UTC 1,455 bytes, 1 lines download raw bytes

1function p(c){const n=Array.isArray(c.attributes)?c.attributes[0]:c.attributes,o=c.sale_price<c.price?c.price:0,e=o>0?o-c.sale_price:0,l=o>0?Math.round((o-c.sale_price)/o*100):0,i=c.shopifyId||"";return{id:(n==null?void 0:n.quickRef)||"",title:c.title||"",type:(n==null?void 0:n.type)||"",vendor:(n==null?void 0:n.brand)||"",url:c.url||"",shopify_id:i,attributes:{base_colour:(n==null?void 0:n.base_colour)||"",web_department:(n==null?void 0:n.web_department)||"",age:(n==null?void 0:n.age)||[],gender:(n==null?void 0:n.gender)||[],type:(n==null?void 0:n.type)||"",subtype:(n==null?void 0:n.subtype)||"",silo:(n==null?void 0:n.silo)||"",subsilo:(n==null?void 0:n.subsilo)||"",activity:(n==null?void 0:n.activity)||"",pd_campaign:(n==null?void 0:n.pd_campaign)||[],pack:(n==null?void 0:n.pack)||"",owner:(n==null?void 0:n.owner)||"",sale:n==null?void 0:n.on_sale,is_dropship:n==null?void 0:n.is_dropship,outlet:n==null?void 0:n.outlet},pricing:{price:c.sale_price||0,compareAtPrice:o,discount:{percent:l,amount:e}}}}function y(c){var n,o,e;try{(e=(o=(n=window.Shopify)==null?void 0:n.analytics)==null?void 0:o.publish)==null||e.call(o,"pd:collection_viewed",c)}catch(l){console.warn("[tracking-collection-view] Publish error",l)}}function _(c){var e,l;const n=c.products?c.products.map(i=>p(i)):[],o={event:"item_list_viewed",currency:((l=(e=window.Shopify)==null?void 0:e.currency)==null?void 0:l.active)||c.currency,...c,products:n};y(o)}export{_ as t};

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.