import{_ as c,o as n,c as o,a as i,d as t,i as a,V as l,v as d,n as m,f as _}from"./entry.DPwc-EV0.js";const u={props:{error:{type:[String,Object]},message:{type:[String,Boolean,Object]},qualifyingMembership:{type:[String,Boolean,Object]},processing:{type:Boolean,default:!1},padding:{type:String,default:"15px"},includeFrame:{type:Boolean,default:!0}}},f={key:0,class:"spinner"},g={key:1,class:"form-error"},y=["innerHTML"],p={key:2,class:"form-message"},h=["innerHTML"];function b(r,v,e,B,M,S){const s=_;return n(),o("div",{class:d(["web-form-wrapper",e.includeFrame?"include-frame":""]),style:m({padding:e.padding})},[e.processing?(n(),o("div",f,[i("div",null,[t(s,{icon:"ei:spinner-3",width:100,"icon-color":r.$ss.baseStyles.primaryColor},null,8,["icon-color"])])])):a("",!0),e.error?(n(),o("div",g,[t(s,{icon:"mdi:alert","icon-color":"ba3329",class:"icon",width:16}),i("div",{innerHTML:e.error},null,8,y)])):a("",!0),e.message||e.qualifyingMembership?(n(),o("div",p,[t(s,{icon:"mdi:alert-circle","icon-color":"34a853",class:"icon",width:16}),i("div",{innerHTML:e.message??e.qualifyingMembership.message},null,8,h)])):a("",!0),l(r.$slots,"default")],6)}const w=c(u,[["render",b]]);export{w as _};