"use strict";var t=require("@gem-sdk/system"),e=require("./common/data.js"),s=require("./ProductButtonPrice.liquid.js"),a=require("./common/classes.js"),i=require("../../../button/components/Button.liquid.js");exports.SoldOutButton=u=>{let{pageContext:d,...r}=u,{styles:l,setting:o,advanced:n,builderProps:c,builderAttrs:m}=r,{buttonStyle:q,buttonStyles:f,buttonSettings:g}=e.getSoldOutButtonData(r),p=t.createClass(a.getSoldOutButtonClasses({isLiquid:!0})),v=s.default({setting:o,styles:l,pageContext:d});return i.default({advanced:n,style:q,styles:f,nodePrice:v,setting:g,className:p,wrapClassName:"{% if variant.available %} !gp-hidden {% endif %}",builderAttrs:m,builderProps:{...c,uidTranslate:c?.uid,uid:`${c?.uid}-sold-out`},pageContext:d,isUseTranslatedValue:!1,dataId:`${c?.uid}-sold-out`,customAttrs:{"gp-data-hidden":"{% if variant.available %}true{% endif %}"}})};
