{"version":3,"file":"FigmaEmbed_2.CABAis66.mjs","names":[],"sources":["https:/framerusercontent.com/modules/hEsX1HkUlPxyC7tOjm1U/JqXe2PGySfpnWjACKesk/FigmaEmbed_2.js"],"sourcesContent":["// Figma Embed component that converts Figma URLs to embeddable iframes\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function FigmaEmbed(props){const{figmaUrl,style}=props;const embedUrl=figmaUrl?`https://www.figma.com/embed?embed_host=share&url=${encodeURIComponent(figmaUrl)}&hide-ui=1`:null;if(!embedUrl){return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"#F5F5F5\",color:\"#000000\",fontSize:\"15px\",fontWeight:500,letterSpacing:\"-0.01em\",lineHeight:\"1.3em\",textAlign:\"center\",padding:\"20px\"},children:\"Paste a Figma URL to preview it here.\"});}return /*#__PURE__*/_jsx(\"div\",{style:{...style,width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"iframe\",{src:embedUrl,style:{width:\"100%\",height:\"100%\",border:\"none\",position:\"absolute\",top:0,left:0},allowFullScreen:true,title:\"Figma Embed\"})});}addPropertyControls(FigmaEmbed,{figmaUrl:{type:ControlType.String,title:\"Figma URL\",defaultValue:\"\",placeholder:\"https://www.figma.com/file/...\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FigmaEmbed\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./FigmaEmbed_2.map"],"mappings":"4JAIG,SAAwB,EAAW,EAAM,CAAC,GAAK,CAAC,WAAS,SAAO,EAAY,EAAS,EAAS,oDAAoD,mBAAmB,EAAS,CAAC,YAAY,KAAoW,OAA3V,EAA+W,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,OAAO,SAAS,WAAW,SAAS,SAAS,CAAC,SAAsB,EAAK,SAAS,CAAC,IAAI,EAAS,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,OAAO,OAAO,SAAS,WAAW,IAAI,EAAE,KAAK,EAAE,CAAC,gBAAgB,GAAK,MAAM,cAAc,CAAC,CAAC,CAAC,CAA/lB,EAAK,MAAM,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,OAAO,OAAO,OAAO,QAAQ,OAAO,WAAW,SAAS,eAAe,SAAS,gBAAgB,UAAU,MAAM,UAAU,SAAS,OAAO,WAAW,IAAI,cAAc,UAAU,WAAW,QAAQ,UAAU,SAAS,QAAQ,OAAO,CAAC,SAAS,wCAAwC,CAAC,kBAHrf,IAAoD,CAGuuB,EAAoB,EAAW,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,GAAG,YAAY,iCAAiC,CAAC,CAAC"}