{"version":3,"file":"NeocalEmbed.CYVL0Pfc.mjs","names":[],"sources":["https:/framerusercontent.com/modules/teaxx9i59SZX9FA1mbvP/HwLqOS15NVYLuuOGl4dE/NeocalEmbed.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";export default function NeocalEmbed({username,slug,theme=\"auto\",borderRadius=8}){if(!username||!slug)return null;const embedUrl=`https://neocal.ai/embed/${encodeURIComponent(username)}/${encodeURIComponent(slug)}?theme=${encodeURIComponent(theme)}`;return /*#__PURE__*/_jsx(\"iframe\",{src:embedUrl,style:{border:\"none\",width:\"100%\",height:\"100%\",display:\"block\",borderRadius:`${borderRadius}px`},title:`Neocal Booking - ${username}/${slug}`,allowFullScreen:true});}// Define property controls for Framer\naddPropertyControls(NeocalEmbed,{username:{type:ControlType.String,title:\"Username\",defaultValue:\"\"},slug:{type:ControlType.String,title:\"Event Slug\",defaultValue:\"\"},theme:{type:ControlType.Enum,title:\"Theme\",defaultValue:\"auto\",options:[\"auto\",\"light\",\"dark\"],optionTitles:[\"Auto\",\"Light\",\"Dark\"]},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:50,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NeocalEmbed\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NeocalEmbed.map"],"mappings":"6JAA+F,SAAwB,EAAY,CAAC,WAAS,OAAK,QAAM,OAAO,eAAa,GAAG,CAAyK,MAArK,CAAC,GAAU,CAAC,EAAY,KAAiK,EAAK,SAAS,CAAC,IAA5J,2BAA2B,mBAAmB,EAAS,CAAC,GAAG,mBAAmB,EAAK,CAAC,SAAS,mBAAmB,EAAM,GAAmD,MAAM,CAAC,OAAO,OAAO,MAAM,OAAO,OAAO,OAAO,QAAQ,QAAQ,aAAa,GAAG,EAAa,IAAI,CAAC,MAAM,oBAAoB,EAAS,GAAG,IAAO,gBAAgB,GAAK,CAAC,kBAAlgB,IAAoD,CAC/F,EAAoB,EAAY,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,aAAa,GAAG,CAAC,KAAK,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,aAAa,GAAG,CAAC,MAAM,CAAC,KAAK,EAAY,KAAK,MAAM,QAAQ,aAAa,OAAO,QAAQ,CAAC,OAAO,QAAQ,OAAO,CAAC,aAAa,CAAC,OAAO,QAAQ,OAAO,CAAC,CAAC,aAAa,CAAC,KAAK,EAAY,OAAO,MAAM,gBAAgB,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC"}