1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="0420c8d4-8c18-4379-bdfc-b90e2f7b2131",e._sentryDebugIdIdentifier="sentry-dbid-0420c8d4-8c18-4379-bdfc-b90e2f7b2131")}catch(b){}import e from"./ProductCarousel.46034838.js";import{c7 as t,c9 as d,dt as o,dV as s,ca as r,cs as a,cu as i,cx as c,cf as n,ce as u,d1 as l}from"./index.061e774e.js";import"./BundleProduct.da5ee774.js";import"./ProductBadgeV2.8a0c29d4.js";import"./Product.35fc4e5d.js";import"./mediaUtils.018d7373.js";import"./AddToCartButton.7aa082a0.js";import"./useAddToCart.5a80e920.js";import"./DeviceUtils.44556013.js";import"./Swipe.0435a3f8.js";import"./ContentfulHeading.326f5d3e.js";import"./slugify.a1a5eaaf.js";const p={name:"CrossSell",components:{ProductCarousel:e},props:{products:{type:Array,required:!0},productsPerView:{type:Number,default:3},animateCartBtn:{type:Boolean,default:!1},minProductCountToShow:{type:Number,default:3}},data:()=>({slideBreakpoints:{1366:{slidesPerView:3,spaceBetween:20},959:{slidesPerView:2,spaceBetween:20},767:{slidesPerView:1,spaceBetween:20}}}),computed:{toShow(){var e;return(null==(e=this.products)?void 0:e.length)>=this.minProductCountToShow}},methods:{onProductAddedToCart(e){this.$emit("productAddedToCart",e)},onProductClicked(){this.$emit("productClicked")}}},f={class:"cross-sell-container"},m={class:"product-title"};var w=t(p,[["render",function(e,t,p,w,b,P){const h=d("ProductCarousel");return o((r(),a("div",f,[i(e.$slots,"title",{},(()=>[t[0]||(t[0]=c("h4",{class:"light product-page heading new-pdp-title"},"Often Purchased With",-1))]),!0),n(h,{class:"cross-sell-products-carousel",products:p.products,"slides-per-view":p.productsPerView,"space-between":20,"show-pagination":!0,"container-margin":!1,"slide-breakpoints":b.slideBreakpoints,"small-arrows":!0,"carousel-padding":20,"show-add-to-cart-btn":!0,"open-in-new-tab":!0,"animate-cart-btn":p.animateCartBtn,onProductAddedToCart:P.onProductAddedToCart,onProductClicked:P.onProductClicked},{default:u((()=>[c("h2",m,l(e.productTitle),1)])),_:1},8,["products","slides-per-view","slide-breakpoints","animate-cart-btn","onProductAddedToCart","onProductClicked"])],512)),[[s,P.toShow]])}],["__scopeId","data-v-6232a4cb"]]);export{w as default}; 2//# sourceMappingURL=CrossSell.4f13ef0d.js.map
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.