{"version":3,"file":"YT_LEVE.-O2RGJnd.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/KpMcuP0Cx8gdt5iqexfD/6hUgAcR9sttdipJ7T8gy/YT_LEVE.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useState}from\"react\";import{Frame}from\"framer\";export function LazyYouTube({videoId}){const[isPlayerActive,setIsPlayerActive]=useState(false);return /*#__PURE__*/_jsx(Frame,{width:\"100%\",height:\"100%\",background:\"#000\",radius:12,overflow:\"hidden\",style:{cursor:\"pointer\"},onTap:()=>setIsPlayerActive(true),children:!isPlayerActive?/*#__PURE__*/_jsx(\"img\",{src:`https://img.youtube.com/vi/${videoId}/hqdefault.jpg`,alt:\"YouTube thumbnail\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}}):/*#__PURE__*/_jsx(\"iframe\",{width:\"100%\",height:\"100%\",src:`https://www.youtube.com/embed/${videoId}?autoplay=1`,title:\"YouTube video player\",frameBorder:\"0\",allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",allowFullScreen:true})});}import{addPropertyControls,ControlType}from\"framer\";addPropertyControls(LazyYouTube,{videoId:{type:ControlType.String,title:\"YouTube Video ID\",placeholder:\"Ex: dQw4w9WgXcQ\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"LazyYouTube\":{\"type\":\"reactComponent\",\"name\":\"LazyYouTube\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./YT_LEVE.map"],"mappings":"iLAAiG,SAAgB,EAAY,CAAC,WAAS,CAAC,GAAK,CAAC,EAAe,GAAmBA,EAAS,GAAM,CAAC,OAAoB,EAAK,EAAM,CAAC,MAAM,OAAO,OAAO,OAAO,WAAW,OAAO,OAAO,GAAG,SAAS,SAAS,MAAM,CAAC,OAAO,UAAU,CAAC,UAAU,EAAkB,GAAK,CAAC,SAAU,EAA8L,EAAK,SAAS,CAAC,MAAM,OAAO,OAAO,OAAO,IAAI,iCAAiC,EAAQ,aAAa,MAAM,uBAAuB,YAAY,IAAI,MAAM,2FAA2F,gBAAgB,GAAK,CAAC,CAA1a,EAAK,MAAM,CAAC,IAAI,8BAA8B,EAAQ,gBAAgB,IAAI,oBAAoB,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,UAAU,QAAQ,CAAC,CAAC,CAAuR,CAAC,kBAA3wB,IAA4B,IAA0B,CAA2wB,EAAoB,EAAY,CAAC,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,mBAAmB,YAAY,kBAAkB,CAAC,CAAC"}