{"version":3,"file":"Iconify.CeuP1FZP.mjs","names":["useState","useRef"],"sources":["https:/framerusercontent.com/modules/YKrFAyFWIr6JIJ6EBw8Z/2DxTM6HMQOjwDCutHf0c/Iconify.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect,useRef}from\"react\";function DynamicMasonryLoader({scriptSrc,tagName,tagAttributes={}}){const[loading,setLoading]=useState(true);const[error,setError]=useState(null);const containerRef=useRef(null);useEffect(()=>{if(!scriptSrc||!tagName)return;const script=document.createElement(\"script\");script.src=scriptSrc;script.async=true;script.onload=()=>{setLoading(false);// Build the custom element string with attributes\nlet attrString=\"\";for(const[key,value]of Object.entries(tagAttributes)){attrString+=` ${key}=\"${value}\"`;}const customElementHTML=`<${tagName}${attrString}></${tagName}>`;// Inject the custom element tag into the container div\nif(containerRef.current){containerRef.current.innerHTML=customElementHTML;}};script.onerror=()=>{setLoading(false);setError(`Failed to load script: ${scriptSrc}`);};document.head.appendChild(script);return()=>{document.head.removeChild(script);if(containerRef.current){containerRef.current.innerHTML=\"\";}};},[scriptSrc,tagName,tagAttributes]);if(loading)return /*#__PURE__*/_jsx(\"div\",{children:\"Loading script...\"});if(error)return /*#__PURE__*/_jsxs(\"div\",{style:{color:\"red\"},children:[\"Error: \",error]});return /*#__PURE__*/_jsx(\"div\",{ref:containerRef});}export default function MasonrySimply(){return /*#__PURE__*/_jsx(DynamicMasonryLoader,{scriptSrc:\"https://simply.js.org/simply.min.js\",tagName:\"masonry-layout\",tagAttributes:{\"framer-props\":\"selam\"}});}\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"MasonrySimply\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Iconify.map"],"mappings":"kIAAsG,SAAS,EAAqB,CAAC,YAAU,UAAQ,gBAAc,EAAE,EAAE,CAAC,GAAK,CAAC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