define("@widget/SUBSCRIBE/bs-subscribe2-subscribe-form-014a07de.js",["exports","~/c/bs-subscribe-form"],(function(e,t){"use strict";class o extends t.S{render(){const{confirmationMessage:e,isInternalPage:o,order:a,section:c,sectionTitle:i,staticContent:n,category:s,couponConfirmationMessage:r,couponDiscount:l,couponDiscountMessage:g}=this.props,{verificationText:u}=n,{Block:m}=(global.Core||guac["@wsb/guac-widget-core"]).UX2.Element;if(this.state.formSubmitted)return(global.React||guac.react).createElement(m,{category:s,section:c},(global.React||guac.react).createElement(t.F,{formSuccessMessage:this.shouldShowCoupon()?r:e,verificationText:u,olsConfigHost:this.getOlsConfigHost(),showCoupon:this.shouldShowCoupon(),couponDiscount:l,couponDiscountMessage:g}));const d={container:{display:"block","@md":{display:"flex",alignItems:"center"}},title:{marginBottom:"small","@md":{marginRight:"medium",marginBottom:"0"}}};return(global.React||guac.react).createElement((global.React||guac.react).Fragment,null,(global.React||guac.react).createElement(m,{category:s,section:c,style:d.container},(global.React||guac.react).createElement(m,{style:d.title},this.renderSectionTitle(i,o,a)),(global.React||guac.react).createElement(m,{style:{flexGrow:"1"},"data-aid":t.D.SUBSCRIBE_INNER_FORM_REND},(global.React||guac.react).createElement(t.I,t._({formSubmitHost:this.getFormSubmitHost(),onSubmit:this.onSubmit},this.props)))),(global.React||guac.react).createElement((global.Core||guac["@wsb/guac-widget-core"]).UX2.Component.Grid,{inset:!0,style:{paddingTop:"large"}},this.shouldShowCoupon()&&this.renderDescriptionSection({forceCouponDescription:!0})))}}e.default=o,Object.defineProperty(e,"__esModule",{value:!0})})),"undefined"!=typeof window&&(window.global=window); //# sourceMappingURL=bs-subscribe2-subscribe-form-014a07de.js.map