{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/UGjHY9ZXxoFltu5kUKup/kXA5XKojYDvBuy6Gdsfn/NeonEmbed.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import iframeResize from\"https://esm.sh/iframe-resizer/js/iframeResizer\";import{nanoid}from\"https://esm.sh/nanoid\";import{useEffect,useRef}from\"react\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n */export default function NeonEmbed(props){const iframeRef=useRef(null);const id=nanoid();useEffect(()=>{const iframe=iframeRef.current;iframeResize({autoResize:true,log:false,checkOrigin:false,// inPageLinks: true,\nminHeight:320,warningTimeout:0,license:\"GPLv3\"},iframe);return()=>{return iframe.iFrameResizer&&iframe.iFrameResizer.removeListeners();};},[props]);return /*#__PURE__*/_jsx(\"div\",{style:containerStyle,children:/*#__PURE__*/_jsx(\"iframe\",{id:id,src:props.url,style:{width:\"1px\",minWidth:\"100%\"},frameBorder:\"0\",ref:iframeRef})});}NeonEmbed.defaultProps={url:\"\"};addPropertyControls(NeonEmbed,{url:{title:\"URL\",type:ControlType.String},height:{title:\"Height\",type:ControlType.Number},width:{title:\"Width\",type:ControlType.Number}});const containerStyle={width:\"100%\",height:\"auto\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NeonEmbed\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NeonEmbed.map"],
  "mappings": "uJAGkB,SAARA,EAA2BC,EAAM,CAAC,IAAMC,EAAUC,EAAO,IAAI,EAAQC,EAAGC,EAAO,EAAE,OAAAC,EAAU,IAAI,CAAC,IAAMC,EAAOL,EAAU,QAAQ,OAAAM,EAAa,CAAC,WAAW,GAAK,IAAI,GAAM,YAAY,GAC7L,UAAU,IAAI,eAAe,EAAE,QAAQ,OAAO,EAAED,CAAM,EAAQ,IAAYA,EAAO,eAAeA,EAAO,cAAc,gBAAgB,CAAI,EAAE,CAACN,CAAK,CAAC,EAAsBQ,EAAK,MAAM,CAAC,MAAMC,EAAe,SAAsBD,EAAK,SAAS,CAAC,GAAGL,EAAG,IAAIH,EAAM,IAAI,MAAM,CAAC,MAAM,MAAM,SAAS,MAAM,EAAE,YAAY,IAAI,IAAIC,CAAS,CAAC,CAAC,CAAC,CAAE,CAACF,EAAU,aAAa,CAAC,IAAI,EAAE,EAAEW,EAAoBX,EAAU,CAAC,IAAI,CAAC,MAAM,MAAM,KAAKY,EAAY,MAAM,EAAE,OAAO,CAAC,MAAM,SAAS,KAAKA,EAAY,MAAM,EAAE,MAAM,CAAC,MAAM,QAAQ,KAAKA,EAAY,MAAM,CAAC,CAAC,EAAE,IAAMF,EAAe,CAAC,MAAM,OAAO,OAAO,MAAM",
  "names": ["NeonEmbed", "props", "iframeRef", "pe", "id", "c", "ue", "iframe", "En", "p", "containerStyle", "addPropertyControls", "ControlType"]
}
