import"./ebc50768.js";import{j as a}from"./index.1ec44e23.js";import{A as m}from"./70628a73.js";import{u as e}from"./c0ec5803.js";import"./2d3554bc.js";import"./ef11f8a9.js";import"./616890f5.js";import"./3c10424c.js";import"./a8ae7088.js";import"./c268d3e4.js";import"./6cbd8241.js";import"./8bce3399.js";import"./75d11d91.js";import"./ff692d55.js";import"./b9494af1.js";import"./d6282b27.js";function B({label:r="Add to cart",quantity:o=1,showSoldOut:i=!0}){const{selectedVariant:t}=e();return!t||!i&&!t.availableForSale?null:a(m,{className:"w-fit text-main border border-main px-10 py-2 hover:bg-main hover:text-white truncate",disabled:!t.availableForSale,quantity:o,variantId:t==null?void 0:t.id,children:r})}export{B as default};
//# sourceMappingURL=9019cbf8.js.map