{"version":3,"file":"OutfitFormsFix.DFuDPMMR.mjs","names":[],"sources":["https:/framerusercontent.com/modules/1QKbXNs3ESPaCd3nTKOn/xS6kEf0E6PLsyqXcFhrw/OutfitFormsFix.js"],"sourcesContent":["// Erstellt von 584.studio\n// Globaler Font-Fix für Formulare: erzwingt Outfit auf allen\n// input/textarea/select/button-Elementen (inkl. Platzhaltertexten).\n// Framer-native Form-Inputs lassen sich nicht per Property stylen —\n// dieser Style-Inject übernimmt das zuverlässig.\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect}from\"react\";import{addPropertyControls,ControlType}from\"framer\";const STYLE_ID=\"pvz-outfit-forms-fix\";const CSS=`\ninput, textarea, select, option, button {\n    font-family: \"Outfit\", sans-serif !important;\n}\ninput::placeholder, textarea::placeholder {\n    font-family: \"Outfit\", sans-serif !important;\n}\n`;/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n */export default function OutfitFormsFix(props){const{enabled=true}=props;useEffect(()=>{if(!enabled)return;if(typeof document===\"undefined\")return;if(document.getElementById(STYLE_ID))return;const style=document.createElement(\"style\");style.id=STYLE_ID;style.textContent=CSS;document.head.appendChild(style);return()=>{const el=document.getElementById(STYLE_ID);if(el)el.remove();};},[enabled]);return /*#__PURE__*/_jsx(\"div\",{\"aria-hidden\":\"true\",style:{width:1,height:1,opacity:0,pointerEvents:\"none\"}});}addPropertyControls(OutfitFormsFix,{enabled:{type:ControlType.Boolean,title:\"Aktiv\",defaultValue:true,enabledTitle:\"An\",disabledTitle:\"Aus\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"OutfitFormsFix\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"1\",\"framerIntrinsicWidth\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./OutfitFormsFix.map"],"mappings":"0KAiBG,SAAwB,EAAe,EAAM,CAAC,GAAK,CAAC,UAAQ,IAAM,EAAwU,OAAlU,MAAc,CAA4D,GAAxD,CAAC,GAAkB,OAAO,SAAW,KAAsB,SAAS,eAAe,CAAQ,EAAE,OAAO,IAAM,EAAM,SAAS,cAAc,OAAO,EAA2E,MAAzE,GAAM,GAAG,EAAS,EAAM,YAAY,EAAI,SAAS,KAAK,YAAY,CAAK,MAAY,CAAC,IAAM,EAAG,SAAS,eAAe,CAAQ,EAAK,GAAG,EAAG,OAAO,CAAE,CAAE,EAAE,CAAC,CAAO,CAAC,EAAsB,EAAK,MAAM,CAAC,cAAc,OAAO,MAAM,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,cAAc,MAAM,CAAC,CAAC,CAAE,qBAZld,IAA6B,IAAoD,EAAO,EAAS,uBAA6B,EAAI;;;;;;;EAYiV,EAAoB,EAAe,CAAC,QAAQ,CAAC,KAAK,EAAY,QAAQ,MAAM,QAAQ,aAAa,GAAK,aAAa,KAAK,cAAc,KAAK,CAAC,CAAC"}