import{s as b,l as m,m as i,n as r,o as c,c as n,a,t as d,F as _,r as g,p as l,b as t,q as p}from"./stepForm.4c8008c0.js";const T={name:"AddToCalendar"},k=Object.assign(T,{props:{calendarString:{type:String,required:!0}},setup(v){let y=b([{type:"google",label:"Google"},{type:"outlook",label:"Outlook"},{type:"yahoo",label:"Yahoo"},{type:"apple",label:"Apple"}]),u=m("bookableType"),o=i(()=>u.value!=="event"?"sbs":"event"),e=m("amColors");const x=i(()=>u.value==="event"?{"--am-c-atc-text":e.value.colorMainText,"--am-c-atc-text-op10":r(e.value.colorMainText,.1),"--am-c-atc-text-op5":r(e.value.colorMainText,.05)}:{"--am-c-atc-text":e.value.colorSbText,"--am-c-atc-text-op10":r(e.value.colorSbText,.1),"--am-c-atc-text-op5":r(e.value.colorSbText,.05)});return(C,S)=>(c(),n("div",{class:l(`am-atc-${t(o)}`),style:p(t(x))},[a("p",null,d(v.calendarString),1),a("div",{class:l(`am-atc-${t(o)}-cals`)},[(c(!0),n(_,null,g(t(y),s=>(c(),n("div",{key:s.type,class:l(`am-atc-${t(o)}-cals-cards`)},[a("a",{style:p({borderColor:"var(--am-c-atc-text-op10)"}),class:l(`am-atc-${t(o)}-cals-card`)},[a("div",null,[a("span",{class:l(`am-icon-${s.type}`)},null,2)]),a("p",{style:p({color:"var(--am-c-atc-text)"})},d(s.label),5)],6)],2))),128))],2)],6))}});export{k as _};
