{"version":3,"file":"Tagmanager.CVbAzjV_.mjs","names":["useRef","__legacyOverrideHOC_DataObserverContext","_jsx"],"sources":["https:/framerusercontent.com/modules/jmWHPuIjJTdLoGRKEHwv/nLoDxoWWy2C6xUAxREGt/Tagmanager.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useRef,useEffect}from\"react\";// Learn more: https://www.framer.com/docs/guides/overrides/\nexport function AddClassToText(){return{// className: (existingClasses) => `${existingClasses} fede`,\nid:\"fede\"};}// export function addID(): Override {\n//     useEffect(() => {\n//         const textElement = document.querySelector(\"p\") // Select the <p> element directly within the div\n//         console.log(textElement)\n//         textElement.id\n//         if (textElement) {\n//             textElement.id = \"fede\"\n//         }\n//     }, [])\n//     return {}\n// }\nexport function addTextID(){const textRef=useRef(null);useEffect(()=>{if(textRef.current){const pElement=textRef.current.querySelector(\"p\");if(pElement){pElement.id=\"text-qr\";}}},[]);return{ref:textRef};}export function addImgID(){const textRef=useRef(null);useEffect(()=>{if(textRef.current){const pElement=textRef.current.querySelector(\"img\");if(pElement){pElement.id=\"img-qr\";}}},[]);return{ref:textRef};}import{useContext as __legacyOverrideHOC_useContext}from\"react\";import{DataObserverContext as __legacyOverrideHOC_DataObserverContext}from\"framer\";export function withAddClassToText(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...AddClassToText(props)});};}withAddClassToText.displayName=\"AddClassToText\";export function withaddTextID(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...addTextID(props)});};}withaddTextID.displayName=\"addTextID\";export function withaddImgID(C){return props=>{__legacyOverrideHOC_useContext(__legacyOverrideHOC_DataObserverContext);return _jsx(C,{...props,...addImgID(props)});};}withaddImgID.displayName=\"addImgID\";\nexport const __FramerMetadata__ = {\"exports\":{\"AddClassToText\":{\"type\":\"override\",\"name\":\"AddClassToText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addImgID\":{\"type\":\"override\",\"name\":\"addImgID\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withAddClassToText\":{\"type\":\"reactHoc\",\"name\":\"withAddClassToText\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"addTextID\":{\"type\":\"override\",\"name\":\"addTextID\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withaddImgID\":{\"type\":\"reactHoc\",\"name\":\"withaddImgID\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withaddTextID\":{\"type\":\"reactHoc\",\"name\":\"withaddTextID\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Tagmanager.map"],"mappings":"kLACA,SAAgB,GAAgB,CAAC,MAAM,CACvC,GAAG,MAAM,CAAE,CAWX,SAAgB,GAAW,CAAC,IAAM,EAAQA,EAAO,IAAI,EAAkI,OAAhI,MAAc,CAAC,GAAG,EAAQ,QAAQ,CAAC,IAAM,EAAS,EAAQ,QAAQ,cAAc,GAAG,EAAK,IAAU,EAAS,GAAG,UAAW,CAAC,EAAE,CAAC,CAAC,EAAQ,CAAC,IAAI,CAAO,CAAE,CAAC,SAAgB,GAAU,CAAC,IAAM,EAAQA,EAAO,IAAI,EAAmI,OAAjI,MAAc,CAAC,GAAG,EAAQ,QAAQ,CAAC,IAAM,EAAS,EAAQ,QAAQ,cAAc,KAAK,EAAK,IAAU,EAAS,GAAG,SAAU,CAAC,EAAE,CAAC,CAAC,EAAQ,CAAC,IAAI,CAAO,CAAE,CAAoJ,SAAgB,EAAmB,EAAE,CAAC,MAAO,KAAQ,EAA+BC,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAe,CAAK,CAAC,CAAC,EAAI,CAAiD,SAAgB,EAAc,EAAE,CAAC,MAAO,KAAQ,EAA+BD,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAU,CAAK,CAAC,CAAC,EAAI,CAAuC,SAAgB,EAAa,EAAE,CAAC,MAAO,KAAQ,EAA+BD,CAAuC,EAASC,EAAK,EAAE,CAAC,GAAG,EAAM,GAAG,EAAS,CAAK,CAAC,CAAC,EAAI,iBAbzlC,IAAoC,IAa4d,EAAoL,EAAmB,YAAY,iBAA0L,EAAc,YAAY,YAAmL,EAAa,YAAY"}