PageSourceSearch

https://www.prettylittlething.ae/build/_shared/chunk-CTMJI4HD.js

js prettylittlething.ae collected 2026-09-28 10:59:37 UTC 1,322 bytes, 1 lines download raw bytes

1import{a as y}from"/build/_shared/chunk-TUIHAGXD.js";import{b as l,c as g}from"/build/_shared/chunk-DZGDZ3GC.js";import{b as _}from"/build/_shared/chunk-FONEQPGK.js";import{a as I}from"/build/_shared/chunk-H6S7FWVP.js";import{d as P}from"/build/_shared/chunk-T36URGAI.js";var b=P(I());var D=()=>({selectItem:(0,b.useCallback)((i,o,n,a,f)=>{var m;let s="sale_price"in i?i.pid:i.id;s&&a&&g(s,a,f),_({event:"select_item",ecommerce:{currency:(m=n==null?void 0:n.currency)!=null?m:void 0,item_list_name:a,items:"sale_price"in i?[i].map((e,S)=>{let r=e.breadcrumbs,t=e.price||void 0,c=+e.sale_price;return{item_id:e.pid,item_name:e.title||void 0,discount:t?+t-c:0,index:o,item_brand:e.brand||void 0,item_category:r[0],item_category2:r[1],item_category3:r[2],item_category4:r[3],item_category5:r[4],item_variant:e.pid,item_variant_id:e.colour,price:c,quantity:1}}):[i].map((e,S)=>{var u,p;let r=(u=e.breadcrumbs)!=null?u:[],t=y(r),c=((p=e.wasPrice)==null?void 0:p.replace(/[^\d.-]/g,""))||void 0,d=+e.price.replace(/[^\d.-]/g,"");return{item_id:l(e.id),item_name:e.name||void 0,discount:c?+c-d:0,index:o,item_brand:e.brand||void 0,item_category:t[0],item_category2:t[1],item_category3:t[2],item_category4:t[3],item_category5:t[4],item_variant:e.id,item_variant_id:e.colour||void 0,price:d,quantity:1}})}})},[])});export{D as a};

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.