1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="412bf9ca-c557-5ae8-9616-de3085f3e1bc")}catch(e){}}(); 3!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"25284f56d19b86fec679e4bc7d053aeb905dc198"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="1df8ac10-0795-4111-9505-6d53b44650f1",e._sentryDebugIdIdentifier="sentry-dbid-1df8ac10-0795-4111-9505-6d53b44650f1")}catch(e){}}(),(self.webpackChunklencosupplies_com=self.webpackChunklencosupplies_com||[]).push([[548],{9924:function(e,t,n){n.r(t),n.d(t,{default:function(){return m}});var a=n(4794),s=n(6540),c=n(6597),i=n(4909),d=n(3326),l=n(1228),r=n(969),o=n.n(r);var u=({product:e,shopNow:t=!1})=>{const{0:n,1:i}=(0,s.useState)(!1),{toggleWish:r,wishList:u}=(0,s.useContext)(c.Pd),m=e.shopifyId||e.id;(0,s.useEffect)(()=>{u.forEach(e=>{e===m&&i(!0)})},[u,r,m]);return s.createElement("div",{className:"TinyProduct"},s.createElement("div",{className:"TinyProduct__thumbnail"},s.createElement(a.Link,{to:`/product/${e.handle}`},s.createElement(d.A,{source:e.featuredImage,imgClass:"TinyProduct__thumbnail__image"})),s.createElement("div",{className:"TinyProduct__thumbnail__wishlist"},s.createElement(o(),{onClick:()=>{r(m),i(!n)},className:""+(n?"wished":"")}))),s.createElement("div",{className:"TinyProduct__content"},s.createElement(a.Link,{to:`/product/${e.handle}`},e.vendor&&"vendor-unknown"!==e.vendor&&s.createElement("div",{className:"TinyProduct__vendor"},e.vendor),s.createElement("h4",{className:"TinyProduct__title"},e.title),s.createElement(l.A,{product:e}),t&&s.createElement("span",{className:"TinyProduct__link"},"Shop Now"))))};var m=()=>{const{wishList:e}=(0,s.useContext)(c.Pd),{userIsAuthenticated:t,customerData:n}=(0,c.F7)(),d=(0,a.useStaticQuery)("2574090001").allShopifyProduct.edges,l=new Map;d.forEach(({node:e})=>{l.set(e.shopifyId,e)});const r=e?e.map(e=>l.get(e)).filter(Boolean):[];return"undefined"==typeof window||t()||n?s.createElement(i.A,null,s.createElement("div",{className:"WishList"},s.createElement("h2",{className:"WishList__head"},"Your Wishlist"),s.createElement("div",{className:"Container"},s.createElement("div",{className:"WishList__list"},r.map(e=>s.createElement(u,{product:e,wish:!0,key:e.id})))))):((0,a.navigate)("/account/login"),null)}}}]); 4//# sourceMappingURL=component---src-pages-wishlist-jsx-b289b9df18d33c27cfc6.js.map 5//# debugId=412bf9ca-c557-5ae8-9616-de3085f3e1bc
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.