{"version":3,"file":"Embeded_v2.Bumizes2.mjs","names":["useRef"],"sources":["https:/framerusercontent.com/modules/UJwZKkN55pcXyIFMceJR/PTTJ51CPa14WA5Qo0AN9/Embeded_v2.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";export default function VoomlyEmbed(props){const containerRef=useRef(null);useEffect(()=>{if(!containerRef.current)return;// 👉 Insertamos el embed HTML tal cual\ncontainerRef.current.innerHTML=props.embedCode||\"\";// 👉 Evitamos cargar el script varias veces\nconst existing=document.querySelector('script[src=\"https://embed.voomly.com/embed/embed-build.js\"]');if(!existing){const script=document.createElement(\"script\");script.src=\"https://embed.voomly.com/embed/embed-build.js\";script.async=true;document.body.appendChild(script);}},[props.embedCode]);return /*#__PURE__*/_jsx(\"div\",{ref:containerRef,style:{width:\"100%\"}});}addPropertyControls(VoomlyEmbed,{embedCode:{type:ControlType.String,title:\"Embed Code\",displayTextArea:true,placeholder:\"<div class='voomly-embed' ...></div>\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VoomlyEmbed\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Embeded_v2.map"],"mappings":"iLAAmI,SAAwB,EAAY,EAAM,CAAC,IAAM,EAAaA,EAAO,KAAK,CAEyF,OAFxF,MAAc,CAAK,KAAa,UAC9O,EAAa,QAAQ,UAAU,EAAM,WAAW,GACwD,CAAzF,SAAS,cAAc,8DAA8D,EAAc,CAAC,IAAM,EAAO,SAAS,cAAc,SAAS,CAAC,EAAO,IAAI,gDAAgD,EAAO,MAAM,GAAK,SAAS,KAAK,YAAY,EAAO,GAAI,CAAC,EAAM,UAAU,CAAC,CAAqB,EAAK,MAAM,CAAC,IAAI,EAAa,MAAM,CAAC,MAAM,OAAO,CAAC,CAAC,kBAFlU,IAAoC,IAAoD,CAE4O,EAAoB,EAAY,CAAC,UAAU,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,gBAAgB,GAAK,YAAY,uCAAuC,CAAC,CAAC"}