{"version":3,"file":"LoomVideoPlayer.-hfdaO60.mjs","names":[],"sources":["https:/framerusercontent.com/modules/EBUemEdzZB9sZlLc5Z4U/wqhSUOBDmUV67xEnZu79/LoomVideoPlayer.js"],"sourcesContent":["// Componente para visualizar y reproducir videos de Loom, con opción de cambiar el ID del video\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Loom Video Player\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function LoomVideoPlayer(props){const{videoId,aspectRatio,borderRadius,style}=props;// Default videoId if not set\nconst id=videoId||\"b1de5701a2194e29a718d626398551cb\";const embedUrl=`https://www.loom.com/embed/${id}`;const paddingBottom=`${100/aspectRatio}%`;return /*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",height:0,paddingBottom,borderRadius,overflow:\"hidden\",background:\"#000\",...style},children:/*#__PURE__*/_jsx(\"iframe\",{src:embedUrl,frameBorder:\"0\",allow:\"fullscreen\",allowFullScreen:true,style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",border:0,borderRadius},title:\"Loom Video Player\"})});}addPropertyControls(LoomVideoPlayer,{videoId:{type:ControlType.String,title:\"Loom Video ID\",defaultValue:\"b1de5701a2194e29a718d626398551cb\",placeholder:\"ID del video de Loom\"},aspectRatio:{type:ControlType.Number,title:\"Aspect Ratio\",defaultValue:1.7778,min:.5,max:3,step:.01,unit:\"\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:32,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LoomVideoPlayer\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LoomVideoPlayer.map"],"mappings":"iOAMG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,UAAQ,cAAY,eAAa,SAAO,EACrC,EAAS,8BAA3D,GAAS,qCAA2F,EAAc,GAAG,IAAI,EAAY,GAAG,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,SAAS,WAAW,MAAM,OAAO,OAAO,EAAE,gBAAc,eAAa,SAAS,SAAS,WAAW,OAAO,GAAG,EAAM,CAAC,SAAsB,EAAK,SAAS,CAAC,IAAI,EAAS,YAAY,IAAI,MAAM,aAAa,gBAAgB,GAAK,MAAM,CAAC,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,MAAM,OAAO,OAAO,OAAO,OAAO,EAAE,eAAa,CAAC,MAAM,oBAAoB,CAAC,CAAC,CAAC,kBANje,IAAoD,CAM+a,EAAoB,EAAgB,CAAC,QAAQ,CAAC,KAAK,EAAY,OAAO,MAAM,gBAAgB,aAAa,mCAAmC,YAAY,uBAAuB,CAAC,YAAY,CAAC,KAAK,EAAY,OAAO,MAAM,eAAe,aAAa,OAAO,IAAI,GAAG,IAAI,EAAE,KAAK,IAAI,KAAK,GAAG,CAAC,aAAa,CAAC,KAAK,EAAY,OAAO,MAAM,gBAAgB,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC"}