{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/PpPT0TFmbMG6jGA3nKSp/oBdORBTlYfqFzhjqlarz/New_Embed.js"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";// @framerSupportedLayoutWidth auto\n// @framerSupportedLayoutHeight auto\nconst containerStyle={height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",overflow:\"hidden\"};const placeholderStyle={width:\"100%\",height:\"100%\",display:\"flex\",flexDirection:\"column\",justifyContent:\"center\",alignItems:\"center\",backgroundColor:\"rgba(136, 85, 255, 0.1)\",color:\"#96f\",textAlign:\"center\",padding:\"20px\",fontFamily:\"Inter, sans-serif\"};const emojiStyle={fontSize:\"50px\"};const headingStyle={margin:\"10px 0\",fontSize:\"18px\",fontWeight:\"bold\"};const descriptionStyle={fontSize:\"16px\"};const additionalDescriptionStyle={fontSize:\"14px\",marginTop:\"10px\"};// @framerDisableUnlink\nexport default function WebsiteEmbed(props){const{url,borderWidth,borderColor,borderRadius}=props;// Automatically add \"https://\" if not present and url is not empty\nconst formattedUrl=url?url.startsWith(\"http://\")||url.startsWith(\"https://\")?url:`https://${url}`:null;return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:formattedUrl?/*#__PURE__*/_jsx(\"iframe\",{src:formattedUrl,style:{width:\"100%\",height:\"100%\",border:`${borderWidth}px solid ${borderColor}`,borderRadius:`${borderRadius}px`},allowFullScreen:true,loading:\"lazy\"}):/*#__PURE__*/_jsxs(\"div\",{style:placeholderStyle,children:[/*#__PURE__*/_jsx(\"div\",{style:emojiStyle,children:\"\uD83D\uDD17\"}),/*#__PURE__*/_jsx(\"div\",{style:headingStyle,children:\"Please connect a URL\"}),/*#__PURE__*/_jsx(\"div\",{style:descriptionStyle,children:\"Please note, some websites may not be supported.\"}),/*#__PURE__*/_jsx(\"div\",{style:additionalDescriptionStyle,children:\"Made by FramerFuel.com\"})]})});}addPropertyControls(WebsiteEmbed,{url:{type:ControlType.String,title:\"URL\",defaultValue:\"\"},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:0,min:0,max:20,unit:\"px\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#000\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:0,min:0,max:100,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"WebsiteEmbed\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./New_Embed.map"],
  "mappings": "yGAAAA,IAEA,IAAMC,EAAe,CAAC,OAAO,OAAO,QAAQ,OAAO,eAAe,SAAS,WAAW,SAAS,SAAS,QAAQ,EAAQC,EAAiB,CAAC,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,cAAc,SAAS,eAAe,SAAS,WAAW,SAAS,gBAAgB,0BAA0B,MAAM,OAAO,UAAU,SAAS,QAAQ,OAAO,WAAW,mBAAmB,EAAQC,EAAW,CAAC,SAAS,MAAM,EAAQC,EAAa,CAAC,OAAO,SAAS,SAAS,OAAO,WAAW,MAAM,EAAQC,EAAiB,CAAC,SAAS,MAAM,EAAQC,EAA2B,CAAC,SAAS,OAAO,UAAU,MAAM,EACtjB,SAARC,EAA8BC,EAAM,CAAC,GAAK,CAAC,IAAAC,EAAI,YAAAC,EAAY,YAAAC,EAAY,aAAAC,CAAY,EAAEJ,EACtFK,EAAaJ,EAAIA,EAAI,WAAW,SAAS,GAAGA,EAAI,WAAW,UAAU,EAAEA,EAAI,WAAWA,CAAG,GAAG,KAAK,OAAoBK,EAAK,MAAM,CAAC,MAAMb,EAAe,SAASY,EAA0BC,EAAK,SAAS,CAAC,IAAID,EAAa,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,OAAO,GAAGH,CAAW,YAAYC,CAAW,GAAG,aAAa,GAAGC,CAAY,IAAI,EAAE,gBAAgB,GAAK,QAAQ,MAAM,CAAC,EAAeG,EAAM,MAAM,CAAC,MAAMb,EAAiB,SAAS,CAAcY,EAAK,MAAM,CAAC,MAAMX,EAAW,SAAS,WAAI,CAAC,EAAeW,EAAK,MAAM,CAAC,MAAMV,EAAa,SAAS,sBAAsB,CAAC,EAAeU,EAAK,MAAM,CAAC,MAAMT,EAAiB,SAAS,kDAAkD,CAAC,EAAeS,EAAK,MAAM,CAAC,MAAMR,EAA2B,SAAS,wBAAwB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAACU,EAAoBT,EAAa,CAAC,IAAI,CAAC,KAAKU,EAAY,OAAO,MAAM,MAAM,aAAa,EAAE,EAAE,YAAY,CAAC,KAAKA,EAAY,OAAO,MAAM,eAAe,aAAa,EAAE,IAAI,EAAE,IAAI,GAAG,KAAK,IAAI,EAAE,YAAY,CAAC,KAAKA,EAAY,MAAM,MAAM,eAAe,aAAa,MAAM,EAAE,aAAa,CAAC,KAAKA,EAAY,OAAO,MAAM,gBAAgB,aAAa,EAAE,IAAI,EAAE,IAAI,IAAI,KAAK,IAAI,CAAC,CAAC",
  "names": ["init_ssg_sandbox_shims", "containerStyle", "placeholderStyle", "emojiStyle", "headingStyle", "descriptionStyle", "additionalDescriptionStyle", "WebsiteEmbed", "props", "url", "borderWidth", "borderColor", "borderRadius", "formattedUrl", "p", "u", "addPropertyControls", "ControlType"]
}
