1"use strict";(self.webpackChunkshopwp=self.webpackChunkshopwp||[]).push([["CartLineItemImage-public"],{
1"./npm-packages/@shopwp/components/src/cart/lineitem/image/index.jsx":(e,i,a)=>{a.r(i),a.d(i,{default:()=>r});var t=a("./npm-packages/@shopwp/common/src/images/index.js"),n=wp.element.lazy((function(){return a.e("Link-public").then(a.bind(a,"./npm-packages/@shopwp/components/src/link/index.jsx"))}));const r=function(e){var i=e.lineItem,a=e.settings,r=wp.hooks.applyFilters("cart.lineItemsLink",!(null==i||!i.shopwp)&&i.shopwp.url,i),s=a.lineitemsDisableLink;return React.createElement(n,{payload:i.merchandise,type:"products",from:"cart",classNames:"wps-cart-lineitem-img-link",target:a.lineitemsLinkTarget,manualLink:r,disableLink:s},React.createElement("img",{className:"swp-cart-img wps-cart-lineitem-img",src:function(e){var i;if(e.merchandise.image)var a=e.merchandise.image.originalSrc;else{if(null===(i=e.merchandise.product)||void 0===i||!i.featuredImage)return shopwp.misc.placeholderProductImage;a=e.merchandise.product.featuredImage.url}return wp.hooks.applyFilters("cart.lineItemThumbnailUrl",(0,t.y$)({src:a,width:300,height:300,crop:"center"}),e)}(i),alt:"Product thumbnail for "+i.merchandise.product.title}))}}
1}]);
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.