var _____WB$wombat$assign$function_____=function(name){return (globalThis._wb_wombat && globalThis._wb_wombat.local_init && globalThis._wb_wombat.local_init(name))||globalThis[name];};if(!globalThis.__WB_pmw){globalThis.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}var window = _____WB$wombat$assign$function_____("window");
var self = _____WB$wombat$assign$function_____("self");
var document = _____WB$wombat$assign$function_____("document");
var location = _____WB$wombat$assign$function_____("location");
var top = _____WB$wombat$assign$function_____("top");
var parent = _____WB$wombat$assign$function_____("parent");
var frames = _____WB$wombat$assign$function_____("frames");
var opener = _____WB$wombat$assign$function_____("opener");
import{b as c,a as e,S as b,P as h,c as T,d as o}from"./app.ZXowmuNl.js";function B({merchandiseItem:t,hideBadge:l,size:u="small"}){const{lineItems:{quantityPosition:n="thumbnailBadge"}}=c(),{title:r,quantity:a,image:i}=t,m=a!==1&&n==="thumbnailBadge"?a:void 0;return e(h,{size:u,accessibilityLabel:i?.altText||r,source:i?b.default(i.one).when({resolution:1},i.one).when({resolution:2},i.two).when({resolution:4},i.four):void 0,badge:l?void 0:m})}var s={Container:"_17k99eh0",PrimaryThumbnail:"_17k99eh1",EmptyThumbnailBox:"_17k99eh2"};const S=.8125,y=.625;function _({merchandiseItem:t,merchandiseLinesLength:l}){const{global:{cornerRadius:u="base"},merchandiseThumbnail:{cornerRadius:n=u}}=c(),{blockSize:r,inlineSize:a}=T("small"),i=r*S,d=r*y;return e(o,{minBlockSize:r,minInlineSize:a,cornerRadius:n,children:e("div",{className:s.Container,children:[e(o,{className:s.PrimaryThumbnail,cornerRadius:n,children:e(B,{merchandiseItem:t,hideBadge:!0})}),l>=2&&e(o,{disableGlobalBranding:!0,className:s.EmptyThumbnailBox,cornerRadius:n,children:e(o,{disableGlobalBranding:!0,minBlockSize:i,minInlineSize:a,cornerRadius:n})}),l>=3&&e(o,{disableGlobalBranding:!0,className:s.EmptyThumbnailBox,cornerRadius:n,children:e(o,{disableGlobalBranding:!0,minBlockSize:d,minInlineSize:a,cornerRadius:n})})]})})}export{B as M,_ as S};