PageSourceSearch

https://eurekashopping.com/_next/static/chunks/pages/collection/[id]/[[...collection]]-c5e0e0b74d3627bf.js

js eurekashopping.com collected 2026-10-02 00:49:41 UTC 12,920 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2987],{95918:function(l,e,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/collection/[id]/[[...collection]]",function(){return o(44660)}])},59573:function(l,e,o){"use strict";var t=o(85893),a=o(67294),n=o(93967),i=o.n(n),r=o(25675),d=o.n(r),c=o(59226),u=o.n(c),s=o(5152);let _=o.n(s)()(()=>o.e(8489).then(o.bind(o,38489)),{loadableGenerated:{webpack:()=>[38489]},ssr:!1});e.Z=l=>{let{style:e,className:o,imageClassName:n,src:r,alt:c,defaultIconSize:s=24,priority:v=!1,onClick:g}=l,[b,m]=(0,a.useState)(!1);return(0,t.jsx)("div",{className:i()(u().avatar,o),onClick:()=>null==g?void 0:g(),children:r&&!b?(0,t.jsx)(d(),{src:r,alt:c||"Store Logo",className:i()(u().image,n),style:e,onError:function(l){m(!0)},width:256,height:256,priority:v}):(0,t.jsx)("div",{className:i()(u().avatar,u().image),style:{display:"flex",alignItems:"center",justifyContent:"center"},children:(0,t.jsx)(_,{icon:"fi-sr-shop",color:"#A4AFB6",size:s})})})}},52597:function(l,e,o){"use strict";var t=o(85893);o(67294);var a=o(69189),n=o.n(a),i=o(41664),r=o.n(i),d=o(93967),c=o.n(d);e.Z=l=>{let{breadCrumbs:e,onBreadCrumbClick:o,className:a}=l,i=l=>{let o="";for(let t=0;t<=l;t++)o+=e[t].href;return o.replaceAll("//","/")},d=l=>{null==o||o(l)};return(0,t.jsx)("div",{className:c()(n().container,a),children:null==e?void 0:e.map((l,o)=>{let{href:a,path:u}=l;return o!==e.length-1?"skip"!==u&&(0,t.jsxs)("div",{className:n().textWrapper,children:[(0,t.jsx)(r(),{onClick:()=>d(u),href:i(o),className:n().text,children:u}),(0,t.jsx)("span",{className:n().slash,children:"/"})]},o):(0,t.jsx)("p",{className:c()(n().text,n().disabled),children:u},o)})})}},87579:function(l,e,o){"use strict";var t=o(85893);o(67294);var a=o(69861),n=o.n(a),i=o(93967),r=o.n(i);e.Z=l=>{let{show:e,className:o,children:a}=l;return(0,t.jsx)("div",{className:r()(n().container,{[n().hidden]:!e},o),children:a})}},44660:function(l,e,o){"use strict";o.r(e),o.d(e,{__N_SSP:function(){return E},default:function(){return J}});var t=o(85893),a=o(67294),n=o(96455),i=o.n(n),r=o(42818),d=o(93967),c=o.n(d),u=o(5152),s=o.n(u),_=o(20002),v=o.n(_),g=o(59573),b=o(41664),m=o.n(b),h=o(29201);let p=l=>{let{element:e,index:o,onClick:a,noLinks:n,children:i}=l;return n?(0,t.jsx)("div",{style:{marginLeft:0!==o?"-8px":0},children:i}):(0,t.jsx)(m(),{href:(null==e?void 0:e.id)?"/brands/".concat((0,h.mw)(null==e?void 0:e.merchantName),"/").concat(null==e?void 0:e.id):"/brands",style:{marginLeft:0!==o?"-8px":0},onClick:()=>a({merchantName:null==e?void 0:e.merchantName,merchantId:null==e?void 0:e.id}),children:i})};var y=l=>{let{products:e,onClick:o,maxShownBrands:n=5,avatarClassName:i,infoClassName:d,noLinks:u}=l,[s,_]=(0,a.useState)();return(0,a.useEffect)(()=>{_([...new Map(e.map(l=>{var e;return[null===(e=l.merchant)||void 0===e?void 0:e.id,l.merchant]})).values()].sort((l,e)=>{var o;return null==l?void 0:null===(o=l.merchantName)||void 0===o?void 0:o.localeCompare(null==e?void 0:e.merchantName)}))},[e]),(0,t.jsxs)("div",{className:v().container,children:[null==s?void 0:s.slice(0,n).map((l,e)=>(0,t.jsx)(p,{index:e,element:l,onClick:o,noLinks:u,children:(0,t.jsx)(g.Z,{src:null==l?void 0:l.image,className:c()(v().logo,i),imageClassName:c()(v().logoImage,i),defaultIconSize:12,alt:"".concat((null==l?void 0:l.merchantName)||""," Store Logo")})},e)),(null==s?void 0:s.length)>n?(0,t.jsxs)(r.Z,{className:c()(v().info,d),children:["\xa0\xa0","+".concat((null==s?void 0:s.length)-n," Others")]}):null]})},f=o(49386),C=o(21314),N=o(87579),x=o(9008),P=o.n(x),j=o(96167),k=o(34148),I=o(52597),w=o(78307),S=o(32023);let Z=s()(Promise.all([o.e(897),o.e(4060),o.e(6818),o.e(1097)]).then(o.bind(o,91097)),{loadableGenerated:{webpack:()=>[91097]}}),O=s()(Promise.all([o.e(7039),o.e(3135)]).then(o.bind(o,33135)),{loadableGenerated:{webpack:()=>[33135]}}),A="Collection Details Page";var E=!0,J=l=>{let{collectionId:e,collectionName:o,collectionType:n,collectionData:d,collectionImage:u,s:s,notFound:_,breadCrumbs:v}=l,{log:g,joinParams:b,commonParams:m,initialized:p}=(0,f.ip)(),[x]=(0,a.useState)(null==d?void 0:d.content),[E,J]=(0,a.useState)(),{showDownloadWall:V}=(0,S.T)(),B="https://eurekashopping.com",L=()=>{var l;C.Z.init({lp_page_name:"Eureka Website - "+A,lp_variant:n+" Collection "+e})},W=async()=>{let l={...b,collection_name:o,collection_id:e,number_of_items:(null==x?void 0:x.length)||0,collection_type:n};g({...m,eventAction:"Page View",eventValue:JSON.stringify(Object.assign(l,await C.Z.getParsed()))})},D=async l=>{let t={...b,collection_name:o,collection_id:e,collection_type:n,store_name:null==l?void 0:l.merchantName,store_id:null==l?void 0:l.merchantId};g({...m,eventAction:"Visit Store Details Page Clicked",eventValue:JSON.stringify(Object.assign(t,await C.Z.getParsed()))})},G=async l=>{let e={...b,breadcrumbs_value:l};g({...m,eventAction:"Breadcrumbs Clicked",eventValue:JSON.stringify(Object.assign(e,await C.Z.getParsed()))})};(0,a.useEffect)(()=>{L()},[]),(0,a.useEffect)(()=>{var l;C.Z.init({lp_page_name:"Eureka Website - "+A,lp_variant:n+" Collection "+e}),p&&W()},[p]),(0,a.useEffect)(()=>{E&&setTimeout(()=>{J(!1)},3e3)},[E]);let T=async l=>{var e,o,t,a,n,i,r,d,c,u,s,_;let v={...b,global_product_id:(null==l?void 0:null===(e=l.globalProduct)||void 0===e?void 0:e.id)||(null==l?void 0:l.id),global_product_title:null==l?void 0:l.name,global_product_categories:{l1_category:null==l?void 0:null===(o=l.globalProduct)||void 0===o?void 0:o.l1CategoryId,l2_
1category:null==l?void 0:null===(t=l.globalProduct)||void 0===t?void 0:t.l2CategoryId,l3_category:null==l?void 0:null===(a=l.globalProduct)||void 0===a?void 0:a.l3CategoryId},global_product_stores:null==l?void 0:null===(i=l.globalProduct)||void 0===i?void 0:null===(n=i.products)||void 0===n?void 0:n.map(l=>null==l?void 0:l.merchantName),store_name:null==l?void 0:null===(r=l.merchant)||void 0===r?void 0:r.merchantName,store_id:null==l?void 0:null===(d=l.merchant)||void 0===d?void 0:d.id,global_product_category_l1:null==l?void 0:null===(c=l.globalProduct)||void 0===c?void 0:c.l1CategoryId,global_product_category_l2:null==l?void 0:null===(u=l.globalProduct)||void 0===u?void 0:u.l2CategoryId,global_product_category_l3:null==l?void 0:null===(s=l.globalProduct)||void 0===s?void 0:s.l3CategoryId,global_product_category_l4:null==l?void 0:null===(_=l.globalProduct)||void 0===_?void 0:_.l4CategoryId};g({...m,eventAction:"Global Product Image Clicked",eventValue:JSON.stringify(Object.assign(v,await C.Z.getParsed()))})},F=async l=>{var e,o,t,a,n,i,r,d,c,u,s,_;let v={...b,global_product_id:(null==l?void 0:null===(e=l.globalProduct)||void 0===e?void 0:e.id)||(null==l?void 0:l.id),global_product_title:null==l?void 0:l.name,global_product_categories:{l1_category:null==l?void 0:null===(o=l.globalProduct)||void 0===o?void 0:o.l1CategoryId,l2_category:null==l?void 0:null===(t=l.globalProduct)||void 0===t?void 0:t.l2CategoryId,l3_category:null==l?void 0:null===(a=l.globalProduct)||void 0===a?void 0:a.l3CategoryId},global_product_stores:null==l?void 0:null===(i=l.globalProduct)||void 0===i?void 0:null===(n=i.products)||void 0===n?void 0:n.map(l=>null==l?void 0:l.merchantName),store_name:null==l?void 0:null===(r=l.merchant)||void 0===r?void 0:r.merchantName,store_id:null==l?void 0:null===(d=l.merchant)||void 0===d?void 0:d.id,global_product_category_l1:null==l?void 0:null===(c=l.globalProduct)||void 0===c?void 0:c.l1CategoryId,global_product_category_l2:null==l?void 0:null===(u=l.globalProduct)||void 0===u?void 0:u.l2CategoryId,global_product_category_l3:null==l?void 0:null===(s=l.globalProduct)||void 0===s?void 0:s.l3CategoryId,global_product_category_l4:null==l?void 0:null===(_=l.globalProduct)||void 0===_?void 0:_.l4CategoryId};g({...m,eventAction:"Global Product Title/Price Clicked",eventValue:JSON.stringify(Object.assign(v,await C.Z.getParsed()))})},H=async(l,e)=>{var o,t,a,n,i,r,d,c,u,s,_,v;let h={...b,global_product_id:(null==l?void 0:null===(o=l.globalProduct)||void 0===o?void 0:o.id)||(null==l?void 0:l.id),global_product_title:null==l?void 0:l.name,global_product_categories:{l1_category:null==l?void 0:null===(t=l.globalProduct)||void 0===t?void 0:t.l1CategoryId,l2_category:null==l?void 0:null===(a=l.globalProduct)||void 0===a?void 0:a.l2CategoryId,l3_category:null==l?void 0:null===(n=l.globalProduct)||void 0===n?void 0:n.l3CategoryId},global_product_stores:null==l?void 0:null===(r=l.globalProduct)||void 0===r?void 0:null===(i=r.products)||void 0===i?void 0:i.map(l=>null==l?void 0:l.merchantName),store_name:null==l?void 0:null===(d=l.merchant)||void 0===d?void 0:d.merchantName,store_id:null==l?void 0:null===(c=l.merchant)||void 0===c?void 0:c.id,global_product_category_l1:null==l?void 0:null===(u=l.globalProduct)||void 0===u?void 0:u.l1CategoryId,global_product_category_l2:null==l?void 0:null===(s=l.globalProduct)||void 0===s?void 0:s.l2CategoryId,global_product_category_l3:null==l?void 0:null===(_=l.globalProduct)||void 0===_?void 0:_.l3CategoryId,global_product_category_l4:null==l?void 0:null===(v=l.globalProduct)||void 0===v?void 0:v.l4CategoryId};g({...m,eventAction:"Product Impression",eventLabel:e,eventValue:JSON.stringify(Object.assign(h,await C.Z.getParsed()))})},z=async l=>{var e;V();let o={...b,global_product_id:(null==l?void 0:null===(e=l.globalProduct)||void 0===e?void 0:e.id)||(null==l?void 0:l.id),global_product_title:null==l?void 0:l.name};g({...m,eventAction:"Save Product Clicked",eventValue:JSON.stringify(Object.assign(o,await C.Z.getParsed()))})},Y=async l=>{let e={...b,ad_unit_id:l};g({...m,eventAction:"Ad Show",eventSubcategory:"Eureka Ads",eventValue:JSON.stringify(Object.assign(e,await C.Z.getParsed()))})},Q=async l=>{let e={...b,ad_unit_id:l};g({...m,eventAction:"Ad Impression",eventSubcategory:"Eureka Ads",eventValue:JSON.stringify(Object.assign(e,await C.Z.getParsed()))})};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(P(),{children:[(0,t.jsx)("meta",{property:"og:url",content:s?B+"/c/"+s:B+"/collection/"+e},"og-url"),(0,t.jsx)("link",{rel:"canonical",href:B+"/collection/"+e+"/"+(0,h.w)(o)},"canonical-url")]}),(0,t.jsx)(j.Z,{title:o?"".concat(o," - Eureka Collection"):"Eureka: Your Smart Shopping Assistant"}),(0,t.jsx)(k.Z,{img:u||"".concat(B,"/images/ogimage.jpg"),alt:"".concat(o," Collection Image")}),(0,t.jsx)("div",{className:c()({[i().overlay]:_||!x||0===x.length})}),(0,t.jsxs)(w.Z,{className:i().container,children:[(0,t.jsx)(I.Z,{breadCrumbs:v,onBreadCrumbClick:G}),(0,t.jsx)("div",{className:i().header,children:(0,t.jsx)(r.Z,{element:"h1",className:c()(i().collectionName,{[i().hide]:_}),children:o})}),(0,t.jsx)("div",{className:i().infoContainer,children:!(!x||0===x.length)&&(0,t.jsxs)("div",{className:i().brandsIncluded,children:[(0,t.jsx)(r.Z,{element:"h2",className:c()(i().brandsHeading,{[i().hide]:_}),children:"Brands included:"}),(0,t.jsx)(y,{products:x,onClick:D})]})}),(0,t.jsx)("div",{className:i().productListContainer,children:_||!x||0===x.length?(0,t.jsx)(O,{state:_?"notFound":"empty"}):(0,t.jsx)(Z,{products:x,collectionId:e,collectionName:o,onSaveClick:z,onProductImageClick:T,onProductPriceInfoClick:F,onProductImpression:H,showBannerAfterFirstRow:!0,adData:{onImpression:Q,onShow:Y}})})]}),(0,t.jsx)("div",{className:i().toast,children:E&&(0,t.jsx)(N.Z,{show:E,className:i().error,children:E})})]})}},59226:function(l){l.exports={avatar:"avatar_avatar__rIKYf",image:"avatar_image__Qihcm"}},69189:function(l){l.exports={"btn-eureka-cta":"breadCrumbs_btn-eureka-cta__pvpQU","btn-eureka-cta-black":"breadCrumbs_btn-eureka-cta-black__25Jnj","btn-eureka-cta-outline":"breadCrumbs_btn-eureka-cta-outline__ad_2v",container:"breadCrumbs_container__1ptBm",textWrapper:"breadCrumbs_textWrapper__wDvFs",text:"breadCrumbs_text__8WEmg",disabled:"breadCrumbs_disabled__GnauJ",slash:"breadCrumbs_slash__F5SDe"}},69861:function(l){l.exports={container:"toast_container__KVe3L",hidden:"toast_hidden__mH3b_"}},20002:function(l){l.exports={container:"Brands_container__55UCd",logo:"Brands_logo___YVwh",logoImage:"Brands_logoImage__g2Wxh",info:"Brands_info__L3fgJ"}}
1,96455:function(l){l.exports={"btn-eureka-cta":"collection_btn-eureka-cta__ugz6Z","btn-eureka-cta-black":"collection_btn-eureka-cta-black__wHDBO","btn-eureka-cta-outline":"collection_btn-eureka-cta-outline__8VSMY",overlay:"collection_overlay__1yAvh",container:"collection_container__Jvlto",header:"collection_header__c6WTo",collectionName:"collection_collectionName__G0kig",hide:"collection_hide__0jve3",infoContainer:"collection_infoContainer__LAxoP",share:"collection_share__DpZpJ",disable:"collection_disable__9bs0d",box:"collection_box__jQfTH",empty:"collection_empty__K9oIo",brandsIncluded:"collection_brandsIncluded__t9jS8",brandsHeading:"collection_brandsHeading__NYOfz",brands:"collection_brands__Ip_Q6",toast:"collection_toast__O4yNa",error:"collection_error__Wz6D2"}}},function(l){l.O(0,[2888,9774,179],function(){return l(l.s=95918)}),_N_E=l.O()}]);

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.