"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime");require("react");var Button=require("../../../button/components/Button.js"),system=require("@gem-sdk/system"),ProductButtonPrice=require("./ProductButtonPrice.js"),data=require("./common/data.js"),classes=require("./common/classes.js");const SoldOutButton=t=>{let{children:e,...s}=t,{styles:r,setting:u,advanced:o,builderProps:a,builderAttrs:n}=s,{buttonStyle:i,buttonStyles:c,buttonSettings:d}=data.getSoldOutButtonData(s),l=system.createClass(classes.getSoldOutButtonClasses()),m=jsxRuntime.jsx(ProductButtonPrice.default,{setting:u,styles:r});return jsxRuntime.jsx(Button.default,{advanced:o,style:i,styles:c,nodePrice:m,setting:d,className:l,builderProps:a,builderAttrs:{...n,"data-is-in-stock":!1},children:e})};exports.default=SoldOutButton;
