{"version":3,"file":"SupportVideoEmbed.KoZ_IDWi.mjs","names":[],"sources":["https:/framerusercontent.com/modules/tMmAj42fBvUa9x1teuHI/2GIs1CmcBT0CsLCTckrr/SupportVideoEmbed.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/** @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 640\n * @framerIntrinsicHeight 360\n */export default function SupportVideoEmbed({url,title,style}){let safe=false;try{const parsed=new URL(url);safe=parsed.protocol===\"https:\"&&[\"www.youtube-nocookie.com\",\"www.youtube.com\",\"play.hubspotvideo.com\",\"player.vimeo.com\"].includes(parsed.hostname);}catch{}return /*#__PURE__*/_jsx(\"div\",{style:{...style,position:\"relative\",width:\"100%\",aspectRatio:\"16 / 9\",overflow:\"hidden\",borderRadius:12,background:\"#111\"},children:safe&&/*#__PURE__*/_jsx(\"iframe\",{src:url,title:title||\"Sportsbox video tutorial\",loading:\"lazy\",allow:\"fullscreen; picture-in-picture\",allowFullScreen:true,referrerPolicy:\"strict-origin-when-cross-origin\",style:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:0}})});}SupportVideoEmbed.defaultProps={url:\"https://www.youtube-nocookie.com/embed/fCkp_wxgGWs\",title:\"Sportsbox video tutorial\"};addPropertyControls(SupportVideoEmbed,{url:{type:ControlType.String,title:\"Video URL\"},title:{type:ControlType.String,title:\"Video title\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SupportVideoEmbed\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"640\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"360\",\"framerSupportedLayoutWidth\":\"any\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SupportVideoEmbed.map"],"mappings":"4JAIG,SAAwB,EAAkB,CAAC,MAAI,QAAM,SAAO,CAAC,IAAI,EAAK,GAAM,GAAG,CAAC,IAAM,EAAO,IAAI,IAAI,CAAG,EAAE,EAAK,EAAO,WAAW,UAAU,CAAC,2BAA2B,kBAAkB,wBAAwB,kBAAkB,CAAC,CAAC,SAAS,EAAO,QAAQ,CAAE,MAAM,CAAC,CAAC,OAAoB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,SAAS,WAAW,MAAM,OAAO,YAAY,SAAS,SAAS,SAAS,aAAa,GAAG,WAAW,MAAM,EAAE,SAAS,GAAmB,EAAK,SAAS,CAAC,IAAI,EAAI,MAAM,GAAO,2BAA2B,QAAQ,OAAO,MAAM,iCAAiC,gBAAgB,GAAK,eAAe,kCAAkC,MAAM,CAAC,SAAS,WAAW,MAAM,EAAE,MAAM,OAAO,OAAO,OAAO,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,iBAJ9pB,IAAoD,EAI2mB,EAAkB,aAAa,CAAC,IAAI,qDAAqD,MAAM,0BAA0B,EAAE,EAAoB,EAAkB,CAAC,IAAI,CAAC,KAAK,EAAY,OAAO,MAAM,WAAW,EAAE,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,aAAa,CAAC,CAAC,EACl8B,EAAqB,CAAC,QAAU,CAAC,QAAU,CAAC,KAAO,iBAAiB,KAAO,oBAAoB,MAAQ,CAAC,EAAE,YAAc,CAAC,qBAAuB,MAAM,4BAA8B,OAAO,sBAAwB,IAAI,sBAAwB,MAAM,2BAA6B,KAAK,CAAC,EAAE,mBAAqB,CAAC,KAAO,UAAU,CAAC,CAAC"}